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.

439 lines
13 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 certexit.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 __certexit_h__
  27. #define __certexit_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICertExit_FWD_DEFINED__
  33. #define __ICertExit_FWD_DEFINED__
  34. typedef interface ICertExit ICertExit;
  35. #endif /* __ICertExit_FWD_DEFINED__ */
  36. #ifndef __ICertExit2_FWD_DEFINED__
  37. #define __ICertExit2_FWD_DEFINED__
  38. typedef interface ICertExit2 ICertExit2;
  39. #endif /* __ICertExit2_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "wtypes.h"
  42. #include "certmod.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. /* interface __MIDL_itf_certexit_0000 */
  49. /* [local] */
  50. #define EXITEVENT_INVALID ( 0x0 ) // Invalid event
  51. #define EXITEVENT_CERTISSUED ( 0x1 ) // Certificate issued
  52. #define EXITEVENT_CERTPENDING ( 0x2 ) // Certificate pending
  53. #define EXITEVENT_CERTDENIED ( 0x4 ) // Certificate denied
  54. #define EXITEVENT_CERTREVOKED ( 0x8 ) // Certificate revoked
  55. #define EXITEVENT_CERTRETRIEVEPENDING ( 0x10 ) // Certificate retrieval
  56. #define EXITEVENT_CRLISSUED ( 0x20 ) // CRL issued
  57. #define EXITEVENT_SHUTDOWN ( 0x40 ) // Service shutdown
  58. #define EXITEVENT_STARTUP ( 0x80 ) // Service startup, fake event generated by exit module
  59. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_c_ifspec;
  60. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_s_ifspec;
  61. #ifndef __ICertExit_INTERFACE_DEFINED__
  62. #define __ICertExit_INTERFACE_DEFINED__
  63. /* interface ICertExit */
  64. /* [unique][helpstring][dual][uuid][object] */
  65. EXTERN_C const IID IID_ICertExit;
  66. #if defined(__cplusplus) && !defined(CINTERFACE)
  67. MIDL_INTERFACE("e19ae1a0-7364-11d0-8816-00a0c903b83c")
  68. ICertExit : public IDispatch
  69. {
  70. public:
  71. virtual HRESULT STDMETHODCALLTYPE Initialize(
  72. /* [in] */ const BSTR strConfig,
  73. /* [retval][out] */ LONG *pEventMask) = 0;
  74. virtual HRESULT STDMETHODCALLTYPE Notify(
  75. /* [in] */ LONG ExitEvent,
  76. /* [in] */ LONG Context) = 0;
  77. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  78. /* [retval][out] */ BSTR *pstrDescription) = 0;
  79. };
  80. #else /* C style interface */
  81. typedef struct ICertExitVtbl
  82. {
  83. BEGIN_INTERFACE
  84. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  85. ICertExit * This,
  86. /* [in] */ REFIID riid,
  87. /* [iid_is][out] */ void **ppvObject);
  88. ULONG ( STDMETHODCALLTYPE *AddRef )(
  89. ICertExit * This);
  90. ULONG ( STDMETHODCALLTYPE *Release )(
  91. ICertExit * This);
  92. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  93. ICertExit * This,
  94. /* [out] */ UINT *pctinfo);
  95. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  96. ICertExit * This,
  97. /* [in] */ UINT iTInfo,
  98. /* [in] */ LCID lcid,
  99. /* [out] */ ITypeInfo **ppTInfo);
  100. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  101. ICertExit * This,
  102. /* [in] */ REFIID riid,
  103. /* [size_is][in] */ LPOLESTR *rgszNames,
  104. /* [in] */ UINT cNames,
  105. /* [in] */ LCID lcid,
  106. /* [size_is][out] */ DISPID *rgDispId);
  107. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  108. ICertExit * This,
  109. /* [in] */ DISPID dispIdMember,
  110. /* [in] */ REFIID riid,
  111. /* [in] */ LCID lcid,
  112. /* [in] */ WORD wFlags,
  113. /* [out][in] */ DISPPARAMS *pDispParams,
  114. /* [out] */ VARIANT *pVarResult,
  115. /* [out] */ EXCEPINFO *pExcepInfo,
  116. /* [out] */ UINT *puArgErr);
  117. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  118. ICertExit * This,
  119. /* [in] */ const BSTR strConfig,
  120. /* [retval][out] */ LONG *pEventMask);
  121. HRESULT ( STDMETHODCALLTYPE *Notify )(
  122. ICertExit * This,
  123. /* [in] */ LONG ExitEvent,
  124. /* [in] */ LONG Context);
  125. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  126. ICertExit * This,
  127. /* [retval][out] */ BSTR *pstrDescription);
  128. END_INTERFACE
  129. } ICertExitVtbl;
  130. interface ICertExit
  131. {
  132. CONST_VTBL struct ICertExitVtbl *lpVtbl;
  133. };
  134. #ifdef COBJMACROS
  135. #define ICertExit_QueryInterface(This,riid,ppvObject) \
  136. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  137. #define ICertExit_AddRef(This) \
  138. (This)->lpVtbl -> AddRef(This)
  139. #define ICertExit_Release(This) \
  140. (This)->lpVtbl -> Release(This)
  141. #define ICertExit_GetTypeInfoCount(This,pctinfo) \
  142. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  143. #define ICertExit_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  144. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  145. #define ICertExit_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  146. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  147. #define ICertExit_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  148. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  149. #define ICertExit_Initialize(This,strConfig,pEventMask) \
  150. (This)->lpVtbl -> Initialize(This,strConfig,pEventMask)
  151. #define ICertExit_Notify(This,ExitEvent,Context) \
  152. (This)->lpVtbl -> Notify(This,ExitEvent,Context)
  153. #define ICertExit_GetDescription(This,pstrDescription) \
  154. (This)->lpVtbl -> GetDescription(This,pstrDescription)
  155. #endif /* COBJMACROS */
  156. #endif /* C style interface */
  157. HRESULT STDMETHODCALLTYPE ICertExit_Initialize_Proxy(
  158. ICertExit * This,
  159. /* [in] */ const BSTR strConfig,
  160. /* [retval][out] */ LONG *pEventMask);
  161. void __RPC_STUB ICertExit_Initialize_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. HRESULT STDMETHODCALLTYPE ICertExit_Notify_Proxy(
  167. ICertExit * This,
  168. /* [in] */ LONG ExitEvent,
  169. /* [in] */ LONG Context);
  170. void __RPC_STUB ICertExit_Notify_Stub(
  171. IRpcStubBuffer *This,
  172. IRpcChannelBuffer *_pRpcChannelBuffer,
  173. PRPC_MESSAGE _pRpcMessage,
  174. DWORD *_pdwStubPhase);
  175. HRESULT STDMETHODCALLTYPE ICertExit_GetDescription_Proxy(
  176. ICertExit * This,
  177. /* [retval][out] */ BSTR *pstrDescription);
  178. void __RPC_STUB ICertExit_GetDescription_Stub(
  179. IRpcStubBuffer *This,
  180. IRpcChannelBuffer *_pRpcChannelBuffer,
  181. PRPC_MESSAGE _pRpcMessage,
  182. DWORD *_pdwStubPhase);
  183. #endif /* __ICertExit_INTERFACE_DEFINED__ */
  184. #ifndef __ICertExit2_INTERFACE_DEFINED__
  185. #define __ICertExit2_INTERFACE_DEFINED__
  186. /* interface ICertExit2 */
  187. /* [unique][helpstring][dual][uuid][object] */
  188. EXTERN_C const IID IID_ICertExit2;
  189. #if defined(__cplusplus) && !defined(CINTERFACE)
  190. MIDL_INTERFACE("0abf484b-d049-464d-a7ed-552e7529b0ff")
  191. ICertExit2 : public ICertExit
  192. {
  193. public:
  194. virtual HRESULT STDMETHODCALLTYPE GetManageModule(
  195. /* [retval][out] */ ICertManageModule **ppManageModule) = 0;
  196. };
  197. #else /* C style interface */
  198. typedef struct ICertExit2Vtbl
  199. {
  200. BEGIN_INTERFACE
  201. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  202. ICertExit2 * This,
  203. /* [in] */ REFIID riid,
  204. /* [iid_is][out] */ void **ppvObject);
  205. ULONG ( STDMETHODCALLTYPE *AddRef )(
  206. ICertExit2 * This);
  207. ULONG ( STDMETHODCALLTYPE *Release )(
  208. ICertExit2 * This);
  209. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  210. ICertExit2 * This,
  211. /* [out] */ UINT *pctinfo);
  212. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  213. ICertExit2 * This,
  214. /* [in] */ UINT iTInfo,
  215. /* [in] */ LCID lcid,
  216. /* [out] */ ITypeInfo **ppTInfo);
  217. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  218. ICertExit2 * This,
  219. /* [in] */ REFIID riid,
  220. /* [size_is][in] */ LPOLESTR *rgszNames,
  221. /* [in] */ UINT cNames,
  222. /* [in] */ LCID lcid,
  223. /* [size_is][out] */ DISPID *rgDispId);
  224. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  225. ICertExit2 * This,
  226. /* [in] */ DISPID dispIdMember,
  227. /* [in] */ REFIID riid,
  228. /* [in] */ LCID lcid,
  229. /* [in] */ WORD wFlags,
  230. /* [out][in] */ DISPPARAMS *pDispParams,
  231. /* [out] */ VARIANT *pVarResult,
  232. /* [out] */ EXCEPINFO *pExcepInfo,
  233. /* [out] */ UINT *puArgErr);
  234. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  235. ICertExit2 * This,
  236. /* [in] */ const BSTR strConfig,
  237. /* [retval][out] */ LONG *pEventMask);
  238. HRESULT ( STDMETHODCALLTYPE *Notify )(
  239. ICertExit2 * This,
  240. /* [in] */ LONG ExitEvent,
  241. /* [in] */ LONG Context);
  242. HRESULT ( STDMETHODCALLTYPE *GetDescription )(
  243. ICertExit2 * This,
  244. /* [retval][out] */ BSTR *pstrDescription);
  245. HRESULT ( STDMETHODCALLTYPE *GetManageModule )(
  246. ICertExit2 * This,
  247. /* [retval][out] */ ICertManageModule **ppManageModule);
  248. END_INTERFACE
  249. } ICertExit2Vtbl;
  250. interface ICertExit2
  251. {
  252. CONST_VTBL struct ICertExit2Vtbl *lpVtbl;
  253. };
  254. #ifdef COBJMACROS
  255. #define ICertExit2_QueryInterface(This,riid,ppvObject) \
  256. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  257. #define ICertExit2_AddRef(This) \
  258. (This)->lpVtbl -> AddRef(This)
  259. #define ICertExit2_Release(This) \
  260. (This)->lpVtbl -> Release(This)
  261. #define ICertExit2_GetTypeInfoCount(This,pctinfo) \
  262. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  263. #define ICertExit2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  264. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  265. #define ICertExit2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  266. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  267. #define ICertExit2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  268. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  269. #define ICertExit2_Initialize(This,strConfig,pEventMask) \
  270. (This)->lpVtbl -> Initialize(This,strConfig,pEventMask)
  271. #define ICertExit2_Notify(This,ExitEvent,Context) \
  272. (This)->lpVtbl -> Notify(This,ExitEvent,Context)
  273. #define ICertExit2_GetDescription(This,pstrDescription) \
  274. (This)->lpVtbl -> GetDescription(This,pstrDescription)
  275. #define ICertExit2_GetManageModule(This,ppManageModule) \
  276. (This)->lpVtbl -> GetManageModule(This,ppManageModule)
  277. #endif /* COBJMACROS */
  278. #endif /* C style interface */
  279. HRESULT STDMETHODCALLTYPE ICertExit2_GetManageModule_Proxy(
  280. ICertExit2 * This,
  281. /* [retval][out] */ ICertManageModule **ppManageModule);
  282. void __RPC_STUB ICertExit2_GetManageModule_Stub(
  283. IRpcStubBuffer *This,
  284. IRpcChannelBuffer *_pRpcChannelBuffer,
  285. PRPC_MESSAGE _pRpcMessage,
  286. DWORD *_pdwStubPhase);
  287. #endif /* __ICertExit2_INTERFACE_DEFINED__ */
  288. /* Additional Prototypes for ALL interfaces */
  289. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  290. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  291. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  292. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  293. /* end of Additional Prototypes */
  294. #ifdef __cplusplus
  295. }
  296. #endif
  297. #endif