home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / certexit.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  8.4 KB  |  283 lines

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