Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

294 lines
9.2 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0158 */
  3. /* at Fri Oct 16 19:05:31 1998
  4. */
  5. /* Compiler settings for crmlogcontrol.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __crmlogcontrol_h__
  24. #define __crmlogcontrol_h__
  25. #if _MSC_VER > 1000
  26. #pragma once
  27. #endif
  28. #ifdef __cplusplus
  29. extern "C"{
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ICrmLogControl_FWD_DEFINED__
  33. #define __ICrmLogControl_FWD_DEFINED__
  34. typedef interface ICrmLogControl ICrmLogControl;
  35. #endif /* __ICrmLogControl_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "oaidl.h"
  38. #include "ocidl.h"
  39. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  40. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  41. #ifndef __ICrmLogControl_INTERFACE_DEFINED__
  42. #define __ICrmLogControl_INTERFACE_DEFINED__
  43. /* interface ICrmLogControl */
  44. /* [unique][helpstring][uuid][object] */
  45. EXTERN_C const IID IID_ICrmLogControl;
  46. #if defined(__cplusplus) && !defined(CINTERFACE)
  47. MIDL_INTERFACE("3AC41995-5273-11d2-8F75-00805FC7BCD9")
  48. ICrmLogControl : public IUnknown
  49. {
  50. public:
  51. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_TransactionUOW(
  52. /* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
  53. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE RegisterCompensator(
  54. /* [in] */ LPCWSTR lpcwstrProgIdCompensator,
  55. /* [in] */ LPCWSTR lpcwstrDescription) = 0;
  56. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE WriteLogRecordVariants(
  57. /* [in] */ VARIANT __RPC_FAR *pLogRecord) = 0;
  58. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ForceLog( void) = 0;
  59. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ForgetLogRecord( void) = 0;
  60. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ForceTransactionToAbort( void) = 0;
  61. virtual HRESULT STDMETHODCALLTYPE WriteLogRecord(
  62. /* [size_is][in] */ BLOB __RPC_FAR rgBlob[ ],
  63. /* [in] */ ULONG cBlob) = 0;
  64. };
  65. #else /* C style interface */
  66. typedef struct ICrmLogControlVtbl
  67. {
  68. BEGIN_INTERFACE
  69. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  70. ICrmLogControl __RPC_FAR * This,
  71. /* [in] */ REFIID riid,
  72. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  73. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  74. ICrmLogControl __RPC_FAR * This);
  75. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  76. ICrmLogControl __RPC_FAR * This);
  77. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_TransactionUOW )(
  78. ICrmLogControl __RPC_FAR * This,
  79. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  80. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterCompensator )(
  81. ICrmLogControl __RPC_FAR * This,
  82. /* [in] */ LPCWSTR lpcwstrProgIdCompensator,
  83. /* [in] */ LPCWSTR lpcwstrDescription);
  84. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteLogRecordVariants )(
  85. ICrmLogControl __RPC_FAR * This,
  86. /* [in] */ VARIANT __RPC_FAR *pLogRecord);
  87. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ForceLog )(
  88. ICrmLogControl __RPC_FAR * This);
  89. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ForgetLogRecord )(
  90. ICrmLogControl __RPC_FAR * This);
  91. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ForceTransactionToAbort )(
  92. ICrmLogControl __RPC_FAR * This);
  93. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *WriteLogRecord )(
  94. ICrmLogControl __RPC_FAR * This,
  95. /* [size_is][in] */ BLOB __RPC_FAR rgBlob[ ],
  96. /* [in] */ ULONG cBlob);
  97. END_INTERFACE
  98. } ICrmLogControlVtbl;
  99. interface ICrmLogControl
  100. {
  101. CONST_VTBL struct ICrmLogControlVtbl __RPC_FAR *lpVtbl;
  102. };
  103. #ifdef COBJMACROS
  104. #define ICrmLogControl_QueryInterface(This,riid,ppvObject) \
  105. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  106. #define ICrmLogControl_AddRef(This) \
  107. (This)->lpVtbl -> AddRef(This)
  108. #define ICrmLogControl_Release(This) \
  109. (This)->lpVtbl -> Release(This)
  110. #define ICrmLogControl_get_TransactionUOW(This,pVal) \
  111. (This)->lpVtbl -> get_TransactionUOW(This,pVal)
  112. #define ICrmLogControl_RegisterCompensator(This,lpcwstrProgIdCompensator,lpcwstrDescription) \
  113. (This)->lpVtbl -> RegisterCompensator(This,lpcwstrProgIdCompensator,lpcwstrDescription)
  114. #define ICrmLogControl_WriteLogRecordVariants(This,pLogRecord) \
  115. (This)->lpVtbl -> WriteLogRecordVariants(This,pLogRecord)
  116. #define ICrmLogControl_ForceLog(This) \
  117. (This)->lpVtbl -> ForceLog(This)
  118. #define ICrmLogControl_ForgetLogRecord(This) \
  119. (This)->lpVtbl -> ForgetLogRecord(This)
  120. #define ICrmLogControl_ForceTransactionToAbort(This) \
  121. (This)->lpVtbl -> ForceTransactionToAbort(This)
  122. #define ICrmLogControl_WriteLogRecord(This,rgBlob,cBlob) \
  123. (This)->lpVtbl -> WriteLogRecord(This,rgBlob,cBlob)
  124. #endif /* COBJMACROS */
  125. #endif /* C style interface */
  126. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_get_TransactionUOW_Proxy(
  127. ICrmLogControl __RPC_FAR * This,
  128. /* [retval][out] */ BSTR __RPC_FAR *pVal);
  129. void __RPC_STUB ICrmLogControl_get_TransactionUOW_Stub(
  130. IRpcStubBuffer *This,
  131. IRpcChannelBuffer *_pRpcChannelBuffer,
  132. PRPC_MESSAGE _pRpcMessage,
  133. DWORD *_pdwStubPhase);
  134. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_RegisterCompensator_Proxy(
  135. ICrmLogControl __RPC_FAR * This,
  136. /* [in] */ LPCWSTR lpcwstrProgIdCompensator,
  137. /* [in] */ LPCWSTR lpcwstrDescription);
  138. void __RPC_STUB ICrmLogControl_RegisterCompensator_Stub(
  139. IRpcStubBuffer *This,
  140. IRpcChannelBuffer *_pRpcChannelBuffer,
  141. PRPC_MESSAGE _pRpcMessage,
  142. DWORD *_pdwStubPhase);
  143. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_WriteLogRecordVariants_Proxy(
  144. ICrmLogControl __RPC_FAR * This,
  145. /* [in] */ VARIANT __RPC_FAR *pLogRecord);
  146. void __RPC_STUB ICrmLogControl_WriteLogRecordVariants_Stub(
  147. IRpcStubBuffer *This,
  148. IRpcChannelBuffer *_pRpcChannelBuffer,
  149. PRPC_MESSAGE _pRpcMessage,
  150. DWORD *_pdwStubPhase);
  151. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_ForceLog_Proxy(
  152. ICrmLogControl __RPC_FAR * This);
  153. void __RPC_STUB ICrmLogControl_ForceLog_Stub(
  154. IRpcStubBuffer *This,
  155. IRpcChannelBuffer *_pRpcChannelBuffer,
  156. PRPC_MESSAGE _pRpcMessage,
  157. DWORD *_pdwStubPhase);
  158. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_ForgetLogRecord_Proxy(
  159. ICrmLogControl __RPC_FAR * This);
  160. void __RPC_STUB ICrmLogControl_ForgetLogRecord_Stub(
  161. IRpcStubBuffer *This,
  162. IRpcChannelBuffer *_pRpcChannelBuffer,
  163. PRPC_MESSAGE _pRpcMessage,
  164. DWORD *_pdwStubPhase);
  165. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICrmLogControl_ForceTransactionToAbort_Proxy(
  166. ICrmLogControl __RPC_FAR * This);
  167. void __RPC_STUB ICrmLogControl_ForceTransactionToAbort_Stub(
  168. IRpcStubBuffer *This,
  169. IRpcChannelBuffer *_pRpcChannelBuffer,
  170. PRPC_MESSAGE _pRpcMessage,
  171. DWORD *_pdwStubPhase);
  172. HRESULT STDMETHODCALLTYPE ICrmLogControl_WriteLogRecord_Proxy(
  173. ICrmLogControl __RPC_FAR * This,
  174. /* [size_is][in] */ BLOB __RPC_FAR rgBlob[ ],
  175. /* [in] */ ULONG cBlob);
  176. void __RPC_STUB ICrmLogControl_WriteLogRecord_Stub(
  177. IRpcStubBuffer *This,
  178. IRpcChannelBuffer *_pRpcChannelBuffer,
  179. PRPC_MESSAGE _pRpcMessage,
  180. DWORD *_pdwStubPhase);
  181. #endif /* __ICrmLogControl_INTERFACE_DEFINED__ */
  182. /* Additional Prototypes for ALL interfaces */
  183. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  184. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  185. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  186. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  187. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  188. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  189. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  190. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  191. /* end of Additional Prototypes */
  192. #ifdef __cplusplus
  193. }
  194. #endif
  195. #endif