winemenubuilder: Use nameless unions.
[wine/zf.git] / include / tlogstg.idl
blobff82ffca7156038b0bd1c9112b8f697b2782b32c
1 /*
2 * Copyright 2012 Jacek Caban for CodeWeavers
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.
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.
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
19 import "objidl.idl";
20 import "oleidl.idl";
21 import "shtypes.idl";
23 typedef 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;
32 typedef WINDOWDATA *LPWINDOWDATA;
33 typedef const WINDOWDATA *LPCWINDOWDATA;
36 uuid(241c033e-e659-43da-aa4d-4086dbc4758d),
37 object
39 interface ITravelLogClient : IUnknown
41 HRESULT FindWindowByIndex(
42 [in] DWORD dwID,
43 [out] IUnknown **ppunk);
45 HRESULT GetWindowData(
46 [in] IStream *pStream,
47 [out] LPWINDOWDATA pWinData);
49 HRESULT LoadHistoryPosition(
50 [in] LPWSTR pszUrlLocation,
51 [in] DWORD dwPosition);