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 / cacls / caclsmsg.h < prev    next >
Text File  |  1998-03-30  |  5KB  |  259 lines

  1. /*++
  2.  
  3. Copyright (c) 1994  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     caclsmsg.mc (will create caclsmsg.h when compiled)
  8.  
  9. Abstract:
  10.  
  11.     This file contains the CACLS messages.
  12.  
  13. Author:
  14.  
  15.     davemont 7/94
  16.  
  17. Revision History:
  18.  
  19. --*/
  20. //
  21. //  Values are 32 bit values layed out as follows:
  22. //
  23. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  24. //   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
  25. //  +---+-+-+-----------------------+-------------------------------+
  26. //  |Sev|C|R|     Facility          |               Code            |
  27. //  +---+-+-+-----------------------+-------------------------------+
  28. //
  29. //  where
  30. //
  31. //      Sev - is the severity code
  32. //
  33. //          00 - Success
  34. //          01 - Informational
  35. //          10 - Warning
  36. //          11 - Error
  37. //
  38. //      C - is the Customer code flag
  39. //
  40. //      R - is a reserved bit
  41. //
  42. //      Facility - is the facility code
  43. //
  44. //      Code - is the facility's status code
  45. //
  46. //
  47. // Define the facility codes
  48. //
  49.  
  50.  
  51. //
  52. // Define the severity codes
  53. //
  54.  
  55.  
  56. //
  57. // MessageId: MSG_CACLS_USAGE
  58. //
  59. // MessageText:
  60. //
  61. //  Displays or modifies access control lists (ACLs) of files
  62. //  
  63. //  CACLS filename [/T] [/E] [/C] [/G user:perm] [/R user [...]]
  64. //                 [/P user:perm [...]] [/D user [...]]
  65. //     filename      Displays ACLs.
  66. //     /T            Changes ACLs of specified files in
  67. //                   the current directory and all subdirectories.
  68. //     /E            Edit ACL instead of replacing it.
  69. //     /C            Continue on access denied errors.
  70. //     /G user:perm  Grant specified user access rights.
  71. //                   Perm can be: R  Read
  72. //                                W  Write
  73. //                                C  Change (write)
  74. //                                F  Full control
  75. //     /R user     Revoke specified user's access rights (only valid with /E).
  76. //     /P user:perm  Replace specified user's access rights.
  77. //                   Perm can be: N  None
  78. //                                R  Read
  79. //                                W  Write
  80. //                                C  Change (write)
  81. //                                F  Full control
  82. //     /D user       Deny specified user access.
  83. //  Wildcards can be used to specify more that one file in a command.
  84. //  You can specify more than one user in a command.
  85. //
  86. #define MSG_CACLS_USAGE                  0x00001F41L
  87.  
  88. //
  89. // MessageId: MSG_CACLS_ACCESS_DENIED
  90. //
  91. // MessageText:
  92. //
  93. //   ACCESS_DENIED%0
  94. //
  95. #define MSG_CACLS_ACCESS_DENIED          0x00001F44L
  96.  
  97. //
  98. // MessageId: MSG_CACLS_ARE_YOU_SURE
  99. //
  100. // MessageText:
  101. //
  102. //  Are you sure (Y/N)?%0
  103. //
  104. #define MSG_CACLS_ARE_YOU_SURE           0x00001F45L
  105.  
  106. //
  107. // MessageId: MSG_CACLS_PROCESSED_DIR
  108. //
  109. // MessageText:
  110. //
  111. //  processed dir: %0
  112. //
  113. #define MSG_CACLS_PROCESSED_DIR          0x00001F46L
  114.  
  115. //
  116. // MessageId: MSG_CACLS_PROCESSED_FILE
  117. //
  118. // MessageText:
  119. //
  120. //  processed file: %0
  121. //
  122. #define MSG_CACLS_PROCESSED_FILE         0x00001F47L
  123.  
  124. //
  125. // MessageId: MSG_CACLS_NAME_NOT_FOUND
  126. //
  127. // MessageText:
  128. //
  129. //  <User Name not found>%0
  130. //
  131. #define MSG_CACLS_NAME_NOT_FOUND         0x00001F48L
  132.  
  133. //
  134. // MessageId: MSG_CACLS_DOMAIN_NOT_FOUND
  135. //
  136. // MessageText:
  137. //
  138. //   <Account Domain not found>%0
  139. //
  140. #define MSG_CACLS_DOMAIN_NOT_FOUND       0x00001F49L
  141.  
  142. //
  143. // MessageId: MSG_CACLS_OBJECT_INHERIT
  144. //
  145. // MessageText:
  146. //
  147. //  (OI)%0
  148. //
  149. #define MSG_CACLS_OBJECT_INHERIT         0x00001F4AL
  150.  
  151. //
  152. // MessageId: MSG_CACLS_CONTAINER_INHERIT
  153. //
  154. // MessageText:
  155. //
  156. //  (CI)%0
  157. //
  158. #define MSG_CACLS_CONTAINER_INHERIT      0x00001F4BL
  159.  
  160. //
  161. // MessageId: MSG_CACLS_NO_PROPAGATE_INHERIT
  162. //
  163. // MessageText:
  164. //
  165. //  (NP)%0
  166. //
  167. #define MSG_CACLS_NO_PROPAGATE_INHERIT   0x00001F4CL
  168.  
  169. //
  170. // MessageId: MSG_CACLS_INHERIT_ONLY
  171. //
  172. // MessageText:
  173. //
  174. //  (IO)%0
  175. //
  176. #define MSG_CACLS_INHERIT_ONLY           0x00001F4DL
  177.  
  178. //
  179. // MessageId: MSG_CACLS_DENY
  180. //
  181. // MessageText:
  182. //
  183. //  (DENY)%0
  184. //
  185. #define MSG_CACLS_DENY                   0x00001F4EL
  186.  
  187. //
  188. // MessageId: MSG_CACLS_SPECIAL_ACCESS
  189. //
  190. // MessageText:
  191. //
  192. //  (special access:)
  193. //
  194. #define MSG_CACLS_SPECIAL_ACCESS         0x00001F4FL
  195.  
  196. //
  197. // MessageId: MSG_CACLS_NONE
  198. //
  199. // MessageText:
  200. //
  201. //  N%0
  202. //
  203. #define MSG_CACLS_NONE                   0x00001F50L
  204.  
  205. //
  206. // MessageId: MSG_CACLS_READ
  207. //
  208. // MessageText:
  209. //
  210. //  R%0
  211. //
  212. #define MSG_CACLS_READ                   0x00001F51L
  213.  
  214. //
  215. // MessageId: MSG_CACLS_CHANGE
  216. //
  217. // MessageText:
  218. //
  219. //  C%0
  220. //
  221. #define MSG_CACLS_CHANGE                 0x00001F52L
  222.  
  223. //
  224. // MessageId: MSG_CACLS_FULL_CONTROL
  225. //
  226. // MessageText:
  227. //
  228. //  F%0
  229. //
  230. #define MSG_CACLS_FULL_CONTROL           0x00001F53L
  231.  
  232. //
  233. // MessageId: MSG_CACLS_Y
  234. //
  235. // MessageText:
  236. //
  237. //  Y%0
  238. //
  239. #define MSG_CACLS_Y                      0x00001F54L
  240.  
  241. //
  242. // MessageId: MSG_CACLS_YES
  243. //
  244. // MessageText:
  245. //
  246. //  YES%0
  247. //
  248. #define MSG_CACLS_YES                    0x00001F55L
  249.  
  250. //
  251. // MessageId: MSG_CACLS_SHARING_VIOLATION
  252. //
  253. // MessageText:
  254. //
  255. //   SHARING_VIOLATION%0
  256. //
  257. #define MSG_CACLS_SHARING_VIOLATION      0x00001F56L
  258.  
  259.