home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / certexit.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  9KB  |  319 lines

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