home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / compact / msg.h < prev    next >
Text File  |  1998-03-30  |  7KB  |  310 lines

  1. /*++ BUILD Version: 0001    // Increment this if a change has global effects
  2.  
  3. Copyright (c) 1994-1995  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     msg.h
  8.  
  9. Abstract:
  10.  
  11.     This file contains the message definitions for the Win32 Compact
  12.     utility.
  13.  
  14. Author:
  15.  
  16.     Gary Kimura        [garyki]        13-Jan-1994
  17.  
  18. Revision History:
  19.  
  20. --*/
  21.  
  22. //
  23. //  Values are 32 bit values layed out as follows:
  24. //
  25. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  26. //   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  27. //  +---+-+-+-----------------------+-------------------------------+
  28. //  |Sev|C|R|     Facility          |               Code            |
  29. //  +---+-+-+-----------------------+-------------------------------+
  30. //
  31. //  where
  32. //
  33. //      Sev - is the severity code
  34. //
  35. //          00 - Success
  36. //          01 - Informational
  37. //          10 - Warning
  38. //          11 - Error
  39. //
  40. //      C - is the Customer code flag
  41. //
  42. //      R - is a reserved bit
  43. //
  44. //      Facility - is the facility code
  45. //
  46. //      Code - is the facility's status code
  47. //
  48. //
  49. // Define the facility codes
  50. //
  51.  
  52.  
  53. //
  54. // Define the severity codes
  55. //
  56.  
  57.  
  58. //
  59. // MessageId: COMPACT_OK
  60. //
  61. // MessageText:
  62. //
  63. //  [OK]
  64. //
  65. #define COMPACT_OK                       0x00000001L
  66.  
  67. //
  68. // MessageId: COMPACT_ERR
  69. //
  70. // MessageText:
  71. //
  72. //  [ERR]
  73. //
  74. #define COMPACT_ERR                      0x00000002L
  75.  
  76. //
  77. // MessageId: COMPACT_LIST_CDIR
  78. //
  79. // MessageText:
  80. //
  81. //  
  82. //   Listing %1
  83. //   New files added to this directory will be compressed.
  84. //  
  85. //
  86. #define COMPACT_LIST_CDIR                0x00000006L
  87.  
  88. //
  89. // MessageId: COMPACT_LIST_UDIR
  90. //
  91. // MessageText:
  92. //
  93. //  
  94. //   Listing %1
  95. //   New files added to this directory will not be compressed.
  96. //  
  97. //
  98. #define COMPACT_LIST_UDIR                0x00000007L
  99.  
  100. //
  101. // MessageId: COMPACT_LIST_SUMMARY
  102. //
  103. // MessageText:
  104. //
  105. //  
  106. //  Of %1 files within %2 directories
  107. //  %3 are compressed and %4 are not compressed.
  108. //  %5 total bytes of data are stored in %6 bytes.
  109. //  The compression ratio is %7 to 1.
  110. //  
  111. //
  112. #define COMPACT_LIST_SUMMARY             0x00000008L
  113.  
  114. //
  115. // MessageId: COMPACT_COMPRESS_DIR
  116. //
  117. // MessageText:
  118. //
  119. //  
  120. //   Setting the directory %1 to compress new files %0
  121. //  
  122. //
  123. #define COMPACT_COMPRESS_DIR             0x00000009L
  124.  
  125. //
  126. // MessageId: COMPACT_COMPRESS_CDIR
  127. //
  128. // MessageText:
  129. //
  130. //  
  131. //   Compressing files in %1
  132. //  
  133. //
  134. #define COMPACT_COMPRESS_CDIR            0x0000000AL
  135.  
  136. //
  137. // MessageId: COMPACT_COMPRESS_UDIR
  138. //
  139. // MessageText:
  140. //
  141. //  
  142. //   Compressing files in %1
  143. //  
  144. //
  145. #define COMPACT_COMPRESS_UDIR            0x0000000BL
  146.  
  147. //
  148. // MessageId: COMPACT_COMPRESS_SUMMARY
  149. //
  150. // MessageText:
  151. //
  152. //  
  153. //  %1 files within %2 directories were compressed.
  154. //  %3 total bytes of data are stored in %4 bytes.
  155. //  The compression ratio is %5 to 1.
  156. //
  157. #define COMPACT_COMPRESS_SUMMARY         0x0000000CL
  158.  
  159. //
  160. // MessageId: COMPACT_UNCOMPRESS_DIR
  161. //
  162. // MessageText:
  163. //
  164. //  
  165. //   Setting the directory %1 not to compress new files %0
  166. //  
  167. //
  168. #define COMPACT_UNCOMPRESS_DIR           0x0000000DL
  169.  
  170. //
  171. // MessageId: COMPACT_UNCOMPRESS_CDIR
  172. //
  173. // MessageText:
  174. //
  175. //  
  176. //   Uncompressing files in %1
  177. //  
  178. //
  179. #define COMPACT_UNCOMPRESS_CDIR          0x0000000EL
  180.  
  181. //
  182. // MessageId: COMPACT_UNCOMPRESS_UDIR
  183. //
  184. // MessageText:
  185. //
  186. //  
  187. //   Uncompressing files in %1
  188. //  
  189. //
  190. #define COMPACT_UNCOMPRESS_UDIR          0x0000000FL
  191.  
  192. //
  193. // MessageId: COMPACT_UNCOMPRESS_SUMMARY
  194. //
  195. // MessageText:
  196. //
  197. //  
  198. //  %1 files within %2 directories were uncompressed.
  199. //  
  200. //
  201. #define COMPACT_UNCOMPRESS_SUMMARY       0x00000010L
  202.  
  203. //
  204. // MessageId: COMPACT_NO_MEMORY
  205. //
  206. // MessageText:
  207. //
  208. //  Out of memory.
  209. //
  210. #define COMPACT_NO_MEMORY                0x00000013L
  211.  
  212. //
  213. // MessageId: COMPACT_SKIPPING
  214. //
  215. // MessageText:
  216. //
  217. //  [Skipping %1]
  218. //
  219. #define COMPACT_SKIPPING                 0x00000014L
  220.  
  221. //
  222. // MessageId: COMPACT_THROW
  223. //
  224. // MessageText:
  225. //
  226. //  %1%0
  227. //
  228. #define COMPACT_THROW                    0x00000015L
  229.  
  230. //
  231. // MessageId: COMPACT_THROW_NL
  232. //
  233. // MessageText:
  234. //
  235. //  %1
  236. //
  237. #define COMPACT_THROW_NL                 0x00000016L
  238.  
  239. //
  240. // MessageId: COMPACT_WRONG_FILE_SYSTEM
  241. //
  242. // MessageText:
  243. //
  244. //  %1: The file system does not support compression.
  245. //
  246. #define COMPACT_WRONG_FILE_SYSTEM        0x00000017L
  247.  
  248. //
  249. // MessageId: COMPACT_TO_ONE
  250. //
  251. // MessageText:
  252. //
  253. //  to 1 %0
  254. //
  255. #define COMPACT_TO_ONE                   0x00000018L
  256.  
  257. //
  258. // MessageId: COMPACT_INVALID_PATH
  259. //
  260. // MessageText:
  261. //
  262. //  Invalid drive specification: %1
  263. //
  264. #define COMPACT_INVALID_PATH             0x00000019L
  265.  
  266. //
  267. // MessageId: COMPACT_WRONG_FILE_SYSTEM_OR_CLUSTER_SIZE
  268. //
  269. // MessageText:
  270. //
  271. //  %1: The file system does not support compression or
  272. //  the cluster size of the volume is larger than 4096 bytes.
  273. //
  274. #define COMPACT_WRONG_FILE_SYSTEM_OR_CLUSTER_SIZE 0x0000001AL
  275.  
  276. //
  277. // MessageId: COMPACT_USAGE
  278. //
  279. // MessageText:
  280. //
  281. //  Displays or alters the compression of files on NTFS partitions.
  282. //  
  283. //  COMPACT [/C | /U] [/S[:dir]] [/A] [/I] [/F] [/Q] [filename [...]]
  284. //  
  285. //    /C        Compresses the specified files.  Directories will be marked
  286. //              so that files added afterward will be compressed.
  287. //    /U        Uncompresses the specified files.  Directories will be marked
  288. //              so that files added afterward will not be compressed.
  289. //    /S        Performs the specified operation on files in the given
  290. //              directory and all subdirectories.  Default "dir" is the
  291. //              current directory.
  292. //    /A        Displays files with the hidden or system attributes.  These
  293. //              files are omitted by default.
  294. //    /I        Continues performing the specified operation even after errors
  295. //              have occurred.  By default, COMPACT stops when an error is
  296. //              encountered.
  297. //    /F        Forces the compress operation on all specified files, even
  298. //              those which are already compressed.  Already-compressed files
  299. //              are skipped by default.
  300. //    /Q        Reports only the most essential information.
  301. //    filename  Specifies a pattern, file, or directory.
  302. //  
  303. //    Used without parameters, COMPACT displays the compression state of
  304. //    the current directory and any files it contains. You may use multiple
  305. //    filenames and wildcards.  You must put spaces between multiple
  306. //    parameters.
  307. //
  308. #define COMPACT_USAGE                    0x00000032L
  309.  
  310.