CertExit.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:13k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for certexit.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext, robust
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  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 ( 0 )
  51. #define EXITEVENT_CERTISSUED ( 0x1 )
  52. #define EXITEVENT_CERTPENDING ( 0x2 )
  53. #define EXITEVENT_CERTDENIED ( 0x4 )
  54. #define EXITEVENT_CERTREVOKED ( 0x8 )
  55. #define EXITEVENT_CERTRETRIEVEPENDING ( 0x10 )
  56. #define EXITEVENT_CRLISSUED ( 0x20 )
  57. #define EXITEVENT_SHUTDOWN ( 0x40 )
  58. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_s_ifspec;
  60. #ifndef __ICertExit_INTERFACE_DEFINED__
  61. #define __ICertExit_INTERFACE_DEFINED__
  62. /* interface ICertExit */
  63. /* [unique][helpstring][dual][uuid][object] */ 
  64. EXTERN_C const IID IID_ICertExit;
  65. #if defined(__cplusplus) && !defined(CINTERFACE)
  66.     
  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.         
  75.         virtual HRESULT STDMETHODCALLTYPE Notify( 
  76.             /* [in] */ LONG ExitEvent,
  77.             /* [in] */ LONG Context) = 0;
  78.         
  79.         virtual HRESULT STDMETHODCALLTYPE GetDescription( 
  80.             /* [retval][out] */ BSTR *pstrDescription) = 0;
  81.         
  82.     };
  83.     
  84. #else  /* C style interface */
  85.     typedef struct ICertExitVtbl
  86.     {
  87.         BEGIN_INTERFACE
  88.         
  89.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  90.             ICertExit * This,
  91.             /* [in] */ REFIID riid,
  92.             /* [iid_is][out] */ void **ppvObject);
  93.         
  94.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  95.             ICertExit * This);
  96.         
  97.         ULONG ( STDMETHODCALLTYPE *Release )( 
  98.             ICertExit * This);
  99.         
  100.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  101.             ICertExit * This,
  102.             /* [out] */ UINT *pctinfo);
  103.         
  104.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  105.             ICertExit * This,
  106.             /* [in] */ UINT iTInfo,
  107.             /* [in] */ LCID lcid,
  108.             /* [out] */ ITypeInfo **ppTInfo);
  109.         
  110.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  111.             ICertExit * This,
  112.             /* [in] */ REFIID riid,
  113.             /* [size_is][in] */ LPOLESTR *rgszNames,
  114.             /* [in] */ UINT cNames,
  115.             /* [in] */ LCID lcid,
  116.             /* [size_is][out] */ DISPID *rgDispId);
  117.         
  118.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  119.             ICertExit * This,
  120.             /* [in] */ DISPID dispIdMember,
  121.             /* [in] */ REFIID riid,
  122.             /* [in] */ LCID lcid,
  123.             /* [in] */ WORD wFlags,
  124.             /* [out][in] */ DISPPARAMS *pDispParams,
  125.             /* [out] */ VARIANT *pVarResult,
  126.             /* [out] */ EXCEPINFO *pExcepInfo,
  127.             /* [out] */ UINT *puArgErr);
  128.         
  129.         HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  130.             ICertExit * This,
  131.             /* [in] */ const BSTR strConfig,
  132.             /* [retval][out] */ LONG *pEventMask);
  133.         
  134.         HRESULT ( STDMETHODCALLTYPE *Notify )( 
  135.             ICertExit * This,
  136.             /* [in] */ LONG ExitEvent,
  137.             /* [in] */ LONG Context);
  138.         
  139.         HRESULT ( STDMETHODCALLTYPE *GetDescription )( 
  140.             ICertExit * This,
  141.             /* [retval][out] */ BSTR *pstrDescription);
  142.         
  143.         END_INTERFACE
  144.     } ICertExitVtbl;
  145.     interface ICertExit
  146.     {
  147.         CONST_VTBL struct ICertExitVtbl *lpVtbl;
  148.     };
  149.     
  150. #ifdef COBJMACROS
  151. #define ICertExit_QueryInterface(This,riid,ppvObject)
  152.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  153. #define ICertExit_AddRef(This)
  154.     (This)->lpVtbl -> AddRef(This)
  155. #define ICertExit_Release(This)
  156.     (This)->lpVtbl -> Release(This)
  157. #define ICertExit_GetTypeInfoCount(This,pctinfo)
  158.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  159. #define ICertExit_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  160.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  161. #define ICertExit_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  162.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  163. #define ICertExit_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  164.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  165. #define ICertExit_Initialize(This,strConfig,pEventMask)
  166.     (This)->lpVtbl -> Initialize(This,strConfig,pEventMask)
  167. #define ICertExit_Notify(This,ExitEvent,Context)
  168.     (This)->lpVtbl -> Notify(This,ExitEvent,Context)
  169. #define ICertExit_GetDescription(This,pstrDescription)
  170.     (This)->lpVtbl -> GetDescription(This,pstrDescription)
  171. #endif /* COBJMACROS */
  172. #endif  /* C style interface */
  173. HRESULT STDMETHODCALLTYPE ICertExit_Initialize_Proxy( 
  174.     ICertExit * This,
  175.     /* [in] */ const BSTR strConfig,
  176.     /* [retval][out] */ LONG *pEventMask);
  177. void __RPC_STUB ICertExit_Initialize_Stub(
  178.     IRpcStubBuffer *This,
  179.     IRpcChannelBuffer *_pRpcChannelBuffer,
  180.     PRPC_MESSAGE _pRpcMessage,
  181.     DWORD *_pdwStubPhase);
  182. HRESULT STDMETHODCALLTYPE ICertExit_Notify_Proxy( 
  183.     ICertExit * This,
  184.     /* [in] */ LONG ExitEvent,
  185.     /* [in] */ LONG Context);
  186. void __RPC_STUB ICertExit_Notify_Stub(
  187.     IRpcStubBuffer *This,
  188.     IRpcChannelBuffer *_pRpcChannelBuffer,
  189.     PRPC_MESSAGE _pRpcMessage,
  190.     DWORD *_pdwStubPhase);
  191. HRESULT STDMETHODCALLTYPE ICertExit_GetDescription_Proxy( 
  192.     ICertExit * This,
  193.     /* [retval][out] */ BSTR *pstrDescription);
  194. void __RPC_STUB ICertExit_GetDescription_Stub(
  195.     IRpcStubBuffer *This,
  196.     IRpcChannelBuffer *_pRpcChannelBuffer,
  197.     PRPC_MESSAGE _pRpcMessage,
  198.     DWORD *_pdwStubPhase);
  199. #endif  /* __ICertExit_INTERFACE_DEFINED__ */
  200. #ifndef __ICertExit2_INTERFACE_DEFINED__
  201. #define __ICertExit2_INTERFACE_DEFINED__
  202. /* interface ICertExit2 */
  203. /* [unique][helpstring][dual][uuid][object] */ 
  204. EXTERN_C const IID IID_ICertExit2;
  205. #if defined(__cplusplus) && !defined(CINTERFACE)
  206.     
  207.     MIDL_INTERFACE("0abf484b-d049-464d-a7ed-552e7529b0ff")
  208.     ICertExit2 : public ICertExit
  209.     {
  210.     public:
  211.         virtual HRESULT STDMETHODCALLTYPE GetManageModule( 
  212.             /* [retval][out] */ ICertManageModule **ppManageModule) = 0;
  213.         
  214.     };
  215.     
  216. #else  /* C style interface */
  217.     typedef struct ICertExit2Vtbl
  218.     {
  219.         BEGIN_INTERFACE
  220.         
  221.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  222.             ICertExit2 * This,
  223.             /* [in] */ REFIID riid,
  224.             /* [iid_is][out] */ void **ppvObject);
  225.         
  226.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  227.             ICertExit2 * This);
  228.         
  229.         ULONG ( STDMETHODCALLTYPE *Release )( 
  230.             ICertExit2 * This);
  231.         
  232.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
  233.             ICertExit2 * This,
  234.             /* [out] */ UINT *pctinfo);
  235.         
  236.         HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
  237.             ICertExit2 * This,
  238.             /* [in] */ UINT iTInfo,
  239.             /* [in] */ LCID lcid,
  240.             /* [out] */ ITypeInfo **ppTInfo);
  241.         
  242.         HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
  243.             ICertExit2 * This,
  244.             /* [in] */ REFIID riid,
  245.             /* [size_is][in] */ LPOLESTR *rgszNames,
  246.             /* [in] */ UINT cNames,
  247.             /* [in] */ LCID lcid,
  248.             /* [size_is][out] */ DISPID *rgDispId);
  249.         
  250.         /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
  251.             ICertExit2 * This,
  252.             /* [in] */ DISPID dispIdMember,
  253.             /* [in] */ REFIID riid,
  254.             /* [in] */ LCID lcid,
  255.             /* [in] */ WORD wFlags,
  256.             /* [out][in] */ DISPPARAMS *pDispParams,
  257.             /* [out] */ VARIANT *pVarResult,
  258.             /* [out] */ EXCEPINFO *pExcepInfo,
  259.             /* [out] */ UINT *puArgErr);
  260.         
  261.         HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  262.             ICertExit2 * This,
  263.             /* [in] */ const BSTR strConfig,
  264.             /* [retval][out] */ LONG *pEventMask);
  265.         
  266.         HRESULT ( STDMETHODCALLTYPE *Notify )( 
  267.             ICertExit2 * This,
  268.             /* [in] */ LONG ExitEvent,
  269.             /* [in] */ LONG Context);
  270.         
  271.         HRESULT ( STDMETHODCALLTYPE *GetDescription )( 
  272.             ICertExit2 * This,
  273.             /* [retval][out] */ BSTR *pstrDescription);
  274.         
  275.         HRESULT ( STDMETHODCALLTYPE *GetManageModule )( 
  276.             ICertExit2 * This,
  277.             /* [retval][out] */ ICertManageModule **ppManageModule);
  278.         
  279.         END_INTERFACE
  280.     } ICertExit2Vtbl;
  281.     interface ICertExit2
  282.     {
  283.         CONST_VTBL struct ICertExit2Vtbl *lpVtbl;
  284.     };
  285.     
  286. #ifdef COBJMACROS
  287. #define ICertExit2_QueryInterface(This,riid,ppvObject)
  288.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  289. #define ICertExit2_AddRef(This)
  290.     (This)->lpVtbl -> AddRef(This)
  291. #define ICertExit2_Release(This)
  292.     (This)->lpVtbl -> Release(This)
  293. #define ICertExit2_GetTypeInfoCount(This,pctinfo)
  294.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  295. #define ICertExit2_GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  296.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  297. #define ICertExit2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  298.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  299. #define ICertExit2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  300.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  301. #define ICertExit2_Initialize(This,strConfig,pEventMask)
  302.     (This)->lpVtbl -> Initialize(This,strConfig,pEventMask)
  303. #define ICertExit2_Notify(This,ExitEvent,Context)
  304.     (This)->lpVtbl -> Notify(This,ExitEvent,Context)
  305. #define ICertExit2_GetDescription(This,pstrDescription)
  306.     (This)->lpVtbl -> GetDescription(This,pstrDescription)
  307. #define ICertExit2_GetManageModule(This,ppManageModule)
  308.     (This)->lpVtbl -> GetManageModule(This,ppManageModule)
  309. #endif /* COBJMACROS */
  310. #endif  /* C style interface */
  311. HRESULT STDMETHODCALLTYPE ICertExit2_GetManageModule_Proxy( 
  312.     ICertExit2 * This,
  313.     /* [retval][out] */ ICertManageModule **ppManageModule);
  314. void __RPC_STUB ICertExit2_GetManageModule_Stub(
  315.     IRpcStubBuffer *This,
  316.     IRpcChannelBuffer *_pRpcChannelBuffer,
  317.     PRPC_MESSAGE _pRpcMessage,
  318.     DWORD *_pdwStubPhase);
  319. #endif  /* __ICertExit2_INTERFACE_DEFINED__ */
  320. /* Additional Prototypes for ALL interfaces */
  321. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
  322. unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
  323. unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
  324. void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 
  325. /* end of Additional Prototypes */
  326. #ifdef __cplusplus
  327. }
  328. #endif
  329. #endif