HLink.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:79k
源码类别:

模拟服务器

开发平台:

C/C++

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