certexit.h 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. #include "rpc.h"
  10. #include "rpcndr.h"
  11. #ifndef __RPCNDR_H_VERSION__
  12. #error this stub requires an updated version of <rpcndr.h>
  13. #endif
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif
  18. #ifndef __certexit_h__
  19. #define __certexit_h__
  20. #ifndef __ICertExit_FWD_DEFINED__
  21. #define __ICertExit_FWD_DEFINED__
  22. typedef struct ICertExit ICertExit;
  23. #endif
  24. #ifndef __ICertExit2_FWD_DEFINED__
  25. #define __ICertExit2_FWD_DEFINED__
  26. typedef struct ICertExit2 ICertExit2;
  27. #endif
  28. #include "wtypes.h"
  29. #include "certmod.h"
  30. #ifdef __cplusplus
  31. extern "C"{
  32. #endif
  33. #ifndef __MIDL_user_allocate_free_DEFINED__
  34. #define __MIDL_user_allocate_free_DEFINED__
  35. void *__RPC_API MIDL_user_allocate(size_t);
  36. void __RPC_API MIDL_user_free(void *);
  37. #endif
  38. #define EXITEVENT_INVALID (0x0)
  39. #define EXITEVENT_CERTISSUED (0x1)
  40. #define EXITEVENT_CERTPENDING (0x2)
  41. #define EXITEVENT_CERTDENIED (0x4)
  42. #define EXITEVENT_CERTREVOKED (0x8)
  43. #define EXITEVENT_CERTRETRIEVEPENDING (0x10)
  44. #define EXITEVENT_CRLISSUED (0x20)
  45. #define EXITEVENT_SHUTDOWN (0x40)
  46. #define EXITEVENT_STARTUP (0x80)
  47. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_c_ifspec;
  48. extern RPC_IF_HANDLE __MIDL_itf_certexit_0000_v0_0_s_ifspec;
  49. #ifndef __ICertExit_INTERFACE_DEFINED__
  50. #define __ICertExit_INTERFACE_DEFINED__
  51. EXTERN_C const IID IID_ICertExit;
  52. #if defined(__cplusplus) && !defined(CINTERFACE)
  53. struct ICertExit : public IDispatch {
  54. public:
  55. virtual HRESULT WINAPI Initialize(const BSTR strConfig,LONG *pEventMask) = 0;
  56. virtual HRESULT WINAPI Notify(LONG ExitEvent,LONG Context) = 0;
  57. virtual HRESULT WINAPI GetDescription(BSTR *pstrDescription) = 0;
  58. };
  59. #else
  60. typedef struct ICertExitVtbl {
  61. BEGIN_INTERFACE
  62. HRESULT (WINAPI *QueryInterface)(ICertExit *This,REFIID riid,void **ppvObject);
  63. ULONG (WINAPI *AddRef)(ICertExit *This);
  64. ULONG (WINAPI *Release)(ICertExit *This);
  65. HRESULT (WINAPI *GetTypeInfoCount)(ICertExit *This,UINT *pctinfo);
  66. HRESULT (WINAPI *GetTypeInfo)(ICertExit *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  67. HRESULT (WINAPI *GetIDsOfNames)(ICertExit *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  68. HRESULT (WINAPI *Invoke)(ICertExit *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  69. HRESULT (WINAPI *Initialize)(ICertExit *This,const BSTR strConfig,LONG *pEventMask);
  70. HRESULT (WINAPI *Notify)(ICertExit *This,LONG ExitEvent,LONG Context);
  71. HRESULT (WINAPI *GetDescription)(ICertExit *This,BSTR *pstrDescription);
  72. END_INTERFACE
  73. } ICertExitVtbl;
  74. struct ICertExit {
  75. CONST_VTBL struct ICertExitVtbl *lpVtbl;
  76. };
  77. #ifdef COBJMACROS
  78. #define ICertExit_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  79. #define ICertExit_AddRef(This) (This)->lpVtbl->AddRef(This)
  80. #define ICertExit_Release(This) (This)->lpVtbl->Release(This)
  81. #define ICertExit_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  82. #define ICertExit_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  83. #define ICertExit_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  84. #define ICertExit_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  85. #define ICertExit_Initialize(This,strConfig,pEventMask) (This)->lpVtbl->Initialize(This,strConfig,pEventMask)
  86. #define ICertExit_Notify(This,ExitEvent,Context) (This)->lpVtbl->Notify(This,ExitEvent,Context)
  87. #define ICertExit_GetDescription(This,pstrDescription) (This)->lpVtbl->GetDescription(This,pstrDescription)
  88. #endif
  89. #endif
  90. HRESULT WINAPI ICertExit_Initialize_Proxy(ICertExit *This,const BSTR strConfig,LONG *pEventMask);
  91. void __RPC_STUB ICertExit_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  92. HRESULT WINAPI ICertExit_Notify_Proxy(ICertExit *This,LONG ExitEvent,LONG Context);
  93. void __RPC_STUB ICertExit_Notify_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  94. HRESULT WINAPI ICertExit_GetDescription_Proxy(ICertExit *This,BSTR *pstrDescription);
  95. void __RPC_STUB ICertExit_GetDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  96. #endif
  97. #ifndef __ICertExit2_INTERFACE_DEFINED__
  98. #define __ICertExit2_INTERFACE_DEFINED__
  99. EXTERN_C const IID IID_ICertExit2;
  100. #if defined(__cplusplus) && !defined(CINTERFACE)
  101. struct ICertExit2 : public ICertExit {
  102. public:
  103. virtual HRESULT WINAPI GetManageModule(ICertManageModule **ppManageModule) = 0;
  104. };
  105. #else
  106. typedef struct ICertExit2Vtbl {
  107. BEGIN_INTERFACE
  108. HRESULT (WINAPI *QueryInterface)(ICertExit2 *This,REFIID riid,void **ppvObject);
  109. ULONG (WINAPI *AddRef)(ICertExit2 *This);
  110. ULONG (WINAPI *Release)(ICertExit2 *This);
  111. HRESULT (WINAPI *GetTypeInfoCount)(ICertExit2 *This,UINT *pctinfo);
  112. HRESULT (WINAPI *GetTypeInfo)(ICertExit2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
  113. HRESULT (WINAPI *GetIDsOfNames)(ICertExit2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
  114. HRESULT (WINAPI *Invoke)(ICertExit2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
  115. HRESULT (WINAPI *Initialize)(ICertExit2 *This,const BSTR strConfig,LONG *pEventMask);
  116. HRESULT (WINAPI *Notify)(ICertExit2 *This,LONG ExitEvent,LONG Context);
  117. HRESULT (WINAPI *GetDescription)(ICertExit2 *This,BSTR *pstrDescription);
  118. HRESULT (WINAPI *GetManageModule)(ICertExit2 *This,ICertManageModule **ppManageModule);
  119. END_INTERFACE
  120. } ICertExit2Vtbl;
  121. struct ICertExit2 {
  122. CONST_VTBL struct ICertExit2Vtbl *lpVtbl;
  123. };
  124. #ifdef COBJMACROS
  125. #define ICertExit2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  126. #define ICertExit2_AddRef(This) (This)->lpVtbl->AddRef(This)
  127. #define ICertExit2_Release(This) (This)->lpVtbl->Release(This)
  128. #define ICertExit2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  129. #define ICertExit2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  130. #define ICertExit2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  131. #define ICertExit2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  132. #define ICertExit2_Initialize(This,strConfig,pEventMask) (This)->lpVtbl->Initialize(This,strConfig,pEventMask)
  133. #define ICertExit2_Notify(This,ExitEvent,Context) (This)->lpVtbl->Notify(This,ExitEvent,Context)
  134. #define ICertExit2_GetDescription(This,pstrDescription) (This)->lpVtbl->GetDescription(This,pstrDescription)
  135. #define ICertExit2_GetManageModule(This,ppManageModule) (This)->lpVtbl->GetManageModule(This,ppManageModule)
  136. #endif
  137. #endif
  138. HRESULT WINAPI ICertExit2_GetManageModule_Proxy(ICertExit2 *This,ICertManageModule **ppManageModule);
  139. void __RPC_STUB ICertExit2_GetManageModule_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  140. #endif
  141. ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
  142. unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
  143. unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
  144. void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
  145. #ifdef __cplusplus
  146. }
  147. #endif
  148. #endif