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.

324 lines
6.7 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for obase.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef __obase_h__
  23. #define __obase_h__
  24. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  25. #pragma once
  26. #endif
  27. /* Forward Declarations */
  28. /* header files for imported files */
  29. #include "wtypes.h"
  30. #ifdef __cplusplus
  31. extern "C"{
  32. #endif
  33. void * __RPC_USER MIDL_user_allocate(size_t);
  34. void __RPC_USER MIDL_user_free( void * );
  35. #ifndef __ObjectRpcBaseTypes_INTERFACE_DEFINED__
  36. #define __ObjectRpcBaseTypes_INTERFACE_DEFINED__
  37. /* interface ObjectRpcBaseTypes */
  38. /* [auto_handle][unique][uuid] */
  39. typedef MIDL_uhyper ID;
  40. typedef ID MID;
  41. typedef ID OXID;
  42. typedef ID OID;
  43. typedef ID SETID;
  44. typedef GUID IPID;
  45. typedef GUID CID;
  46. typedef REFGUID REFIPID;
  47. typedef DWORD APTID;
  48. typedef DWORD PROCID;
  49. typedef DWORD CTXTID;
  50. #define COM_MINOR_VERSION_1 ( 1 )
  51. #define COM_MAJOR_VERSION ( 5 )
  52. #define COM_MINOR_VERSION ( 6 )
  53. typedef struct tagCOMVERSION
  54. {
  55. unsigned short MajorVersion;
  56. unsigned short MinorVersion;
  57. } COMVERSION;
  58. #define ORPCF_NULL ( 0 )
  59. #define ORPCF_LOCAL ( 1 )
  60. #define ORPCF_RESERVED1 ( 2 )
  61. #define ORPCF_RESERVED2 ( 4 )
  62. #define ORPCF_RESERVED3 ( 8 )
  63. #define ORPCF_RESERVED4 ( 16 )
  64. typedef struct tagORPC_EXTENT
  65. {
  66. GUID id;
  67. unsigned long size;
  68. /* [size_is] */ byte data[ 1 ];
  69. } ORPC_EXTENT;
  70. typedef struct tagORPC_EXTENT_ARRAY
  71. {
  72. unsigned long size;
  73. unsigned long reserved;
  74. /* [unique][size_is][size_is] */ ORPC_EXTENT **extent;
  75. } ORPC_EXTENT_ARRAY;
  76. typedef struct tagORPCTHIS
  77. {
  78. COMVERSION version;
  79. unsigned long flags;
  80. unsigned long reserved1;
  81. CID cid;
  82. /* [unique] */ ORPC_EXTENT_ARRAY *extensions;
  83. } ORPCTHIS;
  84. typedef struct tagORPCTHAT
  85. {
  86. unsigned long flags;
  87. /* [unique] */ ORPC_EXTENT_ARRAY *extensions;
  88. } ORPCTHAT;
  89. #define NCADG_IP_UDP ( 0x8 )
  90. #define NCACN_IP_TCP ( 0x7 )
  91. #define NCADG_IPX ( 0xe )
  92. #define NCACN_SPX ( 0xc )
  93. #define NCACN_NB_NB ( 0x12 )
  94. #define NCACN_NB_IPX ( 0xd )
  95. #define NCACN_DNET_NSP ( 0x4 )
  96. #define NCALRPC ( 0x10 )
  97. typedef struct tagSTRINGBINDING
  98. {
  99. unsigned short wTowerId;
  100. unsigned short aNetworkAddr;
  101. } STRINGBINDING;
  102. #define COM_C_AUTHZ_NONE ( 0xffff )
  103. typedef struct tagSECURITYBINDING
  104. {
  105. unsigned short wAuthnSvc;
  106. unsigned short wAuthzSvc;
  107. unsigned short aPrincName;
  108. } SECURITYBINDING;
  109. typedef struct tagDUALSTRINGARRAY
  110. {
  111. unsigned short wNumEntries;
  112. unsigned short wSecurityOffset;
  113. /* [size_is] */ unsigned short aStringArray[ 1 ];
  114. } DUALSTRINGARRAY;
  115. #define OBJREF_SIGNATURE ( 0x574f454d )
  116. #define OBJREF_STANDARD ( 0x1 )
  117. #define OBJREF_HANDLER ( 0x2 )
  118. #define OBJREF_CUSTOM ( 0x4 )
  119. #define OBJREF_EXTENDED ( 0x8 )
  120. #define SORF_OXRES1 ( 0x1 )
  121. #define SORF_OXRES2 ( 0x20 )
  122. #define SORF_OXRES3 ( 0x40 )
  123. #define SORF_OXRES4 ( 0x80 )
  124. #define SORF_OXRES5 ( 0x100 )
  125. #define SORF_OXRES6 ( 0x200 )
  126. #define SORF_OXRES7 ( 0x400 )
  127. #define SORF_OXRES8 ( 0x800 )
  128. #define SORF_NULL ( 0 )
  129. #define SORF_NOPING ( 0x1000 )
  130. typedef struct tagSTDOBJREF
  131. {
  132. unsigned long flags;
  133. unsigned long cPublicRefs;
  134. OXID oxid;
  135. OID oid;
  136. IPID ipid;
  137. } STDOBJREF;
  138. typedef struct tagDATAELEMENT
  139. {
  140. GUID dataID;
  141. unsigned long cbSize;
  142. unsigned long cbRounded;
  143. /* [size_is] */ BYTE Data[ 1 ];
  144. } DATAELEMENT;
  145. typedef struct tagOBJREFDATA
  146. {
  147. unsigned long nElms;
  148. /* [unique][size_is][size_is] */ DATAELEMENT **ppElmArray;
  149. } OBJREFDATA;
  150. typedef struct tagOBJREF
  151. {
  152. unsigned long signature;
  153. unsigned long flags;
  154. GUID iid;
  155. /* [switch_type][switch_is] */ union
  156. {
  157. /* [case()] */ struct
  158. {
  159. STDOBJREF std;
  160. DUALSTRINGARRAY saResAddr;
  161. } u_standard;
  162. /* [case()] */ struct
  163. {
  164. STDOBJREF std;
  165. CLSID clsid;
  166. DUALSTRINGARRAY saResAddr;
  167. } u_handler;
  168. /* [case()] */ struct
  169. {
  170. CLSID clsid;
  171. unsigned long cbExtension;
  172. unsigned long size;
  173. /* [ref][size_is] */ byte *pData;
  174. } u_custom;
  175. /* [case()] */ struct
  176. {
  177. STDOBJREF std;
  178. /* [unique] */ OBJREFDATA *pORData;
  179. DUALSTRINGARRAY saResAddr;
  180. } u_extended;
  181. } u_objref;
  182. } OBJREF;
  183. typedef struct tagMInterfacePointer
  184. {
  185. ULONG ulCntData;
  186. /* [size_is] */ BYTE abData[ 1 ];
  187. } MInterfacePointer;
  188. typedef /* [unique] */ MInterfacePointer *PMInterfacePointer;
  189. typedef struct tagOXID_INFO
  190. {
  191. DWORD dwTid;
  192. DWORD dwPid;
  193. DWORD dwAuthnHint;
  194. COMVERSION version;
  195. IPID ipidRemUnknown;
  196. DWORD dwFlags;
  197. /* [unique] */ DUALSTRINGARRAY *psa;
  198. } OXID_INFO;
  199. typedef struct tagSTCMSHL_EXTENSION
  200. {
  201. ULONG cbSize;
  202. GUID type;
  203. BYTE data[ 1 ];
  204. } STCMSHL_EXTENSION;
  205. typedef struct tagSTCMSHL_EXTENSION_ARRAY
  206. {
  207. ULONG cbSize;
  208. ULONG cElems;
  209. STCMSHL_EXTENSION data[ 1 ];
  210. } STCMSHL_EXTENSION_ARRAY;
  211. extern RPC_IF_HANDLE ObjectRpcBaseTypes_v0_0_c_ifspec;
  212. extern RPC_IF_HANDLE ObjectRpcBaseTypes_v0_0_s_ifspec;
  213. #endif /* __ObjectRpcBaseTypes_INTERFACE_DEFINED__ */
  214. /* interface __MIDL_itf_obase_0005 */
  215. /* [local] */
  216. typedef struct tagOpaqueData
  217. {
  218. GUID guid;
  219. unsigned long dataLength;
  220. unsigned long reserved1;
  221. unsigned long reserved2;
  222. /* [size_is] */ BYTE *data;
  223. } OpaqueData;
  224. extern RPC_IF_HANDLE __MIDL_itf_obase_0005_v0_0_c_ifspec;
  225. extern RPC_IF_HANDLE __MIDL_itf_obase_0005_v0_0_s_ifspec;
  226. /* Additional Prototypes for ALL interfaces */
  227. /* end of Additional Prototypes */
  228. #ifdef __cplusplus
  229. }
  230. #endif
  231. #endif