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.

266 lines
5.5 KiB

  1. /*++ BUILD Version: 0001 // Increment this if a change has global effects
  2. Copyright (c) 1991-1999 Microsoft Corporation
  3. Module Name:
  4. oledserr.mc
  5. Abstract:
  6. Error codes for ADs
  7. Revision History:
  8. --*/
  9. #if _MSC_VER > 1000
  10. #pragma once
  11. #endif
  12. // ---------------------- HRESULT value definitions -----------------
  13. //
  14. // HRESULT definitions
  15. //
  16. #ifdef RC_INVOKED
  17. #define _HRESULT_TYPEDEF_(_sc) _sc
  18. #else // RC_INVOKED
  19. #define _HRESULT_TYPEDEF_(_sc) ((HRESULT)_sc)
  20. #endif // RC_INVOKED
  21. //
  22. // Values are 32 bit values layed out as follows:
  23. //
  24. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  25. // 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
  26. // +---+-+-+-----------------------+-------------------------------+
  27. // |Sev|C|R| Facility | Code |
  28. // +---+-+-+-----------------------+-------------------------------+
  29. //
  30. // where
  31. //
  32. // Sev - is the severity code
  33. //
  34. // 00 - Success
  35. // 01 - Informational
  36. // 10 - Warning
  37. // 11 - Error
  38. //
  39. // C - is the Customer code flag
  40. //
  41. // R - is a reserved bit
  42. //
  43. // Facility - is the facility code
  44. //
  45. // Code - is the facility's status code
  46. //
  47. //
  48. // Define the facility codes
  49. //
  50. #define FACILITY_WINDOWS 8
  51. #define FACILITY_STORAGE 3
  52. #define FACILITY_RPC 1
  53. #define FACILITY_SSPI 9
  54. #define FACILITY_WIN32 7
  55. #define FACILITY_CONTROL 10
  56. #define FACILITY_NULL 0
  57. #define FACILITY_ITF 4
  58. #define FACILITY_DISPATCH 2
  59. //
  60. // Define the severity codes
  61. //
  62. //
  63. // MessageId: E_ADS_BAD_PATHNAME
  64. //
  65. // MessageText:
  66. //
  67. // An invalid directory pathname was passed
  68. //
  69. #define E_ADS_BAD_PATHNAME _HRESULT_TYPEDEF_(0x80005000L)
  70. //
  71. // MessageId: E_ADS_INVALID_DOMAIN_OBJECT
  72. //
  73. // MessageText:
  74. //
  75. // An unknown directory domain object was requested
  76. //
  77. #define E_ADS_INVALID_DOMAIN_OBJECT _HRESULT_TYPEDEF_(0x80005001L)
  78. //
  79. // MessageId: E_ADS_INVALID_USER_OBJECT
  80. //
  81. // MessageText:
  82. //
  83. // An unknown directory user object was requested
  84. //
  85. #define E_ADS_INVALID_USER_OBJECT _HRESULT_TYPEDEF_(0x80005002L)
  86. //
  87. // MessageId: E_ADS_INVALID_COMPUTER_OBJECT
  88. //
  89. // MessageText:
  90. //
  91. // An unknown directory computer object was requested
  92. //
  93. #define E_ADS_INVALID_COMPUTER_OBJECT _HRESULT_TYPEDEF_(0x80005003L)
  94. //
  95. // MessageId: E_ADS_UNKNOWN_OBJECT
  96. //
  97. // MessageText:
  98. //
  99. // An unknown directory object was requested
  100. //
  101. #define E_ADS_UNKNOWN_OBJECT _HRESULT_TYPEDEF_(0x80005004L)
  102. //
  103. // MessageId: E_ADS_PROPERTY_NOT_SET
  104. //
  105. // MessageText:
  106. //
  107. // The specified directory property was not set
  108. //
  109. #define E_ADS_PROPERTY_NOT_SET _HRESULT_TYPEDEF_(0x80005005L)
  110. //
  111. // MessageId: E_ADS_PROPERTY_NOT_SUPPORTED
  112. //
  113. // MessageText:
  114. //
  115. // The specified directory property is not supported
  116. //
  117. #define E_ADS_PROPERTY_NOT_SUPPORTED _HRESULT_TYPEDEF_(0x80005006L)
  118. //
  119. // MessageId: E_ADS_PROPERTY_INVALID
  120. //
  121. // MessageText:
  122. //
  123. // The specified directory property is invalid
  124. //
  125. #define E_ADS_PROPERTY_INVALID _HRESULT_TYPEDEF_(0x80005007L)
  126. //
  127. // MessageId: E_ADS_BAD_PARAMETER
  128. //
  129. // MessageText:
  130. //
  131. // One or more input parameters are invalid
  132. //
  133. #define E_ADS_BAD_PARAMETER _HRESULT_TYPEDEF_(0x80005008L)
  134. //
  135. // MessageId: E_ADS_OBJECT_UNBOUND
  136. //
  137. // MessageText:
  138. //
  139. // The specified directory object is not bound to a remote resource
  140. //
  141. #define E_ADS_OBJECT_UNBOUND _HRESULT_TYPEDEF_(0x80005009L)
  142. //
  143. // MessageId: E_ADS_PROPERTY_NOT_MODIFIED
  144. //
  145. // MessageText:
  146. //
  147. // The specified directory object has not been modified
  148. //
  149. #define E_ADS_PROPERTY_NOT_MODIFIED _HRESULT_TYPEDEF_(0x8000500AL)
  150. //
  151. // MessageId: E_ADS_PROPERTY_MODIFIED
  152. //
  153. // MessageText:
  154. //
  155. // The specified directory object has been modified
  156. //
  157. #define E_ADS_PROPERTY_MODIFIED _HRESULT_TYPEDEF_(0x8000500BL)
  158. //
  159. // MessageId: E_ADS_CANT_CONVERT_DATATYPE
  160. //
  161. // MessageText:
  162. //
  163. // The directory datatype cannot be converted to/from a native DS datatype
  164. //
  165. #define E_ADS_CANT_CONVERT_DATATYPE _HRESULT_TYPEDEF_(0x8000500CL)
  166. //
  167. // MessageId: E_ADS_PROPERTY_NOT_FOUND
  168. //
  169. // MessageText:
  170. //
  171. // The directory property cannot be found in the cache.
  172. //
  173. #define E_ADS_PROPERTY_NOT_FOUND _HRESULT_TYPEDEF_(0x8000500DL)
  174. //
  175. // MessageId: E_ADS_OBJECT_EXISTS
  176. //
  177. // MessageText:
  178. //
  179. // The directory object exists.
  180. //
  181. #define E_ADS_OBJECT_EXISTS _HRESULT_TYPEDEF_(0x8000500EL)
  182. //
  183. // MessageId: E_ADS_SCHEMA_VIOLATION
  184. //
  185. // MessageText:
  186. //
  187. // The attempted action violates the DS schema rules.
  188. //
  189. #define E_ADS_SCHEMA_VIOLATION _HRESULT_TYPEDEF_(0x8000500FL)
  190. //
  191. // MessageId: E_ADS_COLUMN_NOT_SET
  192. //
  193. // MessageText:
  194. //
  195. // The specified column in the directory was not set.
  196. //
  197. #define E_ADS_COLUMN_NOT_SET _HRESULT_TYPEDEF_(0x80005010L)
  198. //
  199. // MessageId: S_ADS_ERRORSOCCURRED
  200. //
  201. // MessageText:
  202. //
  203. // One or more errors occurred
  204. //
  205. #define S_ADS_ERRORSOCCURRED _HRESULT_TYPEDEF_(0x00005011L)
  206. //
  207. // MessageId: S_ADS_NOMORE_ROWS
  208. //
  209. // MessageText:
  210. //
  211. // No more rows to be obatained by the search result.
  212. //
  213. #define S_ADS_NOMORE_ROWS _HRESULT_TYPEDEF_(0x00005012L)
  214. //
  215. // MessageId: S_ADS_NOMORE_COLUMNS
  216. //
  217. // MessageText:
  218. //
  219. // No more columns to be obatained for the current row.
  220. //
  221. #define S_ADS_NOMORE_COLUMNS _HRESULT_TYPEDEF_(0x00005013L)
  222. //
  223. // MessageId: E_ADS_INVALID_FILTER
  224. //
  225. // MessageText:
  226. //
  227. // The search filter specified is invalid
  228. //
  229. #define E_ADS_INVALID_FILTER _HRESULT_TYPEDEF_(0x80005014L)