home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / mdsimsgs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  7.0 KB  |  289 lines

  1. /************************************************************************
  2. *                                                                        *
  3. *   Copyright (c) 1996, Microsoft Corp. All rights reserved.             *
  4. *                                                                        *
  5. *   mdsimsg.h -- message code definitions for the MDSI functions         *  
  6. *                                                                        *
  7. ************************************************************************/
  8.  
  9. #ifndef __MDSIMSGS_H__
  10. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  11. #define __MDSIMSGS_H__
  12.  
  13. //
  14. // Define the message IDs
  15. //
  16. //
  17. //  Values are 32 bit values layed out as follows:
  18. //
  19. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  20. //   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
  21. //  +---+-+-+-----------------------+-------------------------------+
  22. //  |Sev|C|R|     Facility          |               Code            |
  23. //  +---+-+-+-----------------------+-------------------------------+
  24. //
  25. //  where
  26. //
  27. //      Sev - is the severity code
  28. //
  29. //          00 - Success
  30. //          01 - Informational
  31. //          10 - Warning
  32. //          11 - Error
  33. //
  34. //      C - is the Customer code flag
  35. //
  36. //      R - is a reserved bit
  37. //
  38. //      Facility - is the facility code
  39. //
  40. //      Code - is the facility's status code
  41. //
  42. //
  43. // Define the facility codes
  44. //
  45. #define FACILITY_MDSI                    0x900
  46.  
  47.  
  48. //
  49. // Define the severity codes
  50. //
  51.  
  52.  
  53. //
  54. // MessageId: HOSTSEC_ERROR_UNABLE_TO_PROCESS_REQUEST
  55. //
  56. // MessageText:
  57. //
  58. //  Security DLL was unable to queue the request for processing.
  59. //
  60. #define HOSTSEC_ERROR_UNABLE_TO_PROCESS_REQUEST ((DWORD)0xE90005DDL)
  61.  
  62. //
  63. // MessageId: HOSTSEC_ERROR_REMOTE_UNREACHABLE
  64. //
  65. // MessageText:
  66. //
  67. //  Host Process could not establish network connection to other NT side components.
  68. //
  69. #define HOSTSEC_ERROR_REMOTE_UNREACHABLE ((DWORD)0xE90005DEL)
  70.  
  71. //
  72. // MessageId: HOSTSEC_ERROR_INVALID_USERNAME
  73. //
  74. // MessageText:
  75. //
  76. //  Invalid user name was specified or user does not exist.
  77. //
  78. #define HOSTSEC_ERROR_INVALID_USERNAME   ((DWORD)0xE90005DFL)
  79.  
  80. //
  81. // MessageId: HOSTSEC_ERROR_INVALID_PASSWORD
  82. //
  83. // MessageText:
  84. //
  85. //  Invalid password was specified for the user.
  86. //
  87. #define HOSTSEC_ERROR_INVALID_PASSWORD   ((DWORD)0xE90005E0L)
  88.  
  89. //
  90. // MessageId: NTSEC_ERROR_UNABLE_TO_PROCESS_REQUEST
  91. //
  92. // MessageText:
  93. //
  94. //  Host Process was unable to process the request.
  95. //
  96. #define NTSEC_ERROR_UNABLE_TO_PROCESS_REQUEST ((DWORD)0xE90005E1L)
  97.  
  98. //
  99. // MessageId: NTSEC_ERROR_REMOTE_UNREACHABLE
  100. //
  101. // MessageText:
  102. //
  103. //  Security DLL could not establish network connection to host side components.
  104. //
  105. #define NTSEC_ERROR_REMOTE_UNREACHABLE   ((DWORD)0xE90005E2L)
  106.  
  107. //
  108. // MessageId: NTSEC_ERROR_INVALID_USERNAME
  109. //
  110. // MessageText:
  111. //
  112. //  Invalid user name was specified or user does not exist on the host.
  113. //
  114. #define NTSEC_ERROR_INVALID_USERNAME     ((DWORD)0xE90005E3L)
  115.  
  116. //
  117. // MessageId: NTSEC_ERROR_INVALID_OLD_PASSWORD
  118. //
  119. // MessageText:
  120. //
  121. //  Invalid old password for the host user was specified.
  122. //
  123. #define NTSEC_ERROR_INVALID_OLD_PASSWORD ((DWORD)0xE90005E4L)
  124.  
  125. //
  126. // MessageId: NTSEC_ERROR_NOT_IMPLEMENTED
  127. //
  128. // MessageText:
  129. //
  130. //  Host Process function not implemented.
  131. //
  132. #define NTSEC_ERROR_NOT_IMPLEMENTED      ((DWORD)0xE90005E5L)
  133.  
  134. //
  135. // MessageId: HOSTSEC_ERROR_NOT_IMPLEMENTED
  136. //
  137. // MessageText:
  138. //
  139. //  Security DLL function not implemented.
  140. //
  141. #define HOSTSEC_ERROR_NOT_IMPLEMENTED    ((DWORD)0xE90005E6L)
  142.  
  143. //
  144. // MessageId: NTSEC_ERROR_INVALID_NEW_PASSWORD
  145. //
  146. // MessageText:
  147. //
  148. //  Invalid new password for the host user was specified.
  149. //
  150. #define NTSEC_ERROR_INVALID_NEW_PASSWORD ((DWORD)0xE90005E7L)
  151.  
  152. //
  153. // MessageId: NTSEC_ERROR_NEW_PASSWORD_HAS_REPEATING_CHARS
  154. //
  155. // MessageText:
  156. //
  157. //  New host password supplied has repeating characters.
  158. //
  159. #define NTSEC_ERROR_NEW_PASSWORD_HAS_REPEATING_CHARS ((DWORD)0xE90005E8L)
  160.  
  161. //
  162. // MessageId: NTSEC_ERROR_NEW_PASSWORD_TOO_LONG
  163. //
  164. // MessageText:
  165. //
  166. //  New host password supplied is longer than maximum allowed.
  167. //
  168. #define NTSEC_ERROR_NEW_PASSWORD_TOO_LONG ((DWORD)0xE90005E9L)
  169.  
  170. //
  171. // MessageId: NTSEC_ERROR_NEW_PASSWORD_TOO_SHORT
  172. //
  173. // MessageText:
  174. //
  175. //  New host password supplied is shorter than minimum allowed.
  176. //
  177. #define NTSEC_ERROR_NEW_PASSWORD_TOO_SHORT ((DWORD)0xE90005EAL)
  178.  
  179. //
  180. // MessageId: NTSEC_ERROR_NEW_PASSWORD_BAD_CHAR
  181. //
  182. // MessageText:
  183. //
  184. //  New host password supplied contains invalid characters.
  185. //
  186. #define NTSEC_ERROR_NEW_PASSWORD_BAD_CHAR ((DWORD)0xE90005EBL)
  187.  
  188. //
  189. // MessageId: NTSEC_ERROR_NEW_PASSWORD_SPACES
  190. //
  191. // MessageText:
  192. //
  193. //  New host password supplied contains spaces.
  194. //
  195. #define NTSEC_ERROR_NEW_PASSWORD_SPACES  ((DWORD)0xE90005ECL)
  196.  
  197. //
  198. // MessageId: NTSEC_ERROR_NEW_PASSWORD_NULL
  199. //
  200. // MessageText:
  201. //
  202. //  New host password supplied is null.
  203. //
  204. #define NTSEC_ERROR_NEW_PASSWORD_NULL    ((DWORD)0xE90005EDL)
  205.  
  206. //
  207. // MessageId: NTSEC_ERROR_NEW_PASSWORD_NON_ALPHANUMERIC
  208. //
  209. // MessageText:
  210. //
  211. //  New host password supplied contains non-alphanumeric characters.
  212. //
  213. #define NTSEC_ERROR_NEW_PASSWORD_NON_ALPHANUMERIC ((DWORD)0xE90005EEL)
  214.  
  215. //
  216. // MessageId: NTSEC_ERROR_NEW_PASSWORD_SAME_AS_PREVIOUS
  217. //
  218. // MessageText:
  219. //
  220. //  New host password supplied is same as the old host password.
  221. //
  222. #define NTSEC_ERROR_NEW_PASSWORD_SAME_AS_PREVIOUS ((DWORD)0xE90005EFL)
  223.  
  224. //
  225. // MessageId: NTSEC_ERROR_NEW_PASSWORD_NOT_ALLOWED
  226. //
  227. // MessageText:
  228. //
  229. //  New host password supplied matches the one in Not Allowed Dictionary on the host.
  230. //
  231. #define NTSEC_ERROR_NEW_PASSWORD_NOT_ALLOWED ((DWORD)0xE90005F0L)
  232.  
  233. //
  234. // MessageId: NTSEC_ERROR_NEW_PASSWORD_HISTORY_CONFLICT
  235. //
  236. // MessageText:
  237. //
  238. //  New host password supplied matches one of the previous passwords in the history list of the most recent passwords on the host.
  239. //
  240. #define NTSEC_ERROR_NEW_PASSWORD_HISTORY_CONFLICT ((DWORD)0xE90005F1L)
  241.  
  242. //
  243. // MessageId: NTSEC_ERROR_REQUEST_REJECTED
  244. //
  245. // MessageText:
  246. //
  247. //  The host rejected the request for an unknown reason.
  248. //
  249. #define NTSEC_ERROR_REQUEST_REJECTED     ((DWORD)0xE90005F2L)
  250.  
  251. //
  252. // MessageId: NTSEC_ERROR_PASSWORD_EXPIRED
  253. //
  254. // MessageText:
  255. //
  256. //  The password for the host user specified has expired.
  257. //
  258. #define NTSEC_ERROR_PASSWORD_EXPIRED     ((DWORD)0xE90005F3L)
  259.  
  260. //
  261. // MessageId: NTSEC_ERROR_ACCOUNT_DISABLED
  262. //
  263. // MessageText:
  264. //
  265. //  The user account is disabled on the host.
  266. //
  267. #define NTSEC_ERROR_ACCOUNT_DISABLED     ((DWORD)0xE90005F4L)
  268.  
  269. //
  270. // MessageId: NTSEC_ERROR_ACCOUNT_LOCKED
  271. //
  272. // MessageText:
  273. //
  274. //  The user account is locked on the host.
  275. //
  276. #define NTSEC_ERROR_ACCOUNT_LOCKED       ((DWORD)0xE90005F5L)
  277.  
  278. //
  279. // MessageId: NTSEC_ERROR_USER_CANNOT_CHANGE_PASSWORD
  280. //
  281. // MessageText:
  282. //
  283. //  User does not have permission to change the account password on the host.
  284. //
  285. #define NTSEC_ERROR_USER_CANNOT_CHANGE_PASSWORD ((DWORD)0xE90005F6L)
  286.  
  287. #pragma option pop /*P_O_Pop*/
  288. #endif // __MDSIMSGS_H__
  289.