Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1013 B

  1. /*++
  2. Copyright (c) 1993-1994 Microsoft Corporation
  3. Module Name:
  4. common.h
  5. Abstract:
  6. Utility routines used by IniToDat.exe
  7. Author:
  8. HonWah Chan (a-honwah) October, 1993
  9. Revision History:
  10. --*/
  11. #ifndef _COMMON_H_
  12. #define _COMMON_H_
  13. //
  14. // Local constants
  15. //
  16. #define RESERVED 0L
  17. #define LARGE_BUFFER_SIZE 0x10000 // 64K
  18. #define MEDIUM_BUFFER_SIZE 0x8000 // 32K
  19. #define SMALL_BUFFER_SIZE 0x1000 // 4K
  20. #define FILE_NAME_BUFFER_SIZE MAX_PATH
  21. #define DISP_BUFF_SIZE 1024
  22. #define SIZE_OF_OFFSET_STRING 15
  23. LPWSTR
  24. GetStringResource(
  25. UINT wStringId
  26. );
  27. LPSTR
  28. GetFormatResource(
  29. UINT wStringId
  30. );
  31. VOID
  32. DisplayCommandHelp(
  33. UINT iFirstLine,
  34. UINT iLastLine
  35. );
  36. VOID
  37. DisplaySummary(
  38. LPWSTR lpLastID,
  39. LPWSTR lpLastText,
  40. UINT NumOfID
  41. );
  42. VOID
  43. DisplaySummaryError(
  44. LPWSTR lpLastID,
  45. LPWSTR lpLastText,
  46. UINT NumOfID
  47. );
  48. #endif // _COMMON_H_