[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 | #ifndef __REQUIRED_RPCNDR_H_VERSION__
|
---|
| 7 | #define __REQUIRED_RPCNDR_H_VERSION__ 475
|
---|
| 8 | #endif
|
---|
| 9 |
|
---|
| 10 | #include "rpc.h"
|
---|
| 11 | #include "rpcndr.h"
|
---|
| 12 |
|
---|
| 13 | #ifndef __RPCNDR_H_VERSION__
|
---|
| 14 | #error this stub requires an updated version of <rpcndr.h>
|
---|
| 15 | #endif
|
---|
| 16 |
|
---|
| 17 | #ifndef COM_NO_WINDOWS_H
|
---|
| 18 | #include "windows.h"
|
---|
| 19 | #include "ole2.h"
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 | #ifndef __certreqd_h__
|
---|
| 23 | #define __certreqd_h__
|
---|
| 24 |
|
---|
| 25 | #ifndef __ICertRequestD_FWD_DEFINED__
|
---|
| 26 | #define __ICertRequestD_FWD_DEFINED__
|
---|
| 27 | typedef struct ICertRequestD ICertRequestD;
|
---|
| 28 | #endif
|
---|
| 29 |
|
---|
| 30 | #ifndef __ICertRequestD2_FWD_DEFINED__
|
---|
| 31 | #define __ICertRequestD2_FWD_DEFINED__
|
---|
| 32 | typedef struct ICertRequestD2 ICertRequestD2;
|
---|
| 33 | #endif
|
---|
| 34 |
|
---|
| 35 | #include "certbase.h"
|
---|
| 36 | #include "oaidl.h"
|
---|
| 37 |
|
---|
| 38 | #ifdef __cplusplus
|
---|
| 39 | extern "C"{
|
---|
| 40 | #endif
|
---|
| 41 |
|
---|
| 42 | #ifndef __MIDL_user_allocate_free_DEFINED__
|
---|
| 43 | #define __MIDL_user_allocate_free_DEFINED__
|
---|
| 44 | void *__RPC_API MIDL_user_allocate(size_t);
|
---|
| 45 | void __RPC_API MIDL_user_free(void *);
|
---|
| 46 | #endif
|
---|
| 47 |
|
---|
| 48 | #ifndef __ICertRequestD_INTERFACE_DEFINED__
|
---|
| 49 | #define __ICertRequestD_INTERFACE_DEFINED__
|
---|
| 50 | EXTERN_C const IID IID_ICertRequestD;
|
---|
| 51 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 52 | struct ICertRequestD : public IUnknown {
|
---|
| 53 | public:
|
---|
| 54 | virtual HRESULT WINAPI Request(DWORD dwFlags,const wchar_t *pwszAuthority,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbCertChain,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage) = 0;
|
---|
| 55 | virtual HRESULT WINAPI GetCACert(DWORD fchain,const wchar_t *pwszAuthority,CERTTRANSBLOB *pctbOut) = 0;
|
---|
| 56 | virtual HRESULT WINAPI Ping(const wchar_t *pwszAuthority) = 0;
|
---|
| 57 | };
|
---|
| 58 | #else
|
---|
| 59 | typedef struct ICertRequestDVtbl {
|
---|
| 60 | BEGIN_INTERFACE
|
---|
| 61 | HRESULT (WINAPI *QueryInterface)(ICertRequestD *This,REFIID riid,void **ppvObject);
|
---|
| 62 | ULONG (WINAPI *AddRef)(ICertRequestD *This);
|
---|
| 63 | ULONG (WINAPI *Release)(ICertRequestD *This);
|
---|
| 64 | HRESULT (WINAPI *Request)(ICertRequestD *This,DWORD dwFlags,const wchar_t *pwszAuthority,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbCertChain,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage);
|
---|
| 65 | HRESULT (WINAPI *GetCACert)(ICertRequestD *This,DWORD fchain,const wchar_t *pwszAuthority,CERTTRANSBLOB *pctbOut);
|
---|
| 66 | HRESULT (WINAPI *Ping)(ICertRequestD *This,const wchar_t *pwszAuthority);
|
---|
| 67 | END_INTERFACE
|
---|
| 68 | } ICertRequestDVtbl;
|
---|
| 69 | struct ICertRequestD {
|
---|
| 70 | CONST_VTBL struct ICertRequestDVtbl *lpVtbl;
|
---|
| 71 | };
|
---|
| 72 | #ifdef COBJMACROS
|
---|
| 73 | #define ICertRequestD_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 74 | #define ICertRequestD_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 75 | #define ICertRequestD_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 76 | #define ICertRequestD_Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage) (This)->lpVtbl->Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage)
|
---|
| 77 | #define ICertRequestD_GetCACert(This,fchain,pwszAuthority,pctbOut) (This)->lpVtbl->GetCACert(This,fchain,pwszAuthority,pctbOut)
|
---|
| 78 | #define ICertRequestD_Ping(This,pwszAuthority) (This)->lpVtbl->Ping(This,pwszAuthority)
|
---|
| 79 | #endif
|
---|
| 80 | #endif
|
---|
| 81 | HRESULT WINAPI ICertRequestD_Request_Proxy(ICertRequestD *This,DWORD dwFlags,const wchar_t *pwszAuthority,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbCertChain,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage);
|
---|
| 82 | void __RPC_STUB ICertRequestD_Request_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 83 | HRESULT WINAPI ICertRequestD_GetCACert_Proxy(ICertRequestD *This,DWORD fchain,const wchar_t *pwszAuthority,CERTTRANSBLOB *pctbOut);
|
---|
| 84 | void __RPC_STUB ICertRequestD_GetCACert_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 85 | HRESULT WINAPI ICertRequestD_Ping_Proxy(ICertRequestD *This,const wchar_t *pwszAuthority);
|
---|
| 86 | void __RPC_STUB ICertRequestD_Ping_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 87 | #endif
|
---|
| 88 |
|
---|
| 89 | #ifndef __ICertRequestD2_INTERFACE_DEFINED__
|
---|
| 90 | #define __ICertRequestD2_INTERFACE_DEFINED__
|
---|
| 91 | EXTERN_C const IID IID_ICertRequestD2;
|
---|
| 92 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
| 93 | struct ICertRequestD2 : public ICertRequestD {
|
---|
| 94 | public:
|
---|
| 95 | virtual HRESULT WINAPI Request2(const wchar_t *pwszAuthority,DWORD dwFlags,const wchar_t *pwszSerialNumber,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbFullResponse,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage) = 0;
|
---|
| 96 | virtual HRESULT WINAPI GetCAProperty(const wchar_t *pwszAuthority,LONG PropId,LONG PropIndex,LONG PropType,CERTTRANSBLOB *pctbPropertyValue) = 0;
|
---|
| 97 | virtual HRESULT WINAPI GetCAPropertyInfo(const wchar_t *pwszAuthority,LONG *pcProperty,CERTTRANSBLOB *pctbPropInfo) = 0;
|
---|
| 98 | virtual HRESULT WINAPI Ping2(const wchar_t *pwszAuthority) = 0;
|
---|
| 99 | };
|
---|
| 100 | #else
|
---|
| 101 | typedef struct ICertRequestD2Vtbl {
|
---|
| 102 | BEGIN_INTERFACE
|
---|
| 103 | HRESULT (WINAPI *QueryInterface)(ICertRequestD2 *This,REFIID riid,void **ppvObject);
|
---|
| 104 | ULONG (WINAPI *AddRef)(ICertRequestD2 *This);
|
---|
| 105 | ULONG (WINAPI *Release)(ICertRequestD2 *This);
|
---|
| 106 | HRESULT (WINAPI *Request)(ICertRequestD2 *This,DWORD dwFlags,const wchar_t *pwszAuthority,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbCertChain,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage);
|
---|
| 107 | HRESULT (WINAPI *GetCACert)(ICertRequestD2 *This,DWORD fchain,const wchar_t *pwszAuthority,CERTTRANSBLOB *pctbOut);
|
---|
| 108 | HRESULT (WINAPI *Ping)(ICertRequestD2 *This,const wchar_t *pwszAuthority);
|
---|
| 109 | HRESULT (WINAPI *Request2)(ICertRequestD2 *This,const wchar_t *pwszAuthority,DWORD dwFlags,const wchar_t *pwszSerialNumber,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbFullResponse,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage);
|
---|
| 110 | HRESULT (WINAPI *GetCAProperty)(ICertRequestD2 *This,const wchar_t *pwszAuthority,LONG PropId,LONG PropIndex,LONG PropType,CERTTRANSBLOB *pctbPropertyValue);
|
---|
| 111 | HRESULT (WINAPI *GetCAPropertyInfo)(ICertRequestD2 *This,const wchar_t *pwszAuthority,LONG *pcProperty,CERTTRANSBLOB *pctbPropInfo);
|
---|
| 112 | HRESULT (WINAPI *Ping2)(ICertRequestD2 *This,const wchar_t *pwszAuthority);
|
---|
| 113 | END_INTERFACE
|
---|
| 114 | } ICertRequestD2Vtbl;
|
---|
| 115 | struct ICertRequestD2 {
|
---|
| 116 | CONST_VTBL struct ICertRequestD2Vtbl *lpVtbl;
|
---|
| 117 | };
|
---|
| 118 | #ifdef COBJMACROS
|
---|
| 119 | #define ICertRequestD2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
---|
| 120 | #define ICertRequestD2_AddRef(This) (This)->lpVtbl->AddRef(This)
|
---|
| 121 | #define ICertRequestD2_Release(This) (This)->lpVtbl->Release(This)
|
---|
| 122 | #define ICertRequestD2_Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage) (This)->lpVtbl->Request(This,dwFlags,pwszAuthority,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbCertChain,pctbEncodedCert,pctbDispositionMessage)
|
---|
| 123 | #define ICertRequestD2_GetCACert(This,fchain,pwszAuthority,pctbOut) (This)->lpVtbl->GetCACert(This,fchain,pwszAuthority,pctbOut)
|
---|
| 124 | #define ICertRequestD2_Ping(This,pwszAuthority) (This)->lpVtbl->Ping(This,pwszAuthority)
|
---|
| 125 | #define ICertRequestD2_Request2(This,pwszAuthority,dwFlags,pwszSerialNumber,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbFullResponse,pctbEncodedCert,pctbDispositionMessage) (This)->lpVtbl->Request2(This,pwszAuthority,dwFlags,pwszSerialNumber,pdwRequestId,pdwDisposition,pwszAttributes,pctbRequest,pctbFullResponse,pctbEncodedCert,pctbDispositionMessage)
|
---|
| 126 | #define ICertRequestD2_GetCAProperty(This,pwszAuthority,PropId,PropIndex,PropType,pctbPropertyValue) (This)->lpVtbl->GetCAProperty(This,pwszAuthority,PropId,PropIndex,PropType,pctbPropertyValue)
|
---|
| 127 | #define ICertRequestD2_GetCAPropertyInfo(This,pwszAuthority,pcProperty,pctbPropInfo) (This)->lpVtbl->GetCAPropertyInfo(This,pwszAuthority,pcProperty,pctbPropInfo)
|
---|
| 128 | #define ICertRequestD2_Ping2(This,pwszAuthority) (This)->lpVtbl->Ping2(This,pwszAuthority)
|
---|
| 129 | #endif
|
---|
| 130 | #endif
|
---|
| 131 | HRESULT WINAPI ICertRequestD2_Request2_Proxy(ICertRequestD2 *This,const wchar_t *pwszAuthority,DWORD dwFlags,const wchar_t *pwszSerialNumber,DWORD *pdwRequestId,DWORD *pdwDisposition,const wchar_t *pwszAttributes,const CERTTRANSBLOB *pctbRequest,CERTTRANSBLOB *pctbFullResponse,CERTTRANSBLOB *pctbEncodedCert,CERTTRANSBLOB *pctbDispositionMessage);
|
---|
| 132 | void __RPC_STUB ICertRequestD2_Request2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 133 | HRESULT WINAPI ICertRequestD2_GetCAProperty_Proxy(ICertRequestD2 *This,const wchar_t *pwszAuthority,LONG PropId,LONG PropIndex,LONG PropType,CERTTRANSBLOB *pctbPropertyValue);
|
---|
| 134 | void __RPC_STUB ICertRequestD2_GetCAProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 135 | HRESULT WINAPI ICertRequestD2_GetCAPropertyInfo_Proxy(ICertRequestD2 *This,const wchar_t *pwszAuthority,LONG *pcProperty,CERTTRANSBLOB *pctbPropInfo);
|
---|
| 136 | void __RPC_STUB ICertRequestD2_GetCAPropertyInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 137 | HRESULT WINAPI ICertRequestD2_Ping2_Proxy(ICertRequestD2 *This,const wchar_t *pwszAuthority);
|
---|
| 138 | void __RPC_STUB ICertRequestD2_Ping2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
---|
| 139 | #endif
|
---|
| 140 |
|
---|
| 141 | #ifdef __cplusplus
|
---|
| 142 | }
|
---|
| 143 | #endif
|
---|
| 144 | #endif
|
---|