source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/tlogstg.idl@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.5 KB
RevLine 
[1166]1cpp_quote("/**")
2cpp_quote(" * This file is part of the mingw-w64 runtime package.")
3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
4cpp_quote(" */")
5cpp_quote("")
6
7import "objidl.idl";
8import "oleidl.idl";
9import "shtypes.idl";
10
11cpp_quote("#include <winapifamily.h>")
12cpp_quote("")
13cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
14cpp_quote("")
15cpp_quote("#define SID_STravelLogCursor IID_ITravelLogStg")
16
17enum tagTLENUMF {
18 TLEF_RELATIVE_INCLUDE_CURRENT = 0x00000001,
19 TLEF_RELATIVE_BACK = 0x00000010,
20 TLEF_RELATIVE_FORE = 0x00000020,
21 TLEF_INCLUDE_UNINVOKEABLE = 0x00000040,
22 TLEF_ABSOLUTE = 0x00000031,
23 TLEF_EXCLUDE_SUBFRAME_ENTRIES = 0x00000080,
24};
25
26typedef struct _WINDOWDATA {
27 DWORD dwWindowID;
28 UINT uiCP;
29 PIDLIST_ABSOLUTE pidl;
30 [string] LPWSTR lpszUrl;
31 [string] LPWSTR lpszUrlLocation;
32 [string] LPWSTR lpszTitle;
33} WINDOWDATA;
34
35typedef DWORD TLENUMF;
36typedef WINDOWDATA *LPWINDOWDATA;
37typedef const WINDOWDATA *LPCWINDOWDATA;
38
39[object, uuid (7ebfdd87-ad18-11d3-a4c5-00c04f72d6b8)]
40interface ITravelLogEntry : IUnknown {
41 HRESULT GetTitle ([out] LPWSTR *ppszTitle);
42 HRESULT GetURL ([out] LPWSTR *ppszURL);
43};
44
45[object, uuid (241c033e-e659-43da-aa4d-4086dbc4758d)]
46interface ITravelLogClient : IUnknown {
47 HRESULT FindWindowByIndex ([in] DWORD dwID,[out] IUnknown **ppunk);
48 HRESULT GetWindowData ([in] IStream *pStream,[out] LPWINDOWDATA pWinData);
49 HRESULT LoadHistoryPosition ([in] LPWSTR pszUrlLocation,[in] DWORD dwPosition);
50};
51
52[object, uuid (7ebfdd85-ad18-11d3-a4c5-00c04f72d6b8)]
53interface IEnumTravelLogEntry : IUnknown {
54 HRESULT Next ([in] ULONG cElt,[out, size_is (cElt), length_is (*pcEltFetched)] ITravelLogEntry **rgElt,[out] ULONG *pcEltFetched);
55 HRESULT Skip ([in] ULONG cElt);
56 HRESULT Reset (void);
57 HRESULT Clone ([out] IEnumTravelLogEntry **ppEnum);
58};
59
60[object, uuid (7ebfdd80-ad18-11d3-a4c5-00c04f72d6b8), pointer_default (unique)]
61interface ITravelLogStg : IUnknown {
62 HRESULT CreateEntry ([in] LPCWSTR pszUrl,[in] LPCWSTR pszTitle,[in] ITravelLogEntry *ptleRelativeTo,[in] BOOL fPrepend,[out] ITravelLogEntry **pptle);
63 HRESULT TravelTo ([in] ITravelLogEntry *ptle);
64 HRESULT EnumEntries ([in] TLENUMF flags,[out] IEnumTravelLogEntry **ppenum);
65 HRESULT FindEntries ([in] TLENUMF flags,[in] LPCWSTR pszUrl,[out] IEnumTravelLogEntry **ppenum);
66 HRESULT GetCount ([in] TLENUMF flags,[out] DWORD *pcEntries);
67 HRESULT RemoveEntry ([in] ITravelLogEntry *ptle);
68 HRESULT GetRelativeEntry ([in] int iOffset,[out] ITravelLogEntry **ptle);
69};
70cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.