Leaked source code of windows server 2003
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.

278 lines
7.5 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for perhist.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __perhist_h__
  27. #define __perhist_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IPersistHistory_FWD_DEFINED__
  33. #define __IPersistHistory_FWD_DEFINED__
  34. typedef interface IPersistHistory IPersistHistory;
  35. #endif /* __IPersistHistory_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "objidl.h"
  38. #include "oleidl.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. /* interface __MIDL_itf_perhist_0000 */
  45. /* [local] */
  46. //=--------------------------------------------------------------------------=
  47. // perhist.h
  48. //=--------------------------------------------------------------------------=
  49. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  50. //
  51. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  52. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  53. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  54. // PARTICULAR PURPOSE.
  55. //=--------------------------------------------------------------------------=
  56. #pragma comment(lib,"uuid.lib")
  57. //---------------------------------------------------------------------------=
  58. // IPersistHistory Interface.
  59. #ifndef _LPPERSISTHISTORY_DEFINED
  60. #define _LPPERSISTHISTORY_DEFINED
  61. extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_v0_0_c_ifspec;
  62. extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_v0_0_s_ifspec;
  63. #ifndef __IPersistHistory_INTERFACE_DEFINED__
  64. #define __IPersistHistory_INTERFACE_DEFINED__
  65. /* interface IPersistHistory */
  66. /* [unique][uuid][object] */
  67. typedef /* [unique] */ IPersistHistory *LPPERSISTHISTORY;
  68. EXTERN_C const IID IID_IPersistHistory;
  69. #if defined(__cplusplus) && !defined(CINTERFACE)
  70. MIDL_INTERFACE("91A565C1-E38F-11d0-94BF-00A0C9055CBF")
  71. IPersistHistory : public IPersist
  72. {
  73. public:
  74. virtual HRESULT STDMETHODCALLTYPE LoadHistory(
  75. /* [in] */ IStream *pStream,
  76. /* [in] */ IBindCtx *pbc) = 0;
  77. virtual HRESULT STDMETHODCALLTYPE SaveHistory(
  78. /* [in] */ IStream *pStream) = 0;
  79. virtual HRESULT STDMETHODCALLTYPE SetPositionCookie(
  80. /* [in] */ DWORD dwPositioncookie) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE GetPositionCookie(
  82. /* [out] */ DWORD *pdwPositioncookie) = 0;
  83. };
  84. #else /* C style interface */
  85. typedef struct IPersistHistoryVtbl
  86. {
  87. BEGIN_INTERFACE
  88. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  89. IPersistHistory * This,
  90. /* [in] */ REFIID riid,
  91. /* [iid_is][out] */ void **ppvObject);
  92. ULONG ( STDMETHODCALLTYPE *AddRef )(
  93. IPersistHistory * This);
  94. ULONG ( STDMETHODCALLTYPE *Release )(
  95. IPersistHistory * This);
  96. HRESULT ( STDMETHODCALLTYPE *GetClassID )(
  97. IPersistHistory * This,
  98. /* [out] */ CLSID *pClassID);
  99. HRESULT ( STDMETHODCALLTYPE *LoadHistory )(
  100. IPersistHistory * This,
  101. /* [in] */ IStream *pStream,
  102. /* [in] */ IBindCtx *pbc);
  103. HRESULT ( STDMETHODCALLTYPE *SaveHistory )(
  104. IPersistHistory * This,
  105. /* [in] */ IStream *pStream);
  106. HRESULT ( STDMETHODCALLTYPE *SetPositionCookie )(
  107. IPersistHistory * This,
  108. /* [in] */ DWORD dwPositioncookie);
  109. HRESULT ( STDMETHODCALLTYPE *GetPositionCookie )(
  110. IPersistHistory * This,
  111. /* [out] */ DWORD *pdwPositioncookie);
  112. END_INTERFACE
  113. } IPersistHistoryVtbl;
  114. interface IPersistHistory
  115. {
  116. CONST_VTBL struct IPersistHistoryVtbl *lpVtbl;
  117. };
  118. #ifdef COBJMACROS
  119. #define IPersistHistory_QueryInterface(This,riid,ppvObject) \
  120. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  121. #define IPersistHistory_AddRef(This) \
  122. (This)->lpVtbl -> AddRef(This)
  123. #define IPersistHistory_Release(This) \
  124. (This)->lpVtbl -> Release(This)
  125. #define IPersistHistory_GetClassID(This,pClassID) \
  126. (This)->lpVtbl -> GetClassID(This,pClassID)
  127. #define IPersistHistory_LoadHistory(This,pStream,pbc) \
  128. (This)->lpVtbl -> LoadHistory(This,pStream,pbc)
  129. #define IPersistHistory_SaveHistory(This,pStream) \
  130. (This)->lpVtbl -> SaveHistory(This,pStream)
  131. #define IPersistHistory_SetPositionCookie(This,dwPositioncookie) \
  132. (This)->lpVtbl -> SetPositionCookie(This,dwPositioncookie)
  133. #define IPersistHistory_GetPositionCookie(This,pdwPositioncookie) \
  134. (This)->lpVtbl -> GetPositionCookie(This,pdwPositioncookie)
  135. #endif /* COBJMACROS */
  136. #endif /* C style interface */
  137. HRESULT STDMETHODCALLTYPE IPersistHistory_LoadHistory_Proxy(
  138. IPersistHistory * This,
  139. /* [in] */ IStream *pStream,
  140. /* [in] */ IBindCtx *pbc);
  141. void __RPC_STUB IPersistHistory_LoadHistory_Stub(
  142. IRpcStubBuffer *This,
  143. IRpcChannelBuffer *_pRpcChannelBuffer,
  144. PRPC_MESSAGE _pRpcMessage,
  145. DWORD *_pdwStubPhase);
  146. HRESULT STDMETHODCALLTYPE IPersistHistory_SaveHistory_Proxy(
  147. IPersistHistory * This,
  148. /* [in] */ IStream *pStream);
  149. void __RPC_STUB IPersistHistory_SaveHistory_Stub(
  150. IRpcStubBuffer *This,
  151. IRpcChannelBuffer *_pRpcChannelBuffer,
  152. PRPC_MESSAGE _pRpcMessage,
  153. DWORD *_pdwStubPhase);
  154. HRESULT STDMETHODCALLTYPE IPersistHistory_SetPositionCookie_Proxy(
  155. IPersistHistory * This,
  156. /* [in] */ DWORD dwPositioncookie);
  157. void __RPC_STUB IPersistHistory_SetPositionCookie_Stub(
  158. IRpcStubBuffer *This,
  159. IRpcChannelBuffer *_pRpcChannelBuffer,
  160. PRPC_MESSAGE _pRpcMessage,
  161. DWORD *_pdwStubPhase);
  162. HRESULT STDMETHODCALLTYPE IPersistHistory_GetPositionCookie_Proxy(
  163. IPersistHistory * This,
  164. /* [out] */ DWORD *pdwPositioncookie);
  165. void __RPC_STUB IPersistHistory_GetPositionCookie_Stub(
  166. IRpcStubBuffer *This,
  167. IRpcChannelBuffer *_pRpcChannelBuffer,
  168. PRPC_MESSAGE _pRpcMessage,
  169. DWORD *_pdwStubPhase);
  170. #endif /* __IPersistHistory_INTERFACE_DEFINED__ */
  171. /* interface __MIDL_itf_perhist_0118 */
  172. /* [local] */
  173. #endif
  174. extern RPC_IF_HANDLE __MIDL_itf_perhist_0118_v0_0_c_ifspec;
  175. extern RPC_IF_HANDLE __MIDL_itf_perhist_0118_v0_0_s_ifspec;
  176. /* Additional Prototypes for ALL interfaces */
  177. /* end of Additional Prototypes */
  178. #ifdef __cplusplus
  179. }
  180. #endif
  181. #endif