Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

841 lines
23 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for urlhist.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __urlhist_h__
  27. #define __urlhist_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IEnumSTATURL_FWD_DEFINED__
  33. #define __IEnumSTATURL_FWD_DEFINED__
  34. typedef interface IEnumSTATURL IEnumSTATURL;
  35. #endif /* __IEnumSTATURL_FWD_DEFINED__ */
  36. #ifndef __IUrlHistoryStg_FWD_DEFINED__
  37. #define __IUrlHistoryStg_FWD_DEFINED__
  38. typedef interface IUrlHistoryStg IUrlHistoryStg;
  39. #endif /* __IUrlHistoryStg_FWD_DEFINED__ */
  40. #ifndef __IUrlHistoryStg2_FWD_DEFINED__
  41. #define __IUrlHistoryStg2_FWD_DEFINED__
  42. typedef interface IUrlHistoryStg2 IUrlHistoryStg2;
  43. #endif /* __IUrlHistoryStg2_FWD_DEFINED__ */
  44. #ifndef __IUrlHistoryNotify_FWD_DEFINED__
  45. #define __IUrlHistoryNotify_FWD_DEFINED__
  46. typedef interface IUrlHistoryNotify IUrlHistoryNotify;
  47. #endif /* __IUrlHistoryNotify_FWD_DEFINED__ */
  48. /* header files for imported files */
  49. #include "objidl.h"
  50. #include "oleidl.h"
  51. #include "oaidl.h"
  52. #include "docobj.h"
  53. #ifdef __cplusplus
  54. extern "C"{
  55. #endif
  56. void * __RPC_USER MIDL_user_allocate(size_t);
  57. void __RPC_USER MIDL_user_free( void * );
  58. /* interface __MIDL_itf_urlhist_0000 */
  59. /* [local] */
  60. //=--------------------------------------------------------------------------=
  61. // UrlHist.h
  62. //=--------------------------------------------------------------------------=
  63. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  64. //
  65. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  66. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  67. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  68. // PARTICULAR PURPOSE.
  69. //=--------------------------------------------------------------------------=
  70. #pragma comment(lib,"uuid.lib")
  71. //---------------------------------------------------------------------------=
  72. // Url History Interfaces.
  73. #define STATURL_QUERYFLAG_ISCACHED 0x00010000
  74. #define STATURL_QUERYFLAG_NOURL 0x00020000
  75. #define STATURL_QUERYFLAG_NOTITLE 0x00040000
  76. #define STATURL_QUERYFLAG_TOPLEVEL 0x00080000
  77. #define STATURLFLAG_ISCACHED 0x00000001
  78. #define STATURLFLAG_ISTOPLEVEL 0x00000002
  79. typedef
  80. enum _ADDURL_FLAG
  81. { ADDURL_FIRST = 0,
  82. ADDURL_ADDTOHISTORYANDCACHE = 0,
  83. ADDURL_ADDTOCACHE = 1,
  84. ADDURL_Max = 2147483647L
  85. } ADDURL_FLAG;
  86. ////////////////////////////////////////////////////////////////////////////
  87. // Interface Definitions
  88. #ifndef _LPENUMSTATURL_DEFINED
  89. #define _LPENUMSTATURL_DEFINED
  90. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0000_v0_0_c_ifspec;
  91. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0000_v0_0_s_ifspec;
  92. #ifndef __IEnumSTATURL_INTERFACE_DEFINED__
  93. #define __IEnumSTATURL_INTERFACE_DEFINED__
  94. /* interface IEnumSTATURL */
  95. /* [unique][uuid][object] */
  96. typedef /* [unique] */ IEnumSTATURL *LPENUMSTATURL;
  97. typedef struct _STATURL
  98. {
  99. DWORD cbSize;
  100. LPWSTR pwcsUrl;
  101. LPWSTR pwcsTitle;
  102. FILETIME ftLastVisited;
  103. FILETIME ftLastUpdated;
  104. FILETIME ftExpires;
  105. DWORD dwFlags;
  106. } STATURL;
  107. typedef struct _STATURL *LPSTATURL;
  108. EXTERN_C const IID IID_IEnumSTATURL;
  109. #if defined(__cplusplus) && !defined(CINTERFACE)
  110. MIDL_INTERFACE("3C374A42-BAE4-11CF-BF7D-00AA006946EE")
  111. IEnumSTATURL : public IUnknown
  112. {
  113. public:
  114. virtual HRESULT STDMETHODCALLTYPE Next(
  115. /* [in] */ ULONG celt,
  116. /* [out][in] */ LPSTATURL rgelt,
  117. /* [out][in] */ ULONG *pceltFetched) = 0;
  118. virtual HRESULT STDMETHODCALLTYPE Skip(
  119. /* [in] */ ULONG celt) = 0;
  120. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  121. virtual HRESULT STDMETHODCALLTYPE Clone(
  122. /* [out] */ IEnumSTATURL **ppenum) = 0;
  123. virtual HRESULT STDMETHODCALLTYPE SetFilter(
  124. /* [in] */ LPCOLESTR poszFilter,
  125. /* [in] */ DWORD dwFlags) = 0;
  126. };
  127. #else /* C style interface */
  128. typedef struct IEnumSTATURLVtbl
  129. {
  130. BEGIN_INTERFACE
  131. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  132. IEnumSTATURL * This,
  133. /* [in] */ REFIID riid,
  134. /* [iid_is][out] */ void **ppvObject);
  135. ULONG ( STDMETHODCALLTYPE *AddRef )(
  136. IEnumSTATURL * This);
  137. ULONG ( STDMETHODCALLTYPE *Release )(
  138. IEnumSTATURL * This);
  139. HRESULT ( STDMETHODCALLTYPE *Next )(
  140. IEnumSTATURL * This,
  141. /* [in] */ ULONG celt,
  142. /* [out][in] */ LPSTATURL rgelt,
  143. /* [out][in] */ ULONG *pceltFetched);
  144. HRESULT ( STDMETHODCALLTYPE *Skip )(
  145. IEnumSTATURL * This,
  146. /* [in] */ ULONG celt);
  147. HRESULT ( STDMETHODCALLTYPE *Reset )(
  148. IEnumSTATURL * This);
  149. HRESULT ( STDMETHODCALLTYPE *Clone )(
  150. IEnumSTATURL * This,
  151. /* [out] */ IEnumSTATURL **ppenum);
  152. HRESULT ( STDMETHODCALLTYPE *SetFilter )(
  153. IEnumSTATURL * This,
  154. /* [in] */ LPCOLESTR poszFilter,
  155. /* [in] */ DWORD dwFlags);
  156. END_INTERFACE
  157. } IEnumSTATURLVtbl;
  158. interface IEnumSTATURL
  159. {
  160. CONST_VTBL struct IEnumSTATURLVtbl *lpVtbl;
  161. };
  162. #ifdef COBJMACROS
  163. #define IEnumSTATURL_QueryInterface(This,riid,ppvObject) \
  164. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  165. #define IEnumSTATURL_AddRef(This) \
  166. (This)->lpVtbl -> AddRef(This)
  167. #define IEnumSTATURL_Release(This) \
  168. (This)->lpVtbl -> Release(This)
  169. #define IEnumSTATURL_Next(This,celt,rgelt,pceltFetched) \
  170. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  171. #define IEnumSTATURL_Skip(This,celt) \
  172. (This)->lpVtbl -> Skip(This,celt)
  173. #define IEnumSTATURL_Reset(This) \
  174. (This)->lpVtbl -> Reset(This)
  175. #define IEnumSTATURL_Clone(This,ppenum) \
  176. (This)->lpVtbl -> Clone(This,ppenum)
  177. #define IEnumSTATURL_SetFilter(This,poszFilter,dwFlags) \
  178. (This)->lpVtbl -> SetFilter(This,poszFilter,dwFlags)
  179. #endif /* COBJMACROS */
  180. #endif /* C style interface */
  181. HRESULT STDMETHODCALLTYPE IEnumSTATURL_Next_Proxy(
  182. IEnumSTATURL * This,
  183. /* [in] */ ULONG celt,
  184. /* [out][in] */ LPSTATURL rgelt,
  185. /* [out][in] */ ULONG *pceltFetched);
  186. void __RPC_STUB IEnumSTATURL_Next_Stub(
  187. IRpcStubBuffer *This,
  188. IRpcChannelBuffer *_pRpcChannelBuffer,
  189. PRPC_MESSAGE _pRpcMessage,
  190. DWORD *_pdwStubPhase);
  191. HRESULT STDMETHODCALLTYPE IEnumSTATURL_Skip_Proxy(
  192. IEnumSTATURL * This,
  193. /* [in] */ ULONG celt);
  194. void __RPC_STUB IEnumSTATURL_Skip_Stub(
  195. IRpcStubBuffer *This,
  196. IRpcChannelBuffer *_pRpcChannelBuffer,
  197. PRPC_MESSAGE _pRpcMessage,
  198. DWORD *_pdwStubPhase);
  199. HRESULT STDMETHODCALLTYPE IEnumSTATURL_Reset_Proxy(
  200. IEnumSTATURL * This);
  201. void __RPC_STUB IEnumSTATURL_Reset_Stub(
  202. IRpcStubBuffer *This,
  203. IRpcChannelBuffer *_pRpcChannelBuffer,
  204. PRPC_MESSAGE _pRpcMessage,
  205. DWORD *_pdwStubPhase);
  206. HRESULT STDMETHODCALLTYPE IEnumSTATURL_Clone_Proxy(
  207. IEnumSTATURL * This,
  208. /* [out] */ IEnumSTATURL **ppenum);
  209. void __RPC_STUB IEnumSTATURL_Clone_Stub(
  210. IRpcStubBuffer *This,
  211. IRpcChannelBuffer *_pRpcChannelBuffer,
  212. PRPC_MESSAGE _pRpcMessage,
  213. DWORD *_pdwStubPhase);
  214. HRESULT STDMETHODCALLTYPE IEnumSTATURL_SetFilter_Proxy(
  215. IEnumSTATURL * This,
  216. /* [in] */ LPCOLESTR poszFilter,
  217. /* [in] */ DWORD dwFlags);
  218. void __RPC_STUB IEnumSTATURL_SetFilter_Stub(
  219. IRpcStubBuffer *This,
  220. IRpcChannelBuffer *_pRpcChannelBuffer,
  221. PRPC_MESSAGE _pRpcMessage,
  222. DWORD *_pdwStubPhase);
  223. #endif /* __IEnumSTATURL_INTERFACE_DEFINED__ */
  224. /* interface __MIDL_itf_urlhist_0273 */
  225. /* [local] */
  226. #endif
  227. #ifndef _LPURLHISTORYSTG_DEFINED
  228. #define _LPURLHISTORYSTG_DEFINED
  229. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0273_v0_0_c_ifspec;
  230. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0273_v0_0_s_ifspec;
  231. #ifndef __IUrlHistoryStg_INTERFACE_DEFINED__
  232. #define __IUrlHistoryStg_INTERFACE_DEFINED__
  233. /* interface IUrlHistoryStg */
  234. /* [unique][uuid][object] */
  235. typedef /* [unique] */ IUrlHistoryStg *LPURLHISTORYSTG;
  236. EXTERN_C const IID IID_IUrlHistoryStg;
  237. #if defined(__cplusplus) && !defined(CINTERFACE)
  238. MIDL_INTERFACE("3C374A41-BAE4-11CF-BF7D-00AA006946EE")
  239. IUrlHistoryStg : public IUnknown
  240. {
  241. public:
  242. virtual HRESULT STDMETHODCALLTYPE AddUrl(
  243. /* [in] */ LPCOLESTR pocsUrl,
  244. /* [unique][in] */ LPCOLESTR pocsTitle,
  245. /* [in] */ DWORD dwFlags) = 0;
  246. virtual HRESULT STDMETHODCALLTYPE DeleteUrl(
  247. /* [in] */ LPCOLESTR pocsUrl,
  248. /* [in] */ DWORD dwFlags) = 0;
  249. virtual HRESULT STDMETHODCALLTYPE QueryUrl(
  250. /* [in] */ LPCOLESTR pocsUrl,
  251. /* [in] */ DWORD dwFlags,
  252. /* [unique][out][in] */ LPSTATURL lpSTATURL) = 0;
  253. virtual HRESULT STDMETHODCALLTYPE BindToObject(
  254. /* [in] */ LPCOLESTR pocsUrl,
  255. /* [in] */ REFIID riid,
  256. /* [iid_is][out] */ void **ppvOut) = 0;
  257. virtual HRESULT STDMETHODCALLTYPE EnumUrls(
  258. /* [out] */ IEnumSTATURL **ppEnum) = 0;
  259. };
  260. #else /* C style interface */
  261. typedef struct IUrlHistoryStgVtbl
  262. {
  263. BEGIN_INTERFACE
  264. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  265. IUrlHistoryStg * This,
  266. /* [in] */ REFIID riid,
  267. /* [iid_is][out] */ void **ppvObject);
  268. ULONG ( STDMETHODCALLTYPE *AddRef )(
  269. IUrlHistoryStg * This);
  270. ULONG ( STDMETHODCALLTYPE *Release )(
  271. IUrlHistoryStg * This);
  272. HRESULT ( STDMETHODCALLTYPE *AddUrl )(
  273. IUrlHistoryStg * This,
  274. /* [in] */ LPCOLESTR pocsUrl,
  275. /* [unique][in] */ LPCOLESTR pocsTitle,
  276. /* [in] */ DWORD dwFlags);
  277. HRESULT ( STDMETHODCALLTYPE *DeleteUrl )(
  278. IUrlHistoryStg * This,
  279. /* [in] */ LPCOLESTR pocsUrl,
  280. /* [in] */ DWORD dwFlags);
  281. HRESULT ( STDMETHODCALLTYPE *QueryUrl )(
  282. IUrlHistoryStg * This,
  283. /* [in] */ LPCOLESTR pocsUrl,
  284. /* [in] */ DWORD dwFlags,
  285. /* [unique][out][in] */ LPSTATURL lpSTATURL);
  286. HRESULT ( STDMETHODCALLTYPE *BindToObject )(
  287. IUrlHistoryStg * This,
  288. /* [in] */ LPCOLESTR pocsUrl,
  289. /* [in] */ REFIID riid,
  290. /* [iid_is][out] */ void **ppvOut);
  291. HRESULT ( STDMETHODCALLTYPE *EnumUrls )(
  292. IUrlHistoryStg * This,
  293. /* [out] */ IEnumSTATURL **ppEnum);
  294. END_INTERFACE
  295. } IUrlHistoryStgVtbl;
  296. interface IUrlHistoryStg
  297. {
  298. CONST_VTBL struct IUrlHistoryStgVtbl *lpVtbl;
  299. };
  300. #ifdef COBJMACROS
  301. #define IUrlHistoryStg_QueryInterface(This,riid,ppvObject) \
  302. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  303. #define IUrlHistoryStg_AddRef(This) \
  304. (This)->lpVtbl -> AddRef(This)
  305. #define IUrlHistoryStg_Release(This) \
  306. (This)->lpVtbl -> Release(This)
  307. #define IUrlHistoryStg_AddUrl(This,pocsUrl,pocsTitle,dwFlags) \
  308. (This)->lpVtbl -> AddUrl(This,pocsUrl,pocsTitle,dwFlags)
  309. #define IUrlHistoryStg_DeleteUrl(This,pocsUrl,dwFlags) \
  310. (This)->lpVtbl -> DeleteUrl(This,pocsUrl,dwFlags)
  311. #define IUrlHistoryStg_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) \
  312. (This)->lpVtbl -> QueryUrl(This,pocsUrl,dwFlags,lpSTATURL)
  313. #define IUrlHistoryStg_BindToObject(This,pocsUrl,riid,ppvOut) \
  314. (This)->lpVtbl -> BindToObject(This,pocsUrl,riid,ppvOut)
  315. #define IUrlHistoryStg_EnumUrls(This,ppEnum) \
  316. (This)->lpVtbl -> EnumUrls(This,ppEnum)
  317. #endif /* COBJMACROS */
  318. #endif /* C style interface */
  319. HRESULT STDMETHODCALLTYPE IUrlHistoryStg_AddUrl_Proxy(
  320. IUrlHistoryStg * This,
  321. /* [in] */ LPCOLESTR pocsUrl,
  322. /* [unique][in] */ LPCOLESTR pocsTitle,
  323. /* [in] */ DWORD dwFlags);
  324. void __RPC_STUB IUrlHistoryStg_AddUrl_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. HRESULT STDMETHODCALLTYPE IUrlHistoryStg_DeleteUrl_Proxy(
  330. IUrlHistoryStg * This,
  331. /* [in] */ LPCOLESTR pocsUrl,
  332. /* [in] */ DWORD dwFlags);
  333. void __RPC_STUB IUrlHistoryStg_DeleteUrl_Stub(
  334. IRpcStubBuffer *This,
  335. IRpcChannelBuffer *_pRpcChannelBuffer,
  336. PRPC_MESSAGE _pRpcMessage,
  337. DWORD *_pdwStubPhase);
  338. HRESULT STDMETHODCALLTYPE IUrlHistoryStg_QueryUrl_Proxy(
  339. IUrlHistoryStg * This,
  340. /* [in] */ LPCOLESTR pocsUrl,
  341. /* [in] */ DWORD dwFlags,
  342. /* [unique][out][in] */ LPSTATURL lpSTATURL);
  343. void __RPC_STUB IUrlHistoryStg_QueryUrl_Stub(
  344. IRpcStubBuffer *This,
  345. IRpcChannelBuffer *_pRpcChannelBuffer,
  346. PRPC_MESSAGE _pRpcMessage,
  347. DWORD *_pdwStubPhase);
  348. HRESULT STDMETHODCALLTYPE IUrlHistoryStg_BindToObject_Proxy(
  349. IUrlHistoryStg * This,
  350. /* [in] */ LPCOLESTR pocsUrl,
  351. /* [in] */ REFIID riid,
  352. /* [iid_is][out] */ void **ppvOut);
  353. void __RPC_STUB IUrlHistoryStg_BindToObject_Stub(
  354. IRpcStubBuffer *This,
  355. IRpcChannelBuffer *_pRpcChannelBuffer,
  356. PRPC_MESSAGE _pRpcMessage,
  357. DWORD *_pdwStubPhase);
  358. HRESULT STDMETHODCALLTYPE IUrlHistoryStg_EnumUrls_Proxy(
  359. IUrlHistoryStg * This,
  360. /* [out] */ IEnumSTATURL **ppEnum);
  361. void __RPC_STUB IUrlHistoryStg_EnumUrls_Stub(
  362. IRpcStubBuffer *This,
  363. IRpcChannelBuffer *_pRpcChannelBuffer,
  364. PRPC_MESSAGE _pRpcMessage,
  365. DWORD *_pdwStubPhase);
  366. #endif /* __IUrlHistoryStg_INTERFACE_DEFINED__ */
  367. /* interface __MIDL_itf_urlhist_0274 */
  368. /* [local] */
  369. #endif
  370. #ifndef _LPURLHISTORYSTG2_DEFINED
  371. #define _LPURLHISTORYSTG2_DEFINED
  372. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0274_v0_0_c_ifspec;
  373. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0274_v0_0_s_ifspec;
  374. #ifndef __IUrlHistoryStg2_INTERFACE_DEFINED__
  375. #define __IUrlHistoryStg2_INTERFACE_DEFINED__
  376. /* interface IUrlHistoryStg2 */
  377. /* [unique][uuid][object] */
  378. typedef /* [unique] */ IUrlHistoryStg2 *LPURLHISTORYSTG2;
  379. EXTERN_C const IID IID_IUrlHistoryStg2;
  380. #if defined(__cplusplus) && !defined(CINTERFACE)
  381. MIDL_INTERFACE("AFA0DC11-C313-11d0-831A-00C04FD5AE38")
  382. IUrlHistoryStg2 : public IUrlHistoryStg
  383. {
  384. public:
  385. virtual HRESULT STDMETHODCALLTYPE AddUrlAndNotify(
  386. /* [in] */ LPCOLESTR pocsUrl,
  387. /* [unique][in] */ LPCOLESTR pocsTitle,
  388. /* [in] */ DWORD dwFlags,
  389. /* [in] */ BOOL fWriteHistory,
  390. /* [in] */ IOleCommandTarget *poctNotify,
  391. /* [unique][in] */ IUnknown *punkISFolder) = 0;
  392. virtual HRESULT STDMETHODCALLTYPE ClearHistory( void) = 0;
  393. };
  394. #else /* C style interface */
  395. typedef struct IUrlHistoryStg2Vtbl
  396. {
  397. BEGIN_INTERFACE
  398. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  399. IUrlHistoryStg2 * This,
  400. /* [in] */ REFIID riid,
  401. /* [iid_is][out] */ void **ppvObject);
  402. ULONG ( STDMETHODCALLTYPE *AddRef )(
  403. IUrlHistoryStg2 * This);
  404. ULONG ( STDMETHODCALLTYPE *Release )(
  405. IUrlHistoryStg2 * This);
  406. HRESULT ( STDMETHODCALLTYPE *AddUrl )(
  407. IUrlHistoryStg2 * This,
  408. /* [in] */ LPCOLESTR pocsUrl,
  409. /* [unique][in] */ LPCOLESTR pocsTitle,
  410. /* [in] */ DWORD dwFlags);
  411. HRESULT ( STDMETHODCALLTYPE *DeleteUrl )(
  412. IUrlHistoryStg2 * This,
  413. /* [in] */ LPCOLESTR pocsUrl,
  414. /* [in] */ DWORD dwFlags);
  415. HRESULT ( STDMETHODCALLTYPE *QueryUrl )(
  416. IUrlHistoryStg2 * This,
  417. /* [in] */ LPCOLESTR pocsUrl,
  418. /* [in] */ DWORD dwFlags,
  419. /* [unique][out][in] */ LPSTATURL lpSTATURL);
  420. HRESULT ( STDMETHODCALLTYPE *BindToObject )(
  421. IUrlHistoryStg2 * This,
  422. /* [in] */ LPCOLESTR pocsUrl,
  423. /* [in] */ REFIID riid,
  424. /* [iid_is][out] */ void **ppvOut);
  425. HRESULT ( STDMETHODCALLTYPE *EnumUrls )(
  426. IUrlHistoryStg2 * This,
  427. /* [out] */ IEnumSTATURL **ppEnum);
  428. HRESULT ( STDMETHODCALLTYPE *AddUrlAndNotify )(
  429. IUrlHistoryStg2 * This,
  430. /* [in] */ LPCOLESTR pocsUrl,
  431. /* [unique][in] */ LPCOLESTR pocsTitle,
  432. /* [in] */ DWORD dwFlags,
  433. /* [in] */ BOOL fWriteHistory,
  434. /* [in] */ IOleCommandTarget *poctNotify,
  435. /* [unique][in] */ IUnknown *punkISFolder);
  436. HRESULT ( STDMETHODCALLTYPE *ClearHistory )(
  437. IUrlHistoryStg2 * This);
  438. END_INTERFACE
  439. } IUrlHistoryStg2Vtbl;
  440. interface IUrlHistoryStg2
  441. {
  442. CONST_VTBL struct IUrlHistoryStg2Vtbl *lpVtbl;
  443. };
  444. #ifdef COBJMACROS
  445. #define IUrlHistoryStg2_QueryInterface(This,riid,ppvObject) \
  446. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  447. #define IUrlHistoryStg2_AddRef(This) \
  448. (This)->lpVtbl -> AddRef(This)
  449. #define IUrlHistoryStg2_Release(This) \
  450. (This)->lpVtbl -> Release(This)
  451. #define IUrlHistoryStg2_AddUrl(This,pocsUrl,pocsTitle,dwFlags) \
  452. (This)->lpVtbl -> AddUrl(This,pocsUrl,pocsTitle,dwFlags)
  453. #define IUrlHistoryStg2_DeleteUrl(This,pocsUrl,dwFlags) \
  454. (This)->lpVtbl -> DeleteUrl(This,pocsUrl,dwFlags)
  455. #define IUrlHistoryStg2_QueryUrl(This,pocsUrl,dwFlags,lpSTATURL) \
  456. (This)->lpVtbl -> QueryUrl(This,pocsUrl,dwFlags,lpSTATURL)
  457. #define IUrlHistoryStg2_BindToObject(This,pocsUrl,riid,ppvOut) \
  458. (This)->lpVtbl -> BindToObject(This,pocsUrl,riid,ppvOut)
  459. #define IUrlHistoryStg2_EnumUrls(This,ppEnum) \
  460. (This)->lpVtbl -> EnumUrls(This,ppEnum)
  461. #define IUrlHistoryStg2_AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder) \
  462. (This)->lpVtbl -> AddUrlAndNotify(This,pocsUrl,pocsTitle,dwFlags,fWriteHistory,poctNotify,punkISFolder)
  463. #define IUrlHistoryStg2_ClearHistory(This) \
  464. (This)->lpVtbl -> ClearHistory(This)
  465. #endif /* COBJMACROS */
  466. #endif /* C style interface */
  467. HRESULT STDMETHODCALLTYPE IUrlHistoryStg2_AddUrlAndNotify_Proxy(
  468. IUrlHistoryStg2 * This,
  469. /* [in] */ LPCOLESTR pocsUrl,
  470. /* [unique][in] */ LPCOLESTR pocsTitle,
  471. /* [in] */ DWORD dwFlags,
  472. /* [in] */ BOOL fWriteHistory,
  473. /* [in] */ IOleCommandTarget *poctNotify,
  474. /* [unique][in] */ IUnknown *punkISFolder);
  475. void __RPC_STUB IUrlHistoryStg2_AddUrlAndNotify_Stub(
  476. IRpcStubBuffer *This,
  477. IRpcChannelBuffer *_pRpcChannelBuffer,
  478. PRPC_MESSAGE _pRpcMessage,
  479. DWORD *_pdwStubPhase);
  480. HRESULT STDMETHODCALLTYPE IUrlHistoryStg2_ClearHistory_Proxy(
  481. IUrlHistoryStg2 * This);
  482. void __RPC_STUB IUrlHistoryStg2_ClearHistory_Stub(
  483. IRpcStubBuffer *This,
  484. IRpcChannelBuffer *_pRpcChannelBuffer,
  485. PRPC_MESSAGE _pRpcMessage,
  486. DWORD *_pdwStubPhase);
  487. #endif /* __IUrlHistoryStg2_INTERFACE_DEFINED__ */
  488. /* interface __MIDL_itf_urlhist_0275 */
  489. /* [local] */
  490. #endif
  491. #ifndef _LPURLHISTORYNOTIFY_DEFINED
  492. #define _LPURLHISTORYNOTIFY_DEFINED
  493. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0275_v0_0_c_ifspec;
  494. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0275_v0_0_s_ifspec;
  495. #ifndef __IUrlHistoryNotify_INTERFACE_DEFINED__
  496. #define __IUrlHistoryNotify_INTERFACE_DEFINED__
  497. /* interface IUrlHistoryNotify */
  498. /* [unique][uuid][object] */
  499. typedef /* [unique] */ IUrlHistoryNotify *LPURLHISTORYNOTIFY;
  500. EXTERN_C const IID IID_IUrlHistoryNotify;
  501. #if defined(__cplusplus) && !defined(CINTERFACE)
  502. MIDL_INTERFACE("BC40BEC1-C493-11d0-831B-00C04FD5AE38")
  503. IUrlHistoryNotify : public IOleCommandTarget
  504. {
  505. public:
  506. };
  507. #else /* C style interface */
  508. typedef struct IUrlHistoryNotifyVtbl
  509. {
  510. BEGIN_INTERFACE
  511. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  512. IUrlHistoryNotify * This,
  513. /* [in] */ REFIID riid,
  514. /* [iid_is][out] */ void **ppvObject);
  515. ULONG ( STDMETHODCALLTYPE *AddRef )(
  516. IUrlHistoryNotify * This);
  517. ULONG ( STDMETHODCALLTYPE *Release )(
  518. IUrlHistoryNotify * This);
  519. /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE *QueryStatus )(
  520. IUrlHistoryNotify * This,
  521. /* [unique][in] */ const GUID *pguidCmdGroup,
  522. /* [in] */ ULONG cCmds,
  523. /* [out][in][size_is] */ OLECMD prgCmds[ ],
  524. /* [unique][out][in] */ OLECMDTEXT *pCmdText);
  525. HRESULT ( STDMETHODCALLTYPE *Exec )(
  526. IUrlHistoryNotify * This,
  527. /* [unique][in] */ const GUID *pguidCmdGroup,
  528. /* [in] */ DWORD nCmdID,
  529. /* [in] */ DWORD nCmdexecopt,
  530. /* [unique][in] */ VARIANT *pvaIn,
  531. /* [unique][out][in] */ VARIANT *pvaOut);
  532. END_INTERFACE
  533. } IUrlHistoryNotifyVtbl;
  534. interface IUrlHistoryNotify
  535. {
  536. CONST_VTBL struct IUrlHistoryNotifyVtbl *lpVtbl;
  537. };
  538. #ifdef COBJMACROS
  539. #define IUrlHistoryNotify_QueryInterface(This,riid,ppvObject) \
  540. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  541. #define IUrlHistoryNotify_AddRef(This) \
  542. (This)->lpVtbl -> AddRef(This)
  543. #define IUrlHistoryNotify_Release(This) \
  544. (This)->lpVtbl -> Release(This)
  545. #define IUrlHistoryNotify_QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText) \
  546. (This)->lpVtbl -> QueryStatus(This,pguidCmdGroup,cCmds,prgCmds,pCmdText)
  547. #define IUrlHistoryNotify_Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut) \
  548. (This)->lpVtbl -> Exec(This,pguidCmdGroup,nCmdID,nCmdexecopt,pvaIn,pvaOut)
  549. #endif /* COBJMACROS */
  550. #endif /* C style interface */
  551. #endif /* __IUrlHistoryNotify_INTERFACE_DEFINED__ */
  552. /* interface __MIDL_itf_urlhist_0276 */
  553. /* [local] */
  554. #endif
  555. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0276_v0_0_c_ifspec;
  556. extern RPC_IF_HANDLE __MIDL_itf_urlhist_0276_v0_0_s_ifspec;
  557. /* Additional Prototypes for ALL interfaces */
  558. /* end of Additional Prototypes */
  559. #ifdef __cplusplus
  560. }
  561. #endif
  562. #endif