1 | cpp_quote("/**")
|
---|
2 | cpp_quote(" * This file is part of the mingw-w64 runtime package.")
|
---|
3 | cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
|
---|
4 | cpp_quote(" */")
|
---|
5 | cpp_quote("")
|
---|
6 |
|
---|
7 | import "objidl.idl";
|
---|
8 | import "oleidl.idl";
|
---|
9 | import "shtypes.idl";
|
---|
10 |
|
---|
11 | cpp_quote("#include <winapifamily.h>")
|
---|
12 | cpp_quote("")
|
---|
13 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
14 | cpp_quote("")
|
---|
15 | cpp_quote("#define SID_STravelLogCursor IID_ITravelLogStg")
|
---|
16 |
|
---|
17 | enum 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 |
|
---|
26 | typedef 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 |
|
---|
35 | typedef DWORD TLENUMF;
|
---|
36 | typedef WINDOWDATA *LPWINDOWDATA;
|
---|
37 | typedef const WINDOWDATA *LPCWINDOWDATA;
|
---|
38 |
|
---|
39 | [object, uuid (7ebfdd87-ad18-11d3-a4c5-00c04f72d6b8)]
|
---|
40 | interface ITravelLogEntry : IUnknown {
|
---|
41 | HRESULT GetTitle ([out] LPWSTR *ppszTitle);
|
---|
42 | HRESULT GetURL ([out] LPWSTR *ppszURL);
|
---|
43 | };
|
---|
44 |
|
---|
45 | [object, uuid (241c033e-e659-43da-aa4d-4086dbc4758d)]
|
---|
46 | interface 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)]
|
---|
53 | interface 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)]
|
---|
61 | interface 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 | };
|
---|
70 | cpp_quote("#endif")
|
---|