home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / CERTPOL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  9.5 KB  |  317 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:40 1997
  7.  */
  8. /* Compiler settings for certpol.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 __certpol_h__
  33. #define __certpol_h__
  34.  
  35. #ifdef __cplusplus
  36. extern "C"{
  37. #endif 
  38.  
  39. /* Forward Declarations */ 
  40.  
  41. #ifndef __ICertPolicy_FWD_DEFINED__
  42. #define __ICertPolicy_FWD_DEFINED__
  43. typedef interface ICertPolicy ICertPolicy;
  44. #endif     /* __ICertPolicy_FWD_DEFINED__ */
  45.  
  46.  
  47. #ifndef __CCertPolicy_FWD_DEFINED__
  48. #define __CCertPolicy_FWD_DEFINED__
  49.  
  50. #ifdef __cplusplus
  51. typedef class CCertPolicy CCertPolicy;
  52. #else
  53. typedef struct CCertPolicy CCertPolicy;
  54. #endif /* __cplusplus */
  55.  
  56. #endif     /* __CCertPolicy_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. #ifndef __ICertPolicy_INTERFACE_DEFINED__
  67. #define __ICertPolicy_INTERFACE_DEFINED__
  68.  
  69. /****************************************
  70.  * Generated header for interface: ICertPolicy
  71.  * at Mon Aug 04 19:41:40 1997
  72.  * using MIDL 3.03.0106
  73.  ****************************************/
  74. /* [unique][helpstring][dual][uuid][object] */ 
  75.  
  76.  
  77.  
  78. EXTERN_C const IID IID_ICertPolicy;
  79.  
  80. #if defined(__cplusplus) && !defined(CINTERFACE)
  81.     
  82.     MIDL_INTERFACE("38bb5a00-7636-11d0-b413-00a0c91bbf8c")
  83.     ICertPolicy : public IDispatch
  84.     {
  85.     public:
  86.         virtual HRESULT STDMETHODCALLTYPE Initialize( 
  87.             /* [in] */ const BSTR strConfig) = 0;
  88.         
  89.         virtual HRESULT STDMETHODCALLTYPE VerifyRequest( 
  90.             /* [in] */ const BSTR strConfig,
  91.             /* [in] */ LONG Context,
  92.             /* [in] */ LONG bNewRequest,
  93.             /* [in] */ LONG Flags,
  94.             /* [retval][out] */ LONG __RPC_FAR *pDisposition) = 0;
  95.         
  96.         virtual HRESULT STDMETHODCALLTYPE GetDescription( 
  97.             /* [retval][out] */ BSTR __RPC_FAR *pstrDescription) = 0;
  98.         
  99.         virtual HRESULT STDMETHODCALLTYPE ShutDown( void) = 0;
  100.         
  101.     };
  102.     
  103. #else     /* C style interface */
  104.  
  105.     typedef struct ICertPolicyVtbl
  106.     {
  107.         BEGIN_INTERFACE
  108.         
  109.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  110.             ICertPolicy __RPC_FAR * This,
  111.             /* [in] */ REFIID riid,
  112.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  113.         
  114.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  115.             ICertPolicy __RPC_FAR * This);
  116.         
  117.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  118.             ICertPolicy __RPC_FAR * This);
  119.         
  120.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  121.             ICertPolicy __RPC_FAR * This,
  122.             /* [out] */ UINT __RPC_FAR *pctinfo);
  123.         
  124.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  125.             ICertPolicy __RPC_FAR * This,
  126.             /* [in] */ UINT iTInfo,
  127.             /* [in] */ LCID lcid,
  128.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  129.         
  130.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  131.             ICertPolicy __RPC_FAR * This,
  132.             /* [in] */ REFIID riid,
  133.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  134.             /* [in] */ UINT cNames,
  135.             /* [in] */ LCID lcid,
  136.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  137.         
  138.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  139.             ICertPolicy __RPC_FAR * This,
  140.             /* [in] */ DISPID dispIdMember,
  141.             /* [in] */ REFIID riid,
  142.             /* [in] */ LCID lcid,
  143.             /* [in] */ WORD wFlags,
  144.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  145.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  146.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  147.             /* [out] */ UINT __RPC_FAR *puArgErr);
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )( 
  150.             ICertPolicy __RPC_FAR * This,
  151.             /* [in] */ const BSTR strConfig);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *VerifyRequest )( 
  154.             ICertPolicy __RPC_FAR * This,
  155.             /* [in] */ const BSTR strConfig,
  156.             /* [in] */ LONG Context,
  157.             /* [in] */ LONG bNewRequest,
  158.             /* [in] */ LONG Flags,
  159.             /* [retval][out] */ LONG __RPC_FAR *pDisposition);
  160.         
  161.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDescription )( 
  162.             ICertPolicy __RPC_FAR * This,
  163.             /* [retval][out] */ BSTR __RPC_FAR *pstrDescription);
  164.         
  165.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShutDown )( 
  166.             ICertPolicy __RPC_FAR * This);
  167.         
  168.         END_INTERFACE
  169.     } ICertPolicyVtbl;
  170.  
  171.     interface ICertPolicy
  172.     {
  173.         CONST_VTBL struct ICertPolicyVtbl __RPC_FAR *lpVtbl;
  174.     };
  175.  
  176.     
  177.  
  178. #ifdef COBJMACROS
  179.  
  180.  
  181. #define ICertPolicy_QueryInterface(This,riid,ppvObject)    \
  182.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  183.  
  184. #define ICertPolicy_AddRef(This)    \
  185.     (This)->lpVtbl -> AddRef(This)
  186.  
  187. #define ICertPolicy_Release(This)    \
  188.     (This)->lpVtbl -> Release(This)
  189.  
  190.  
  191. #define ICertPolicy_GetTypeInfoCount(This,pctinfo)    \
  192.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  193.  
  194. #define ICertPolicy_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  195.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  196.  
  197. #define ICertPolicy_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  198.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  199.  
  200. #define ICertPolicy_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  201.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  202.  
  203.  
  204. #define ICertPolicy_Initialize(This,strConfig)    \
  205.     (This)->lpVtbl -> Initialize(This,strConfig)
  206.  
  207. #define ICertPolicy_VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition)    \
  208.     (This)->lpVtbl -> VerifyRequest(This,strConfig,Context,bNewRequest,Flags,pDisposition)
  209.  
  210. #define ICertPolicy_GetDescription(This,pstrDescription)    \
  211.     (This)->lpVtbl -> GetDescription(This,pstrDescription)
  212.  
  213. #define ICertPolicy_ShutDown(This)    \
  214.     (This)->lpVtbl -> ShutDown(This)
  215.  
  216. #endif /* COBJMACROS */
  217.  
  218.  
  219. #endif     /* C style interface */
  220.  
  221.  
  222.  
  223. HRESULT STDMETHODCALLTYPE ICertPolicy_Initialize_Proxy( 
  224.     ICertPolicy __RPC_FAR * This,
  225.     /* [in] */ const BSTR strConfig);
  226.  
  227.  
  228. void __RPC_STUB ICertPolicy_Initialize_Stub(
  229.     IRpcStubBuffer *This,
  230.     IRpcChannelBuffer *_pRpcChannelBuffer,
  231.     PRPC_MESSAGE _pRpcMessage,
  232.     DWORD *_pdwStubPhase);
  233.  
  234.  
  235. HRESULT STDMETHODCALLTYPE ICertPolicy_VerifyRequest_Proxy( 
  236.     ICertPolicy __RPC_FAR * This,
  237.     /* [in] */ const BSTR strConfig,
  238.     /* [in] */ LONG Context,
  239.     /* [in] */ LONG bNewRequest,
  240.     /* [in] */ LONG Flags,
  241.     /* [retval][out] */ LONG __RPC_FAR *pDisposition);
  242.  
  243.  
  244. void __RPC_STUB ICertPolicy_VerifyRequest_Stub(
  245.     IRpcStubBuffer *This,
  246.     IRpcChannelBuffer *_pRpcChannelBuffer,
  247.     PRPC_MESSAGE _pRpcMessage,
  248.     DWORD *_pdwStubPhase);
  249.  
  250.  
  251. HRESULT STDMETHODCALLTYPE ICertPolicy_GetDescription_Proxy( 
  252.     ICertPolicy __RPC_FAR * This,
  253.     /* [retval][out] */ BSTR __RPC_FAR *pstrDescription);
  254.  
  255.  
  256. void __RPC_STUB ICertPolicy_GetDescription_Stub(
  257.     IRpcStubBuffer *This,
  258.     IRpcChannelBuffer *_pRpcChannelBuffer,
  259.     PRPC_MESSAGE _pRpcMessage,
  260.     DWORD *_pdwStubPhase);
  261.  
  262.  
  263. HRESULT STDMETHODCALLTYPE ICertPolicy_ShutDown_Proxy( 
  264.     ICertPolicy __RPC_FAR * This);
  265.  
  266.  
  267. void __RPC_STUB ICertPolicy_ShutDown_Stub(
  268.     IRpcStubBuffer *This,
  269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  270.     PRPC_MESSAGE _pRpcMessage,
  271.     DWORD *_pdwStubPhase);
  272.  
  273.  
  274.  
  275. #endif     /* __ICertPolicy_INTERFACE_DEFINED__ */
  276.  
  277.  
  278.  
  279. #ifndef __CERTPOLICYLib_LIBRARY_DEFINED__
  280. #define __CERTPOLICYLib_LIBRARY_DEFINED__
  281.  
  282. /****************************************
  283.  * Generated header for library: CERTPOLICYLib
  284.  * at Mon Aug 04 19:41:40 1997
  285.  * using MIDL 3.03.0106
  286.  ****************************************/
  287. /* [helpstring][version][uuid] */ 
  288.  
  289.  
  290.  
  291. EXTERN_C const IID LIBID_CERTPOLICYLib;
  292.  
  293. EXTERN_C const CLSID CLSID_CCertPolicy;
  294.  
  295. #ifdef __cplusplus
  296.  
  297. class DECLSPEC_UUID("3a428a00-7636-11d0-b413-00a0c91bbf8c")
  298. CCertPolicy;
  299. #endif
  300. #endif /* __CERTPOLICYLib_LIBRARY_DEFINED__ */
  301.  
  302. /* Additional Prototypes for ALL interfaces */
  303.  
  304. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  305. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  306. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  307. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  308.  
  309. /* end of Additional Prototypes */
  310.  
  311. #ifdef __cplusplus
  312. }
  313. #endif
  314.  
  315. #endif
  316. #pragma option pop /*P_O_Pop*/
  317.