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.

476 lines
16 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 certreqd.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 COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __certreqd_h__
  27. #define __certreqd_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICertRequestD_FWD_DEFINED__
  33. #define __ICertRequestD_FWD_DEFINED__
  34. typedef interface ICertRequestD ICertRequestD;
  35. #endif /* __ICertRequestD_FWD_DEFINED__ */
  36. #ifndef __ICertRequestD2_FWD_DEFINED__
  37. #define __ICertRequestD2_FWD_DEFINED__
  38. typedef interface ICertRequestD2 ICertRequestD2;
  39. #endif /* __ICertRequestD2_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "certbase.h"
  42. #include "oaidl.h"
  43. #ifdef __cplusplus
  44. extern "C"{
  45. #endif
  46. void * __RPC_USER MIDL_user_allocate(size_t);
  47. void __RPC_USER MIDL_user_free( void * );
  48. #ifndef __ICertRequestD_INTERFACE_DEFINED__
  49. #define __ICertRequestD_INTERFACE_DEFINED__
  50. /* interface ICertRequestD */
  51. /* [unique][helpstring][uuid][object] */
  52. EXTERN_C const IID IID_ICertRequestD;
  53. #if defined(__cplusplus) && !defined(CINTERFACE)
  54. MIDL_INTERFACE("d99e6e70-fc88-11d0-b498-00a0c90312f3")
  55. ICertRequestD : public IUnknown
  56. {
  57. public:
  58. virtual HRESULT STDMETHODCALLTYPE Request(
  59. /* [in] */ DWORD dwFlags,
  60. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  61. /* [ref][out][in] */ DWORD *pdwRequestId,
  62. /* [out] */ DWORD *pdwDisposition,
  63. /* [unique][string][in] */ const wchar_t *pwszAttributes,
  64. /* [ref][in] */ const CERTTRANSBLOB *pctbRequest,
  65. /* [ref][out] */ CERTTRANSBLOB *pctbCertChain,
  66. /* [ref][out] */ CERTTRANSBLOB *pctbEncodedCert,
  67. /* [ref][out] */ CERTTRANSBLOB *pctbDispositionMessage) = 0;
  68. virtual HRESULT STDMETHODCALLTYPE GetCACert(
  69. /* [in] */ DWORD fchain,
  70. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  71. /* [ref][out] */ CERTTRANSBLOB *pctbOut) = 0;
  72. virtual HRESULT STDMETHODCALLTYPE Ping(
  73. /* [unique][string][in] */ const wchar_t *pwszAuthority) = 0;
  74. };
  75. #else /* C style interface */
  76. typedef struct ICertRequestDVtbl
  77. {
  78. BEGIN_INTERFACE
  79. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  80. ICertRequestD * This,
  81. /* [in] */ REFIID riid,
  82. /* [iid_is][out] */ void **ppvObject);
  83. ULONG ( STDMETHODCALLTYPE *AddRef )(
  84. ICertRequestD * This);
  85. ULONG ( STDMETHODCALLTYPE *Release )(
  86. ICertRequestD * This);
  87. HRESULT ( STDMETHODCALLTYPE *Request )(
  88. ICertRequestD * This,
  89. /* [in] */ DWORD dwFlags,
  90. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  91. /* [ref][out][in] */ DWORD *pdwRequestId,
  92. /* [out] */ DWORD *pdwDisposition,
  93. /* [unique][string][in] */ const wchar_t *pwszAttributes,
  94. /* [ref][in] */ const CERTTRANSBLOB *pctbRequest,
  95. /* [ref][out] */ CERTTRANSBLOB *pctbCertChain,
  96. /* [ref][out] */ CERTTRANSBLOB *pctbEncodedCert,
  97. /* [ref][out] */ CERTTRANSBLOB *pctbDispositionMessage);
  98. HRESULT ( STDMETHODCALLTYPE *GetCACert )(
  99. ICertRequestD * This,
  100. /* [in] */ DWORD fchain,
  101. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  102. /* [ref][out] */ CERTTRANSBLOB *pctbOut);
  103. HRESULT ( STDMETHODCALLTYPE *Ping )(
  104. ICertRequestD * This,
  105. /* [unique][string][in] */ const wchar_t *pwszAuthority);
  106. END_INTERFACE
  107. } ICertRequestDVtbl;
  108. interface ICertRequestD
  109. {
  110. CONST_VTBL struct ICertRequestDVtbl *lpVtbl;
  111. };
  112. #ifdef COBJMACROS
  113. #define ICertRequestD_QueryInterface(This,riid,ppvObject) \
  114. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  115. #define ICertRequestD_AddRef(This) \
  116. (This)->lpVtbl -> AddRef(This)
  117. #define ICertRequestD_Release(This) \
  118. (This)->lpVtbl -> Release(This)
  119. #define ICertRequestD_Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage) \
  120. (This)->lpVtbl -> Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage)
  121. #define ICertRequestD_GetCACert(This,fchain,pwszAuthority,pctbOut) \
  122. (This)->lpVtbl -> GetCACert(This,fchain,pwszAuthority,pctbOut)
  123. #define ICertRequestD_Ping(This,pwszAuthority) \
  124. (This)->lpVtbl -> Ping(This,pwszAuthority)
  125. #endif /* COBJMACROS */
  126. #endif /* C style interface */
  127. HRESULT STDMETHODCALLTYPE ICertRequestD_Request_Proxy(
  128. ICertRequestD * This,
  129. /* [in] */ DWORD dwFlags,
  130. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  131. /* [ref][out][in] */ DWORD *pdwRequestId,
  132. /* [out] */ DWORD *pdwDisposition,
  133. /* [unique][string][in] */ const wchar_t *pwszAttributes,
  134. /* [ref][in] */ const CERTTRANSBLOB *pctbRequest,
  135. /* [ref][out] */ CERTTRANSBLOB *pctbCertChain,
  136. /* [ref][out] */ CERTTRANSBLOB *pctbEncodedCert,
  137. /* [ref][out] */ CERTTRANSBLOB *pctbDispositionMessage);
  138. void __RPC_STUB ICertRequestD_Request_Stub(
  139. IRpcStubBuffer *This,
  140. IRpcChannelBuffer *_pRpcChannelBuffer,
  141. PRPC_MESSAGE _pRpcMessage,
  142. DWORD *_pdwStubPhase);
  143. HRESULT STDMETHODCALLTYPE ICertRequestD_GetCACert_Proxy(
  144. ICertRequestD * This,
  145. /* [in] */ DWORD fchain,
  146. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  147. /* [ref][out] */ CERTTRANSBLOB *pctbOut);
  148. void __RPC_STUB ICertRequestD_GetCACert_Stub(
  149. IRpcStubBuffer *This,
  150. IRpcChannelBuffer *_pRpcChannelBuffer,
  151. PRPC_MESSAGE _pRpcMessage,
  152. DWORD *_pdwStubPhase);
  153. HRESULT STDMETHODCALLTYPE ICertRequestD_Ping_Proxy(
  154. ICertRequestD * This,
  155. /* [unique][string][in] */ const wchar_t *pwszAuthority);
  156. void __RPC_STUB ICertRequestD_Ping_Stub(
  157. IRpcStubBuffer *This,
  158. IRpcChannelBuffer *_pRpcChannelBuffer,
  159. PRPC_MESSAGE _pRpcMessage,
  160. DWORD *_pdwStubPhase);
  161. #endif /* __ICertRequestD_INTERFACE_DEFINED__ */
  162. #ifndef __ICertRequestD2_INTERFACE_DEFINED__
  163. #define __ICertRequestD2_INTERFACE_DEFINED__
  164. /* interface ICertRequestD2 */
  165. /* [unique][helpstring][uuid][object] */
  166. EXTERN_C const IID IID_ICertRequestD2;
  167. #if defined(__cplusplus) && !defined(CINTERFACE)
  168. MIDL_INTERFACE("5422fd3a-d4b8-4cef-a12e-e87d4ca22e90")
  169. ICertRequestD2 : public ICertRequestD
  170. {
  171. public:
  172. virtual HRESULT STDMETHODCALLTYPE Request2(
  173. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  174. /* [in] */ DWORD dwFlags,
  175. /* [unique][string][in] */ const wchar_t *pwszSerialNumber,
  176. /* [ref][out][in] */ DWORD *pdwRequestId,
  177. /* [out] */ DWORD *pdwDisposition,
  178. /* [unique][string][in] */ const wchar_t *pwszAttributes,
  179. /* [ref][in] */ const CERTTRANSBLOB *pctbRequest,
  180. /* [ref][out] */ CERTTRANSBLOB *pctbFullResponse,
  181. /* [ref][out] */ CERTTRANSBLOB *pctbEncodedCert,
  182. /* [ref][out] */ CERTTRANSBLOB *pctbDispositionMessage) = 0;
  183. virtual HRESULT STDMETHODCALLTYPE GetCAProperty(
  184. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  185. /* [in] */ LONG PropId,
  186. /* [in] */ LONG PropIndex,
  187. /* [in] */ LONG PropType,
  188. /* [ref][out] */ CERTTRANSBLOB *pctbPropertyValue) = 0;
  189. virtual HRESULT STDMETHODCALLTYPE GetCAPropertyInfo(
  190. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  191. /* [out] */ LONG *pcProperty,
  192. /* [ref][out] */ CERTTRANSBLOB *pctbPropInfo) = 0;
  193. virtual HRESULT STDMETHODCALLTYPE Ping2(
  194. /* [unique][string][in] */ const wchar_t *pwszAuthority) = 0;
  195. };
  196. #else /* C style interface */
  197. typedef struct ICertRequestD2Vtbl
  198. {
  199. BEGIN_INTERFACE
  200. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  201. ICertRequestD2 * This,
  202. /* [in] */ REFIID riid,
  203. /* [iid_is][out] */ void **ppvObject);
  204. ULONG ( STDMETHODCALLTYPE *AddRef )(
  205. ICertRequestD2 * This);
  206. ULONG ( STDMETHODCALLTYPE *Release )(
  207. ICertRequestD2 * This);
  208. HRESULT ( STDMETHODCALLTYPE *Request )(
  209. ICertRequestD2 * This,
  210. /* [in] */ DWORD dwFlags,
  211. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  212. /* [ref][out][in] */ DWORD *pdwRequestId,
  213. /* [out] */ DWORD *pdwDisposition,
  214. /* [unique][string][in] */ const wchar_t *pwszAttributes,
  215. /* [ref][in] */ const CERTTRANSBLOB *pctbRequest,
  216. /* [ref][out] */ CERTTRANSBLOB *pctbCertChain,
  217. /* [ref][out] */ CERTTRANSBLOB *pctbEncodedCert,
  218. /* [ref][out] */ CERTTRANSBLOB *pctbDispositionMessage);
  219. HRESULT ( STDMETHODCALLTYPE *GetCACert )(
  220. ICertRequestD2 * This,
  221. /* [in] */ DWORD fchain,
  222. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  223. /* [ref][out] */ CERTTRANSBLOB *pctbOut);
  224. HRESULT ( STDMETHODCALLTYPE *Ping )(
  225. ICertRequestD2 * This,
  226. /* [unique][string][in] */ const wchar_t *pwszAuthority);
  227. HRESULT ( STDMETHODCALLTYPE *Request2 )(
  228. ICertRequestD2 * This,
  229. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  230. /* [in] */ DWORD dwFlags,
  231. /* [unique][string][in] */ const wchar_t *pwszSerialNumber,
  232. /* [ref][out][in] */ DWORD *pdwRequestId,
  233. /* [out] */ DWORD *pdwDisposition,
  234. /* [unique][string][in] */ const wchar_t *pwszAttributes,
  235. /* [ref][in] */ const CERTTRANSBLOB *pctbRequest,
  236. /* [ref][out] */ CERTTRANSBLOB *pctbFullResponse,
  237. /* [ref][out] */ CERTTRANSBLOB *pctbEncodedCert,
  238. /* [ref][out] */ CERTTRANSBLOB *pctbDispositionMessage);
  239. HRESULT ( STDMETHODCALLTYPE *GetCAProperty )(
  240. ICertRequestD2 * This,
  241. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  242. /* [in] */ LONG PropId,
  243. /* [in] */ LONG PropIndex,
  244. /* [in] */ LONG PropType,
  245. /* [ref][out] */ CERTTRANSBLOB *pctbPropertyValue);
  246. HRESULT ( STDMETHODCALLTYPE *GetCAPropertyInfo )(
  247. ICertRequestD2 * This,
  248. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  249. /* [out] */ LONG *pcProperty,
  250. /* [ref][out] */ CERTTRANSBLOB *pctbPropInfo);
  251. HRESULT ( STDMETHODCALLTYPE *Ping2 )(
  252. ICertRequestD2 * This,
  253. /* [unique][string][in] */ const wchar_t *pwszAuthority);
  254. END_INTERFACE
  255. } ICertRequestD2Vtbl;
  256. interface ICertRequestD2
  257. {
  258. CONST_VTBL struct ICertRequestD2Vtbl *lpVtbl;
  259. };
  260. #ifdef COBJMACROS
  261. #define ICertRequestD2_QueryInterface(This,riid,ppvObject) \
  262. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  263. #define ICertRequestD2_AddRef(This) \
  264. (This)->lpVtbl -> AddRef(This)
  265. #define ICertRequestD2_Release(This) \
  266. (This)->lpVtbl -> Release(This)
  267. #define ICertRequestD2_Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage) \
  268. (This)->lpVtbl -> Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage)
  269. #define ICertRequestD2_GetCACert(This,fchain,pwszAuthority,pctbOut) \
  270. (This)->lpVtbl -> GetCACert(This,fchain,pwszAuthority,pctbOut)
  271. #define ICertRequestD2_Ping(This,pwszAuthority) \
  272. (This)->lpVtbl -> Ping(This,pwszAuthority)
  273. #define ICertRequestD2_Request2(This,pwszAuthority,dwFlags,pwszSerialNumber,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbFullResponse,pctbEncodedCert,pctbDispositionMessage) \
  274. (This)->lpVtbl -> Request2(This,pwszAuthority,dwFlags,pwszSerialNumber,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbFullResponse,pctbEncodedCert,pctbDispositionMessage)
  275. #define ICertRequestD2_GetCAProperty(This,pwszAuthority,PropId,PropIndex,PropType,pctbPropertyValue) \
  276. (This)->lpVtbl -> GetCAProperty(This,pwszAuthority,PropId,PropIndex,PropType,pctbPropertyValue)
  277. #define ICertRequestD2_GetCAPropertyInfo(This,pwszAuthority,pcProperty,pctbPropInfo) \
  278. (This)->lpVtbl -> GetCAPropertyInfo(This,pwszAuthority,pcProperty,pctbPropInfo)
  279. #define ICertRequestD2_Ping2(This,pwszAuthority) \
  280. (This)->lpVtbl -> Ping2(This,pwszAuthority)
  281. #endif /* COBJMACROS */
  282. #endif /* C style interface */
  283. HRESULT STDMETHODCALLTYPE ICertRequestD2_Request2_Proxy(
  284. ICertRequestD2 * This,
  285. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  286. /* [in] */ DWORD dwFlags,
  287. /* [unique][string][in] */ const wchar_t *pwszSerialNumber,
  288. /* [ref][out][in] */ DWORD *pdwRequestId,
  289. /* [out] */ DWORD *pdwDisposition,
  290. /* [unique][string][in] */ const wchar_t *pwszAttributes,
  291. /* [ref][in] */ const CERTTRANSBLOB *pctbRequest,
  292. /* [ref][out] */ CERTTRANSBLOB *pctbFullResponse,
  293. /* [ref][out] */ CERTTRANSBLOB *pctbEncodedCert,
  294. /* [ref][out] */ CERTTRANSBLOB *pctbDispositionMessage);
  295. void __RPC_STUB ICertRequestD2_Request2_Stub(
  296. IRpcStubBuffer *This,
  297. IRpcChannelBuffer *_pRpcChannelBuffer,
  298. PRPC_MESSAGE _pRpcMessage,
  299. DWORD *_pdwStubPhase);
  300. HRESULT STDMETHODCALLTYPE ICertRequestD2_GetCAProperty_Proxy(
  301. ICertRequestD2 * This,
  302. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  303. /* [in] */ LONG PropId,
  304. /* [in] */ LONG PropIndex,
  305. /* [in] */ LONG PropType,
  306. /* [ref][out] */ CERTTRANSBLOB *pctbPropertyValue);
  307. void __RPC_STUB ICertRequestD2_GetCAProperty_Stub(
  308. IRpcStubBuffer *This,
  309. IRpcChannelBuffer *_pRpcChannelBuffer,
  310. PRPC_MESSAGE _pRpcMessage,
  311. DWORD *_pdwStubPhase);
  312. HRESULT STDMETHODCALLTYPE ICertRequestD2_GetCAPropertyInfo_Proxy(
  313. ICertRequestD2 * This,
  314. /* [unique][string][in] */ const wchar_t *pwszAuthority,
  315. /* [out] */ LONG *pcProperty,
  316. /* [ref][out] */ CERTTRANSBLOB *pctbPropInfo);
  317. void __RPC_STUB ICertRequestD2_GetCAPropertyInfo_Stub(
  318. IRpcStubBuffer *This,
  319. IRpcChannelBuffer *_pRpcChannelBuffer,
  320. PRPC_MESSAGE _pRpcMessage,
  321. DWORD *_pdwStubPhase);
  322. HRESULT STDMETHODCALLTYPE ICertRequestD2_Ping2_Proxy(
  323. ICertRequestD2 * This,
  324. /* [unique][string][in] */ const wchar_t *pwszAuthority);
  325. void __RPC_STUB ICertRequestD2_Ping2_Stub(
  326. IRpcStubBuffer *This,
  327. IRpcChannelBuffer *_pRpcChannelBuffer,
  328. PRPC_MESSAGE _pRpcMessage,
  329. DWORD *_pdwStubPhase);
  330. #endif /* __ICertRequestD2_INTERFACE_DEFINED__ */
  331. /* Additional Prototypes for ALL interfaces */
  332. /* end of Additional Prototypes */
  333. #ifdef __cplusplus
  334. }
  335. #endif
  336. #endif