Source code of Windows XP (NT5)
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.

2303 lines
77 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for hlink.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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 __hlink_h__
  27. #define __hlink_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IHlink_FWD_DEFINED__
  33. #define __IHlink_FWD_DEFINED__
  34. typedef interface IHlink IHlink;
  35. #endif /* __IHlink_FWD_DEFINED__ */
  36. #ifndef __IHlinkSite_FWD_DEFINED__
  37. #define __IHlinkSite_FWD_DEFINED__
  38. typedef interface IHlinkSite IHlinkSite;
  39. #endif /* __IHlinkSite_FWD_DEFINED__ */
  40. #ifndef __IHlinkTarget_FWD_DEFINED__
  41. #define __IHlinkTarget_FWD_DEFINED__
  42. typedef interface IHlinkTarget IHlinkTarget;
  43. #endif /* __IHlinkTarget_FWD_DEFINED__ */
  44. #ifndef __IHlinkFrame_FWD_DEFINED__
  45. #define __IHlinkFrame_FWD_DEFINED__
  46. typedef interface IHlinkFrame IHlinkFrame;
  47. #endif /* __IHlinkFrame_FWD_DEFINED__ */
  48. #ifndef __IEnumHLITEM_FWD_DEFINED__
  49. #define __IEnumHLITEM_FWD_DEFINED__
  50. typedef interface IEnumHLITEM IEnumHLITEM;
  51. #endif /* __IEnumHLITEM_FWD_DEFINED__ */
  52. #ifndef __IHlinkBrowseContext_FWD_DEFINED__
  53. #define __IHlinkBrowseContext_FWD_DEFINED__
  54. typedef interface IHlinkBrowseContext IHlinkBrowseContext;
  55. #endif /* __IHlinkBrowseContext_FWD_DEFINED__ */
  56. #ifndef __IExtensionServices_FWD_DEFINED__
  57. #define __IExtensionServices_FWD_DEFINED__
  58. typedef interface IExtensionServices IExtensionServices;
  59. #endif /* __IExtensionServices_FWD_DEFINED__ */
  60. /* header files for imported files */
  61. #include "urlmon.h"
  62. #ifdef __cplusplus
  63. extern "C"{
  64. #endif
  65. void * __RPC_USER MIDL_user_allocate(size_t);
  66. void __RPC_USER MIDL_user_free( void * );
  67. /* interface __MIDL_itf_hlink_0000 */
  68. /* [local] */
  69. //=--------------------------------------------------------------------------=
  70. // HLInk.h
  71. //=--------------------------------------------------------------------------=
  72. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  73. //
  74. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  75. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  76. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  77. // PARTICULAR PURPOSE.
  78. //=--------------------------------------------------------------------------=
  79. #pragma comment(lib,"uuid.lib")
  80. //--------------------------------------------------------------------------
  81. // OLE Hyperlinking Interfaces.
  82. #ifndef HLINK_H
  83. #define HLINK_H
  84. #define SID_SHlinkFrame IID_IHlinkFrame
  85. #define IID_IHlinkSource IID_IHlinkTarget
  86. #define IHlinkSource IHlinkTarget
  87. #define IHlinkSourceVtbl IHlinkTargetVtbl
  88. #define LPHLINKSOURCE LPHLINKTARGET
  89. /****************************************************************************/
  90. /**** Error codes ****/
  91. /****************************************************************************/
  92. #ifndef _HLINK_ERRORS_DEFINED
  93. #define _HLINK_ERRORS_DEFINED
  94. #define HLINK_E_FIRST (OLE_E_LAST+1)
  95. #define HLINK_S_FIRST (OLE_S_LAST+1)
  96. #define HLINK_S_DONTHIDE (HLINK_S_FIRST)
  97. #endif //_HLINK_ERRORS_DEFINED
  98. /****************************************************************************/
  99. /**** Hyperlink APIs ****/
  100. /****************************************************************************/
  101. #if MAC || defined(_MAC)
  102. #define cfHyperlink 'HLNK'
  103. #else
  104. #define CFSTR_HYPERLINK (TEXT("Hyperlink"))
  105. #endif
  106. STDAPI HlinkCreateFromMoniker(
  107. IMoniker * pimkTrgt,
  108. LPCWSTR pwzLocation,
  109. LPCWSTR pwzFriendlyName,
  110. IHlinkSite * pihlsite,
  111. DWORD dwSiteData,
  112. IUnknown * piunkOuter,
  113. REFIID riid,
  114. void ** ppvObj);
  115. STDAPI HlinkCreateFromString(
  116. LPCWSTR pwzTarget,
  117. LPCWSTR pwzLocation,
  118. LPCWSTR pwzFriendlyName,
  119. IHlinkSite * pihlsite,
  120. DWORD dwSiteData,
  121. IUnknown * piunkOuter,
  122. REFIID riid,
  123. void ** ppvObj);
  124. STDAPI HlinkCreateFromData(
  125. IDataObject *piDataObj,
  126. IHlinkSite * pihlsite,
  127. DWORD dwSiteData,
  128. IUnknown * piunkOuter,
  129. REFIID riid,
  130. void ** ppvObj);
  131. STDAPI HlinkQueryCreateFromData(IDataObject *piDataObj);
  132. STDAPI HlinkClone(
  133. IHlink * pihl,
  134. REFIID riid,
  135. IHlinkSite * pihlsiteForClone,
  136. DWORD dwSiteData,
  137. void ** ppvObj);
  138. STDAPI HlinkCreateBrowseContext(
  139. IUnknown * piunkOuter,
  140. REFIID riid,
  141. void ** ppvObj);
  142. STDAPI HlinkNavigateToStringReference(
  143. LPCWSTR pwzTarget,
  144. LPCWSTR pwzLocation,
  145. IHlinkSite * pihlsite,
  146. DWORD dwSiteData,
  147. IHlinkFrame *pihlframe,
  148. DWORD grfHLNF,
  149. LPBC pibc,
  150. IBindStatusCallback * pibsc,
  151. IHlinkBrowseContext *pihlbc);
  152. STDAPI HlinkNavigate(
  153. IHlink * pihl,
  154. IHlinkFrame * pihlframe,
  155. DWORD grfHLNF,
  156. LPBC pbc,
  157. IBindStatusCallback * pibsc,
  158. IHlinkBrowseContext *pihlbc);
  159. STDAPI HlinkOnNavigate(
  160. IHlinkFrame * pihlframe,
  161. IHlinkBrowseContext * pihlbc,
  162. DWORD grfHLNF,
  163. IMoniker * pimkTarget,
  164. LPCWSTR pwzLocation,
  165. LPCWSTR pwzFriendlyName,
  166. ULONG * puHLID);
  167. STDAPI HlinkUpdateStackItem(
  168. IHlinkFrame * pihlframe,
  169. IHlinkBrowseContext * pihlbc,
  170. ULONG uHLID,
  171. IMoniker * pimkTrgt,
  172. LPCWSTR pwzLocation,
  173. LPCWSTR pwzFriendlyName);
  174. STDAPI HlinkOnRenameDocument(
  175. DWORD dwReserved,
  176. IHlinkBrowseContext * pihlbc,
  177. IMoniker * pimkOld,
  178. IMoniker * pimkNew);
  179. STDAPI HlinkResolveMonikerForData(
  180. LPMONIKER pimkReference,
  181. DWORD reserved,
  182. LPBC pibc,
  183. ULONG cFmtetc,
  184. FORMATETC * rgFmtetc,
  185. IBindStatusCallback * pibsc,
  186. LPMONIKER pimkBase);
  187. STDAPI HlinkResolveStringForData(
  188. LPCWSTR pwzReference,
  189. DWORD reserved,
  190. LPBC pibc,
  191. ULONG cFmtetc,
  192. FORMATETC * rgFmtetc,
  193. IBindStatusCallback * pibsc,
  194. LPMONIKER pimkBase);
  195. STDAPI HlinkParseDisplayName(
  196. LPBC pibc,
  197. LPCWSTR pwzDisplayName,
  198. BOOL fNoForceAbs,
  199. ULONG * pcchEaten,
  200. IMoniker ** ppimk);
  201. STDAPI HlinkCreateExtensionServices(
  202. LPCWSTR pwzAdditionalHeaders,
  203. HWND phwnd,
  204. LPCWSTR pszUsername,
  205. LPCWSTR pszPassword,
  206. IUnknown * piunkOuter,
  207. REFIID riid,
  208. void ** ppvObj);
  209. STDAPI HlinkPreprocessMoniker(
  210. LPBC pibc,
  211. IMoniker *pimkIn,
  212. IMoniker **ppimkOut);
  213. STDAPI OleSaveToStreamEx(
  214. IUnknown * piunk,
  215. IStream * pistm,
  216. BOOL fClearDirty);
  217. typedef
  218. enum _HLSR_NOREDEF10
  219. { HLSR_HOME = 0,
  220. HLSR_SEARCHPAGE = 1,
  221. HLSR_HISTORYFOLDER = 2
  222. } HLSR;
  223. STDAPI HlinkSetSpecialReference(
  224. ULONG uReference,
  225. LPCWSTR pwzReference);
  226. STDAPI HlinkGetSpecialReference(
  227. ULONG uReference,
  228. LPWSTR *ppwzReference);
  229. typedef
  230. enum _HLSHORTCUTF__NOREDEF10
  231. { HLSHORTCUTF_DEFAULT = 0,
  232. HLSHORTCUTF_DONTACTUALLYCREATE = 0x1,
  233. HLSHORTCUTF_USEFILENAMEFROMFRIENDLYNAME = 0x2,
  234. HLSHORTCUTF_USEUNIQUEFILENAME = 0x4,
  235. HLSHORTCUTF_MAYUSEEXISTINGSHORTCUT = 0x8
  236. } HLSHORTCUTF;
  237. STDAPI HlinkCreateShortcut(
  238. DWORD grfHLSHORTCUTF,
  239. IHlink *pihl,
  240. LPCWSTR pwzDir,
  241. LPCWSTR pwzFileName,
  242. LPWSTR *ppwzShortcutFile,
  243. DWORD dwReserved);
  244. STDAPI HlinkCreateShortcutFromMoniker(
  245. DWORD grfHLSHORTCUTF,
  246. IMoniker *pimkTarget,
  247. LPCWSTR pwzLocation,
  248. LPCWSTR pwzDir,
  249. LPCWSTR pwzFileName,
  250. LPWSTR *ppwzShortcutFile,
  251. DWORD dwReserved);
  252. STDAPI HlinkCreateShortcutFromString(
  253. DWORD grfHLSHORTCUTF,
  254. LPCWSTR pwzTarget,
  255. LPCWSTR pwzLocation,
  256. LPCWSTR pwzDir,
  257. LPCWSTR pwzFileName,
  258. LPWSTR *ppwzShortcutFile,
  259. DWORD dwReserved);
  260. STDAPI HlinkResolveShortcut(
  261. LPCWSTR pwzShortcutFileName,
  262. IHlinkSite * pihlsite,
  263. DWORD dwSiteData,
  264. IUnknown * piunkOuter,
  265. REFIID riid,
  266. void ** ppvObj);
  267. STDAPI HlinkResolveShortcutToMoniker(
  268. LPCWSTR pwzShortcutFileName,
  269. IMoniker **ppimkTarget,
  270. LPWSTR *ppwzLocation);
  271. STDAPI HlinkResolveShortcutToString(
  272. LPCWSTR pwzShortcutFileName,
  273. LPWSTR *ppwzTarget,
  274. LPWSTR *ppwzLocation);
  275. STDAPI HlinkIsShortcut(LPCWSTR pwzFileName);
  276. STDAPI HlinkGetValueFromParams(
  277. LPCWSTR pwzParams,
  278. LPCWSTR pwzName,
  279. LPWSTR *ppwzValue);
  280. typedef
  281. enum _HLTRANSLATEF_NOREDEF10
  282. { HLTRANSLATEF_DEFAULT = 0,
  283. HLTRANSLATEF_DONTAPPLYDEFAULTPREFIX = 0x1
  284. } HLTRANSLATEF;
  285. STDAPI HlinkTranslateURL(
  286. LPCWSTR pwzURL,
  287. DWORD grfFlags,
  288. LPWSTR *ppwzTranslatedURL);
  289. /****************************************************************************/
  290. /**** Hyperlink interface definitions ****/
  291. /****************************************************************************/
  292. #ifndef _LPHLINK_DEFINED
  293. #define _LPHLINK_DEFINED
  294. extern RPC_IF_HANDLE __MIDL_itf_hlink_0000_v0_0_c_ifspec;
  295. extern RPC_IF_HANDLE __MIDL_itf_hlink_0000_v0_0_s_ifspec;
  296. #ifndef __IHlink_INTERFACE_DEFINED__
  297. #define __IHlink_INTERFACE_DEFINED__
  298. /* interface IHlink */
  299. /* [unique][uuid][object] */
  300. typedef /* [unique] */ IHlink *LPHLINK;
  301. typedef /* [public] */
  302. enum __MIDL_IHlink_0001
  303. { HLNF_INTERNALJUMP = 0x1,
  304. HLNF_OPENINNEWWINDOW = 0x2,
  305. HLNF_NAVIGATINGBACK = 0x4,
  306. HLNF_NAVIGATINGFORWARD = 0x8,
  307. HLNF_NAVIGATINGTOSTACKITEM = 0x10,
  308. HLNF_CREATENOHISTORY = 0x20
  309. } HLNF;
  310. typedef /* [public] */
  311. enum __MIDL_IHlink_0002
  312. { HLINKGETREF_DEFAULT = 0,
  313. HLINKGETREF_ABSOLUTE = 1,
  314. HLINKGETREF_RELATIVE = 2
  315. } HLINKGETREF;
  316. typedef /* [public] */
  317. enum __MIDL_IHlink_0003
  318. { HLFNAMEF_DEFAULT = 0,
  319. HLFNAMEF_TRYCACHE = 0x1,
  320. HLFNAMEF_TRYPRETTYTARGET = 0x2,
  321. HLFNAMEF_TRYFULLTARGET = 0x4,
  322. HLFNAMEF_TRYWIN95SHORTCUT = 0x8
  323. } HLFNAMEF;
  324. typedef /* [public] */
  325. enum __MIDL_IHlink_0004
  326. { HLINKMISC_RELATIVE = 0x1
  327. } HLINKMISC;
  328. typedef /* [public] */
  329. enum __MIDL_IHlink_0005
  330. { HLINKSETF_TARGET = 0x1,
  331. HLINKSETF_LOCATION = 0x2
  332. } HLINKSETF;
  333. EXTERN_C const IID IID_IHlink;
  334. #if defined(__cplusplus) && !defined(CINTERFACE)
  335. MIDL_INTERFACE("79eac9c3-baf9-11ce-8c82-00aa004ba90b")
  336. IHlink : public IUnknown
  337. {
  338. public:
  339. virtual HRESULT STDMETHODCALLTYPE SetHlinkSite(
  340. /* [unique][in] */ IHlinkSite *pihlSite,
  341. /* [in] */ DWORD dwSiteData) = 0;
  342. virtual HRESULT STDMETHODCALLTYPE GetHlinkSite(
  343. /* [out] */ IHlinkSite **ppihlSite,
  344. /* [out] */ DWORD *pdwSiteData) = 0;
  345. virtual HRESULT STDMETHODCALLTYPE SetMonikerReference(
  346. /* [in] */ DWORD grfHLSETF,
  347. /* [unique][in] */ IMoniker *pimkTarget,
  348. /* [unique][in] */ LPCWSTR pwzLocation) = 0;
  349. virtual HRESULT STDMETHODCALLTYPE GetMonikerReference(
  350. /* [in] */ DWORD dwWhichRef,
  351. /* [out] */ IMoniker **ppimkTarget,
  352. /* [out] */ LPWSTR *ppwzLocation) = 0;
  353. virtual HRESULT STDMETHODCALLTYPE SetStringReference(
  354. /* [in] */ DWORD grfHLSETF,
  355. /* [unique][in] */ LPCWSTR pwzTarget,
  356. /* [unique][in] */ LPCWSTR pwzLocation) = 0;
  357. virtual HRESULT STDMETHODCALLTYPE GetStringReference(
  358. /* [in] */ DWORD dwWhichRef,
  359. /* [out] */ LPWSTR *ppwzTarget,
  360. /* [out] */ LPWSTR *ppwzLocation) = 0;
  361. virtual HRESULT STDMETHODCALLTYPE SetFriendlyName(
  362. /* [unique][in] */ LPCWSTR pwzFriendlyName) = 0;
  363. virtual HRESULT STDMETHODCALLTYPE GetFriendlyName(
  364. /* [in] */ DWORD grfHLFNAMEF,
  365. /* [out] */ LPWSTR *ppwzFriendlyName) = 0;
  366. virtual HRESULT STDMETHODCALLTYPE SetTargetFrameName(
  367. /* [unique][in] */ LPCWSTR pwzTargetFrameName) = 0;
  368. virtual HRESULT STDMETHODCALLTYPE GetTargetFrameName(
  369. /* [out] */ LPWSTR *ppwzTargetFrameName) = 0;
  370. virtual HRESULT STDMETHODCALLTYPE GetMiscStatus(
  371. /* [out] */ DWORD *pdwStatus) = 0;
  372. virtual HRESULT STDMETHODCALLTYPE Navigate(
  373. /* [in] */ DWORD grfHLNF,
  374. /* [unique][in] */ LPBC pibc,
  375. /* [unique][in] */ IBindStatusCallback *pibsc,
  376. /* [unique][in] */ IHlinkBrowseContext *pihlbc) = 0;
  377. virtual HRESULT STDMETHODCALLTYPE SetAdditionalParams(
  378. /* [unique][in] */ LPCWSTR pwzAdditionalParams) = 0;
  379. virtual HRESULT STDMETHODCALLTYPE GetAdditionalParams(
  380. /* [out] */ LPWSTR *ppwzAdditionalParams) = 0;
  381. };
  382. #else /* C style interface */
  383. typedef struct IHlinkVtbl
  384. {
  385. BEGIN_INTERFACE
  386. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  387. IHlink * This,
  388. /* [in] */ REFIID riid,
  389. /* [iid_is][out] */ void **ppvObject);
  390. ULONG ( STDMETHODCALLTYPE *AddRef )(
  391. IHlink * This);
  392. ULONG ( STDMETHODCALLTYPE *Release )(
  393. IHlink * This);
  394. HRESULT ( STDMETHODCALLTYPE *SetHlinkSite )(
  395. IHlink * This,
  396. /* [unique][in] */ IHlinkSite *pihlSite,
  397. /* [in] */ DWORD dwSiteData);
  398. HRESULT ( STDMETHODCALLTYPE *GetHlinkSite )(
  399. IHlink * This,
  400. /* [out] */ IHlinkSite **ppihlSite,
  401. /* [out] */ DWORD *pdwSiteData);
  402. HRESULT ( STDMETHODCALLTYPE *SetMonikerReference )(
  403. IHlink * This,
  404. /* [in] */ DWORD grfHLSETF,
  405. /* [unique][in] */ IMoniker *pimkTarget,
  406. /* [unique][in] */ LPCWSTR pwzLocation);
  407. HRESULT ( STDMETHODCALLTYPE *GetMonikerReference )(
  408. IHlink * This,
  409. /* [in] */ DWORD dwWhichRef,
  410. /* [out] */ IMoniker **ppimkTarget,
  411. /* [out] */ LPWSTR *ppwzLocation);
  412. HRESULT ( STDMETHODCALLTYPE *SetStringReference )(
  413. IHlink * This,
  414. /* [in] */ DWORD grfHLSETF,
  415. /* [unique][in] */ LPCWSTR pwzTarget,
  416. /* [unique][in] */ LPCWSTR pwzLocation);
  417. HRESULT ( STDMETHODCALLTYPE *GetStringReference )(
  418. IHlink * This,
  419. /* [in] */ DWORD dwWhichRef,
  420. /* [out] */ LPWSTR *ppwzTarget,
  421. /* [out] */ LPWSTR *ppwzLocation);
  422. HRESULT ( STDMETHODCALLTYPE *SetFriendlyName )(
  423. IHlink * This,
  424. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  425. HRESULT ( STDMETHODCALLTYPE *GetFriendlyName )(
  426. IHlink * This,
  427. /* [in] */ DWORD grfHLFNAMEF,
  428. /* [out] */ LPWSTR *ppwzFriendlyName);
  429. HRESULT ( STDMETHODCALLTYPE *SetTargetFrameName )(
  430. IHlink * This,
  431. /* [unique][in] */ LPCWSTR pwzTargetFrameName);
  432. HRESULT ( STDMETHODCALLTYPE *GetTargetFrameName )(
  433. IHlink * This,
  434. /* [out] */ LPWSTR *ppwzTargetFrameName);
  435. HRESULT ( STDMETHODCALLTYPE *GetMiscStatus )(
  436. IHlink * This,
  437. /* [out] */ DWORD *pdwStatus);
  438. HRESULT ( STDMETHODCALLTYPE *Navigate )(
  439. IHlink * This,
  440. /* [in] */ DWORD grfHLNF,
  441. /* [unique][in] */ LPBC pibc,
  442. /* [unique][in] */ IBindStatusCallback *pibsc,
  443. /* [unique][in] */ IHlinkBrowseContext *pihlbc);
  444. HRESULT ( STDMETHODCALLTYPE *SetAdditionalParams )(
  445. IHlink * This,
  446. /* [unique][in] */ LPCWSTR pwzAdditionalParams);
  447. HRESULT ( STDMETHODCALLTYPE *GetAdditionalParams )(
  448. IHlink * This,
  449. /* [out] */ LPWSTR *ppwzAdditionalParams);
  450. END_INTERFACE
  451. } IHlinkVtbl;
  452. interface IHlink
  453. {
  454. CONST_VTBL struct IHlinkVtbl *lpVtbl;
  455. };
  456. #ifdef COBJMACROS
  457. #define IHlink_QueryInterface(This,riid,ppvObject) \
  458. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  459. #define IHlink_AddRef(This) \
  460. (This)->lpVtbl -> AddRef(This)
  461. #define IHlink_Release(This) \
  462. (This)->lpVtbl -> Release(This)
  463. #define IHlink_SetHlinkSite(This,pihlSite,dwSiteData) \
  464. (This)->lpVtbl -> SetHlinkSite(This,pihlSite,dwSiteData)
  465. #define IHlink_GetHlinkSite(This,ppihlSite,pdwSiteData) \
  466. (This)->lpVtbl -> GetHlinkSite(This,ppihlSite,pdwSiteData)
  467. #define IHlink_SetMonikerReference(This,grfHLSETF,pimkTarget,pwzLocation) \
  468. (This)->lpVtbl -> SetMonikerReference(This,grfHLSETF,pimkTarget,pwzLocation)
  469. #define IHlink_GetMonikerReference(This,dwWhichRef,ppimkTarget,ppwzLocation) \
  470. (This)->lpVtbl -> GetMonikerReference(This,dwWhichRef,ppimkTarget,ppwzLocation)
  471. #define IHlink_SetStringReference(This,grfHLSETF,pwzTarget,pwzLocation) \
  472. (This)->lpVtbl -> SetStringReference(This,grfHLSETF,pwzTarget,pwzLocation)
  473. #define IHlink_GetStringReference(This,dwWhichRef,ppwzTarget,ppwzLocation) \
  474. (This)->lpVtbl -> GetStringReference(This,dwWhichRef,ppwzTarget,ppwzLocation)
  475. #define IHlink_SetFriendlyName(This,pwzFriendlyName) \
  476. (This)->lpVtbl -> SetFriendlyName(This,pwzFriendlyName)
  477. #define IHlink_GetFriendlyName(This,grfHLFNAMEF,ppwzFriendlyName) \
  478. (This)->lpVtbl -> GetFriendlyName(This,grfHLFNAMEF,ppwzFriendlyName)
  479. #define IHlink_SetTargetFrameName(This,pwzTargetFrameName) \
  480. (This)->lpVtbl -> SetTargetFrameName(This,pwzTargetFrameName)
  481. #define IHlink_GetTargetFrameName(This,ppwzTargetFrameName) \
  482. (This)->lpVtbl -> GetTargetFrameName(This,ppwzTargetFrameName)
  483. #define IHlink_GetMiscStatus(This,pdwStatus) \
  484. (This)->lpVtbl -> GetMiscStatus(This,pdwStatus)
  485. #define IHlink_Navigate(This,grfHLNF,pibc,pibsc,pihlbc) \
  486. (This)->lpVtbl -> Navigate(This,grfHLNF,pibc,pibsc,pihlbc)
  487. #define IHlink_SetAdditionalParams(This,pwzAdditionalParams) \
  488. (This)->lpVtbl -> SetAdditionalParams(This,pwzAdditionalParams)
  489. #define IHlink_GetAdditionalParams(This,ppwzAdditionalParams) \
  490. (This)->lpVtbl -> GetAdditionalParams(This,ppwzAdditionalParams)
  491. #endif /* COBJMACROS */
  492. #endif /* C style interface */
  493. HRESULT STDMETHODCALLTYPE IHlink_SetHlinkSite_Proxy(
  494. IHlink * This,
  495. /* [unique][in] */ IHlinkSite *pihlSite,
  496. /* [in] */ DWORD dwSiteData);
  497. void __RPC_STUB IHlink_SetHlinkSite_Stub(
  498. IRpcStubBuffer *This,
  499. IRpcChannelBuffer *_pRpcChannelBuffer,
  500. PRPC_MESSAGE _pRpcMessage,
  501. DWORD *_pdwStubPhase);
  502. HRESULT STDMETHODCALLTYPE IHlink_GetHlinkSite_Proxy(
  503. IHlink * This,
  504. /* [out] */ IHlinkSite **ppihlSite,
  505. /* [out] */ DWORD *pdwSiteData);
  506. void __RPC_STUB IHlink_GetHlinkSite_Stub(
  507. IRpcStubBuffer *This,
  508. IRpcChannelBuffer *_pRpcChannelBuffer,
  509. PRPC_MESSAGE _pRpcMessage,
  510. DWORD *_pdwStubPhase);
  511. HRESULT STDMETHODCALLTYPE IHlink_SetMonikerReference_Proxy(
  512. IHlink * This,
  513. /* [in] */ DWORD grfHLSETF,
  514. /* [unique][in] */ IMoniker *pimkTarget,
  515. /* [unique][in] */ LPCWSTR pwzLocation);
  516. void __RPC_STUB IHlink_SetMonikerReference_Stub(
  517. IRpcStubBuffer *This,
  518. IRpcChannelBuffer *_pRpcChannelBuffer,
  519. PRPC_MESSAGE _pRpcMessage,
  520. DWORD *_pdwStubPhase);
  521. HRESULT STDMETHODCALLTYPE IHlink_GetMonikerReference_Proxy(
  522. IHlink * This,
  523. /* [in] */ DWORD dwWhichRef,
  524. /* [out] */ IMoniker **ppimkTarget,
  525. /* [out] */ LPWSTR *ppwzLocation);
  526. void __RPC_STUB IHlink_GetMonikerReference_Stub(
  527. IRpcStubBuffer *This,
  528. IRpcChannelBuffer *_pRpcChannelBuffer,
  529. PRPC_MESSAGE _pRpcMessage,
  530. DWORD *_pdwStubPhase);
  531. HRESULT STDMETHODCALLTYPE IHlink_SetStringReference_Proxy(
  532. IHlink * This,
  533. /* [in] */ DWORD grfHLSETF,
  534. /* [unique][in] */ LPCWSTR pwzTarget,
  535. /* [unique][in] */ LPCWSTR pwzLocation);
  536. void __RPC_STUB IHlink_SetStringReference_Stub(
  537. IRpcStubBuffer *This,
  538. IRpcChannelBuffer *_pRpcChannelBuffer,
  539. PRPC_MESSAGE _pRpcMessage,
  540. DWORD *_pdwStubPhase);
  541. HRESULT STDMETHODCALLTYPE IHlink_GetStringReference_Proxy(
  542. IHlink * This,
  543. /* [in] */ DWORD dwWhichRef,
  544. /* [out] */ LPWSTR *ppwzTarget,
  545. /* [out] */ LPWSTR *ppwzLocation);
  546. void __RPC_STUB IHlink_GetStringReference_Stub(
  547. IRpcStubBuffer *This,
  548. IRpcChannelBuffer *_pRpcChannelBuffer,
  549. PRPC_MESSAGE _pRpcMessage,
  550. DWORD *_pdwStubPhase);
  551. HRESULT STDMETHODCALLTYPE IHlink_SetFriendlyName_Proxy(
  552. IHlink * This,
  553. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  554. void __RPC_STUB IHlink_SetFriendlyName_Stub(
  555. IRpcStubBuffer *This,
  556. IRpcChannelBuffer *_pRpcChannelBuffer,
  557. PRPC_MESSAGE _pRpcMessage,
  558. DWORD *_pdwStubPhase);
  559. HRESULT STDMETHODCALLTYPE IHlink_GetFriendlyName_Proxy(
  560. IHlink * This,
  561. /* [in] */ DWORD grfHLFNAMEF,
  562. /* [out] */ LPWSTR *ppwzFriendlyName);
  563. void __RPC_STUB IHlink_GetFriendlyName_Stub(
  564. IRpcStubBuffer *This,
  565. IRpcChannelBuffer *_pRpcChannelBuffer,
  566. PRPC_MESSAGE _pRpcMessage,
  567. DWORD *_pdwStubPhase);
  568. HRESULT STDMETHODCALLTYPE IHlink_SetTargetFrameName_Proxy(
  569. IHlink * This,
  570. /* [unique][in] */ LPCWSTR pwzTargetFrameName);
  571. void __RPC_STUB IHlink_SetTargetFrameName_Stub(
  572. IRpcStubBuffer *This,
  573. IRpcChannelBuffer *_pRpcChannelBuffer,
  574. PRPC_MESSAGE _pRpcMessage,
  575. DWORD *_pdwStubPhase);
  576. HRESULT STDMETHODCALLTYPE IHlink_GetTargetFrameName_Proxy(
  577. IHlink * This,
  578. /* [out] */ LPWSTR *ppwzTargetFrameName);
  579. void __RPC_STUB IHlink_GetTargetFrameName_Stub(
  580. IRpcStubBuffer *This,
  581. IRpcChannelBuffer *_pRpcChannelBuffer,
  582. PRPC_MESSAGE _pRpcMessage,
  583. DWORD *_pdwStubPhase);
  584. HRESULT STDMETHODCALLTYPE IHlink_GetMiscStatus_Proxy(
  585. IHlink * This,
  586. /* [out] */ DWORD *pdwStatus);
  587. void __RPC_STUB IHlink_GetMiscStatus_Stub(
  588. IRpcStubBuffer *This,
  589. IRpcChannelBuffer *_pRpcChannelBuffer,
  590. PRPC_MESSAGE _pRpcMessage,
  591. DWORD *_pdwStubPhase);
  592. HRESULT STDMETHODCALLTYPE IHlink_Navigate_Proxy(
  593. IHlink * This,
  594. /* [in] */ DWORD grfHLNF,
  595. /* [unique][in] */ LPBC pibc,
  596. /* [unique][in] */ IBindStatusCallback *pibsc,
  597. /* [unique][in] */ IHlinkBrowseContext *pihlbc);
  598. void __RPC_STUB IHlink_Navigate_Stub(
  599. IRpcStubBuffer *This,
  600. IRpcChannelBuffer *_pRpcChannelBuffer,
  601. PRPC_MESSAGE _pRpcMessage,
  602. DWORD *_pdwStubPhase);
  603. HRESULT STDMETHODCALLTYPE IHlink_SetAdditionalParams_Proxy(
  604. IHlink * This,
  605. /* [unique][in] */ LPCWSTR pwzAdditionalParams);
  606. void __RPC_STUB IHlink_SetAdditionalParams_Stub(
  607. IRpcStubBuffer *This,
  608. IRpcChannelBuffer *_pRpcChannelBuffer,
  609. PRPC_MESSAGE _pRpcMessage,
  610. DWORD *_pdwStubPhase);
  611. HRESULT STDMETHODCALLTYPE IHlink_GetAdditionalParams_Proxy(
  612. IHlink * This,
  613. /* [out] */ LPWSTR *ppwzAdditionalParams);
  614. void __RPC_STUB IHlink_GetAdditionalParams_Stub(
  615. IRpcStubBuffer *This,
  616. IRpcChannelBuffer *_pRpcChannelBuffer,
  617. PRPC_MESSAGE _pRpcMessage,
  618. DWORD *_pdwStubPhase);
  619. #endif /* __IHlink_INTERFACE_DEFINED__ */
  620. /* interface __MIDL_itf_hlink_0208 */
  621. /* [local] */
  622. #endif
  623. #ifndef _LPHLINKSITE_DEFINED
  624. #define _LPHLINKSITE_DEFINED
  625. EXTERN_C const GUID SID_SContainer;
  626. extern RPC_IF_HANDLE __MIDL_itf_hlink_0208_v0_0_c_ifspec;
  627. extern RPC_IF_HANDLE __MIDL_itf_hlink_0208_v0_0_s_ifspec;
  628. #ifndef __IHlinkSite_INTERFACE_DEFINED__
  629. #define __IHlinkSite_INTERFACE_DEFINED__
  630. /* interface IHlinkSite */
  631. /* [unique][uuid][object] */
  632. typedef /* [unique] */ IHlinkSite *LPHLINKSITE;
  633. typedef /* [public] */
  634. enum __MIDL_IHlinkSite_0001
  635. { HLINKWHICHMK_CONTAINER = 1,
  636. HLINKWHICHMK_BASE = 2
  637. } HLINKWHICHMK;
  638. EXTERN_C const IID IID_IHlinkSite;
  639. #if defined(__cplusplus) && !defined(CINTERFACE)
  640. MIDL_INTERFACE("79eac9c2-baf9-11ce-8c82-00aa004ba90b")
  641. IHlinkSite : public IUnknown
  642. {
  643. public:
  644. virtual HRESULT STDMETHODCALLTYPE QueryService(
  645. /* [in] */ DWORD dwSiteData,
  646. /* [in] */ REFGUID guidService,
  647. /* [in] */ REFIID riid,
  648. /* [iid_is][out] */ IUnknown **ppiunk) = 0;
  649. virtual HRESULT STDMETHODCALLTYPE GetMoniker(
  650. /* [in] */ DWORD dwSiteData,
  651. /* [in] */ DWORD dwAssign,
  652. /* [in] */ DWORD dwWhich,
  653. /* [out] */ IMoniker **ppimk) = 0;
  654. virtual HRESULT STDMETHODCALLTYPE ReadyToNavigate(
  655. /* [in] */ DWORD dwSiteData,
  656. /* [in] */ DWORD dwReserved) = 0;
  657. virtual HRESULT STDMETHODCALLTYPE OnNavigationComplete(
  658. /* [in] */ DWORD dwSiteData,
  659. /* [in] */ DWORD dwreserved,
  660. /* [in] */ HRESULT hrError,
  661. /* [unique][in] */ LPCWSTR pwzError) = 0;
  662. };
  663. #else /* C style interface */
  664. typedef struct IHlinkSiteVtbl
  665. {
  666. BEGIN_INTERFACE
  667. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  668. IHlinkSite * This,
  669. /* [in] */ REFIID riid,
  670. /* [iid_is][out] */ void **ppvObject);
  671. ULONG ( STDMETHODCALLTYPE *AddRef )(
  672. IHlinkSite * This);
  673. ULONG ( STDMETHODCALLTYPE *Release )(
  674. IHlinkSite * This);
  675. HRESULT ( STDMETHODCALLTYPE *QueryService )(
  676. IHlinkSite * This,
  677. /* [in] */ DWORD dwSiteData,
  678. /* [in] */ REFGUID guidService,
  679. /* [in] */ REFIID riid,
  680. /* [iid_is][out] */ IUnknown **ppiunk);
  681. HRESULT ( STDMETHODCALLTYPE *GetMoniker )(
  682. IHlinkSite * This,
  683. /* [in] */ DWORD dwSiteData,
  684. /* [in] */ DWORD dwAssign,
  685. /* [in] */ DWORD dwWhich,
  686. /* [out] */ IMoniker **ppimk);
  687. HRESULT ( STDMETHODCALLTYPE *ReadyToNavigate )(
  688. IHlinkSite * This,
  689. /* [in] */ DWORD dwSiteData,
  690. /* [in] */ DWORD dwReserved);
  691. HRESULT ( STDMETHODCALLTYPE *OnNavigationComplete )(
  692. IHlinkSite * This,
  693. /* [in] */ DWORD dwSiteData,
  694. /* [in] */ DWORD dwreserved,
  695. /* [in] */ HRESULT hrError,
  696. /* [unique][in] */ LPCWSTR pwzError);
  697. END_INTERFACE
  698. } IHlinkSiteVtbl;
  699. interface IHlinkSite
  700. {
  701. CONST_VTBL struct IHlinkSiteVtbl *lpVtbl;
  702. };
  703. #ifdef COBJMACROS
  704. #define IHlinkSite_QueryInterface(This,riid,ppvObject) \
  705. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  706. #define IHlinkSite_AddRef(This) \
  707. (This)->lpVtbl -> AddRef(This)
  708. #define IHlinkSite_Release(This) \
  709. (This)->lpVtbl -> Release(This)
  710. #define IHlinkSite_QueryService(This,dwSiteData,guidService,riid,ppiunk) \
  711. (This)->lpVtbl -> QueryService(This,dwSiteData,guidService,riid,ppiunk)
  712. #define IHlinkSite_GetMoniker(This,dwSiteData,dwAssign,dwWhich,ppimk) \
  713. (This)->lpVtbl -> GetMoniker(This,dwSiteData,dwAssign,dwWhich,ppimk)
  714. #define IHlinkSite_ReadyToNavigate(This,dwSiteData,dwReserved) \
  715. (This)->lpVtbl -> ReadyToNavigate(This,dwSiteData,dwReserved)
  716. #define IHlinkSite_OnNavigationComplete(This,dwSiteData,dwreserved,hrError,pwzError) \
  717. (This)->lpVtbl -> OnNavigationComplete(This,dwSiteData,dwreserved,hrError,pwzError)
  718. #endif /* COBJMACROS */
  719. #endif /* C style interface */
  720. HRESULT STDMETHODCALLTYPE IHlinkSite_QueryService_Proxy(
  721. IHlinkSite * This,
  722. /* [in] */ DWORD dwSiteData,
  723. /* [in] */ REFGUID guidService,
  724. /* [in] */ REFIID riid,
  725. /* [iid_is][out] */ IUnknown **ppiunk);
  726. void __RPC_STUB IHlinkSite_QueryService_Stub(
  727. IRpcStubBuffer *This,
  728. IRpcChannelBuffer *_pRpcChannelBuffer,
  729. PRPC_MESSAGE _pRpcMessage,
  730. DWORD *_pdwStubPhase);
  731. HRESULT STDMETHODCALLTYPE IHlinkSite_GetMoniker_Proxy(
  732. IHlinkSite * This,
  733. /* [in] */ DWORD dwSiteData,
  734. /* [in] */ DWORD dwAssign,
  735. /* [in] */ DWORD dwWhich,
  736. /* [out] */ IMoniker **ppimk);
  737. void __RPC_STUB IHlinkSite_GetMoniker_Stub(
  738. IRpcStubBuffer *This,
  739. IRpcChannelBuffer *_pRpcChannelBuffer,
  740. PRPC_MESSAGE _pRpcMessage,
  741. DWORD *_pdwStubPhase);
  742. HRESULT STDMETHODCALLTYPE IHlinkSite_ReadyToNavigate_Proxy(
  743. IHlinkSite * This,
  744. /* [in] */ DWORD dwSiteData,
  745. /* [in] */ DWORD dwReserved);
  746. void __RPC_STUB IHlinkSite_ReadyToNavigate_Stub(
  747. IRpcStubBuffer *This,
  748. IRpcChannelBuffer *_pRpcChannelBuffer,
  749. PRPC_MESSAGE _pRpcMessage,
  750. DWORD *_pdwStubPhase);
  751. HRESULT STDMETHODCALLTYPE IHlinkSite_OnNavigationComplete_Proxy(
  752. IHlinkSite * This,
  753. /* [in] */ DWORD dwSiteData,
  754. /* [in] */ DWORD dwreserved,
  755. /* [in] */ HRESULT hrError,
  756. /* [unique][in] */ LPCWSTR pwzError);
  757. void __RPC_STUB IHlinkSite_OnNavigationComplete_Stub(
  758. IRpcStubBuffer *This,
  759. IRpcChannelBuffer *_pRpcChannelBuffer,
  760. PRPC_MESSAGE _pRpcMessage,
  761. DWORD *_pdwStubPhase);
  762. #endif /* __IHlinkSite_INTERFACE_DEFINED__ */
  763. /* interface __MIDL_itf_hlink_0209 */
  764. /* [local] */
  765. #endif
  766. #ifndef _LPHLINKTARGET_DEFINED
  767. #define _LPHLINKTARGET_DEFINED
  768. extern RPC_IF_HANDLE __MIDL_itf_hlink_0209_v0_0_c_ifspec;
  769. extern RPC_IF_HANDLE __MIDL_itf_hlink_0209_v0_0_s_ifspec;
  770. #ifndef __IHlinkTarget_INTERFACE_DEFINED__
  771. #define __IHlinkTarget_INTERFACE_DEFINED__
  772. /* interface IHlinkTarget */
  773. /* [unique][uuid][object] */
  774. typedef /* [unique] */ IHlinkTarget *LPHLINKTARGET;
  775. EXTERN_C const IID IID_IHlinkTarget;
  776. #if defined(__cplusplus) && !defined(CINTERFACE)
  777. MIDL_INTERFACE("79eac9c4-baf9-11ce-8c82-00aa004ba90b")
  778. IHlinkTarget : public IUnknown
  779. {
  780. public:
  781. virtual HRESULT STDMETHODCALLTYPE SetBrowseContext(
  782. /* [unique][in] */ IHlinkBrowseContext *pihlbc) = 0;
  783. virtual HRESULT STDMETHODCALLTYPE GetBrowseContext(
  784. /* [out] */ IHlinkBrowseContext **ppihlbc) = 0;
  785. virtual HRESULT STDMETHODCALLTYPE Navigate(
  786. /* [in] */ DWORD grfHLNF,
  787. /* [unique][in] */ LPCWSTR pwzJumpLocation) = 0;
  788. virtual HRESULT STDMETHODCALLTYPE GetMoniker(
  789. /* [unique][in] */ LPCWSTR pwzLocation,
  790. /* [in] */ DWORD dwAssign,
  791. /* [out] */ IMoniker **ppimkLocation) = 0;
  792. virtual HRESULT STDMETHODCALLTYPE GetFriendlyName(
  793. /* [unique][in] */ LPCWSTR pwzLocation,
  794. /* [out] */ LPWSTR *ppwzFriendlyName) = 0;
  795. };
  796. #else /* C style interface */
  797. typedef struct IHlinkTargetVtbl
  798. {
  799. BEGIN_INTERFACE
  800. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  801. IHlinkTarget * This,
  802. /* [in] */ REFIID riid,
  803. /* [iid_is][out] */ void **ppvObject);
  804. ULONG ( STDMETHODCALLTYPE *AddRef )(
  805. IHlinkTarget * This);
  806. ULONG ( STDMETHODCALLTYPE *Release )(
  807. IHlinkTarget * This);
  808. HRESULT ( STDMETHODCALLTYPE *SetBrowseContext )(
  809. IHlinkTarget * This,
  810. /* [unique][in] */ IHlinkBrowseContext *pihlbc);
  811. HRESULT ( STDMETHODCALLTYPE *GetBrowseContext )(
  812. IHlinkTarget * This,
  813. /* [out] */ IHlinkBrowseContext **ppihlbc);
  814. HRESULT ( STDMETHODCALLTYPE *Navigate )(
  815. IHlinkTarget * This,
  816. /* [in] */ DWORD grfHLNF,
  817. /* [unique][in] */ LPCWSTR pwzJumpLocation);
  818. HRESULT ( STDMETHODCALLTYPE *GetMoniker )(
  819. IHlinkTarget * This,
  820. /* [unique][in] */ LPCWSTR pwzLocation,
  821. /* [in] */ DWORD dwAssign,
  822. /* [out] */ IMoniker **ppimkLocation);
  823. HRESULT ( STDMETHODCALLTYPE *GetFriendlyName )(
  824. IHlinkTarget * This,
  825. /* [unique][in] */ LPCWSTR pwzLocation,
  826. /* [out] */ LPWSTR *ppwzFriendlyName);
  827. END_INTERFACE
  828. } IHlinkTargetVtbl;
  829. interface IHlinkTarget
  830. {
  831. CONST_VTBL struct IHlinkTargetVtbl *lpVtbl;
  832. };
  833. #ifdef COBJMACROS
  834. #define IHlinkTarget_QueryInterface(This,riid,ppvObject) \
  835. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  836. #define IHlinkTarget_AddRef(This) \
  837. (This)->lpVtbl -> AddRef(This)
  838. #define IHlinkTarget_Release(This) \
  839. (This)->lpVtbl -> Release(This)
  840. #define IHlinkTarget_SetBrowseContext(This,pihlbc) \
  841. (This)->lpVtbl -> SetBrowseContext(This,pihlbc)
  842. #define IHlinkTarget_GetBrowseContext(This,ppihlbc) \
  843. (This)->lpVtbl -> GetBrowseContext(This,ppihlbc)
  844. #define IHlinkTarget_Navigate(This,grfHLNF,pwzJumpLocation) \
  845. (This)->lpVtbl -> Navigate(This,grfHLNF,pwzJumpLocation)
  846. #define IHlinkTarget_GetMoniker(This,pwzLocation,dwAssign,ppimkLocation) \
  847. (This)->lpVtbl -> GetMoniker(This,pwzLocation,dwAssign,ppimkLocation)
  848. #define IHlinkTarget_GetFriendlyName(This,pwzLocation,ppwzFriendlyName) \
  849. (This)->lpVtbl -> GetFriendlyName(This,pwzLocation,ppwzFriendlyName)
  850. #endif /* COBJMACROS */
  851. #endif /* C style interface */
  852. HRESULT STDMETHODCALLTYPE IHlinkTarget_SetBrowseContext_Proxy(
  853. IHlinkTarget * This,
  854. /* [unique][in] */ IHlinkBrowseContext *pihlbc);
  855. void __RPC_STUB IHlinkTarget_SetBrowseContext_Stub(
  856. IRpcStubBuffer *This,
  857. IRpcChannelBuffer *_pRpcChannelBuffer,
  858. PRPC_MESSAGE _pRpcMessage,
  859. DWORD *_pdwStubPhase);
  860. HRESULT STDMETHODCALLTYPE IHlinkTarget_GetBrowseContext_Proxy(
  861. IHlinkTarget * This,
  862. /* [out] */ IHlinkBrowseContext **ppihlbc);
  863. void __RPC_STUB IHlinkTarget_GetBrowseContext_Stub(
  864. IRpcStubBuffer *This,
  865. IRpcChannelBuffer *_pRpcChannelBuffer,
  866. PRPC_MESSAGE _pRpcMessage,
  867. DWORD *_pdwStubPhase);
  868. HRESULT STDMETHODCALLTYPE IHlinkTarget_Navigate_Proxy(
  869. IHlinkTarget * This,
  870. /* [in] */ DWORD grfHLNF,
  871. /* [unique][in] */ LPCWSTR pwzJumpLocation);
  872. void __RPC_STUB IHlinkTarget_Navigate_Stub(
  873. IRpcStubBuffer *This,
  874. IRpcChannelBuffer *_pRpcChannelBuffer,
  875. PRPC_MESSAGE _pRpcMessage,
  876. DWORD *_pdwStubPhase);
  877. HRESULT STDMETHODCALLTYPE IHlinkTarget_GetMoniker_Proxy(
  878. IHlinkTarget * This,
  879. /* [unique][in] */ LPCWSTR pwzLocation,
  880. /* [in] */ DWORD dwAssign,
  881. /* [out] */ IMoniker **ppimkLocation);
  882. void __RPC_STUB IHlinkTarget_GetMoniker_Stub(
  883. IRpcStubBuffer *This,
  884. IRpcChannelBuffer *_pRpcChannelBuffer,
  885. PRPC_MESSAGE _pRpcMessage,
  886. DWORD *_pdwStubPhase);
  887. HRESULT STDMETHODCALLTYPE IHlinkTarget_GetFriendlyName_Proxy(
  888. IHlinkTarget * This,
  889. /* [unique][in] */ LPCWSTR pwzLocation,
  890. /* [out] */ LPWSTR *ppwzFriendlyName);
  891. void __RPC_STUB IHlinkTarget_GetFriendlyName_Stub(
  892. IRpcStubBuffer *This,
  893. IRpcChannelBuffer *_pRpcChannelBuffer,
  894. PRPC_MESSAGE _pRpcMessage,
  895. DWORD *_pdwStubPhase);
  896. #endif /* __IHlinkTarget_INTERFACE_DEFINED__ */
  897. /* interface __MIDL_itf_hlink_0210 */
  898. /* [local] */
  899. #endif
  900. #ifndef _LPHLINKFRAME_DEFINED
  901. #define _LPHLINKFRAME_DEFINED
  902. EXTERN_C const GUID SID_SHlinkFrame;
  903. extern RPC_IF_HANDLE __MIDL_itf_hlink_0210_v0_0_c_ifspec;
  904. extern RPC_IF_HANDLE __MIDL_itf_hlink_0210_v0_0_s_ifspec;
  905. #ifndef __IHlinkFrame_INTERFACE_DEFINED__
  906. #define __IHlinkFrame_INTERFACE_DEFINED__
  907. /* interface IHlinkFrame */
  908. /* [unique][uuid][object] */
  909. typedef /* [unique] */ IHlinkFrame *LPHLINKFRAME;
  910. EXTERN_C const IID IID_IHlinkFrame;
  911. #if defined(__cplusplus) && !defined(CINTERFACE)
  912. MIDL_INTERFACE("79eac9c5-baf9-11ce-8c82-00aa004ba90b")
  913. IHlinkFrame : public IUnknown
  914. {
  915. public:
  916. virtual HRESULT STDMETHODCALLTYPE SetBrowseContext(
  917. /* [unique][in] */ IHlinkBrowseContext *pihlbc) = 0;
  918. virtual HRESULT STDMETHODCALLTYPE GetBrowseContext(
  919. /* [out] */ IHlinkBrowseContext **ppihlbc) = 0;
  920. virtual HRESULT STDMETHODCALLTYPE Navigate(
  921. /* [in] */ DWORD grfHLNF,
  922. /* [unique][in] */ LPBC pbc,
  923. /* [unique][in] */ IBindStatusCallback *pibsc,
  924. /* [unique][in] */ IHlink *pihlNavigate) = 0;
  925. virtual HRESULT STDMETHODCALLTYPE OnNavigate(
  926. /* [in] */ DWORD grfHLNF,
  927. /* [unique][in] */ IMoniker *pimkTarget,
  928. /* [unique][in] */ LPCWSTR pwzLocation,
  929. /* [unique][in] */ LPCWSTR pwzFriendlyName,
  930. /* [in] */ DWORD dwreserved) = 0;
  931. virtual HRESULT STDMETHODCALLTYPE UpdateHlink(
  932. /* [in] */ ULONG uHLID,
  933. /* [unique][in] */ IMoniker *pimkTarget,
  934. /* [unique][in] */ LPCWSTR pwzLocation,
  935. /* [unique][in] */ LPCWSTR pwzFriendlyName) = 0;
  936. };
  937. #else /* C style interface */
  938. typedef struct IHlinkFrameVtbl
  939. {
  940. BEGIN_INTERFACE
  941. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  942. IHlinkFrame * This,
  943. /* [in] */ REFIID riid,
  944. /* [iid_is][out] */ void **ppvObject);
  945. ULONG ( STDMETHODCALLTYPE *AddRef )(
  946. IHlinkFrame * This);
  947. ULONG ( STDMETHODCALLTYPE *Release )(
  948. IHlinkFrame * This);
  949. HRESULT ( STDMETHODCALLTYPE *SetBrowseContext )(
  950. IHlinkFrame * This,
  951. /* [unique][in] */ IHlinkBrowseContext *pihlbc);
  952. HRESULT ( STDMETHODCALLTYPE *GetBrowseContext )(
  953. IHlinkFrame * This,
  954. /* [out] */ IHlinkBrowseContext **ppihlbc);
  955. HRESULT ( STDMETHODCALLTYPE *Navigate )(
  956. IHlinkFrame * This,
  957. /* [in] */ DWORD grfHLNF,
  958. /* [unique][in] */ LPBC pbc,
  959. /* [unique][in] */ IBindStatusCallback *pibsc,
  960. /* [unique][in] */ IHlink *pihlNavigate);
  961. HRESULT ( STDMETHODCALLTYPE *OnNavigate )(
  962. IHlinkFrame * This,
  963. /* [in] */ DWORD grfHLNF,
  964. /* [unique][in] */ IMoniker *pimkTarget,
  965. /* [unique][in] */ LPCWSTR pwzLocation,
  966. /* [unique][in] */ LPCWSTR pwzFriendlyName,
  967. /* [in] */ DWORD dwreserved);
  968. HRESULT ( STDMETHODCALLTYPE *UpdateHlink )(
  969. IHlinkFrame * This,
  970. /* [in] */ ULONG uHLID,
  971. /* [unique][in] */ IMoniker *pimkTarget,
  972. /* [unique][in] */ LPCWSTR pwzLocation,
  973. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  974. END_INTERFACE
  975. } IHlinkFrameVtbl;
  976. interface IHlinkFrame
  977. {
  978. CONST_VTBL struct IHlinkFrameVtbl *lpVtbl;
  979. };
  980. #ifdef COBJMACROS
  981. #define IHlinkFrame_QueryInterface(This,riid,ppvObject) \
  982. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  983. #define IHlinkFrame_AddRef(This) \
  984. (This)->lpVtbl -> AddRef(This)
  985. #define IHlinkFrame_Release(This) \
  986. (This)->lpVtbl -> Release(This)
  987. #define IHlinkFrame_SetBrowseContext(This,pihlbc) \
  988. (This)->lpVtbl -> SetBrowseContext(This,pihlbc)
  989. #define IHlinkFrame_GetBrowseContext(This,ppihlbc) \
  990. (This)->lpVtbl -> GetBrowseContext(This,ppihlbc)
  991. #define IHlinkFrame_Navigate(This,grfHLNF,pbc,pibsc,pihlNavigate) \
  992. (This)->lpVtbl -> Navigate(This,grfHLNF,pbc,pibsc,pihlNavigate)
  993. #define IHlinkFrame_OnNavigate(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,dwreserved) \
  994. (This)->lpVtbl -> OnNavigate(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,dwreserved)
  995. #define IHlinkFrame_UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName) \
  996. (This)->lpVtbl -> UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName)
  997. #endif /* COBJMACROS */
  998. #endif /* C style interface */
  999. HRESULT STDMETHODCALLTYPE IHlinkFrame_SetBrowseContext_Proxy(
  1000. IHlinkFrame * This,
  1001. /* [unique][in] */ IHlinkBrowseContext *pihlbc);
  1002. void __RPC_STUB IHlinkFrame_SetBrowseContext_Stub(
  1003. IRpcStubBuffer *This,
  1004. IRpcChannelBuffer *_pRpcChannelBuffer,
  1005. PRPC_MESSAGE _pRpcMessage,
  1006. DWORD *_pdwStubPhase);
  1007. HRESULT STDMETHODCALLTYPE IHlinkFrame_GetBrowseContext_Proxy(
  1008. IHlinkFrame * This,
  1009. /* [out] */ IHlinkBrowseContext **ppihlbc);
  1010. void __RPC_STUB IHlinkFrame_GetBrowseContext_Stub(
  1011. IRpcStubBuffer *This,
  1012. IRpcChannelBuffer *_pRpcChannelBuffer,
  1013. PRPC_MESSAGE _pRpcMessage,
  1014. DWORD *_pdwStubPhase);
  1015. HRESULT STDMETHODCALLTYPE IHlinkFrame_Navigate_Proxy(
  1016. IHlinkFrame * This,
  1017. /* [in] */ DWORD grfHLNF,
  1018. /* [unique][in] */ LPBC pbc,
  1019. /* [unique][in] */ IBindStatusCallback *pibsc,
  1020. /* [unique][in] */ IHlink *pihlNavigate);
  1021. void __RPC_STUB IHlinkFrame_Navigate_Stub(
  1022. IRpcStubBuffer *This,
  1023. IRpcChannelBuffer *_pRpcChannelBuffer,
  1024. PRPC_MESSAGE _pRpcMessage,
  1025. DWORD *_pdwStubPhase);
  1026. HRESULT STDMETHODCALLTYPE IHlinkFrame_OnNavigate_Proxy(
  1027. IHlinkFrame * This,
  1028. /* [in] */ DWORD grfHLNF,
  1029. /* [unique][in] */ IMoniker *pimkTarget,
  1030. /* [unique][in] */ LPCWSTR pwzLocation,
  1031. /* [unique][in] */ LPCWSTR pwzFriendlyName,
  1032. /* [in] */ DWORD dwreserved);
  1033. void __RPC_STUB IHlinkFrame_OnNavigate_Stub(
  1034. IRpcStubBuffer *This,
  1035. IRpcChannelBuffer *_pRpcChannelBuffer,
  1036. PRPC_MESSAGE _pRpcMessage,
  1037. DWORD *_pdwStubPhase);
  1038. HRESULT STDMETHODCALLTYPE IHlinkFrame_UpdateHlink_Proxy(
  1039. IHlinkFrame * This,
  1040. /* [in] */ ULONG uHLID,
  1041. /* [unique][in] */ IMoniker *pimkTarget,
  1042. /* [unique][in] */ LPCWSTR pwzLocation,
  1043. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  1044. void __RPC_STUB IHlinkFrame_UpdateHlink_Stub(
  1045. IRpcStubBuffer *This,
  1046. IRpcChannelBuffer *_pRpcChannelBuffer,
  1047. PRPC_MESSAGE _pRpcMessage,
  1048. DWORD *_pdwStubPhase);
  1049. #endif /* __IHlinkFrame_INTERFACE_DEFINED__ */
  1050. /* interface __MIDL_itf_hlink_0211 */
  1051. /* [local] */
  1052. #endif
  1053. #ifndef _LPENUMHLITEM_DEFINED
  1054. #define _LPENUMHLITEM_DEFINED
  1055. extern RPC_IF_HANDLE __MIDL_itf_hlink_0211_v0_0_c_ifspec;
  1056. extern RPC_IF_HANDLE __MIDL_itf_hlink_0211_v0_0_s_ifspec;
  1057. #ifndef __IEnumHLITEM_INTERFACE_DEFINED__
  1058. #define __IEnumHLITEM_INTERFACE_DEFINED__
  1059. /* interface IEnumHLITEM */
  1060. /* [unique][uuid][object][local] */
  1061. typedef /* [unique] */ IEnumHLITEM *LPENUMHLITEM;
  1062. typedef struct tagHLITEM
  1063. {
  1064. ULONG uHLID;
  1065. LPWSTR pwzFriendlyName;
  1066. } HLITEM;
  1067. typedef /* [unique] */ HLITEM *LPHLITEM;
  1068. EXTERN_C const IID IID_IEnumHLITEM;
  1069. #if defined(__cplusplus) && !defined(CINTERFACE)
  1070. MIDL_INTERFACE("79eac9c6-baf9-11ce-8c82-00aa004ba90b")
  1071. IEnumHLITEM : public IUnknown
  1072. {
  1073. public:
  1074. virtual HRESULT __stdcall Next(
  1075. /* [in] */ ULONG celt,
  1076. /* [out] */ HLITEM *rgelt,
  1077. /* [out] */ ULONG *pceltFetched) = 0;
  1078. virtual HRESULT STDMETHODCALLTYPE Skip(
  1079. /* [in] */ ULONG celt) = 0;
  1080. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1081. virtual HRESULT STDMETHODCALLTYPE Clone(
  1082. /* [out] */ IEnumHLITEM **ppienumhlitem) = 0;
  1083. };
  1084. #else /* C style interface */
  1085. typedef struct IEnumHLITEMVtbl
  1086. {
  1087. BEGIN_INTERFACE
  1088. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1089. IEnumHLITEM * This,
  1090. /* [in] */ REFIID riid,
  1091. /* [iid_is][out] */ void **ppvObject);
  1092. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1093. IEnumHLITEM * This);
  1094. ULONG ( STDMETHODCALLTYPE *Release )(
  1095. IEnumHLITEM * This);
  1096. HRESULT ( __stdcall *Next )(
  1097. IEnumHLITEM * This,
  1098. /* [in] */ ULONG celt,
  1099. /* [out] */ HLITEM *rgelt,
  1100. /* [out] */ ULONG *pceltFetched);
  1101. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1102. IEnumHLITEM * This,
  1103. /* [in] */ ULONG celt);
  1104. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1105. IEnumHLITEM * This);
  1106. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1107. IEnumHLITEM * This,
  1108. /* [out] */ IEnumHLITEM **ppienumhlitem);
  1109. END_INTERFACE
  1110. } IEnumHLITEMVtbl;
  1111. interface IEnumHLITEM
  1112. {
  1113. CONST_VTBL struct IEnumHLITEMVtbl *lpVtbl;
  1114. };
  1115. #ifdef COBJMACROS
  1116. #define IEnumHLITEM_QueryInterface(This,riid,ppvObject) \
  1117. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1118. #define IEnumHLITEM_AddRef(This) \
  1119. (This)->lpVtbl -> AddRef(This)
  1120. #define IEnumHLITEM_Release(This) \
  1121. (This)->lpVtbl -> Release(This)
  1122. #define IEnumHLITEM_Next(This,celt,rgelt,pceltFetched) \
  1123. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1124. #define IEnumHLITEM_Skip(This,celt) \
  1125. (This)->lpVtbl -> Skip(This,celt)
  1126. #define IEnumHLITEM_Reset(This) \
  1127. (This)->lpVtbl -> Reset(This)
  1128. #define IEnumHLITEM_Clone(This,ppienumhlitem) \
  1129. (This)->lpVtbl -> Clone(This,ppienumhlitem)
  1130. #endif /* COBJMACROS */
  1131. #endif /* C style interface */
  1132. HRESULT __stdcall IEnumHLITEM_Next_Proxy(
  1133. IEnumHLITEM * This,
  1134. /* [in] */ ULONG celt,
  1135. /* [out] */ HLITEM *rgelt,
  1136. /* [out] */ ULONG *pceltFetched);
  1137. void __RPC_STUB IEnumHLITEM_Next_Stub(
  1138. IRpcStubBuffer *This,
  1139. IRpcChannelBuffer *_pRpcChannelBuffer,
  1140. PRPC_MESSAGE _pRpcMessage,
  1141. DWORD *_pdwStubPhase);
  1142. HRESULT STDMETHODCALLTYPE IEnumHLITEM_Skip_Proxy(
  1143. IEnumHLITEM * This,
  1144. /* [in] */ ULONG celt);
  1145. void __RPC_STUB IEnumHLITEM_Skip_Stub(
  1146. IRpcStubBuffer *This,
  1147. IRpcChannelBuffer *_pRpcChannelBuffer,
  1148. PRPC_MESSAGE _pRpcMessage,
  1149. DWORD *_pdwStubPhase);
  1150. HRESULT STDMETHODCALLTYPE IEnumHLITEM_Reset_Proxy(
  1151. IEnumHLITEM * This);
  1152. void __RPC_STUB IEnumHLITEM_Reset_Stub(
  1153. IRpcStubBuffer *This,
  1154. IRpcChannelBuffer *_pRpcChannelBuffer,
  1155. PRPC_MESSAGE _pRpcMessage,
  1156. DWORD *_pdwStubPhase);
  1157. HRESULT STDMETHODCALLTYPE IEnumHLITEM_Clone_Proxy(
  1158. IEnumHLITEM * This,
  1159. /* [out] */ IEnumHLITEM **ppienumhlitem);
  1160. void __RPC_STUB IEnumHLITEM_Clone_Stub(
  1161. IRpcStubBuffer *This,
  1162. IRpcChannelBuffer *_pRpcChannelBuffer,
  1163. PRPC_MESSAGE _pRpcMessage,
  1164. DWORD *_pdwStubPhase);
  1165. #endif /* __IEnumHLITEM_INTERFACE_DEFINED__ */
  1166. /* interface __MIDL_itf_hlink_0212 */
  1167. /* [local] */
  1168. #endif
  1169. #ifndef _LPHLINKBROWSECONTEXT_DEFINED
  1170. #define _LPHLINKBROWSECONTEXT_DEFINED
  1171. extern RPC_IF_HANDLE __MIDL_itf_hlink_0212_v0_0_c_ifspec;
  1172. extern RPC_IF_HANDLE __MIDL_itf_hlink_0212_v0_0_s_ifspec;
  1173. #ifndef __IHlinkBrowseContext_INTERFACE_DEFINED__
  1174. #define __IHlinkBrowseContext_INTERFACE_DEFINED__
  1175. /* interface IHlinkBrowseContext */
  1176. /* [unique][uuid][object][local] */
  1177. typedef /* [unique] */ IHlinkBrowseContext *LPHLINKBROWSECONTEXT;
  1178. enum __MIDL_IHlinkBrowseContext_0001
  1179. { HLTB_DOCKEDLEFT = 0,
  1180. HLTB_DOCKEDTOP = 1,
  1181. HLTB_DOCKEDRIGHT = 2,
  1182. HLTB_DOCKEDBOTTOM = 3,
  1183. HLTB_FLOATING = 4
  1184. } ;
  1185. typedef struct _tagHLTBINFO
  1186. {
  1187. ULONG uDockType;
  1188. RECT rcTbPos;
  1189. } HLTBINFO;
  1190. enum __MIDL_IHlinkBrowseContext_0002
  1191. { HLBWIF_HASFRAMEWNDINFO = 0x1,
  1192. HLBWIF_HASDOCWNDINFO = 0x2,
  1193. HLBWIF_FRAMEWNDMAXIMIZED = 0x4,
  1194. HLBWIF_DOCWNDMAXIMIZED = 0x8,
  1195. HLBWIF_HASWEBTOOLBARINFO = 0x10,
  1196. HLBWIF_WEBTOOLBARHIDDEN = 0x20
  1197. } ;
  1198. typedef struct _tagHLBWINFO
  1199. {
  1200. ULONG cbSize;
  1201. DWORD grfHLBWIF;
  1202. RECT rcFramePos;
  1203. RECT rcDocPos;
  1204. HLTBINFO hltbinfo;
  1205. } HLBWINFO;
  1206. typedef /* [unique] */ HLBWINFO *LPHLBWINFO;
  1207. enum __MIDL_IHlinkBrowseContext_0003
  1208. { HLID_INVALID = 0,
  1209. HLID_PREVIOUS = 0xffffffff,
  1210. HLID_NEXT = 0xfffffffe,
  1211. HLID_CURRENT = 0xfffffffd,
  1212. HLID_STACKBOTTOM = 0xfffffffc,
  1213. HLID_STACKTOP = 0xfffffffb
  1214. } ;
  1215. enum __MIDL_IHlinkBrowseContext_0004
  1216. { HLQF_ISVALID = 0x1,
  1217. HLQF_ISCURRENT = 0x2
  1218. } ;
  1219. EXTERN_C const IID IID_IHlinkBrowseContext;
  1220. #if defined(__cplusplus) && !defined(CINTERFACE)
  1221. MIDL_INTERFACE("79eac9c7-baf9-11ce-8c82-00aa004ba90b")
  1222. IHlinkBrowseContext : public IUnknown
  1223. {
  1224. public:
  1225. virtual HRESULT STDMETHODCALLTYPE Register(
  1226. /* [in] */ DWORD reserved,
  1227. /* [unique][in] */ IUnknown *piunk,
  1228. /* [unique][in] */ IMoniker *pimk,
  1229. /* [out] */ DWORD *pdwRegister) = 0;
  1230. virtual HRESULT STDMETHODCALLTYPE GetObject(
  1231. /* [unique][in] */ IMoniker *pimk,
  1232. /* [in] */ BOOL fBindIfRootRegistered,
  1233. /* [out] */ IUnknown **ppiunk) = 0;
  1234. virtual HRESULT STDMETHODCALLTYPE Revoke(
  1235. /* [in] */ DWORD dwRegister) = 0;
  1236. virtual HRESULT STDMETHODCALLTYPE SetBrowseWindowInfo(
  1237. /* [unique][in] */ HLBWINFO *phlbwi) = 0;
  1238. virtual HRESULT STDMETHODCALLTYPE GetBrowseWindowInfo(
  1239. /* [out] */ HLBWINFO *phlbwi) = 0;
  1240. virtual HRESULT STDMETHODCALLTYPE SetInitialHlink(
  1241. /* [unique][in] */ IMoniker *pimkTarget,
  1242. /* [unique][in] */ LPCWSTR pwzLocation,
  1243. /* [unique][in] */ LPCWSTR pwzFriendlyName) = 0;
  1244. virtual HRESULT STDMETHODCALLTYPE OnNavigateHlink(
  1245. /* [in] */ DWORD grfHLNF,
  1246. /* [unique][in] */ IMoniker *pimkTarget,
  1247. /* [unique][in] */ LPCWSTR pwzLocation,
  1248. /* [unique][in] */ LPCWSTR pwzFriendlyName,
  1249. /* [out] */ ULONG *puHLID) = 0;
  1250. virtual HRESULT STDMETHODCALLTYPE UpdateHlink(
  1251. /* [in] */ ULONG uHLID,
  1252. /* [unique][in] */ IMoniker *pimkTarget,
  1253. /* [unique][in] */ LPCWSTR pwzLocation,
  1254. /* [unique][in] */ LPCWSTR pwzFriendlyName) = 0;
  1255. virtual HRESULT STDMETHODCALLTYPE EnumNavigationStack(
  1256. /* [in] */ DWORD dwReserved,
  1257. /* [in] */ DWORD grfHLFNAMEF,
  1258. /* [out] */ IEnumHLITEM **ppienumhlitem) = 0;
  1259. virtual HRESULT STDMETHODCALLTYPE QueryHlink(
  1260. /* [in] */ DWORD grfHLQF,
  1261. /* [in] */ ULONG uHLID) = 0;
  1262. virtual HRESULT STDMETHODCALLTYPE GetHlink(
  1263. /* [in] */ ULONG uHLID,
  1264. /* [out] */ IHlink **ppihl) = 0;
  1265. virtual HRESULT STDMETHODCALLTYPE SetCurrentHlink(
  1266. /* [in] */ ULONG uHLID) = 0;
  1267. virtual HRESULT STDMETHODCALLTYPE Clone(
  1268. /* [unique][in] */ IUnknown *piunkOuter,
  1269. /* [in] */ REFIID riid,
  1270. /* [iid_is][out] */ IUnknown **ppiunkObj) = 0;
  1271. virtual HRESULT STDMETHODCALLTYPE Close(
  1272. /* [in] */ DWORD reserved) = 0;
  1273. };
  1274. #else /* C style interface */
  1275. typedef struct IHlinkBrowseContextVtbl
  1276. {
  1277. BEGIN_INTERFACE
  1278. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1279. IHlinkBrowseContext * This,
  1280. /* [in] */ REFIID riid,
  1281. /* [iid_is][out] */ void **ppvObject);
  1282. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1283. IHlinkBrowseContext * This);
  1284. ULONG ( STDMETHODCALLTYPE *Release )(
  1285. IHlinkBrowseContext * This);
  1286. HRESULT ( STDMETHODCALLTYPE *Register )(
  1287. IHlinkBrowseContext * This,
  1288. /* [in] */ DWORD reserved,
  1289. /* [unique][in] */ IUnknown *piunk,
  1290. /* [unique][in] */ IMoniker *pimk,
  1291. /* [out] */ DWORD *pdwRegister);
  1292. HRESULT ( STDMETHODCALLTYPE *GetObject )(
  1293. IHlinkBrowseContext * This,
  1294. /* [unique][in] */ IMoniker *pimk,
  1295. /* [in] */ BOOL fBindIfRootRegistered,
  1296. /* [out] */ IUnknown **ppiunk);
  1297. HRESULT ( STDMETHODCALLTYPE *Revoke )(
  1298. IHlinkBrowseContext * This,
  1299. /* [in] */ DWORD dwRegister);
  1300. HRESULT ( STDMETHODCALLTYPE *SetBrowseWindowInfo )(
  1301. IHlinkBrowseContext * This,
  1302. /* [unique][in] */ HLBWINFO *phlbwi);
  1303. HRESULT ( STDMETHODCALLTYPE *GetBrowseWindowInfo )(
  1304. IHlinkBrowseContext * This,
  1305. /* [out] */ HLBWINFO *phlbwi);
  1306. HRESULT ( STDMETHODCALLTYPE *SetInitialHlink )(
  1307. IHlinkBrowseContext * This,
  1308. /* [unique][in] */ IMoniker *pimkTarget,
  1309. /* [unique][in] */ LPCWSTR pwzLocation,
  1310. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  1311. HRESULT ( STDMETHODCALLTYPE *OnNavigateHlink )(
  1312. IHlinkBrowseContext * This,
  1313. /* [in] */ DWORD grfHLNF,
  1314. /* [unique][in] */ IMoniker *pimkTarget,
  1315. /* [unique][in] */ LPCWSTR pwzLocation,
  1316. /* [unique][in] */ LPCWSTR pwzFriendlyName,
  1317. /* [out] */ ULONG *puHLID);
  1318. HRESULT ( STDMETHODCALLTYPE *UpdateHlink )(
  1319. IHlinkBrowseContext * This,
  1320. /* [in] */ ULONG uHLID,
  1321. /* [unique][in] */ IMoniker *pimkTarget,
  1322. /* [unique][in] */ LPCWSTR pwzLocation,
  1323. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  1324. HRESULT ( STDMETHODCALLTYPE *EnumNavigationStack )(
  1325. IHlinkBrowseContext * This,
  1326. /* [in] */ DWORD dwReserved,
  1327. /* [in] */ DWORD grfHLFNAMEF,
  1328. /* [out] */ IEnumHLITEM **ppienumhlitem);
  1329. HRESULT ( STDMETHODCALLTYPE *QueryHlink )(
  1330. IHlinkBrowseContext * This,
  1331. /* [in] */ DWORD grfHLQF,
  1332. /* [in] */ ULONG uHLID);
  1333. HRESULT ( STDMETHODCALLTYPE *GetHlink )(
  1334. IHlinkBrowseContext * This,
  1335. /* [in] */ ULONG uHLID,
  1336. /* [out] */ IHlink **ppihl);
  1337. HRESULT ( STDMETHODCALLTYPE *SetCurrentHlink )(
  1338. IHlinkBrowseContext * This,
  1339. /* [in] */ ULONG uHLID);
  1340. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1341. IHlinkBrowseContext * This,
  1342. /* [unique][in] */ IUnknown *piunkOuter,
  1343. /* [in] */ REFIID riid,
  1344. /* [iid_is][out] */ IUnknown **ppiunkObj);
  1345. HRESULT ( STDMETHODCALLTYPE *Close )(
  1346. IHlinkBrowseContext * This,
  1347. /* [in] */ DWORD reserved);
  1348. END_INTERFACE
  1349. } IHlinkBrowseContextVtbl;
  1350. interface IHlinkBrowseContext
  1351. {
  1352. CONST_VTBL struct IHlinkBrowseContextVtbl *lpVtbl;
  1353. };
  1354. #ifdef COBJMACROS
  1355. #define IHlinkBrowseContext_QueryInterface(This,riid,ppvObject) \
  1356. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1357. #define IHlinkBrowseContext_AddRef(This) \
  1358. (This)->lpVtbl -> AddRef(This)
  1359. #define IHlinkBrowseContext_Release(This) \
  1360. (This)->lpVtbl -> Release(This)
  1361. #define IHlinkBrowseContext_Register(This,reserved,piunk,pimk,pdwRegister) \
  1362. (This)->lpVtbl -> Register(This,reserved,piunk,pimk,pdwRegister)
  1363. #define IHlinkBrowseContext_GetObject(This,pimk,fBindIfRootRegistered,ppiunk) \
  1364. (This)->lpVtbl -> GetObject(This,pimk,fBindIfRootRegistered,ppiunk)
  1365. #define IHlinkBrowseContext_Revoke(This,dwRegister) \
  1366. (This)->lpVtbl -> Revoke(This,dwRegister)
  1367. #define IHlinkBrowseContext_SetBrowseWindowInfo(This,phlbwi) \
  1368. (This)->lpVtbl -> SetBrowseWindowInfo(This,phlbwi)
  1369. #define IHlinkBrowseContext_GetBrowseWindowInfo(This,phlbwi) \
  1370. (This)->lpVtbl -> GetBrowseWindowInfo(This,phlbwi)
  1371. #define IHlinkBrowseContext_SetInitialHlink(This,pimkTarget,pwzLocation,pwzFriendlyName) \
  1372. (This)->lpVtbl -> SetInitialHlink(This,pimkTarget,pwzLocation,pwzFriendlyName)
  1373. #define IHlinkBrowseContext_OnNavigateHlink(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,puHLID) \
  1374. (This)->lpVtbl -> OnNavigateHlink(This,grfHLNF,pimkTarget,pwzLocation,pwzFriendlyName,puHLID)
  1375. #define IHlinkBrowseContext_UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName) \
  1376. (This)->lpVtbl -> UpdateHlink(This,uHLID,pimkTarget,pwzLocation,pwzFriendlyName)
  1377. #define IHlinkBrowseContext_EnumNavigationStack(This,dwReserved,grfHLFNAMEF,ppienumhlitem) \
  1378. (This)->lpVtbl -> EnumNavigationStack(This,dwReserved,grfHLFNAMEF,ppienumhlitem)
  1379. #define IHlinkBrowseContext_QueryHlink(This,grfHLQF,uHLID) \
  1380. (This)->lpVtbl -> QueryHlink(This,grfHLQF,uHLID)
  1381. #define IHlinkBrowseContext_GetHlink(This,uHLID,ppihl) \
  1382. (This)->lpVtbl -> GetHlink(This,uHLID,ppihl)
  1383. #define IHlinkBrowseContext_SetCurrentHlink(This,uHLID) \
  1384. (This)->lpVtbl -> SetCurrentHlink(This,uHLID)
  1385. #define IHlinkBrowseContext_Clone(This,piunkOuter,riid,ppiunkObj) \
  1386. (This)->lpVtbl -> Clone(This,piunkOuter,riid,ppiunkObj)
  1387. #define IHlinkBrowseContext_Close(This,reserved) \
  1388. (This)->lpVtbl -> Close(This,reserved)
  1389. #endif /* COBJMACROS */
  1390. #endif /* C style interface */
  1391. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_Register_Proxy(
  1392. IHlinkBrowseContext * This,
  1393. /* [in] */ DWORD reserved,
  1394. /* [unique][in] */ IUnknown *piunk,
  1395. /* [unique][in] */ IMoniker *pimk,
  1396. /* [out] */ DWORD *pdwRegister);
  1397. void __RPC_STUB IHlinkBrowseContext_Register_Stub(
  1398. IRpcStubBuffer *This,
  1399. IRpcChannelBuffer *_pRpcChannelBuffer,
  1400. PRPC_MESSAGE _pRpcMessage,
  1401. DWORD *_pdwStubPhase);
  1402. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_GetObject_Proxy(
  1403. IHlinkBrowseContext * This,
  1404. /* [unique][in] */ IMoniker *pimk,
  1405. /* [in] */ BOOL fBindIfRootRegistered,
  1406. /* [out] */ IUnknown **ppiunk);
  1407. void __RPC_STUB IHlinkBrowseContext_GetObject_Stub(
  1408. IRpcStubBuffer *This,
  1409. IRpcChannelBuffer *_pRpcChannelBuffer,
  1410. PRPC_MESSAGE _pRpcMessage,
  1411. DWORD *_pdwStubPhase);
  1412. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_Revoke_Proxy(
  1413. IHlinkBrowseContext * This,
  1414. /* [in] */ DWORD dwRegister);
  1415. void __RPC_STUB IHlinkBrowseContext_Revoke_Stub(
  1416. IRpcStubBuffer *This,
  1417. IRpcChannelBuffer *_pRpcChannelBuffer,
  1418. PRPC_MESSAGE _pRpcMessage,
  1419. DWORD *_pdwStubPhase);
  1420. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_SetBrowseWindowInfo_Proxy(
  1421. IHlinkBrowseContext * This,
  1422. /* [unique][in] */ HLBWINFO *phlbwi);
  1423. void __RPC_STUB IHlinkBrowseContext_SetBrowseWindowInfo_Stub(
  1424. IRpcStubBuffer *This,
  1425. IRpcChannelBuffer *_pRpcChannelBuffer,
  1426. PRPC_MESSAGE _pRpcMessage,
  1427. DWORD *_pdwStubPhase);
  1428. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_GetBrowseWindowInfo_Proxy(
  1429. IHlinkBrowseContext * This,
  1430. /* [out] */ HLBWINFO *phlbwi);
  1431. void __RPC_STUB IHlinkBrowseContext_GetBrowseWindowInfo_Stub(
  1432. IRpcStubBuffer *This,
  1433. IRpcChannelBuffer *_pRpcChannelBuffer,
  1434. PRPC_MESSAGE _pRpcMessage,
  1435. DWORD *_pdwStubPhase);
  1436. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_SetInitialHlink_Proxy(
  1437. IHlinkBrowseContext * This,
  1438. /* [unique][in] */ IMoniker *pimkTarget,
  1439. /* [unique][in] */ LPCWSTR pwzLocation,
  1440. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  1441. void __RPC_STUB IHlinkBrowseContext_SetInitialHlink_Stub(
  1442. IRpcStubBuffer *This,
  1443. IRpcChannelBuffer *_pRpcChannelBuffer,
  1444. PRPC_MESSAGE _pRpcMessage,
  1445. DWORD *_pdwStubPhase);
  1446. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_OnNavigateHlink_Proxy(
  1447. IHlinkBrowseContext * This,
  1448. /* [in] */ DWORD grfHLNF,
  1449. /* [unique][in] */ IMoniker *pimkTarget,
  1450. /* [unique][in] */ LPCWSTR pwzLocation,
  1451. /* [unique][in] */ LPCWSTR pwzFriendlyName,
  1452. /* [out] */ ULONG *puHLID);
  1453. void __RPC_STUB IHlinkBrowseContext_OnNavigateHlink_Stub(
  1454. IRpcStubBuffer *This,
  1455. IRpcChannelBuffer *_pRpcChannelBuffer,
  1456. PRPC_MESSAGE _pRpcMessage,
  1457. DWORD *_pdwStubPhase);
  1458. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_UpdateHlink_Proxy(
  1459. IHlinkBrowseContext * This,
  1460. /* [in] */ ULONG uHLID,
  1461. /* [unique][in] */ IMoniker *pimkTarget,
  1462. /* [unique][in] */ LPCWSTR pwzLocation,
  1463. /* [unique][in] */ LPCWSTR pwzFriendlyName);
  1464. void __RPC_STUB IHlinkBrowseContext_UpdateHlink_Stub(
  1465. IRpcStubBuffer *This,
  1466. IRpcChannelBuffer *_pRpcChannelBuffer,
  1467. PRPC_MESSAGE _pRpcMessage,
  1468. DWORD *_pdwStubPhase);
  1469. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_EnumNavigationStack_Proxy(
  1470. IHlinkBrowseContext * This,
  1471. /* [in] */ DWORD dwReserved,
  1472. /* [in] */ DWORD grfHLFNAMEF,
  1473. /* [out] */ IEnumHLITEM **ppienumhlitem);
  1474. void __RPC_STUB IHlinkBrowseContext_EnumNavigationStack_Stub(
  1475. IRpcStubBuffer *This,
  1476. IRpcChannelBuffer *_pRpcChannelBuffer,
  1477. PRPC_MESSAGE _pRpcMessage,
  1478. DWORD *_pdwStubPhase);
  1479. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_QueryHlink_Proxy(
  1480. IHlinkBrowseContext * This,
  1481. /* [in] */ DWORD grfHLQF,
  1482. /* [in] */ ULONG uHLID);
  1483. void __RPC_STUB IHlinkBrowseContext_QueryHlink_Stub(
  1484. IRpcStubBuffer *This,
  1485. IRpcChannelBuffer *_pRpcChannelBuffer,
  1486. PRPC_MESSAGE _pRpcMessage,
  1487. DWORD *_pdwStubPhase);
  1488. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_GetHlink_Proxy(
  1489. IHlinkBrowseContext * This,
  1490. /* [in] */ ULONG uHLID,
  1491. /* [out] */ IHlink **ppihl);
  1492. void __RPC_STUB IHlinkBrowseContext_GetHlink_Stub(
  1493. IRpcStubBuffer *This,
  1494. IRpcChannelBuffer *_pRpcChannelBuffer,
  1495. PRPC_MESSAGE _pRpcMessage,
  1496. DWORD *_pdwStubPhase);
  1497. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_SetCurrentHlink_Proxy(
  1498. IHlinkBrowseContext * This,
  1499. /* [in] */ ULONG uHLID);
  1500. void __RPC_STUB IHlinkBrowseContext_SetCurrentHlink_Stub(
  1501. IRpcStubBuffer *This,
  1502. IRpcChannelBuffer *_pRpcChannelBuffer,
  1503. PRPC_MESSAGE _pRpcMessage,
  1504. DWORD *_pdwStubPhase);
  1505. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_Clone_Proxy(
  1506. IHlinkBrowseContext * This,
  1507. /* [unique][in] */ IUnknown *piunkOuter,
  1508. /* [in] */ REFIID riid,
  1509. /* [iid_is][out] */ IUnknown **ppiunkObj);
  1510. void __RPC_STUB IHlinkBrowseContext_Clone_Stub(
  1511. IRpcStubBuffer *This,
  1512. IRpcChannelBuffer *_pRpcChannelBuffer,
  1513. PRPC_MESSAGE _pRpcMessage,
  1514. DWORD *_pdwStubPhase);
  1515. HRESULT STDMETHODCALLTYPE IHlinkBrowseContext_Close_Proxy(
  1516. IHlinkBrowseContext * This,
  1517. /* [in] */ DWORD reserved);
  1518. void __RPC_STUB IHlinkBrowseContext_Close_Stub(
  1519. IRpcStubBuffer *This,
  1520. IRpcChannelBuffer *_pRpcChannelBuffer,
  1521. PRPC_MESSAGE _pRpcMessage,
  1522. DWORD *_pdwStubPhase);
  1523. #endif /* __IHlinkBrowseContext_INTERFACE_DEFINED__ */
  1524. /* interface __MIDL_itf_hlink_0213 */
  1525. /* [local] */
  1526. #endif
  1527. #ifndef _LPEXTENSIONSERVICES_DEFINED
  1528. #define _LPEXTENSIONSERVICES_DEFINED
  1529. extern RPC_IF_HANDLE __MIDL_itf_hlink_0213_v0_0_c_ifspec;
  1530. extern RPC_IF_HANDLE __MIDL_itf_hlink_0213_v0_0_s_ifspec;
  1531. #ifndef __IExtensionServices_INTERFACE_DEFINED__
  1532. #define __IExtensionServices_INTERFACE_DEFINED__
  1533. /* interface IExtensionServices */
  1534. /* [unique][uuid][object][local] */
  1535. typedef /* [unique] */ IExtensionServices *LPEXTENSIONSERVICES;
  1536. EXTERN_C const IID IID_IExtensionServices;
  1537. #if defined(__cplusplus) && !defined(CINTERFACE)
  1538. MIDL_INTERFACE("79eac9cb-baf9-11ce-8c82-00aa004ba90b")
  1539. IExtensionServices : public IUnknown
  1540. {
  1541. public:
  1542. virtual HRESULT STDMETHODCALLTYPE SetAdditionalHeaders(
  1543. /* [in] */ LPCWSTR pwzAdditionalHeaders) = 0;
  1544. virtual HRESULT STDMETHODCALLTYPE SetAuthenticateData(
  1545. /* [in] */ HWND phwnd,
  1546. /* [in] */ LPCWSTR pwzUsername,
  1547. /* [in] */ LPCWSTR pwzPassword) = 0;
  1548. };
  1549. #else /* C style interface */
  1550. typedef struct IExtensionServicesVtbl
  1551. {
  1552. BEGIN_INTERFACE
  1553. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1554. IExtensionServices * This,
  1555. /* [in] */ REFIID riid,
  1556. /* [iid_is][out] */ void **ppvObject);
  1557. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1558. IExtensionServices * This);
  1559. ULONG ( STDMETHODCALLTYPE *Release )(
  1560. IExtensionServices * This);
  1561. HRESULT ( STDMETHODCALLTYPE *SetAdditionalHeaders )(
  1562. IExtensionServices * This,
  1563. /* [in] */ LPCWSTR pwzAdditionalHeaders);
  1564. HRESULT ( STDMETHODCALLTYPE *SetAuthenticateData )(
  1565. IExtensionServices * This,
  1566. /* [in] */ HWND phwnd,
  1567. /* [in] */ LPCWSTR pwzUsername,
  1568. /* [in] */ LPCWSTR pwzPassword);
  1569. END_INTERFACE
  1570. } IExtensionServicesVtbl;
  1571. interface IExtensionServices
  1572. {
  1573. CONST_VTBL struct IExtensionServicesVtbl *lpVtbl;
  1574. };
  1575. #ifdef COBJMACROS
  1576. #define IExtensionServices_QueryInterface(This,riid,ppvObject) \
  1577. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1578. #define IExtensionServices_AddRef(This) \
  1579. (This)->lpVtbl -> AddRef(This)
  1580. #define IExtensionServices_Release(This) \
  1581. (This)->lpVtbl -> Release(This)
  1582. #define IExtensionServices_SetAdditionalHeaders(This,pwzAdditionalHeaders) \
  1583. (This)->lpVtbl -> SetAdditionalHeaders(This,pwzAdditionalHeaders)
  1584. #define IExtensionServices_SetAuthenticateData(This,phwnd,pwzUsername,pwzPassword) \
  1585. (This)->lpVtbl -> SetAuthenticateData(This,phwnd,pwzUsername,pwzPassword)
  1586. #endif /* COBJMACROS */
  1587. #endif /* C style interface */
  1588. HRESULT STDMETHODCALLTYPE IExtensionServices_SetAdditionalHeaders_Proxy(
  1589. IExtensionServices * This,
  1590. /* [in] */ LPCWSTR pwzAdditionalHeaders);
  1591. void __RPC_STUB IExtensionServices_SetAdditionalHeaders_Stub(
  1592. IRpcStubBuffer *This,
  1593. IRpcChannelBuffer *_pRpcChannelBuffer,
  1594. PRPC_MESSAGE _pRpcMessage,
  1595. DWORD *_pdwStubPhase);
  1596. HRESULT STDMETHODCALLTYPE IExtensionServices_SetAuthenticateData_Proxy(
  1597. IExtensionServices * This,
  1598. /* [in] */ HWND phwnd,
  1599. /* [in] */ LPCWSTR pwzUsername,
  1600. /* [in] */ LPCWSTR pwzPassword);
  1601. void __RPC_STUB IExtensionServices_SetAuthenticateData_Stub(
  1602. IRpcStubBuffer *This,
  1603. IRpcChannelBuffer *_pRpcChannelBuffer,
  1604. PRPC_MESSAGE _pRpcMessage,
  1605. DWORD *_pdwStubPhase);
  1606. #endif /* __IExtensionServices_INTERFACE_DEFINED__ */
  1607. /* interface __MIDL_itf_hlink_0214 */
  1608. /* [local] */
  1609. #endif
  1610. #endif // !HLINK_H
  1611. extern RPC_IF_HANDLE __MIDL_itf_hlink_0214_v0_0_c_ifspec;
  1612. extern RPC_IF_HANDLE __MIDL_itf_hlink_0214_v0_0_s_ifspec;
  1613. /* Additional Prototypes for ALL interfaces */
  1614. /* end of Additional Prototypes */
  1615. #ifdef __cplusplus
  1616. }
  1617. #endif
  1618. #endif