| 1 | /*** Autogenerated by WIDL 11.6 from include/tlogstg.idl - Do not edit ***/ |
| 2 | |
| 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| 6 | #endif |
| 7 | #include <rpc.h> |
| 8 | #include <rpcndr.h> |
| 9 | #endif |
| 10 | |
| 11 | #ifndef COM_NO_WINDOWS_H |
| 12 | #include <windows.h> |
| 13 | #include <ole2.h> |
| 14 | #endif |
| 15 | |
| 16 | #ifndef __tlogstg_h__ |
| 17 | #define __tlogstg_h__ |
| 18 | |
| 19 | /* Forward declarations */ |
| 20 | |
| 21 | #ifndef __ITravelLogEntry_FWD_DEFINED__ |
| 22 | #define __ITravelLogEntry_FWD_DEFINED__ |
| 23 | typedef interface ITravelLogEntry ITravelLogEntry; |
| 24 | #ifdef __cplusplus |
| 25 | interface ITravelLogEntry; |
| 26 | #endif /* __cplusplus */ |
| 27 | #endif |
| 28 | |
| 29 | #ifndef __ITravelLogClient_FWD_DEFINED__ |
| 30 | #define __ITravelLogClient_FWD_DEFINED__ |
| 31 | typedef interface ITravelLogClient ITravelLogClient; |
| 32 | #ifdef __cplusplus |
| 33 | interface ITravelLogClient; |
| 34 | #endif /* __cplusplus */ |
| 35 | #endif |
| 36 | |
| 37 | #ifndef __IEnumTravelLogEntry_FWD_DEFINED__ |
| 38 | #define __IEnumTravelLogEntry_FWD_DEFINED__ |
| 39 | typedef interface IEnumTravelLogEntry IEnumTravelLogEntry; |
| 40 | #ifdef __cplusplus |
| 41 | interface IEnumTravelLogEntry; |
| 42 | #endif /* __cplusplus */ |
| 43 | #endif |
| 44 | |
| 45 | #ifndef __ITravelLogStg_FWD_DEFINED__ |
| 46 | #define __ITravelLogStg_FWD_DEFINED__ |
| 47 | typedef interface ITravelLogStg ITravelLogStg; |
| 48 | #ifdef __cplusplus |
| 49 | interface ITravelLogStg; |
| 50 | #endif /* __cplusplus */ |
| 51 | #endif |
| 52 | |
| 53 | /* Headers for imported files */ |
| 54 | |
| 55 | #include <objidl.h> |
| 56 | #include <oleidl.h> |
| 57 | #include <shtypes.h> |
| 58 | |
| 59 | #ifdef __cplusplus |
| 60 | extern "C" { |
| 61 | #endif |
| 62 | |
| 63 | /** |
| 64 | * This file is part of the mingw-w64 runtime package. |
| 65 | * No warranty is given; refer to the file DISCLAIMER within this package. |
| 66 | */ |
| 67 | |
| 68 | #include <winapifamily.h> |
| 69 | |
| 70 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| 71 | |
| 72 | #define SID_STravelLogCursor IID_ITravelLogStg |
| 73 | enum tagTLENUMF { |
| 74 | TLEF_RELATIVE_INCLUDE_CURRENT = 0x1, |
| 75 | TLEF_RELATIVE_BACK = 0x10, |
| 76 | TLEF_RELATIVE_FORE = 0x20, |
| 77 | TLEF_INCLUDE_UNINVOKEABLE = 0x40, |
| 78 | TLEF_ABSOLUTE = 0x31, |
| 79 | TLEF_EXCLUDE_SUBFRAME_ENTRIES = 0x80 |
| 80 | }; |
| 81 | typedef struct _WINDOWDATA { |
| 82 | DWORD dwWindowID; |
| 83 | UINT uiCP; |
| 84 | PIDLIST_ABSOLUTE pidl; |
| 85 | LPWSTR lpszUrl; |
| 86 | LPWSTR lpszUrlLocation; |
| 87 | LPWSTR lpszTitle; |
| 88 | } WINDOWDATA; |
| 89 | typedef DWORD TLENUMF; |
| 90 | typedef WINDOWDATA *LPWINDOWDATA; |
| 91 | typedef const WINDOWDATA *LPCWINDOWDATA; |
| 92 | /***************************************************************************** |
| 93 | * ITravelLogEntry interface |
| 94 | */ |
| 95 | #ifndef __ITravelLogEntry_INTERFACE_DEFINED__ |
| 96 | #define __ITravelLogEntry_INTERFACE_DEFINED__ |
| 97 | |
| 98 | DEFINE_GUID(IID_ITravelLogEntry, 0x7ebfdd87, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8); |
| 99 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 100 | MIDL_INTERFACE("7ebfdd87-ad18-11d3-a4c5-00c04f72d6b8") |
| 101 | ITravelLogEntry : public IUnknown |
| 102 | { |
| 103 | virtual HRESULT STDMETHODCALLTYPE GetTitle( |
| 104 | LPWSTR *ppszTitle) = 0; |
| 105 | |
| 106 | virtual HRESULT STDMETHODCALLTYPE GetURL( |
| 107 | LPWSTR *ppszURL) = 0; |
| 108 | |
| 109 | }; |
| 110 | #ifdef __CRT_UUID_DECL |
| 111 | __CRT_UUID_DECL(ITravelLogEntry, 0x7ebfdd87, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8) |
| 112 | #endif |
| 113 | #else |
| 114 | typedef struct ITravelLogEntryVtbl { |
| 115 | BEGIN_INTERFACE |
| 116 | |
| 117 | /*** IUnknown methods ***/ |
| 118 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 119 | ITravelLogEntry *This, |
| 120 | REFIID riid, |
| 121 | void **ppvObject); |
| 122 | |
| 123 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 124 | ITravelLogEntry *This); |
| 125 | |
| 126 | ULONG (STDMETHODCALLTYPE *Release)( |
| 127 | ITravelLogEntry *This); |
| 128 | |
| 129 | /*** ITravelLogEntry methods ***/ |
| 130 | HRESULT (STDMETHODCALLTYPE *GetTitle)( |
| 131 | ITravelLogEntry *This, |
| 132 | LPWSTR *ppszTitle); |
| 133 | |
| 134 | HRESULT (STDMETHODCALLTYPE *GetURL)( |
| 135 | ITravelLogEntry *This, |
| 136 | LPWSTR *ppszURL); |
| 137 | |
| 138 | END_INTERFACE |
| 139 | } ITravelLogEntryVtbl; |
| 140 | |
| 141 | interface ITravelLogEntry { |
| 142 | CONST_VTBL ITravelLogEntryVtbl* lpVtbl; |
| 143 | }; |
| 144 | |
| 145 | #ifdef COBJMACROS |
| 146 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 147 | /*** IUnknown methods ***/ |
| 148 | #define ITravelLogEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 149 | #define ITravelLogEntry_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 150 | #define ITravelLogEntry_Release(This) (This)->lpVtbl->Release(This) |
| 151 | /*** ITravelLogEntry methods ***/ |
| 152 | #define ITravelLogEntry_GetTitle(This,ppszTitle) (This)->lpVtbl->GetTitle(This,ppszTitle) |
| 153 | #define ITravelLogEntry_GetURL(This,ppszURL) (This)->lpVtbl->GetURL(This,ppszURL) |
| 154 | #else |
| 155 | /*** IUnknown methods ***/ |
| 156 | static inline HRESULT ITravelLogEntry_QueryInterface(ITravelLogEntry* This,REFIID riid,void **ppvObject) { |
| 157 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 158 | } |
| 159 | static inline ULONG ITravelLogEntry_AddRef(ITravelLogEntry* This) { |
| 160 | return This->lpVtbl->AddRef(This); |
| 161 | } |
| 162 | static inline ULONG ITravelLogEntry_Release(ITravelLogEntry* This) { |
| 163 | return This->lpVtbl->Release(This); |
| 164 | } |
| 165 | /*** ITravelLogEntry methods ***/ |
| 166 | static inline HRESULT ITravelLogEntry_GetTitle(ITravelLogEntry* This,LPWSTR *ppszTitle) { |
| 167 | return This->lpVtbl->GetTitle(This,ppszTitle); |
| 168 | } |
| 169 | static inline HRESULT ITravelLogEntry_GetURL(ITravelLogEntry* This,LPWSTR *ppszURL) { |
| 170 | return This->lpVtbl->GetURL(This,ppszURL); |
| 171 | } |
| 172 | #endif |
| 173 | #endif |
| 174 | |
| 175 | #endif |
| 176 | |
| 177 | |
| 178 | #endif /* __ITravelLogEntry_INTERFACE_DEFINED__ */ |
| 179 | |
| 180 | /***************************************************************************** |
| 181 | * ITravelLogClient interface |
| 182 | */ |
| 183 | #ifndef __ITravelLogClient_INTERFACE_DEFINED__ |
| 184 | #define __ITravelLogClient_INTERFACE_DEFINED__ |
| 185 | |
| 186 | DEFINE_GUID(IID_ITravelLogClient, 0x241c033e, 0xe659, 0x43da, 0xaa,0x4d, 0x40,0x86,0xdb,0xc4,0x75,0x8d); |
| 187 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 188 | MIDL_INTERFACE("241c033e-e659-43da-aa4d-4086dbc4758d") |
| 189 | ITravelLogClient : public IUnknown |
| 190 | { |
| 191 | virtual HRESULT STDMETHODCALLTYPE FindWindowByIndex( |
| 192 | DWORD dwID, |
| 193 | IUnknown **ppunk) = 0; |
| 194 | |
| 195 | virtual HRESULT STDMETHODCALLTYPE GetWindowData( |
| 196 | IStream *pStream, |
| 197 | LPWINDOWDATA pWinData) = 0; |
| 198 | |
| 199 | virtual HRESULT STDMETHODCALLTYPE LoadHistoryPosition( |
| 200 | LPWSTR pszUrlLocation, |
| 201 | DWORD dwPosition) = 0; |
| 202 | |
| 203 | }; |
| 204 | #ifdef __CRT_UUID_DECL |
| 205 | __CRT_UUID_DECL(ITravelLogClient, 0x241c033e, 0xe659, 0x43da, 0xaa,0x4d, 0x40,0x86,0xdb,0xc4,0x75,0x8d) |
| 206 | #endif |
| 207 | #else |
| 208 | typedef struct ITravelLogClientVtbl { |
| 209 | BEGIN_INTERFACE |
| 210 | |
| 211 | /*** IUnknown methods ***/ |
| 212 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 213 | ITravelLogClient *This, |
| 214 | REFIID riid, |
| 215 | void **ppvObject); |
| 216 | |
| 217 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 218 | ITravelLogClient *This); |
| 219 | |
| 220 | ULONG (STDMETHODCALLTYPE *Release)( |
| 221 | ITravelLogClient *This); |
| 222 | |
| 223 | /*** ITravelLogClient methods ***/ |
| 224 | HRESULT (STDMETHODCALLTYPE *FindWindowByIndex)( |
| 225 | ITravelLogClient *This, |
| 226 | DWORD dwID, |
| 227 | IUnknown **ppunk); |
| 228 | |
| 229 | HRESULT (STDMETHODCALLTYPE *GetWindowData)( |
| 230 | ITravelLogClient *This, |
| 231 | IStream *pStream, |
| 232 | LPWINDOWDATA pWinData); |
| 233 | |
| 234 | HRESULT (STDMETHODCALLTYPE *LoadHistoryPosition)( |
| 235 | ITravelLogClient *This, |
| 236 | LPWSTR pszUrlLocation, |
| 237 | DWORD dwPosition); |
| 238 | |
| 239 | END_INTERFACE |
| 240 | } ITravelLogClientVtbl; |
| 241 | |
| 242 | interface ITravelLogClient { |
| 243 | CONST_VTBL ITravelLogClientVtbl* lpVtbl; |
| 244 | }; |
| 245 | |
| 246 | #ifdef COBJMACROS |
| 247 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 248 | /*** IUnknown methods ***/ |
| 249 | #define ITravelLogClient_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 250 | #define ITravelLogClient_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 251 | #define ITravelLogClient_Release(This) (This)->lpVtbl->Release(This) |
| 252 | /*** ITravelLogClient methods ***/ |
| 253 | #define ITravelLogClient_FindWindowByIndex(This,dwID,ppunk) (This)->lpVtbl->FindWindowByIndex(This,dwID,ppunk) |
| 254 | #define ITravelLogClient_GetWindowData(This,pStream,pWinData) (This)->lpVtbl->GetWindowData(This,pStream,pWinData) |
| 255 | #define ITravelLogClient_LoadHistoryPosition(This,pszUrlLocation,dwPosition) (This)->lpVtbl->LoadHistoryPosition(This,pszUrlLocation,dwPosition) |
| 256 | #else |
| 257 | /*** IUnknown methods ***/ |
| 258 | static inline HRESULT ITravelLogClient_QueryInterface(ITravelLogClient* This,REFIID riid,void **ppvObject) { |
| 259 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 260 | } |
| 261 | static inline ULONG ITravelLogClient_AddRef(ITravelLogClient* This) { |
| 262 | return This->lpVtbl->AddRef(This); |
| 263 | } |
| 264 | static inline ULONG ITravelLogClient_Release(ITravelLogClient* This) { |
| 265 | return This->lpVtbl->Release(This); |
| 266 | } |
| 267 | /*** ITravelLogClient methods ***/ |
| 268 | static inline HRESULT ITravelLogClient_FindWindowByIndex(ITravelLogClient* This,DWORD dwID,IUnknown **ppunk) { |
| 269 | return This->lpVtbl->FindWindowByIndex(This,dwID,ppunk); |
| 270 | } |
| 271 | static inline HRESULT ITravelLogClient_GetWindowData(ITravelLogClient* This,IStream *pStream,LPWINDOWDATA pWinData) { |
| 272 | return This->lpVtbl->GetWindowData(This,pStream,pWinData); |
| 273 | } |
| 274 | static inline HRESULT ITravelLogClient_LoadHistoryPosition(ITravelLogClient* This,LPWSTR pszUrlLocation,DWORD dwPosition) { |
| 275 | return This->lpVtbl->LoadHistoryPosition(This,pszUrlLocation,dwPosition); |
| 276 | } |
| 277 | #endif |
| 278 | #endif |
| 279 | |
| 280 | #endif |
| 281 | |
| 282 | |
| 283 | #endif /* __ITravelLogClient_INTERFACE_DEFINED__ */ |
| 284 | |
| 285 | /***************************************************************************** |
| 286 | * IEnumTravelLogEntry interface |
| 287 | */ |
| 288 | #ifndef __IEnumTravelLogEntry_INTERFACE_DEFINED__ |
| 289 | #define __IEnumTravelLogEntry_INTERFACE_DEFINED__ |
| 290 | |
| 291 | DEFINE_GUID(IID_IEnumTravelLogEntry, 0x7ebfdd85, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8); |
| 292 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 293 | MIDL_INTERFACE("7ebfdd85-ad18-11d3-a4c5-00c04f72d6b8") |
| 294 | IEnumTravelLogEntry : public IUnknown |
| 295 | { |
| 296 | virtual HRESULT STDMETHODCALLTYPE Next( |
| 297 | ULONG cElt, |
| 298 | ITravelLogEntry **rgElt, |
| 299 | ULONG *pcEltFetched) = 0; |
| 300 | |
| 301 | virtual HRESULT STDMETHODCALLTYPE Skip( |
| 302 | ULONG cElt) = 0; |
| 303 | |
| 304 | virtual HRESULT STDMETHODCALLTYPE Reset( |
| 305 | ) = 0; |
| 306 | |
| 307 | virtual HRESULT STDMETHODCALLTYPE Clone( |
| 308 | IEnumTravelLogEntry **ppEnum) = 0; |
| 309 | |
| 310 | }; |
| 311 | #ifdef __CRT_UUID_DECL |
| 312 | __CRT_UUID_DECL(IEnumTravelLogEntry, 0x7ebfdd85, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8) |
| 313 | #endif |
| 314 | #else |
| 315 | typedef struct IEnumTravelLogEntryVtbl { |
| 316 | BEGIN_INTERFACE |
| 317 | |
| 318 | /*** IUnknown methods ***/ |
| 319 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 320 | IEnumTravelLogEntry *This, |
| 321 | REFIID riid, |
| 322 | void **ppvObject); |
| 323 | |
| 324 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 325 | IEnumTravelLogEntry *This); |
| 326 | |
| 327 | ULONG (STDMETHODCALLTYPE *Release)( |
| 328 | IEnumTravelLogEntry *This); |
| 329 | |
| 330 | /*** IEnumTravelLogEntry methods ***/ |
| 331 | HRESULT (STDMETHODCALLTYPE *Next)( |
| 332 | IEnumTravelLogEntry *This, |
| 333 | ULONG cElt, |
| 334 | ITravelLogEntry **rgElt, |
| 335 | ULONG *pcEltFetched); |
| 336 | |
| 337 | HRESULT (STDMETHODCALLTYPE *Skip)( |
| 338 | IEnumTravelLogEntry *This, |
| 339 | ULONG cElt); |
| 340 | |
| 341 | HRESULT (STDMETHODCALLTYPE *Reset)( |
| 342 | IEnumTravelLogEntry *This); |
| 343 | |
| 344 | HRESULT (STDMETHODCALLTYPE *Clone)( |
| 345 | IEnumTravelLogEntry *This, |
| 346 | IEnumTravelLogEntry **ppEnum); |
| 347 | |
| 348 | END_INTERFACE |
| 349 | } IEnumTravelLogEntryVtbl; |
| 350 | |
| 351 | interface IEnumTravelLogEntry { |
| 352 | CONST_VTBL IEnumTravelLogEntryVtbl* lpVtbl; |
| 353 | }; |
| 354 | |
| 355 | #ifdef COBJMACROS |
| 356 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 357 | /*** IUnknown methods ***/ |
| 358 | #define IEnumTravelLogEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 359 | #define IEnumTravelLogEntry_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 360 | #define IEnumTravelLogEntry_Release(This) (This)->lpVtbl->Release(This) |
| 361 | /*** IEnumTravelLogEntry methods ***/ |
| 362 | #define IEnumTravelLogEntry_Next(This,cElt,rgElt,pcEltFetched) (This)->lpVtbl->Next(This,cElt,rgElt,pcEltFetched) |
| 363 | #define IEnumTravelLogEntry_Skip(This,cElt) (This)->lpVtbl->Skip(This,cElt) |
| 364 | #define IEnumTravelLogEntry_Reset(This) (This)->lpVtbl->Reset(This) |
| 365 | #define IEnumTravelLogEntry_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) |
| 366 | #else |
| 367 | /*** IUnknown methods ***/ |
| 368 | static inline HRESULT IEnumTravelLogEntry_QueryInterface(IEnumTravelLogEntry* This,REFIID riid,void **ppvObject) { |
| 369 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 370 | } |
| 371 | static inline ULONG IEnumTravelLogEntry_AddRef(IEnumTravelLogEntry* This) { |
| 372 | return This->lpVtbl->AddRef(This); |
| 373 | } |
| 374 | static inline ULONG IEnumTravelLogEntry_Release(IEnumTravelLogEntry* This) { |
| 375 | return This->lpVtbl->Release(This); |
| 376 | } |
| 377 | /*** IEnumTravelLogEntry methods ***/ |
| 378 | static inline HRESULT IEnumTravelLogEntry_Next(IEnumTravelLogEntry* This,ULONG cElt,ITravelLogEntry **rgElt,ULONG *pcEltFetched) { |
| 379 | return This->lpVtbl->Next(This,cElt,rgElt,pcEltFetched); |
| 380 | } |
| 381 | static inline HRESULT IEnumTravelLogEntry_Skip(IEnumTravelLogEntry* This,ULONG cElt) { |
| 382 | return This->lpVtbl->Skip(This,cElt); |
| 383 | } |
| 384 | static inline HRESULT IEnumTravelLogEntry_Reset(IEnumTravelLogEntry* This) { |
| 385 | return This->lpVtbl->Reset(This); |
| 386 | } |
| 387 | static inline HRESULT IEnumTravelLogEntry_Clone(IEnumTravelLogEntry* This,IEnumTravelLogEntry **ppEnum) { |
| 388 | return This->lpVtbl->Clone(This,ppEnum); |
| 389 | } |
| 390 | #endif |
| 391 | #endif |
| 392 | |
| 393 | #endif |
| 394 | |
| 395 | |
| 396 | #endif /* __IEnumTravelLogEntry_INTERFACE_DEFINED__ */ |
| 397 | |
| 398 | /***************************************************************************** |
| 399 | * ITravelLogStg interface |
| 400 | */ |
| 401 | #ifndef __ITravelLogStg_INTERFACE_DEFINED__ |
| 402 | #define __ITravelLogStg_INTERFACE_DEFINED__ |
| 403 | |
| 404 | DEFINE_GUID(IID_ITravelLogStg, 0x7ebfdd80, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8); |
| 405 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 406 | MIDL_INTERFACE("7ebfdd80-ad18-11d3-a4c5-00c04f72d6b8") |
| 407 | ITravelLogStg : public IUnknown |
| 408 | { |
| 409 | virtual HRESULT STDMETHODCALLTYPE CreateEntry( |
| 410 | LPCWSTR pszUrl, |
| 411 | LPCWSTR pszTitle, |
| 412 | ITravelLogEntry *ptleRelativeTo, |
| 413 | WINBOOL fPrepend, |
| 414 | ITravelLogEntry **pptle) = 0; |
| 415 | |
| 416 | virtual HRESULT STDMETHODCALLTYPE TravelTo( |
| 417 | ITravelLogEntry *ptle) = 0; |
| 418 | |
| 419 | virtual HRESULT STDMETHODCALLTYPE EnumEntries( |
| 420 | TLENUMF flags, |
| 421 | IEnumTravelLogEntry **ppenum) = 0; |
| 422 | |
| 423 | virtual HRESULT STDMETHODCALLTYPE FindEntries( |
| 424 | TLENUMF flags, |
| 425 | LPCWSTR pszUrl, |
| 426 | IEnumTravelLogEntry **ppenum) = 0; |
| 427 | |
| 428 | virtual HRESULT STDMETHODCALLTYPE GetCount( |
| 429 | TLENUMF flags, |
| 430 | DWORD *pcEntries) = 0; |
| 431 | |
| 432 | virtual HRESULT STDMETHODCALLTYPE RemoveEntry( |
| 433 | ITravelLogEntry *ptle) = 0; |
| 434 | |
| 435 | virtual HRESULT STDMETHODCALLTYPE GetRelativeEntry( |
| 436 | int iOffset, |
| 437 | ITravelLogEntry **ptle) = 0; |
| 438 | |
| 439 | }; |
| 440 | #ifdef __CRT_UUID_DECL |
| 441 | __CRT_UUID_DECL(ITravelLogStg, 0x7ebfdd80, 0xad18, 0x11d3, 0xa4,0xc5, 0x00,0xc0,0x4f,0x72,0xd6,0xb8) |
| 442 | #endif |
| 443 | #else |
| 444 | typedef struct ITravelLogStgVtbl { |
| 445 | BEGIN_INTERFACE |
| 446 | |
| 447 | /*** IUnknown methods ***/ |
| 448 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 449 | ITravelLogStg *This, |
| 450 | REFIID riid, |
| 451 | void **ppvObject); |
| 452 | |
| 453 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 454 | ITravelLogStg *This); |
| 455 | |
| 456 | ULONG (STDMETHODCALLTYPE *Release)( |
| 457 | ITravelLogStg *This); |
| 458 | |
| 459 | /*** ITravelLogStg methods ***/ |
| 460 | HRESULT (STDMETHODCALLTYPE *CreateEntry)( |
| 461 | ITravelLogStg *This, |
| 462 | LPCWSTR pszUrl, |
| 463 | LPCWSTR pszTitle, |
| 464 | ITravelLogEntry *ptleRelativeTo, |
| 465 | WINBOOL fPrepend, |
| 466 | ITravelLogEntry **pptle); |
| 467 | |
| 468 | HRESULT (STDMETHODCALLTYPE *TravelTo)( |
| 469 | ITravelLogStg *This, |
| 470 | ITravelLogEntry *ptle); |
| 471 | |
| 472 | HRESULT (STDMETHODCALLTYPE *EnumEntries)( |
| 473 | ITravelLogStg *This, |
| 474 | TLENUMF flags, |
| 475 | IEnumTravelLogEntry **ppenum); |
| 476 | |
| 477 | HRESULT (STDMETHODCALLTYPE *FindEntries)( |
| 478 | ITravelLogStg *This, |
| 479 | TLENUMF flags, |
| 480 | LPCWSTR pszUrl, |
| 481 | IEnumTravelLogEntry **ppenum); |
| 482 | |
| 483 | HRESULT (STDMETHODCALLTYPE *GetCount)( |
| 484 | ITravelLogStg *This, |
| 485 | TLENUMF flags, |
| 486 | DWORD *pcEntries); |
| 487 | |
| 488 | HRESULT (STDMETHODCALLTYPE *RemoveEntry)( |
| 489 | ITravelLogStg *This, |
| 490 | ITravelLogEntry *ptle); |
| 491 | |
| 492 | HRESULT (STDMETHODCALLTYPE *GetRelativeEntry)( |
| 493 | ITravelLogStg *This, |
| 494 | int iOffset, |
| 495 | ITravelLogEntry **ptle); |
| 496 | |
| 497 | END_INTERFACE |
| 498 | } ITravelLogStgVtbl; |
| 499 | |
| 500 | interface ITravelLogStg { |
| 501 | CONST_VTBL ITravelLogStgVtbl* lpVtbl; |
| 502 | }; |
| 503 | |
| 504 | #ifdef COBJMACROS |
| 505 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 506 | /*** IUnknown methods ***/ |
| 507 | #define ITravelLogStg_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 508 | #define ITravelLogStg_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 509 | #define ITravelLogStg_Release(This) (This)->lpVtbl->Release(This) |
| 510 | /*** ITravelLogStg methods ***/ |
| 511 | #define ITravelLogStg_CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle) (This)->lpVtbl->CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle) |
| 512 | #define ITravelLogStg_TravelTo(This,ptle) (This)->lpVtbl->TravelTo(This,ptle) |
| 513 | #define ITravelLogStg_EnumEntries(This,flags,ppenum) (This)->lpVtbl->EnumEntries(This,flags,ppenum) |
| 514 | #define ITravelLogStg_FindEntries(This,flags,pszUrl,ppenum) (This)->lpVtbl->FindEntries(This,flags,pszUrl,ppenum) |
| 515 | #define ITravelLogStg_GetCount(This,flags,pcEntries) (This)->lpVtbl->GetCount(This,flags,pcEntries) |
| 516 | #define ITravelLogStg_RemoveEntry(This,ptle) (This)->lpVtbl->RemoveEntry(This,ptle) |
| 517 | #define ITravelLogStg_GetRelativeEntry(This,iOffset,ptle) (This)->lpVtbl->GetRelativeEntry(This,iOffset,ptle) |
| 518 | #else |
| 519 | /*** IUnknown methods ***/ |
| 520 | static inline HRESULT ITravelLogStg_QueryInterface(ITravelLogStg* This,REFIID riid,void **ppvObject) { |
| 521 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 522 | } |
| 523 | static inline ULONG ITravelLogStg_AddRef(ITravelLogStg* This) { |
| 524 | return This->lpVtbl->AddRef(This); |
| 525 | } |
| 526 | static inline ULONG ITravelLogStg_Release(ITravelLogStg* This) { |
| 527 | return This->lpVtbl->Release(This); |
| 528 | } |
| 529 | /*** ITravelLogStg methods ***/ |
| 530 | static inline HRESULT ITravelLogStg_CreateEntry(ITravelLogStg* This,LPCWSTR pszUrl,LPCWSTR pszTitle,ITravelLogEntry *ptleRelativeTo,WINBOOL fPrepend,ITravelLogEntry **pptle) { |
| 531 | return This->lpVtbl->CreateEntry(This,pszUrl,pszTitle,ptleRelativeTo,fPrepend,pptle); |
| 532 | } |
| 533 | static inline HRESULT ITravelLogStg_TravelTo(ITravelLogStg* This,ITravelLogEntry *ptle) { |
| 534 | return This->lpVtbl->TravelTo(This,ptle); |
| 535 | } |
| 536 | static inline HRESULT ITravelLogStg_EnumEntries(ITravelLogStg* This,TLENUMF flags,IEnumTravelLogEntry **ppenum) { |
| 537 | return This->lpVtbl->EnumEntries(This,flags,ppenum); |
| 538 | } |
| 539 | static inline HRESULT ITravelLogStg_FindEntries(ITravelLogStg* This,TLENUMF flags,LPCWSTR pszUrl,IEnumTravelLogEntry **ppenum) { |
| 540 | return This->lpVtbl->FindEntries(This,flags,pszUrl,ppenum); |
| 541 | } |
| 542 | static inline HRESULT ITravelLogStg_GetCount(ITravelLogStg* This,TLENUMF flags,DWORD *pcEntries) { |
| 543 | return This->lpVtbl->GetCount(This,flags,pcEntries); |
| 544 | } |
| 545 | static inline HRESULT ITravelLogStg_RemoveEntry(ITravelLogStg* This,ITravelLogEntry *ptle) { |
| 546 | return This->lpVtbl->RemoveEntry(This,ptle); |
| 547 | } |
| 548 | static inline HRESULT ITravelLogStg_GetRelativeEntry(ITravelLogStg* This,int iOffset,ITravelLogEntry **ptle) { |
| 549 | return This->lpVtbl->GetRelativeEntry(This,iOffset,ptle); |
| 550 | } |
| 551 | #endif |
| 552 | #endif |
| 553 | |
| 554 | #endif |
| 555 | |
| 556 | |
| 557 | #endif /* __ITravelLogStg_INTERFACE_DEFINED__ */ |
| 558 | |
| 559 | #endif |
| 560 | /* Begin additional prototypes for all interfaces */ |
| 561 | |
| 562 | ULONG __RPC_USER PIDLIST_ABSOLUTE_UserSize (ULONG *, ULONG, PIDLIST_ABSOLUTE *); |
| 563 | unsigned char * __RPC_USER PIDLIST_ABSOLUTE_UserMarshal (ULONG *, unsigned char *, PIDLIST_ABSOLUTE *); |
| 564 | unsigned char * __RPC_USER PIDLIST_ABSOLUTE_UserUnmarshal(ULONG *, unsigned char *, PIDLIST_ABSOLUTE *); |
| 565 | void __RPC_USER PIDLIST_ABSOLUTE_UserFree (ULONG *, PIDLIST_ABSOLUTE *); |
| 566 | |
| 567 | /* End additional prototypes */ |
| 568 | |
| 569 | #ifdef __cplusplus |
| 570 | } |
| 571 | #endif |
| 572 | |
| 573 | #endif /* __tlogstg_h__ */ |