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

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