|
|
|
1 |
|
|
2 |
|
|
3 |
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
4 |
|
|
5 |
|
|
6 |
|
/* File created by MIDL compiler version 7.00.0499 */ |
7 |
|
/* Compiler settings for perhist.idl: |
8 |
|
Oicf, W1, Zp8, env=Win32 (32b run) |
9 |
|
protocol : dce , ms_ext, c_ext, robust |
10 |
|
error checks: allocation ref bounds_check enum stub_data |
11 |
|
VC __declspec() decoration level: |
12 |
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable) |
13 |
|
DECLSPEC_UUID(), MIDL_INTERFACE() |
14 |
|
*/ |
15 |
|
//@@MIDL_FILE_HEADING( ) |
16 |
|
|
17 |
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */ |
18 |
|
|
19 |
|
|
20 |
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
21 |
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
22 |
|
#define __REQUIRED_RPCNDR_H_VERSION__ 475 |
23 |
|
#endif |
24 |
|
|
25 |
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
26 |
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
27 |
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
28 |
|
#endif |
29 |
|
|
30 |
|
#include "rpc.h" |
31 |
|
#include "rpcndr.h" |
32 |
|
|
33 |
|
#ifndef __RPCNDR_H_VERSION__ |
34 |
|
#error this stub requires an updated version of <rpcndr.h> |
35 |
|
#endif // __RPCNDR_H_VERSION__ |
36 |
|
|
37 |
|
#ifndef COM_NO_WINDOWS_H |
38 |
|
#include "windows.h" |
39 |
|
#include "ole2.h" |
40 |
|
#endif /*COM_NO_WINDOWS_H*/ |
41 |
|
|
42 |
|
#ifndef __perhist_h__ |
43 |
|
#define __perhist_h__ |
44 |
|
|
45 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
46 |
|
#pragma once |
47 |
|
#endif |
48 |
|
|
49 |
|
/* Forward Declarations */ |
50 |
|
|
51 |
|
#ifndef __IPersistHistory_FWD_DEFINED__ |
52 |
|
#define __IPersistHistory_FWD_DEFINED__ |
53 |
|
typedef interface IPersistHistory IPersistHistory; |
54 |
|
#endif /* __IPersistHistory_FWD_DEFINED__ */ |
55 |
|
|
56 |
|
|
57 |
|
/* header files for imported files */ |
58 |
|
#include "objidl.h" |
59 |
|
#include "oleidl.h" |
60 |
|
|
61 |
|
#ifdef __cplusplus |
62 |
|
extern "C"{ |
63 |
|
#endif |
64 |
|
|
65 |
|
|
66 |
|
/* interface __MIDL_itf_perhist_0000_0000 */ |
67 |
|
/* [local] */ |
68 |
|
|
69 |
|
//=--------------------------------------------------------------------------= |
70 |
|
// perhist.h |
71 |
|
//=--------------------------------------------------------------------------= |
72 |
|
// (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved. |
73 |
|
// |
74 |
|
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF |
75 |
|
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |
76 |
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
77 |
|
// PARTICULAR PURPOSE. |
78 |
|
//=--------------------------------------------------------------------------= |
79 |
|
|
80 |
|
#pragma comment(lib,"uuid.lib") |
81 |
|
|
82 |
|
//---------------------------------------------------------------------------= |
83 |
|
// IPersistHistory Interface. |
84 |
|
|
85 |
|
|
86 |
|
#ifndef _LPPERSISTHISTORY_DEFINED |
87 |
|
#define _LPPERSISTHISTORY_DEFINED |
88 |
|
|
89 |
|
|
90 |
|
extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_0000_v0_0_c_ifspec; |
91 |
|
extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_0000_v0_0_s_ifspec; |
92 |
|
|
93 |
|
#ifndef __IPersistHistory_INTERFACE_DEFINED__ |
94 |
|
#define __IPersistHistory_INTERFACE_DEFINED__ |
95 |
|
|
96 |
|
/* interface IPersistHistory */ |
97 |
|
/* [unique][uuid][object] */ |
98 |
|
|
99 |
|
typedef /* [unique] */ __RPC_unique_pointer IPersistHistory *LPPERSISTHISTORY; |
100 |
|
|
101 |
|
|
102 |
|
EXTERN_C const IID IID_IPersistHistory; |
103 |
|
|
104 |
|
#if defined(__cplusplus) && !defined(CINTERFACE) |
105 |
|
|
106 |
|
MIDL_INTERFACE("91A565C1-E38F-11d0-94BF-00A0C9055CBF") |
107 |
|
IPersistHistory : public IPersist |
108 |
|
{ |
109 |
|
public: |
110 |
|
virtual HRESULT STDMETHODCALLTYPE LoadHistory( |
111 |
|
/* [in] */ __RPC__in_opt IStream *pStream, |
112 |
|
/* [in] */ __RPC__in_opt IBindCtx *pbc) = 0; |
113 |
|
|
114 |
|
virtual HRESULT STDMETHODCALLTYPE SaveHistory( |
115 |
|
/* [in] */ __RPC__in_opt IStream *pStream) = 0; |
116 |
|
|
117 |
|
virtual HRESULT STDMETHODCALLTYPE SetPositionCookie( |
118 |
|
/* [in] */ DWORD dwPositioncookie) = 0; |
119 |
|
|
120 |
|
virtual HRESULT STDMETHODCALLTYPE GetPositionCookie( |
121 |
|
/* [out] */ __RPC__out DWORD *pdwPositioncookie) = 0; |
122 |
|
|
123 |
|
}; |
134 |
|
/* [iid_is][out] */ |
135 |
|
__RPC__deref_out void **ppvObject); |
136 |
|
|
137 |
|
ULONG ( STDMETHODCALLTYPE *AddRef )( |
138 |
|
IPersistHistory * This); |
139 |
|
|
140 |
|
ULONG ( STDMETHODCALLTYPE *Release )( |
141 |
|
IPersistHistory * This); |
142 |
|
|
143 |
|
HRESULT ( STDMETHODCALLTYPE *GetClassID )( |
144 |
|
IPersistHistory * This, |
145 |
|
/* [out] */ __RPC__out CLSID *pClassID); |
146 |
|
|
147 |
|
HRESULT ( STDMETHODCALLTYPE *LoadHistory )( |
148 |
|
IPersistHistory * This, |
149 |
|
/* [in] */ __RPC__in_opt IStream *pStream, |
150 |
|
/* [in] */ __RPC__in_opt IBindCtx *pbc); |
151 |
|
|
152 |
|
HRESULT ( STDMETHODCALLTYPE *SaveHistory )( |
153 |
|
IPersistHistory * This, |
154 |
|
/* [in] */ __RPC__in_opt IStream *pStream); |
155 |
|
|
156 |
|
HRESULT ( STDMETHODCALLTYPE *SetPositionCookie )( |
157 |
|
IPersistHistory * This, |
158 |
|
/* [in] */ DWORD dwPositioncookie); |
159 |
|
|
160 |
|
HRESULT ( STDMETHODCALLTYPE *GetPositionCookie )( |
161 |
|
IPersistHistory * This, |
162 |
|
/* [out] */ __RPC__out DWORD *pdwPositioncookie); |
163 |
|
|
164 |
|
END_INTERFACE |
165 |
|
} IPersistHistoryVtbl; |
166 |
|
|
167 |
|
interface IPersistHistory |
168 |
|
{ |
169 |
|
CONST_VTBL struct IPersistHistoryVtbl *lpVtbl; |
170 |
|
}; |
171 |
|
|
172 |
|
|
173 |
|
|
174 |
|
#ifdef COBJMACROS |
175 |
|
|
176 |
|
|
177 |
|
#define IPersistHistory_QueryInterface(This,riid,ppvObject) \ |
178 |
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
179 |
|
|
180 |
|
#define IPersistHistory_AddRef(This) \ |
181 |
|
( (This)->lpVtbl -> AddRef(This) ) |
182 |
|
|
183 |
|
#define IPersistHistory_Release(This) \ |
184 |
|
( (This)->lpVtbl -> Release(This) ) |
185 |
|
|
186 |
|
|
187 |
|
#define IPersistHistory_GetClassID(This,pClassID) \ |
188 |
|
( (This)->lpVtbl -> GetClassID(This,pClassID) ) |
189 |
|
|
190 |
|
|
191 |
|
#define IPersistHistory_LoadHistory(This,pStream,pbc) \ |
192 |
|
( (This)->lpVtbl -> LoadHistory(This,pStream,pbc) ) |
193 |
|
|
194 |
|
#define IPersistHistory_SaveHistory(This,pStream) \ |
195 |
|
( (This)->lpVtbl -> SaveHistory(This,pStream) ) |
196 |
|
|
197 |
|
#define IPersistHistory_SetPositionCookie(This,dwPositioncookie) \ |
198 |
|
( (This)->lpVtbl -> SetPositionCookie(This,dwPositioncookie) ) |
199 |
|
|
200 |
|
#define IPersistHistory_GetPositionCookie(This,pdwPositioncookie) \ |
201 |
|
( (This)->lpVtbl -> GetPositionCookie(This,pdwPositioncookie) ) |
202 |
|
|
203 |
|
#endif /* COBJMACROS */ |
204 |
|
|
205 |
|
|
206 |
|
#endif /* C style interface */ |
207 |
|
|
208 |
|
|
209 |
|
|
210 |
|
|
211 |
|
#endif /* __IPersistHistory_INTERFACE_DEFINED__ */ |
212 |
|
|
213 |
|
|
214 |
|
/* interface __MIDL_itf_perhist_0000_0001 */ |
215 |
|
/* [local] */ |
216 |
|
|
217 |
|
#endif |
218 |
|
|
219 |
|
|
220 |
|
extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_0001_v0_0_c_ifspec; |
221 |
|
extern RPC_IF_HANDLE __MIDL_itf_perhist_0000_0001_v0_0_s_ifspec; |
222 |
|
|
223 |
|
/* Additional Prototypes for ALL interfaces */ |
224 |
|
|
225 |
|
/* end of Additional Prototypes */ |
226 |
|
|
227 |
|
#ifdef __cplusplus |
228 |
|
} |
229 |
|
#endif |
230 |
|
|
231 |
|
#endif |
232 |
|
|
233 |
|
|
234 |
|
|
235 |
|
|
|
|
|