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.

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