Source code of Windows XP (NT5)
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.

160 lines
4.2 KiB

  1. /*****************************************************************************\
  2. * MODULE: genglobl.h
  3. *
  4. * This is the main header for genglobl file. Global variables for the
  5. * generation routines.
  6. *
  7. *
  8. * Copyright (C) 1996-1997 Microsoft Corporation
  9. * Copyright (C) 1996-1997 Hewlett Packard
  10. *
  11. * History:
  12. * 22-Nov-1996 <chriswil> Created.
  13. *
  14. \*****************************************************************************/
  15. #define SIGNATURE_UNICODE ((WORD)0xFEFF)
  16. // Synchonization section. We only allow one cab-generation at a time.
  17. //
  18. extern CRITICAL_SECTION g_csGenCab;
  19. // Command-Line Strings.
  20. //
  21. extern CONST TCHAR g_szCabCmd[];
  22. extern CONST TCHAR g_szSedCmd[];
  23. extern CONST TCHAR g_szDatCmd[];
  24. // Executable Names.
  25. //
  26. extern CONST TCHAR g_szNtPrintDll[];
  27. extern CONST TCHAR g_szCabName[];
  28. extern CONST TCHAR g_szDatName[];
  29. extern CONST TCHAR g_szDatFile[];
  30. // File-Extension Strings.
  31. //
  32. extern CONST TCHAR g_szDotCab[];
  33. extern CONST TCHAR g_szDotInf[];
  34. extern CONST TCHAR g_szDotSed[];
  35. extern CONST TCHAR g_szDotDat[];
  36. extern CONST TCHAR g_szDotBin[];
  37. extern CONST TCHAR g_szDotIpp[];
  38. extern CONST TCHAR g_szDotCat[];
  39. // Cab, Environment and Platform-Override strings.
  40. //
  41. extern CONST TCHAR g_szCabX86[];
  42. extern CONST TCHAR g_szCabAXP[];
  43. extern CONST TCHAR g_szCabPPC[];
  44. extern CONST TCHAR g_szCabMIP[];
  45. extern CONST TCHAR g_szCabW9X[];
  46. extern CONST TCHAR g_szCabI64[];
  47. extern CONST TCHAR g_szCabAMD64[];
  48. extern CONST TCHAR g_szEnvX86[];
  49. extern CONST TCHAR g_szEnvAXP[];
  50. extern CONST TCHAR g_szEnvPPC[];
  51. extern CONST TCHAR g_szEnvMIP[];
  52. extern CONST TCHAR g_szEnvW9X[];
  53. extern CONST TCHAR g_szEnvI64[];
  54. extern CONST TCHAR g_szEnvAMD64[];
  55. extern CONST TCHAR g_szPltX86[];
  56. extern CONST TCHAR g_szPltAXP[];
  57. extern CONST TCHAR g_szPltPPC[];
  58. extern CONST TCHAR g_szPltMIP[];
  59. extern CONST TCHAR g_szPltW9X[];
  60. extern CONST TCHAR g_szPltI64[];
  61. extern CONST TCHAR g_szPltAMD64[];
  62. // Registry Strings.
  63. //
  64. extern CONST TCHAR g_szPrtReg[];
  65. extern CONST TCHAR g_szIpAddr[];
  66. extern CONST TCHAR g_szPnpData[];
  67. extern CONST TCHAR g_szMfgName[];
  68. extern CONST TCHAR g_szPrtCabs[];
  69. extern CONST TCHAR g_szPrtDir[];
  70. // Metabase paths
  71. //
  72. extern CONST TCHAR g_szMetabasePath[];
  73. // NTPRINT Function-Pointers. These are used in GetProcAddress().
  74. // Therefore, require they be CHAR types.
  75. //
  76. extern CONST CHAR g_szSetupCreate[];
  77. extern CONST CHAR g_szSetupDestroy[];
  78. extern CONST CHAR g_szSetupGet[];
  79. // Common Strings.
  80. //
  81. extern CONST TCHAR g_szEmptyStr[];
  82. extern CONST TCHAR g_szBkSlash[];
  83. extern CONST TCHAR g_szVersionSect[];
  84. // INF-File Strings.
  85. //
  86. extern CONST TCHAR g_szSkipDir[];
  87. extern CONST TCHAR g_szDestDirs[];
  88. extern CONST TCHAR g_szPrinterClass[];
  89. extern CONST TCHAR g_szCopyFiles[];
  90. extern CONST TCHAR g_szLayoutKey[];
  91. extern CONST TCHAR g_szWinDirSect[];
  92. extern CONST TCHAR g_szSrcDskFileSect[];
  93. // SED-File Strings.
  94. //
  95. extern CONST TCHAR g_szIExpress[];
  96. extern CONST TCHAR g_szPackagePurpose[];
  97. extern CONST TCHAR g_szCreateCAB[];
  98. extern CONST TCHAR g_szPostInstallCmd[];
  99. extern CONST TCHAR g_szCompressionMemory[];
  100. extern CONST TCHAR g_szCompressionValue[];
  101. extern CONST TCHAR g_szCompressionType[];
  102. extern CONST TCHAR g_szCompressTypeVal[];
  103. extern CONST TCHAR g_szCompressionQuantum[];
  104. extern CONST TCHAR g_szCompressionQuantVal[];
  105. extern CONST TCHAR g_szNone[];
  106. extern CONST TCHAR g_szClass[];
  107. extern CONST TCHAR g_szSEDVersion[];
  108. extern CONST TCHAR g_szOptions[];
  109. extern CONST TCHAR g_szShowWindow[];
  110. extern CONST TCHAR g_szUseLongFileName[];
  111. extern CONST TCHAR g_szHideAnimate[];
  112. extern CONST TCHAR g_szRebootMode[];
  113. extern CONST TCHAR g_szExtractorStub[];
  114. extern CONST TCHAR g_szSourceFiles[];
  115. extern CONST TCHAR g_szStrings[];
  116. extern CONST TCHAR g_szTimeStamps[];
  117. extern CONST TCHAR g_szSEDVersionNumber[];
  118. extern CONST TCHAR g_sz1[];
  119. extern CONST TCHAR g_sz0[];
  120. extern CONST TCHAR g_szNoReboot[];
  121. extern CONST TCHAR g_szTargetName[];
  122. extern CONST TCHAR g_szAppLaunched[];
  123. extern CONST TCHAR g_szTargetNameSection[];
  124. extern CONST TCHAR g_szAppLaunchedSection[];
  125. // Inf Generater Strings.
  126. //
  127. extern CONST CHAR g_szInfSctVer[];
  128. extern CONST CHAR g_szInfSctMfg[];
  129. extern CONST CHAR g_szInfSctDrv[];
  130. extern CONST CHAR g_szInfSctIns[];
  131. extern CONST CHAR g_szInfSctFil[];
  132. extern CONST CHAR g_szInfSctDta[];
  133. extern CONST CHAR g_szInfSctStr[];
  134. extern CONST CHAR g_szInfSctSDN[];
  135. extern CONST CHAR g_szInfSctSDF[];