2 * Copyright 2006 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
23 import "servprov.idl";
25 typedef enum _ADDURL_FLAG
28 ADDURL_ADDTOHISTORYANDCACHE = 0,
29 ADDURL_ADDTOCACHE = 1,
30 ADDURL_Max = 0x7fffffff
33 /*****************************************************************************
34 * IEnumSTATURL interface
38 uuid(3c374a42-bae4-11cf-bf7d-00aa006946ee),
39 pointer_default(unique)
41 interface IEnumSTATURL : IUnknown
43 typedef [unique] IEnumSTATURL *LPENUMSTATURL;
45 typedef struct _STATURL
50 FILETIME ftLastVisited;
51 FILETIME ftLastUpdated;
54 } STATURL, *LPSTATURL;
58 [in, out] LPSTATURL rgelt,
59 [in, out] ULONG *pceltFetched);
61 HRESULT Skip([in] ULONG celt);
63 HRESULT Clone([out] IEnumSTATURL **ppenum);
66 [in] LPCOLESTR poszFilter,
70 /*****************************************************************************
71 * IUrlHistoryStg interface
75 uuid(3c374a41-bae4-11cf-bf7d-00aa006946ee),
76 pointer_default(unique)
78 interface IUrlHistoryStg : IUnknown
80 typedef [unique] IUrlHistoryStg *LPURLHISTORYSTG;
83 [in] LPCOLESTR pocsUrl,
84 [in, unique] LPCOLESTR pocsTitle,
88 [in] LPCOLESTR pocsUrl,
92 [in] LPCOLESTR pocsUrl,
94 [in, out, unique] LPSTATURL lpSTATURL);
97 [in] LPCOLESTR pocsUrl,
99 [out, iid_is(riid)] void **ppvOut);
102 [out] IEnumSTATURL **ppEnum);
105 /*****************************************************************************
106 * IUrlHistoryStg2 interface
110 uuid(afa0dc11-c313-11d0-831a-00c04fd5ae38),
111 pointer_default(unique)
113 interface IUrlHistoryStg2 : IUrlHistoryStg
115 typedef [unique] IUrlHistoryStg2 *LPURLHISTORYSTG2;
117 HRESULT AddUrlAndNotify(
118 [in] LPCOLESTR pocsUrl,
119 [in,unique] LPCOLESTR pocsTitle,
121 [in] BOOL fWriteHistory,
122 [in] IOleCommandTarget *poctNotify,
123 [in, unique] IUnknown *punkISFolder);
125 HRESULT ClearHistory();
128 /*****************************************************************************
129 * IUrlHistoryNotify interface
133 uuid(bc40bec1-c493-11d0-831b-00C04fd5ae38),
134 pointer_default(unique)
136 interface IUrlHistoryNotify : IOleCommandTarget
138 typedef [unique] IUrlHistoryNotify *LPURLHISTORYNOTIFY;