home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / CERTEXIT.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  9.2 KB  |  321 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push_S*/
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  
  4.  
  5. /* File created by MIDL compiler version 3.03.0106 */
  6. /* at Mon Aug 04 19:41:37 1997
  7.  */
  8. /* Compiler settings for certexit.idl:
  9.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  10.     error checks: none
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  13.  
  14.  
  15. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  16. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  17. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  18. #endif
  19.  
  20. #include "rpc.h"
  21. #include "rpcndr.h"
  22.  
  23. #ifndef __RPCNDR_H_VERSION__
  24. #error this stub requires an updated version of <rpcndr.h>
  25. #endif // __RPCNDR_H_VERSION__
  26.  
  27. #ifndef COM_NO_WINDOWS_H
  28. #include "windows.h"
  29. #include "ole2.h"
  30. #endif /*COM_NO_WINDOWS_H*/
  31.  
  32. #ifndef __certexit_h__
  33. #define __certexit_h__
  34.  
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif 
  38.  
  39. /* Forward Declarations */ 
  40.  
  41. #ifndef __ICertExit_FWD_DEFINED__
  42. #define __ICertExit_FWD_DEFINED__
  43. typedef interface ICertExit ICertExit;
  44. #endif     /* __ICertExit_FWD_DEFINED__ */
  45.  
  46.  
  47. #ifndef __CCertExit_FWD_DEFINED__
  48. #define __CCertExit_FWD_DEFINED__
  49.  
  50. #ifdef __cplusplus
  51. typedef class CCertExit CCertExit;
  52. #else
  53. typedef struct CCertExit CCertExit;
  54. #endif /* __cplusplus */
  55.  
  56. #endif     /* __CCertExit_FWD_DEFINED__ */
  57.  
  58.  
  59. /* header files for imported files */
  60. #include "wtypes.h"
  61. #include "oaidl.h"
  62.  
  63. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  64. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  65.  
  66. /****************************************
  67.  * Generated header for interface: __MIDL_itf_certexit_0000
  68.  * at Mon Aug 04 19:41:37 1997
  69.  * using MIDL 3.03.0106
  70.  ****************************************/
  71. /* [local] */ 
  72.  
  73.  
  74. #define    EXITEVENT_INVALID    ( 0 )
  75.  
  76. #define    EXITEVENT_CERTISSUED    ( 0x1 )
  77.  
  78. #define    EXITEVENT_CERTPENDING    ( 0x2 )
  79.  
  80. #define    EXITEVENT_CERTDENIED    ( 0x4 )
  81.  
  82. #define    EXITEVENT_CERTREVOKED    ( 0x8 )
  83.  
  84. #define    EXITEVENT_CERTRETRIEVEPENDING    ( 0x10 )
  85.  
  86. #define    EXITEVENT_CRLISSUED    ( 0x20 )
  87.  
  88. #define    EXITEVENT_SHUTDOWN    ( 0x40 )
  89.  
  90.  
  91.  
  92. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_c_ifspec;
  93. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_s_ifspec;
  94.  
  95. #ifndef __ICertExit_INTERFACE_DEFINED__
  96. #define __ICertExit_INTERFACE_DEFINED__
  97.  
  98. /****************************************
  99.  * Generated header for interface: ICertExit
  100.  * at Mon Aug 04 19:41:37 1997
  101.  * using MIDL 3.03.0106
  102.  ****************************************/
  103. /* [unique][helpstring][dual][uuid][object] */ 
  104.  
  105.  
  106.  
  107. EXTERN_C const IID IID_ICertExit;
  108.  
  109. #if defined(__cplusplus) && !defined(CINTERFACE)
  110.     
  111.     MIDL_INTERFACE("e19ae1a0-7364-11d0-8816-00a0c903b83c")
  112.     ICertExit : public IDispatch
  113.     {
  114.     public:
  115.         virtual HRESULT STDMETHODCALLTYPE Initialize( 
  116.             /* [in] */ const BSTR strConfig,
  117.             /* [retval][out] */ LONG __RPC_FAR *pEventMask) = 0;
  118.         
  119.         virtual HRESULT STDMETHODCALLTYPE Notify( 
  120.             /* [in] */ LONG Event,
  121.             /* [in] */ LONG Context) = 0;
  122.         
  123.         virtual HRESULT STDMETHODCALLTYPE GetDescription( 
  124.             /* [retval][out] */ BSTR __RPC_FAR *pstrDescription) = 0;
  125.         
  126.     };
  127.     
  128. #else     /* C style interface */
  129.  
  130.     typedef struct ICertExitVtbl
  131.     {
  132.         BEGIN_INTERFACE
  133.         
  134.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  135.             ICertExit __RPC_FAR * This,
  136.             /* [in] */ REFIID riid,
  137.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  138.         
  139.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  140.             ICertExit __RPC_FAR * This);
  141.         
  142.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  143.             ICertExit __RPC_FAR * This);
  144.         
  145.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  146.             ICertExit __RPC_FAR * This,
  147.             /* [out] */ UINT __RPC_FAR *pctinfo);
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  150.             ICertExit __RPC_FAR * This,
  151.             /* [in] */ UINT iTInfo,
  152.             /* [in] */ LCID lcid,
  153.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  154.         
  155.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  156.             ICertExit __RPC_FAR * This,
  157.             /* [in] */ REFIID riid,
  158.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  159.             /* [in] */ UINT cNames,
  160.             /* [in] */ LCID lcid,
  161.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  162.         
  163.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  164.             ICertExit __RPC_FAR * This,
  165.             /* [in] */ DISPID dispIdMember,
  166.             /* [in] */ REFIID riid,
  167.             /* [in] */ LCID lcid,
  168.             /* [in] */ WORD wFlags,
  169.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  170.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  171.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  172.             /* [out] */ UINT __RPC_FAR *puArgErr);
  173.         
  174.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )( 
  175.             ICertExit __RPC_FAR * This,
  176.             /* [in] */ const BSTR strConfig,
  177.             /* [retval][out] */ LONG __RPC_FAR *pEventMask);
  178.         
  179.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Notify )( 
  180.             ICertExit __RPC_FAR * This,
  181.             /* [in] */ LONG Event,
  182.             /* [in] */ LONG Context);
  183.         
  184.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )( 
  185.             ICertExit __RPC_FAR * This,
  186.             /* [retval][out] */ BSTR __RPC_FAR *pstrDescription);
  187.         
  188.         END_INTERFACE
  189.     } ICertExitVtbl;
  190.  
  191.     interface ICertExit
  192.     {
  193.         CONST_VTBL struct ICertExitVtbl __RPC_FAR *lpVtbl;
  194.     };
  195.  
  196.     
  197.  
  198. #ifdef COBJMACROS
  199.  
  200.  
  201. #define ICertExit_QueryInterface(This,riid,ppvObject)    \
  202.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  203.  
  204. #define ICertExit_AddRef(This)    \
  205.     (This)->lpVtbl -> AddRef(This)
  206.  
  207. #define ICertExit_Release(This)    \
  208.     (This)->lpVtbl -> Release(This)
  209.  
  210.  
  211. #define ICertExit_GetTypeInfoCount(This,pctinfo)    \
  212.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  213.  
  214. #define ICertExit_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  215.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  216.  
  217. #define ICertExit_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  218.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  219.  
  220. #define ICertExit_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  221.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  222.  
  223.  
  224. #define ICertExit_Initialize(This,strConfig,pEventMask)    \
  225.     (This)->lpVtbl -> Initialize(This,strConfig,pEventMask)
  226.  
  227. #define ICertExit_Notify(This,Event,Context)    \
  228.     (This)->lpVtbl -> Notify(This,Event,Context)
  229.  
  230. #define ICertExit_GetDescription(This,pstrDescription)    \
  231.     (This)->lpVtbl -> GetDescription(This,pstrDescription)
  232.  
  233. #endif /* COBJMACROS */
  234.  
  235.  
  236. #endif     /* C style interface */
  237.  
  238.  
  239.  
  240. HRESULT STDMETHODCALLTYPE ICertExit_Initialize_Proxy( 
  241.     ICertExit __RPC_FAR * This,
  242.     /* [in] */ const BSTR strConfig,
  243.     /* [retval][out] */ LONG __RPC_FAR *pEventMask);
  244.  
  245.  
  246. void __RPC_STUB ICertExit_Initialize_Stub(
  247.     IRpcStubBuffer *This,
  248.     IRpcChannelBuffer *_pRpcChannelBuffer,
  249.     PRPC_MESSAGE _pRpcMessage,
  250.     DWORD *_pdwStubPhase);
  251.  
  252.  
  253. HRESULT STDMETHODCALLTYPE ICertExit_Notify_Proxy( 
  254.     ICertExit __RPC_FAR * This,
  255.     /* [in] */ LONG Event,
  256.     /* [in] */ LONG Context);
  257.  
  258.  
  259. void __RPC_STUB ICertExit_Notify_Stub(
  260.     IRpcStubBuffer *This,
  261.     IRpcChannelBuffer *_pRpcChannelBuffer,
  262.     PRPC_MESSAGE _pRpcMessage,
  263.     DWORD *_pdwStubPhase);
  264.  
  265.  
  266. HRESULT STDMETHODCALLTYPE ICertExit_GetDescription_Proxy( 
  267.     ICertExit __RPC_FAR * This,
  268.     /* [retval][out] */ BSTR __RPC_FAR *pstrDescription);
  269.  
  270.  
  271. void __RPC_STUB ICertExit_GetDescription_Stub(
  272.     IRpcStubBuffer *This,
  273.     IRpcChannelBuffer *_pRpcChannelBuffer,
  274.     PRPC_MESSAGE _pRpcMessage,
  275.     DWORD *_pdwStubPhase);
  276.  
  277.  
  278.  
  279. #endif     /* __ICertExit_INTERFACE_DEFINED__ */
  280.  
  281.  
  282.  
  283. #ifndef __CERTEXITLib_LIBRARY_DEFINED__
  284. #define __CERTEXITLib_LIBRARY_DEFINED__
  285.  
  286. /****************************************
  287.  * Generated header for library: CERTEXITLib
  288.  * at Mon Aug 04 19:41:37 1997
  289.  * using MIDL 3.03.0106
  290.  ****************************************/
  291. /* [helpstring][version][uuid] */ 
  292.  
  293.  
  294.  
  295. EXTERN_C const IID LIBID_CERTEXITLib;
  296.  
  297. EXTERN_C const CLSID CLSID_CCertExit;
  298.  
  299. #ifdef __cplusplus
  300.  
  301. class DECLSPEC_UUID("c9e6e410-7364-11d0-8816-00a0c903b83c")
  302. CCertExit;
  303. #endif
  304. #endif /* __CERTEXITLib_LIBRARY_DEFINED__ */
  305.  
  306. /* Additional Prototypes for ALL interfaces */
  307.  
  308. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  309. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  310. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  311. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  312.  
  313. /* end of Additional Prototypes */
  314.  
  315. #ifdef __cplusplus
  316. }
  317. #endif
  318.  
  319. #endif
  320. #pragma option pop /*P_O_Pop*/
  321.