Mdmsg.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:5k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /**********************************************************************/
  2. /**                       Microsoft Windows NT                       **/
  3. /**                Copyright(c) Microsoft Corp., 1993-1999           **/
  4. /**********************************************************************/
  5. /*
  6.     mdmsg.h
  7.     This file is generated by the MC tool from the MDMSG.MC message
  8.     file.
  9.     FILE HISTORY:
  10.         michth      26-Jun-1996 Created.
  11. */
  12. #ifndef _MDMSG_H_
  13. #define _MDMSG_H_
  14. //
  15. //  Values are 32 bit values layed out as follows:
  16. //
  17. //   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  18. //   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
  19. //  +-+-+-+-+-+---------------------+-------------------------------+
  20. //  |S|R|C|N|r|    Facility         |               Code            |
  21. //  +-+-+-+-+-+---------------------+-------------------------------+
  22. //
  23. //  where
  24. //
  25. //      S - Severity - indicates success/fail
  26. //
  27. //          0 - Success
  28. //          1 - Fail (COERROR)
  29. //
  30. //      R - reserved portion of the facility code, corresponds to NT's
  31. //              second severity bit.
  32. //
  33. //      C - reserved portion of the facility code, corresponds to NT's
  34. //              C field.
  35. //
  36. //      N - reserved portion of the facility code. Used to indicate a
  37. //              mapped NT status value.
  38. //
  39. //      r - reserved portion of the facility code. Reserved for internal
  40. //              use. Used to indicate HRESULT values that are not status
  41. //              values, but are instead message ids for display strings.
  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. //
  51. // Define the severity codes
  52. //
  53. //
  54. // MessageId: MD_ERROR_NOT_INITIALIZED
  55. //
  56. // MessageText:
  57. //
  58. //  MetaData has not been initialized.
  59. //
  60. #define MD_ERROR_NOT_INITIALIZED         0x800CC800L
  61. //
  62. // MessageId: MD_ERROR_DATA_NOT_FOUND
  63. //
  64. // MessageText:
  65. //
  66. //  The specified metadata was not found.
  67. //
  68. #define MD_ERROR_DATA_NOT_FOUND          0x800CC801L
  69. //
  70. // MessageId: MD_ERROR_INVALID_VERSION
  71. //
  72. // MessageText:
  73. //
  74. //  The version specified in metadata storage was not recognized.
  75. //
  76. #define MD_ERROR_INVALID_VERSION         0x800CC802L
  77. //
  78. // MessageId: MD_WARNING_PATH_NOT_FOUND
  79. //
  80. // MessageText:
  81. //
  82. //  A specified metaobject path was not found. The metaobject and associated metadata was ignored.
  83. //
  84. #define MD_WARNING_PATH_NOT_FOUND        0x000CC803L
  85. //
  86. // MessageId: MD_WARNING_DUP_NAME
  87. //
  88. // MessageText:
  89. //
  90. //  A metaobject or metadata was specified more than once. The duplicate ignored.
  91. //
  92. #define MD_WARNING_DUP_NAME              0x000CC804L
  93. //
  94. // MessageId: MD_WARNING_INVALID_DATA
  95. //
  96. // MessageText:
  97. //
  98. //  Invalid metadata was specified. The invalid metadata was ignored.
  99. //
  100. #define MD_WARNING_INVALID_DATA          0x000CC805L
  101. //
  102. // MessageId: MD_ERROR_SECURE_CHANNEL_FAILURE
  103. //
  104. // MessageText:
  105. //
  106. //  A secure communications channel could not be established with the target server.
  107. //
  108. #define MD_ERROR_SECURE_CHANNEL_FAILURE  0x800CC806L
  109. //
  110. // MessageId: MD_WARNING_PATH_NOT_INSERTED
  111. //
  112. // MessageText:
  113. //
  114. //  The path was not inserted into the string as requested. The probable cause is that the data is at an object at a higher level than the handle.
  115. //
  116. #define MD_WARNING_PATH_NOT_INSERTED     0x000CC807L
  117. //
  118. // MessageId: MD_ERROR_CANNOT_REMOVE_SECURE_ATTRIBUTE
  119. //
  120. // MessageText:
  121. //
  122. //  The METADATA_SECURE attribute cannot be removed from a data item via the GetData method. Use the DeleteData method to remove the secure data.
  123. //
  124. #define MD_ERROR_CANNOT_REMOVE_SECURE_ATTRIBUTE 0x800CC808L
  125. //
  126. // MessageId: MD_WARNING_SAVE_FAILED
  127. //
  128. // MessageText:
  129. //
  130. //  The metadata save prior to backup failed. The previous version of the data was backed up.
  131. //
  132. #define MD_WARNING_SAVE_FAILED           0x000CC809L
  133. //
  134. // MessageId: MD_ERROR_IISAO_INVALID_SCHEMA
  135. //
  136. // MessageText:
  137. //
  138. //  The schema information could not be loaded. A required key or property is missing from the metabase.
  139. //
  140. #define MD_ERROR_IISAO_INVALID_SCHEMA    0x800CC810L
  141. //
  142. // MessageId: MD_ERROR_READ_METABASE_FILE
  143. //
  144. // MessageText:
  145. //
  146. //  Unable to read the metabase file.  Look at eventlog for further details.
  147. //
  148. #define MD_ERROR_READ_METABASE_FILE      0x800CC819L
  149. //
  150. // MessageId: MD_ERROR_NO_SESSION_KEY
  151. //
  152. // MessageText:
  153. //
  154. //  Could not find session key in IIS_Global section of XML file.
  155. //
  156. #define MD_ERROR_NO_SESSION_KEY          0x800CC81DL
  157. #endif  // _MDMSG_H_