Leaked source code of windows server 2003
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.

339 lines
8.3 KiB

  1. /*
  2. * _LAYGUID.H
  3. *
  4. * Lays down actual, 16-byte GUIDs for use in an EXE or DLL.
  5. * Should be included in only one module (a .C file) of said EXE or DLL.
  6. * Before including, define the tags for all the GUIDs you
  7. * plan to use, e.g.
  8. *
  9. * #define USES_IID_IUnknown
  10. * #define USES_IID_IStream
  11. * #define USES_IID_IMAPIProp
  12. * #include <_layguid.h>
  13. */
  14. #ifdef USES_GUID_NULL
  15. DEFINE_GUID(GUID_NULL, 0L, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
  16. #endif
  17. #ifdef USES_IID_IUnknown
  18. DEFINE_OLEGUID(IID_IUnknown, 0x00000000L, 0, 0);
  19. #endif
  20. #ifdef USES_IID_IClassFactory
  21. DEFINE_OLEGUID(IID_IClassFactory, 0x00000001L, 0, 0);
  22. #endif
  23. #ifdef USES_IID_IMalloc
  24. DEFINE_OLEGUID(IID_IMalloc, 0x00000002L, 0, 0);
  25. #endif
  26. #ifdef USES_IID_IMarshal
  27. DEFINE_OLEGUID(IID_IMarshal, 0x00000003L, 0, 0);
  28. #endif
  29. /* RPC related interfaces */
  30. #ifdef USES_IID_IRpcChannel
  31. DEFINE_OLEGUID(IID_IRpcChannel, 0x00000004L, 0, 0);
  32. #endif
  33. #ifdef USES_IID_IRpcStub
  34. DEFINE_OLEGUID(IID_IRpcStub, 0x00000005L, 0, 0);
  35. #endif
  36. #ifdef USES_IID_IStubManager
  37. DEFINE_OLEGUID(IID_IStubManager, 0x00000006L, 0, 0);
  38. #endif
  39. #ifdef USES_IID_IRpcProxy
  40. DEFINE_OLEGUID(IID_IRpcProxy, 0x00000007L, 0, 0);
  41. #endif
  42. #ifdef USES_IID_IProxyManager
  43. DEFINE_OLEGUID(IID_IProxyManager, 0x00000008L, 0, 0);
  44. #endif
  45. #ifdef USES_IID_IPSFactory
  46. DEFINE_OLEGUID(IID_IPSFactory, 0x00000009L, 0, 0);
  47. #endif
  48. #ifdef USES_IID_IRpcProxyBuffer
  49. DEFINE_GUID(IID_IRpcProxyBuffer, 0xD5F56A34, 0x593B, 0x101A, 0xB5, 0x69, 0x08, 0x00, 0x2B, 0x2D, 0xBF, 0x7A);
  50. #endif
  51. #ifdef USES_IID_IPSFactoryBuffer
  52. DEFINE_GUID(IID_IPSFactoryBuffer,0xD5F569D0,0x593B,0x101A,0xB5,0x69,0x08,0x00,0x2B,0x2D,0xBF,0x7A);
  53. #endif
  54. #ifdef USES_IID_IRpcChannelBuffer
  55. DEFINE_GUID(IID_IRpcChannelBuffer,0xD5F56B60,0x593B,0x101A,0xB5,0x69,0x08,0x00,0x2B,0x2D,0xBF,0x7A);
  56. #endif
  57. #ifdef USES_IID_IRpcStubBuffer
  58. DEFINE_GUID(IID_IRpcStubBuffer,0xD5F56AFC,0x593B,0x101A,0xB5,0x69,0x08,0x00,0x2B,0x2D,0xBF,0x7A);
  59. #endif
  60. /* storage related interfaces */
  61. #ifdef USES_IID_ILockBytes
  62. DEFINE_OLEGUID(IID_ILockBytes, 0x0000000aL, 0, 0);
  63. #endif
  64. #ifdef USES_IID_IStorage
  65. DEFINE_OLEGUID(IID_IStorage, 0x0000000bL, 0, 0);
  66. #endif
  67. #ifdef USES_IID_IStream
  68. DEFINE_OLEGUID(IID_IStream, 0x0000000cL, 0, 0);
  69. #endif
  70. #ifdef USES_IID_IEnumSTATSTG
  71. DEFINE_OLEGUID(IID_IEnumSTATSTG, 0x0000000dL, 0, 0);
  72. #endif
  73. /* moniker related interfaces */
  74. #ifdef USES_IID_IBindCtx
  75. DEFINE_OLEGUID(IID_IBindCtx, 0x0000000eL, 0, 0);
  76. #endif
  77. #ifdef USES_IID_IMoniker
  78. DEFINE_OLEGUID(IID_IMoniker, 0x0000000fL, 0, 0);
  79. #endif
  80. #ifdef USES_IID_IRunningObjectTable
  81. DEFINE_OLEGUID(IID_IRunningObjectTable, 0x00000010L, 0, 0);
  82. #endif
  83. #ifdef USES_IID_IInternalMoniker
  84. DEFINE_OLEGUID(IID_IInternalMoniker, 0x00000011L, 0, 0);
  85. #endif
  86. /* storage related interfaces */
  87. #ifdef USES_IID_IRootStorage
  88. DEFINE_OLEGUID(IID_IRootStorage, 0x00000012L, 0, 0);
  89. #endif
  90. #ifdef USES_IID_IDfReserved1
  91. DEFINE_OLEGUID(IID_IDfReserved1, 0x00000013L, 0, 0);
  92. #endif
  93. #ifdef USES_IID_IDfReserved2
  94. DEFINE_OLEGUID(IID_IDfReserved2, 0x00000014L, 0, 0);
  95. #endif
  96. #ifdef USES_IID_IDfReserved3
  97. DEFINE_OLEGUID(IID_IDfReserved3, 0x00000015L, 0, 0);
  98. #endif
  99. /* concurrency releated interfaces */
  100. #ifdef USES_IID_IMessageFilter
  101. DEFINE_OLEGUID(IID_IMessageFilter, 0x00000016L, 0, 0);
  102. #endif
  103. /* CLSID of standard marshaler */
  104. #ifdef USES_CLSID_StdMarshal
  105. DEFINE_OLEGUID(CLSID_StdMarshal, 0x00000017L, 0, 0);
  106. #endif
  107. /* interface on server for getting info for std marshaler */
  108. #ifdef USES_IID_IStdMarshalInfo
  109. DEFINE_OLEGUID(IID_IStdMarshalInfo, 0x00000018L, 0, 0);
  110. #endif
  111. /* NOTE: LSB 0x19 through 0xff are reserved for future use */
  112. // End of COGUID.H clone
  113. // Copied from OLEGUID.H
  114. /* this file is the master definition of all public GUIDs specific to OLE
  115. and is included in ole2.h.
  116. NOTE: The second least significant byte of all of these GUIDs is 1.
  117. */
  118. #ifdef USES_IID_IEnumUnknown
  119. DEFINE_OLEGUID(IID_IEnumUnknown, 0x00000100, 0, 0);
  120. #endif
  121. #ifdef USES_IID_IEnumString
  122. DEFINE_OLEGUID(IID_IEnumString, 0x00000101, 0, 0);
  123. #endif
  124. #ifdef USES_IID_IEnumMoniker
  125. DEFINE_OLEGUID(IID_IEnumMoniker, 0x00000102, 0, 0);
  126. #endif
  127. #ifdef USES_IID_IEnumFORMATETC
  128. DEFINE_OLEGUID(IID_IEnumFORMATETC, 0x00000103, 0, 0);
  129. #endif
  130. #ifdef USES_IID_IEnumOLEVERB
  131. DEFINE_OLEGUID(IID_IEnumOLEVERB, 0x00000104, 0, 0);
  132. #endif
  133. #ifdef USES_IID_IEnumSTATDATA
  134. DEFINE_OLEGUID(IID_IEnumSTATDATA, 0x00000105, 0, 0);
  135. #endif
  136. #ifdef USES_IID_IEnumGeneric
  137. DEFINE_OLEGUID(IID_IEnumGeneric, 0x00000106, 0, 0);
  138. #endif
  139. #ifdef USES_IID_IEnumHolder
  140. DEFINE_OLEGUID(IID_IEnumHolder, 0x00000107, 0, 0);
  141. #endif
  142. #ifdef USES_IID_IEnumCallback
  143. DEFINE_OLEGUID(IID_IEnumCallback, 0x00000108, 0, 0);
  144. #endif
  145. #ifdef USES_IID_IPersistStream
  146. DEFINE_OLEGUID(IID_IPersistStream, 0x00000109, 0, 0);
  147. #endif
  148. #ifdef USES_IID_IPersistStorage
  149. DEFINE_OLEGUID(IID_IPersistStorage, 0x0000010a, 0, 0);
  150. #endif
  151. #ifdef USES_IID_IPersistFile
  152. DEFINE_OLEGUID(IID_IPersistFile, 0x0000010b, 0, 0);
  153. #endif
  154. #ifdef USES_IID_IPersist
  155. DEFINE_OLEGUID(IID_IPersist, 0x0000010c, 0, 0);
  156. #endif
  157. #ifdef USES_IID_IViewObject
  158. DEFINE_OLEGUID(IID_IViewObject, 0x0000010d, 0, 0);
  159. #endif
  160. #ifdef USES_IID_IDataObject
  161. DEFINE_OLEGUID(IID_IDataObject, 0x0000010e, 0, 0);
  162. #endif
  163. #ifdef USES_IID_IAdviseSink
  164. DEFINE_OLEGUID(IID_IAdviseSink, 0x0000010f, 0, 0);
  165. #endif
  166. #ifdef USES_IID_IDataAdviseHolder
  167. DEFINE_OLEGUID(IID_IDataAdviseHolder, 0x00000110, 0, 0);
  168. #endif
  169. #ifdef USES_IID_IOleAdviseHolder
  170. DEFINE_OLEGUID(IID_IOleAdviseHolder, 0x00000111, 0, 0);
  171. #endif
  172. #ifdef USES_IID_IOleObject
  173. DEFINE_OLEGUID(IID_IOleObject, 0x00000112, 0, 0);
  174. #endif
  175. #ifdef USES_IID_IOleInPlaceObject
  176. DEFINE_OLEGUID(IID_IOleInPlaceObject, 0x00000113, 0, 0);
  177. #endif
  178. #ifdef USES_IID_IOleWindow
  179. DEFINE_OLEGUID(IID_IOleWindow, 0x00000114, 0, 0);
  180. #endif
  181. #ifdef USES_IID_IOleInPlaceUIWindow
  182. DEFINE_OLEGUID(IID_IOleInPlaceUIWindow, 0x00000115, 0, 0);
  183. #endif
  184. #ifdef USES_IID_IOleInPlaceFrame
  185. DEFINE_OLEGUID(IID_IOleInPlaceFrame, 0x00000116, 0, 0);
  186. #endif
  187. #ifdef USES_IID_IOleInPlaceActiveObject
  188. DEFINE_OLEGUID(IID_IOleInPlaceActiveObject, 0x00000117, 0, 0);
  189. #endif
  190. #ifdef USES_IID_IOleClientSite
  191. DEFINE_OLEGUID(IID_IOleClientSite, 0x00000118, 0, 0);
  192. #endif
  193. #ifdef USES_IID_IOleInPlaceSite
  194. DEFINE_OLEGUID(IID_IOleInPlaceSite, 0x00000119, 0, 0);
  195. #endif
  196. #ifdef USES_IID_IParseDisplayName
  197. DEFINE_OLEGUID(IID_IParseDisplayName, 0x0000011a, 0, 0);
  198. #endif
  199. #ifdef USES_IID_IOleContainer
  200. DEFINE_OLEGUID(IID_IOleContainer, 0x0000011b, 0, 0);
  201. #endif
  202. #ifdef USES_IID_IOleItemContainer
  203. DEFINE_OLEGUID(IID_IOleItemContainer, 0x0000011c, 0, 0);
  204. #endif
  205. #ifdef USES_IID_IOleLink
  206. DEFINE_OLEGUID(IID_IOleLink, 0x0000011d, 0, 0);
  207. #endif
  208. #ifdef USES_IID_IOleCache
  209. DEFINE_OLEGUID(IID_IOleCache, 0x0000011e, 0, 0);
  210. #endif
  211. #ifdef USES_IID_IOleManager
  212. DEFINE_OLEGUID(IID_IOleManager, 0x0000011f, 0, 0);
  213. #endif
  214. #ifdef USES_IID_IOlePresObj
  215. DEFINE_OLEGUID(IID_IOlePresObj, 0x00000120, 0, 0);
  216. #endif
  217. #ifdef USES_IID_IDropSource
  218. DEFINE_OLEGUID(IID_IDropSource, 0x00000121, 0, 0);
  219. #endif
  220. #ifdef USES_IID_IDropTarget
  221. DEFINE_OLEGUID(IID_IDropTarget, 0x00000122, 0, 0);
  222. #endif
  223. #ifdef USES_IID_IDebug
  224. DEFINE_OLEGUID(IID_IDebug, 0x00000123, 0, 0);
  225. #endif
  226. #ifdef USES_IID_IDebugStream
  227. DEFINE_OLEGUID(IID_IDebugStream, 0x00000124, 0, 0);
  228. #endif
  229. /* NOTE: LSB values 0x25 through 0xff are reserved */
  230. /* GUIDs defined in OLE's private range */
  231. #ifdef USES_CLSID_StdOleLink
  232. DEFINE_OLEGUID(CLSID_StdOleLink, 0x00000300, 0, 0);
  233. #endif
  234. #ifdef USES_CLSID_StaticMetafile
  235. DEFINE_OLEGUID(CLSID_StaticMetafile, 0x00000315, 0, 0);
  236. #endif
  237. #ifdef USES_CLSID_StaticDib
  238. DEFINE_OLEGUID(CLSID_StaticDib, 0x00000316, 0, 0);
  239. #endif
  240. // End of OLEGUID.H clone