home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / mdmsg.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  4KB  |  158 lines

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