xref: /reactos/sdk/include/psdk/tlogstg.idl (revision c2c66aff)
1/*
2 * Copyright 2012 Jacek Caban for CodeWeavers
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19import "objidl.idl";
20import "oleidl.idl";
21import "shtypes.idl";
22
23typedef struct _WINDOWDATA {
24    DWORD dwWindowID;
25    UINT uiCP;
26    PIDLIST_ABSOLUTE pidl;
27    [string] LPWSTR lpszUrl;
28    [string] LPWSTR lpszUrlLocation;
29    [string] LPWSTR lpszTitle;
30} WINDOWDATA;
31
32typedef WINDOWDATA *LPWINDOWDATA;
33typedef const WINDOWDATA *LPCWINDOWDATA;
34
35[
36    uuid(241c033e-e659-43da-aa4d-4086dbc4758d),
37    object
38]
39interface ITravelLogClient : IUnknown
40{
41    HRESULT FindWindowByIndex(
42            [in] DWORD dwID,
43            [out] IUnknown **ppunk);
44
45    HRESULT GetWindowData(
46            [in] IStream *pStream,
47            [out] LPWINDOWDATA pWinData);
48
49    HRESULT LoadHistoryPosition(
50            [in] LPWSTR pszUrlLocation,
51            [in] DWORD dwPosition);
52}
53
54enum tagTLENUMF
55{
56    TLEF_RELATIVE_INCLUDE_CURRENT   = 0x00000001,
57    TLEF_RELATIVE_BACK              = 0x00000010,
58    TLEF_RELATIVE_FORE              = 0x00000020,
59    TLEF_INCLUDE_UNINVOKEABLE       = 0x00000040,
60    TLEF_ABSOLUTE                   = 0x00000031,
61};
62typedef DWORD TLENUMF;
63