home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / urlmon.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  229KB  |  6,623 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.02.88 */
  5. /* at Mon Nov 17 12:03:13 1997
  6.  */
  7. /* Compiler settings for urlmon.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __urlmon_h__
  20. #define __urlmon_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IPersistMoniker_FWD_DEFINED__
  29. #define __IPersistMoniker_FWD_DEFINED__
  30. typedef interface IPersistMoniker IPersistMoniker;
  31. #endif     /* __IPersistMoniker_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __IBindProtocol_FWD_DEFINED__
  35. #define __IBindProtocol_FWD_DEFINED__
  36. typedef interface IBindProtocol IBindProtocol;
  37. #endif     /* __IBindProtocol_FWD_DEFINED__ */
  38.  
  39.  
  40. #ifndef __IBinding_FWD_DEFINED__
  41. #define __IBinding_FWD_DEFINED__
  42. typedef interface IBinding IBinding;
  43. #endif     /* __IBinding_FWD_DEFINED__ */
  44.  
  45.  
  46. #ifndef __IBindStatusCallback_FWD_DEFINED__
  47. #define __IBindStatusCallback_FWD_DEFINED__
  48. typedef interface IBindStatusCallback IBindStatusCallback;
  49. #endif     /* __IBindStatusCallback_FWD_DEFINED__ */
  50.  
  51.  
  52. #ifndef __IAuthenticate_FWD_DEFINED__
  53. #define __IAuthenticate_FWD_DEFINED__
  54. typedef interface IAuthenticate IAuthenticate;
  55. #endif     /* __IAuthenticate_FWD_DEFINED__ */
  56.  
  57.  
  58. #ifndef __IHttpNegotiate_FWD_DEFINED__
  59. #define __IHttpNegotiate_FWD_DEFINED__
  60. typedef interface IHttpNegotiate IHttpNegotiate;
  61. #endif     /* __IHttpNegotiate_FWD_DEFINED__ */
  62.  
  63.  
  64. #ifndef __IWindowForBindingUI_FWD_DEFINED__
  65. #define __IWindowForBindingUI_FWD_DEFINED__
  66. typedef interface IWindowForBindingUI IWindowForBindingUI;
  67. #endif     /* __IWindowForBindingUI_FWD_DEFINED__ */
  68.  
  69.  
  70. #ifndef __ICodeInstall_FWD_DEFINED__
  71. #define __ICodeInstall_FWD_DEFINED__
  72. typedef interface ICodeInstall ICodeInstall;
  73. #endif     /* __ICodeInstall_FWD_DEFINED__ */
  74.  
  75.  
  76. #ifndef __IWinInetInfo_FWD_DEFINED__
  77. #define __IWinInetInfo_FWD_DEFINED__
  78. typedef interface IWinInetInfo IWinInetInfo;
  79. #endif     /* __IWinInetInfo_FWD_DEFINED__ */
  80.  
  81.  
  82. #ifndef __IHttpSecurity_FWD_DEFINED__
  83. #define __IHttpSecurity_FWD_DEFINED__
  84. typedef interface IHttpSecurity IHttpSecurity;
  85. #endif     /* __IHttpSecurity_FWD_DEFINED__ */
  86.  
  87.  
  88. #ifndef __IWinInetHttpInfo_FWD_DEFINED__
  89. #define __IWinInetHttpInfo_FWD_DEFINED__
  90. typedef interface IWinInetHttpInfo IWinInetHttpInfo;
  91. #endif     /* __IWinInetHttpInfo_FWD_DEFINED__ */
  92.  
  93.  
  94. #ifndef __IBindHost_FWD_DEFINED__
  95. #define __IBindHost_FWD_DEFINED__
  96. typedef interface IBindHost IBindHost;
  97. #endif     /* __IBindHost_FWD_DEFINED__ */
  98.  
  99.  
  100. #ifndef __IInternet_FWD_DEFINED__
  101. #define __IInternet_FWD_DEFINED__
  102. typedef interface IInternet IInternet;
  103. #endif     /* __IInternet_FWD_DEFINED__ */
  104.  
  105.  
  106. #ifndef __IInternetBindInfo_FWD_DEFINED__
  107. #define __IInternetBindInfo_FWD_DEFINED__
  108. typedef interface IInternetBindInfo IInternetBindInfo;
  109. #endif     /* __IInternetBindInfo_FWD_DEFINED__ */
  110.  
  111.  
  112. #ifndef __IInternetProtocolRoot_FWD_DEFINED__
  113. #define __IInternetProtocolRoot_FWD_DEFINED__
  114. typedef interface IInternetProtocolRoot IInternetProtocolRoot;
  115. #endif     /* __IInternetProtocolRoot_FWD_DEFINED__ */
  116.  
  117.  
  118. #ifndef __IInternetProtocol_FWD_DEFINED__
  119. #define __IInternetProtocol_FWD_DEFINED__
  120. typedef interface IInternetProtocol IInternetProtocol;
  121. #endif     /* __IInternetProtocol_FWD_DEFINED__ */
  122.  
  123.  
  124. #ifndef __IInternetProtocolSink_FWD_DEFINED__
  125. #define __IInternetProtocolSink_FWD_DEFINED__
  126. typedef interface IInternetProtocolSink IInternetProtocolSink;
  127. #endif     /* __IInternetProtocolSink_FWD_DEFINED__ */
  128.  
  129.  
  130. #ifndef __IInternetSession_FWD_DEFINED__
  131. #define __IInternetSession_FWD_DEFINED__
  132. typedef interface IInternetSession IInternetSession;
  133. #endif     /* __IInternetSession_FWD_DEFINED__ */
  134.  
  135.  
  136. #ifndef __IInternetThreadSwitch_FWD_DEFINED__
  137. #define __IInternetThreadSwitch_FWD_DEFINED__
  138. typedef interface IInternetThreadSwitch IInternetThreadSwitch;
  139. #endif     /* __IInternetThreadSwitch_FWD_DEFINED__ */
  140.  
  141.  
  142. #ifndef __IInternetPriority_FWD_DEFINED__
  143. #define __IInternetPriority_FWD_DEFINED__
  144. typedef interface IInternetPriority IInternetPriority;
  145. #endif     /* __IInternetPriority_FWD_DEFINED__ */
  146.  
  147.  
  148. #ifndef __IInternetProtocolInfo_FWD_DEFINED__
  149. #define __IInternetProtocolInfo_FWD_DEFINED__
  150. typedef interface IInternetProtocolInfo IInternetProtocolInfo;
  151. #endif     /* __IInternetProtocolInfo_FWD_DEFINED__ */
  152.  
  153.  
  154. #ifndef __IInternetSecurityMgrSite_FWD_DEFINED__
  155. #define __IInternetSecurityMgrSite_FWD_DEFINED__
  156. typedef interface IInternetSecurityMgrSite IInternetSecurityMgrSite;
  157. #endif     /* __IInternetSecurityMgrSite_FWD_DEFINED__ */
  158.  
  159.  
  160. #ifndef __IInternetSecurityManager_FWD_DEFINED__
  161. #define __IInternetSecurityManager_FWD_DEFINED__
  162. typedef interface IInternetSecurityManager IInternetSecurityManager;
  163. #endif     /* __IInternetSecurityManager_FWD_DEFINED__ */
  164.  
  165.  
  166. #ifndef __IInternetHostSecurityManager_FWD_DEFINED__
  167. #define __IInternetHostSecurityManager_FWD_DEFINED__
  168. typedef interface IInternetHostSecurityManager IInternetHostSecurityManager;
  169. #endif     /* __IInternetHostSecurityManager_FWD_DEFINED__ */
  170.  
  171.  
  172. #ifndef __IInternetZoneManager_FWD_DEFINED__
  173. #define __IInternetZoneManager_FWD_DEFINED__
  174. typedef interface IInternetZoneManager IInternetZoneManager;
  175. #endif     /* __IInternetZoneManager_FWD_DEFINED__ */
  176.  
  177.  
  178. #ifndef __ISoftDistExt_FWD_DEFINED__
  179. #define __ISoftDistExt_FWD_DEFINED__
  180. typedef interface ISoftDistExt ISoftDistExt;
  181. #endif     /* __ISoftDistExt_FWD_DEFINED__ */
  182.  
  183.  
  184. #ifndef __IDataFilter_FWD_DEFINED__
  185. #define __IDataFilter_FWD_DEFINED__
  186. typedef interface IDataFilter IDataFilter;
  187. #endif     /* __IDataFilter_FWD_DEFINED__ */
  188.  
  189.  
  190. #ifndef __IEncodingFilterFactory_FWD_DEFINED__
  191. #define __IEncodingFilterFactory_FWD_DEFINED__
  192. typedef interface IEncodingFilterFactory IEncodingFilterFactory;
  193. #endif     /* __IEncodingFilterFactory_FWD_DEFINED__ */
  194.  
  195.  
  196. /* header files for imported files */
  197. #include "objidl.h"
  198. #include "oleidl.h"
  199. #include "servprov.h"
  200. #include "msxml.h"
  201.  
  202. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  203. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  204.  
  205. /****************************************
  206.  * Generated header for interface: __MIDL_itf_urlmon_0000
  207.  * at Mon Nov 17 12:03:13 1997
  208.  * using MIDL 3.02.88
  209.  ****************************************/
  210. /* [local] */ 
  211.  
  212.  
  213. //=--------------------------------------------------------------------------=
  214. // UrlMon.h
  215. //=--------------------------------------------------------------------------=
  216. // (C) Copyright 1995 - 1998 Microsoft Corporation.  All Rights Reserved.
  217. //
  218. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  219. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  220. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  221. // PARTICULAR PURPOSE.
  222. //=--------------------------------------------------------------------------=
  223.  
  224. #pragma comment(lib,"uuid.lib")
  225.  
  226. //---------------------------------------------------------------------------=
  227. // URL Moniker Interfaces.
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238. // These are for backwards compatibility with previous URLMON versions
  239. #define BINDF_DONTUSECACHE BINDF_GETNEWESTVERSION
  240. #define BINDF_DONTPUTINCACHE BINDF_NOWRITECACHE
  241. #define BINDF_NOCOPYDATA BINDF_PULLDATA
  242. #define PI_DOCFILECLSIDLOOKUP PI_CLSIDLOOKUP
  243. EXTERN_C const IID IID_IAsyncMoniker;    
  244. EXTERN_C const IID CLSID_StdURLMoniker;  
  245. EXTERN_C const IID CLSID_HttpProtocol;   
  246. EXTERN_C const IID CLSID_FtpProtocol;    
  247. EXTERN_C const IID CLSID_GopherProtocol; 
  248. EXTERN_C const IID CLSID_HttpSProtocol;  
  249. EXTERN_C const IID CLSID_FileProtocol;   
  250. EXTERN_C const IID CLSID_MkProtocol;     
  251. EXTERN_C const IID CLSID_StdURLProtocol; 
  252. EXTERN_C const IID CLSID_UrlMkBindCtx;   
  253. EXTERN_C const IID CLSID_StdEncodingFilterFac; 
  254. EXTERN_C const IID CLSID_DeCompMimeFilter;     
  255. EXTERN_C const IID CLSID_CdlProtocol;          
  256. EXTERN_C const IID CLSID_ClassInstallFilter;   
  257. EXTERN_C const IID IID_IAsyncBindCtx;    
  258.  
  259. #define SZ_URLCONTEXT           OLESTR("URL Context")
  260. #define SZ_ASYNC_CALLEE         OLESTR("AsyncCallee")
  261. #define MKSYS_URLMONIKER    6                 
  262.  
  263. STDAPI CreateURLMoniker(LPMONIKER pMkCtx, LPCWSTR szURL, LPMONIKER FAR * ppmk);             
  264. STDAPI GetClassURL(LPCWSTR szURL, CLSID *pClsID);                                           
  265. STDAPI CreateAsyncBindCtx(DWORD reserved, IBindStatusCallback *pBSCb,                       
  266.                                 IEnumFORMATETC *pEFetc, IBindCtx **ppBC);                   
  267. STDAPI CreateAsyncBindCtxEx(IBindCtx *pbc, DWORD dwOptions, IBindStatusCallback *pBSCb, IEnumFORMATETC *pEnum,   
  268.                             IBindCtx **ppBC, DWORD reserved);                                                     
  269. STDAPI MkParseDisplayNameEx(IBindCtx *pbc, LPCWSTR szDisplayName, ULONG *pchEaten,          
  270.                                 LPMONIKER *ppmk);                                           
  271. STDAPI RegisterBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb,                     
  272.                                 IBindStatusCallback**  ppBSCBPrev, DWORD dwReserved);       
  273. STDAPI RevokeBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb);                      
  274. STDAPI GetClassFileOrMime(LPBC pBC, LPCWSTR szFilename, LPVOID pBuffer, DWORD cbSize, LPCWSTR szMime, DWORD dwReserved, CLSID *pclsid); 
  275. STDAPI IsValidURL(LPBC pBC, LPCWSTR szURL, DWORD dwReserved);                               
  276. STDAPI CoGetClassObjectFromURL( REFCLSID rCLASSID,
  277.             LPCWSTR szCODE, DWORD dwFileVersionMS, 
  278.             DWORD dwFileVersionLS, LPCWSTR szTYPE,
  279.             LPBINDCTX pBindCtx, DWORD dwClsContext,
  280.             LPVOID pvReserved, REFIID riid, LPVOID * ppv);
  281.  
  282. //helper apis                                                                               
  283. STDAPI IsAsyncMoniker(IMoniker* pmk);                                                       
  284. STDAPI CreateURLBinding(LPCWSTR lpszUrl, IBindCtx *pbc, IBinding **ppBdg);                  
  285.  
  286. STDAPI RegisterMediaTypes(UINT ctypes, const LPCSTR* rgszTypes, CLIPFORMAT* rgcfTypes);            
  287. STDAPI FindMediaType(LPCSTR rgszTypes, CLIPFORMAT* rgcfTypes);                                       
  288. STDAPI CreateFormatEnumerator( UINT cfmtetc, FORMATETC* rgfmtetc, IEnumFORMATETC** ppenumfmtetc); 
  289. STDAPI RegisterFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc, DWORD reserved);          
  290. STDAPI RevokeFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc);                            
  291. STDAPI RegisterMediaTypeClass(LPBC pBC,UINT ctypes, const LPCSTR* rgszTypes, CLSID *rgclsID, DWORD reserved);    
  292. STDAPI FindMediaTypeClass(LPBC pBC, LPCSTR szType, CLSID *pclsID, DWORD reserved);                          
  293. STDAPI UrlMkSetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD dwReserved);       
  294. STDAPI UrlMkGetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD *pdwBufferLength, DWORD dwReserved);       
  295. STDAPI FindMimeFromData(                                                                                                                  
  296.                         LPBC pBC,                           // bind context - can be NULL                                                 
  297.                         LPCWSTR pwzUrl,                     // url - can be null                                                          
  298.                         LPVOID pBuffer,                     // buffer with data to sniff - can be null (pwzUrl must be valid)             
  299.                         DWORD cbSize,                       // size of buffer                                                             
  300.                         LPCWSTR pwzMimeProposed,            // proposed mime if - can be null                                             
  301.                         DWORD dwMimeFlags,                  // will be defined                                                            
  302.                         LPWSTR *ppwzMimeOut,                // the suggested mime                                                         
  303.                         DWORD dwReserved);                  // must be 0                                                                  
  304. STDAPI ObtainUserAgentString(DWORD dwOption, LPSTR pszUAOut, DWORD* cbSize);       
  305.  
  306. // URLMON-specific defines for UrlMkSetSessionOption() above
  307. #define URLMON_OPTION_USERAGENT  0x10000001
  308. #define URLMON_OPTION_USERAGENT_REFRESH  0x10000002
  309.  
  310. #define CF_NULL                 0                                  
  311. #define CFSTR_MIME_NULL         NULL                               
  312. #define CFSTR_MIME_TEXT         (TEXT("text/plain"))             
  313. #define CFSTR_MIME_RICHTEXT     (TEXT("text/richtext"))          
  314. #define CFSTR_MIME_X_BITMAP     (TEXT("image/x-xbitmap"))        
  315. #define CFSTR_MIME_POSTSCRIPT   (TEXT("application/postscript")) 
  316. #define CFSTR_MIME_AIFF         (TEXT("audio/aiff"))             
  317. #define CFSTR_MIME_BASICAUDIO   (TEXT("audio/basic"))            
  318. #define CFSTR_MIME_WAV          (TEXT("audio/wav"))              
  319. #define CFSTR_MIME_X_WAV        (TEXT("audio/x-wav"))            
  320. #define CFSTR_MIME_GIF          (TEXT("image/gif"))              
  321. #define CFSTR_MIME_PJPEG        (TEXT("image/pjpeg"))            
  322. #define CFSTR_MIME_JPEG         (TEXT("image/jpeg"))             
  323. #define CFSTR_MIME_TIFF         (TEXT("image/tiff"))             
  324. #define CFSTR_MIME_X_PNG        (TEXT("image/x-png"))            
  325. #define CFSTR_MIME_BMP          (TEXT("image/bmp"))              
  326. #define CFSTR_MIME_X_ART        (TEXT("image/x-jg"))             
  327. #define CFSTR_MIME_X_EMF        (TEXT("image/x-emf"))            
  328. #define CFSTR_MIME_X_WMF        (TEXT("image/x-wmf"))            
  329. #define CFSTR_MIME_AVI          (TEXT("video/avi"))              
  330. #define CFSTR_MIME_MPEG         (TEXT("video/mpeg"))             
  331. #define CFSTR_MIME_FRACTALS     (TEXT("application/fractals"))   
  332. #define CFSTR_MIME_RAWDATA      (TEXT("application/octet-stream"))
  333. #define CFSTR_MIME_RAWDATASTRM  (TEXT("application/octet-stream"))
  334. #define CFSTR_MIME_PDF          (TEXT("application/pdf"))        
  335. #define CFSTR_MIME_X_AIFF       (TEXT("audio/x-aiff"))           
  336. #define CFSTR_MIME_X_REALAUDIO  (TEXT("audio/x-pn-realaudio"))   
  337. #define CFSTR_MIME_XBM          (TEXT("image/xbm"))              
  338. #define CFSTR_MIME_QUICKTIME    (TEXT("video/quicktime"))        
  339. #define CFSTR_MIME_X_MSVIDEO    (TEXT("video/x-msvideo"))        
  340. #define CFSTR_MIME_X_SGI_MOVIE  (TEXT("video/x-sgi-movie"))      
  341. #define CFSTR_MIME_HTML         (TEXT("text/html"))              
  342.  
  343. // MessageId: MK_S_ASYNCHRONOUS                                              
  344. // MessageText: Operation is successful, but will complete asynchronously.   
  345. //                                                                           
  346. #define MK_S_ASYNCHRONOUS    _HRESULT_TYPEDEF_(0x000401E8L)                  
  347. #ifndef S_ASYNCHRONOUS                                                       
  348. #define S_ASYNCHRONOUS       MK_S_ASYNCHRONOUS                               
  349. #endif                                                                       
  350.                                                                              
  351. #ifndef E_PENDING                                                            
  352. #define E_PENDING _HRESULT_TYPEDEF_(0x8000000AL)                             
  353. #endif                                                                       
  354.                                                                              
  355. //                                                                           
  356. //                                                                           
  357. // WinINet and protocol specific errors are mapped to one of the following   
  358. // error which are returned in IBSC::OnStopBinding                           
  359. //                                                                           
  360. //                                                                           
  361. // Note: FACILITY C is split into ranges of 1k                               
  362. // C0000 - C03FF  INET_E_ (URLMON's original hresult)                        
  363. // C0400 - C07FF  INET_E_CLIENT_xxx                                          
  364. // C0800 - C0BFF  INET_E_SERVER_xxx                                          
  365. // C0C00 - C0FFF  INET_E_????                                                
  366. // C1000 - C13FF  INET_E_AGENT_xxx (info delivery agents)                    
  367. #define INET_E_INVALID_URL               _HRESULT_TYPEDEF_(0x800C0002L)      
  368. #define INET_E_NO_SESSION                _HRESULT_TYPEDEF_(0x800C0003L)      
  369. #define INET_E_CANNOT_CONNECT            _HRESULT_TYPEDEF_(0x800C0004L)      
  370. #define INET_E_RESOURCE_NOT_FOUND        _HRESULT_TYPEDEF_(0x800C0005L)      
  371. #define INET_E_OBJECT_NOT_FOUND          _HRESULT_TYPEDEF_(0x800C0006L)      
  372. #define INET_E_DATA_NOT_AVAILABLE        _HRESULT_TYPEDEF_(0x800C0007L)      
  373. #define INET_E_DOWNLOAD_FAILURE          _HRESULT_TYPEDEF_(0x800C0008L)      
  374. #define INET_E_AUTHENTICATION_REQUIRED   _HRESULT_TYPEDEF_(0x800C0009L)      
  375. #define INET_E_NO_VALID_MEDIA            _HRESULT_TYPEDEF_(0x800C000AL)      
  376. #define INET_E_CONNECTION_TIMEOUT        _HRESULT_TYPEDEF_(0x800C000BL)      
  377. #define INET_E_INVALID_REQUEST           _HRESULT_TYPEDEF_(0x800C000CL)      
  378. #define INET_E_UNKNOWN_PROTOCOL          _HRESULT_TYPEDEF_(0x800C000DL)      
  379. #define INET_E_SECURITY_PROBLEM          _HRESULT_TYPEDEF_(0x800C000EL)      
  380. #define INET_E_CANNOT_LOAD_DATA          _HRESULT_TYPEDEF_(0x800C000FL)      
  381. #define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010L)      
  382. #define INET_E_REDIRECT_FAILED           _HRESULT_TYPEDEF_(0x800C0014L)      
  383. #define INET_E_REDIRECT_TO_DIR           _HRESULT_TYPEDEF_(0x800C0015L)      
  384. #define INET_E_CANNOT_LOCK_REQUEST       _HRESULT_TYPEDEF_(0x800C0016L)      
  385. #define INET_E_ERROR_FIRST               _HRESULT_TYPEDEF_(0x800C0002L)      
  386. #define INET_E_ERROR_LAST                INET_E_REDIRECT_TO_DIR
  387. #ifndef _LPPERSISTMONIKER_DEFINED
  388. #define _LPPERSISTMONIKER_DEFINED
  389.  
  390.  
  391. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0000_v0_0_c_ifspec;
  392. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0000_v0_0_s_ifspec;
  393.  
  394. #ifndef __IPersistMoniker_INTERFACE_DEFINED__
  395. #define __IPersistMoniker_INTERFACE_DEFINED__
  396.  
  397. /****************************************
  398.  * Generated header for interface: IPersistMoniker
  399.  * at Mon Nov 17 12:03:13 1997
  400.  * using MIDL 3.02.88
  401.  ****************************************/
  402. /* [unique][uuid][object] */ 
  403.  
  404.  
  405. typedef /* [unique] */ IPersistMoniker __RPC_FAR *LPPERSISTMONIKER;
  406.  
  407.  
  408. EXTERN_C const IID IID_IPersistMoniker;
  409.  
  410. #if defined(__cplusplus) && !defined(CINTERFACE)
  411.     
  412.     interface DECLSPEC_UUID("79eac9c9-baf9-11ce-8c82-00aa004ba90b")
  413.     IPersistMoniker : public IUnknown
  414.     {
  415.     public:
  416.         virtual HRESULT STDMETHODCALLTYPE GetClassID( 
  417.             /* [out] */ CLSID __RPC_FAR *pClassID) = 0;
  418.         
  419.         virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  420.         
  421.         virtual HRESULT STDMETHODCALLTYPE Load( 
  422.             /* [in] */ BOOL fFullyAvailable,
  423.             /* [in] */ IMoniker __RPC_FAR *pimkName,
  424.             /* [in] */ LPBC pibc,
  425.             /* [in] */ DWORD grfMode) = 0;
  426.         
  427.         virtual HRESULT STDMETHODCALLTYPE Save( 
  428.             /* [in] */ IMoniker __RPC_FAR *pimkName,
  429.             /* [in] */ LPBC pbc,
  430.             /* [in] */ BOOL fRemember) = 0;
  431.         
  432.         virtual HRESULT STDMETHODCALLTYPE SaveCompleted( 
  433.             /* [in] */ IMoniker __RPC_FAR *pimkName,
  434.             /* [in] */ LPBC pibc) = 0;
  435.         
  436.         virtual HRESULT STDMETHODCALLTYPE GetCurMoniker( 
  437.             /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppimkName) = 0;
  438.         
  439.     };
  440.     
  441. #else     /* C style interface */
  442.  
  443.     typedef struct IPersistMonikerVtbl
  444.     {
  445.         BEGIN_INTERFACE
  446.         
  447.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  448.             IPersistMoniker __RPC_FAR * This,
  449.             /* [in] */ REFIID riid,
  450.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  451.         
  452.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  453.             IPersistMoniker __RPC_FAR * This);
  454.         
  455.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  456.             IPersistMoniker __RPC_FAR * This);
  457.         
  458.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClassID )( 
  459.             IPersistMoniker __RPC_FAR * This,
  460.             /* [out] */ CLSID __RPC_FAR *pClassID);
  461.         
  462.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsDirty )( 
  463.             IPersistMoniker __RPC_FAR * This);
  464.         
  465.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Load )( 
  466.             IPersistMoniker __RPC_FAR * This,
  467.             /* [in] */ BOOL fFullyAvailable,
  468.             /* [in] */ IMoniker __RPC_FAR *pimkName,
  469.             /* [in] */ LPBC pibc,
  470.             /* [in] */ DWORD grfMode);
  471.         
  472.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )( 
  473.             IPersistMoniker __RPC_FAR * This,
  474.             /* [in] */ IMoniker __RPC_FAR *pimkName,
  475.             /* [in] */ LPBC pbc,
  476.             /* [in] */ BOOL fRemember);
  477.         
  478.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveCompleted )( 
  479.             IPersistMoniker __RPC_FAR * This,
  480.             /* [in] */ IMoniker __RPC_FAR *pimkName,
  481.             /* [in] */ LPBC pibc);
  482.         
  483.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCurMoniker )( 
  484.             IPersistMoniker __RPC_FAR * This,
  485.             /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppimkName);
  486.         
  487.         END_INTERFACE
  488.     } IPersistMonikerVtbl;
  489.  
  490.     interface IPersistMoniker
  491.     {
  492.         CONST_VTBL struct IPersistMonikerVtbl __RPC_FAR *lpVtbl;
  493.     };
  494.  
  495.     
  496.  
  497. #ifdef COBJMACROS
  498.  
  499.  
  500. #define IPersistMoniker_QueryInterface(This,riid,ppvObject)    \
  501.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  502.  
  503. #define IPersistMoniker_AddRef(This)    \
  504.     (This)->lpVtbl -> AddRef(This)
  505.  
  506. #define IPersistMoniker_Release(This)    \
  507.     (This)->lpVtbl -> Release(This)
  508.  
  509.  
  510. #define IPersistMoniker_GetClassID(This,pClassID)    \
  511.     (This)->lpVtbl -> GetClassID(This,pClassID)
  512.  
  513. #define IPersistMoniker_IsDirty(This)    \
  514.     (This)->lpVtbl -> IsDirty(This)
  515.  
  516. #define IPersistMoniker_Load(This,fFullyAvailable,pimkName,pibc,grfMode)    \
  517.     (This)->lpVtbl -> Load(This,fFullyAvailable,pimkName,pibc,grfMode)
  518.  
  519. #define IPersistMoniker_Save(This,pimkName,pbc,fRemember)    \
  520.     (This)->lpVtbl -> Save(This,pimkName,pbc,fRemember)
  521.  
  522. #define IPersistMoniker_SaveCompleted(This,pimkName,pibc)    \
  523.     (This)->lpVtbl -> SaveCompleted(This,pimkName,pibc)
  524.  
  525. #define IPersistMoniker_GetCurMoniker(This,ppimkName)    \
  526.     (This)->lpVtbl -> GetCurMoniker(This,ppimkName)
  527.  
  528. #endif /* COBJMACROS */
  529.  
  530.  
  531. #endif     /* C style interface */
  532.  
  533.  
  534.  
  535. HRESULT STDMETHODCALLTYPE IPersistMoniker_GetClassID_Proxy( 
  536.     IPersistMoniker __RPC_FAR * This,
  537.     /* [out] */ CLSID __RPC_FAR *pClassID);
  538.  
  539.  
  540. void __RPC_STUB IPersistMoniker_GetClassID_Stub(
  541.     IRpcStubBuffer *This,
  542.     IRpcChannelBuffer *_pRpcChannelBuffer,
  543.     PRPC_MESSAGE _pRpcMessage,
  544.     DWORD *_pdwStubPhase);
  545.  
  546.  
  547. HRESULT STDMETHODCALLTYPE IPersistMoniker_IsDirty_Proxy( 
  548.     IPersistMoniker __RPC_FAR * This);
  549.  
  550.  
  551. void __RPC_STUB IPersistMoniker_IsDirty_Stub(
  552.     IRpcStubBuffer *This,
  553.     IRpcChannelBuffer *_pRpcChannelBuffer,
  554.     PRPC_MESSAGE _pRpcMessage,
  555.     DWORD *_pdwStubPhase);
  556.  
  557.  
  558. HRESULT STDMETHODCALLTYPE IPersistMoniker_Load_Proxy( 
  559.     IPersistMoniker __RPC_FAR * This,
  560.     /* [in] */ BOOL fFullyAvailable,
  561.     /* [in] */ IMoniker __RPC_FAR *pimkName,
  562.     /* [in] */ LPBC pibc,
  563.     /* [in] */ DWORD grfMode);
  564.  
  565.  
  566. void __RPC_STUB IPersistMoniker_Load_Stub(
  567.     IRpcStubBuffer *This,
  568.     IRpcChannelBuffer *_pRpcChannelBuffer,
  569.     PRPC_MESSAGE _pRpcMessage,
  570.     DWORD *_pdwStubPhase);
  571.  
  572.  
  573. HRESULT STDMETHODCALLTYPE IPersistMoniker_Save_Proxy( 
  574.     IPersistMoniker __RPC_FAR * This,
  575.     /* [in] */ IMoniker __RPC_FAR *pimkName,
  576.     /* [in] */ LPBC pbc,
  577.     /* [in] */ BOOL fRemember);
  578.  
  579.  
  580. void __RPC_STUB IPersistMoniker_Save_Stub(
  581.     IRpcStubBuffer *This,
  582.     IRpcChannelBuffer *_pRpcChannelBuffer,
  583.     PRPC_MESSAGE _pRpcMessage,
  584.     DWORD *_pdwStubPhase);
  585.  
  586.  
  587. HRESULT STDMETHODCALLTYPE IPersistMoniker_SaveCompleted_Proxy( 
  588.     IPersistMoniker __RPC_FAR * This,
  589.     /* [in] */ IMoniker __RPC_FAR *pimkName,
  590.     /* [in] */ LPBC pibc);
  591.  
  592.  
  593. void __RPC_STUB IPersistMoniker_SaveCompleted_Stub(
  594.     IRpcStubBuffer *This,
  595.     IRpcChannelBuffer *_pRpcChannelBuffer,
  596.     PRPC_MESSAGE _pRpcMessage,
  597.     DWORD *_pdwStubPhase);
  598.  
  599.  
  600. HRESULT STDMETHODCALLTYPE IPersistMoniker_GetCurMoniker_Proxy( 
  601.     IPersistMoniker __RPC_FAR * This,
  602.     /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppimkName);
  603.  
  604.  
  605. void __RPC_STUB IPersistMoniker_GetCurMoniker_Stub(
  606.     IRpcStubBuffer *This,
  607.     IRpcChannelBuffer *_pRpcChannelBuffer,
  608.     PRPC_MESSAGE _pRpcMessage,
  609.     DWORD *_pdwStubPhase);
  610.  
  611.  
  612.  
  613. #endif     /* __IPersistMoniker_INTERFACE_DEFINED__ */
  614.  
  615.  
  616. /****************************************
  617.  * Generated header for interface: __MIDL_itf_urlmon_0111
  618.  * at Mon Nov 17 12:03:13 1997
  619.  * using MIDL 3.02.88
  620.  ****************************************/
  621. /* [local] */ 
  622.  
  623.  
  624. #endif
  625. #ifndef _LPBINDPROTOCOL_DEFINED
  626. #define _LPBINDPROTOCOL_DEFINED
  627.  
  628.  
  629. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0111_v0_0_c_ifspec;
  630. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0111_v0_0_s_ifspec;
  631.  
  632. #ifndef __IBindProtocol_INTERFACE_DEFINED__
  633. #define __IBindProtocol_INTERFACE_DEFINED__
  634.  
  635. /****************************************
  636.  * Generated header for interface: IBindProtocol
  637.  * at Mon Nov 17 12:03:13 1997
  638.  * using MIDL 3.02.88
  639.  ****************************************/
  640. /* [unique][uuid][object][local] */ 
  641.  
  642.  
  643. typedef /* [unique] */ IBindProtocol __RPC_FAR *LPBINDPROTOCOL;
  644.  
  645.  
  646. EXTERN_C const IID IID_IBindProtocol;
  647.  
  648. #if defined(__cplusplus) && !defined(CINTERFACE)
  649.     
  650.     interface DECLSPEC_UUID("79eac9cd-baf9-11ce-8c82-00aa004ba90b")
  651.     IBindProtocol : public IUnknown
  652.     {
  653.     public:
  654.         virtual HRESULT STDMETHODCALLTYPE CreateBinding( 
  655.             /* [in] */ LPCWSTR szUrl,
  656.             /* [in] */ IBindCtx __RPC_FAR *pbc,
  657.             /* [out] */ IBinding __RPC_FAR *__RPC_FAR *ppb) = 0;
  658.         
  659.     };
  660.     
  661. #else     /* C style interface */
  662.  
  663.     typedef struct IBindProtocolVtbl
  664.     {
  665.         BEGIN_INTERFACE
  666.         
  667.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  668.             IBindProtocol __RPC_FAR * This,
  669.             /* [in] */ REFIID riid,
  670.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  671.         
  672.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  673.             IBindProtocol __RPC_FAR * This);
  674.         
  675.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  676.             IBindProtocol __RPC_FAR * This);
  677.         
  678.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateBinding )( 
  679.             IBindProtocol __RPC_FAR * This,
  680.             /* [in] */ LPCWSTR szUrl,
  681.             /* [in] */ IBindCtx __RPC_FAR *pbc,
  682.             /* [out] */ IBinding __RPC_FAR *__RPC_FAR *ppb);
  683.         
  684.         END_INTERFACE
  685.     } IBindProtocolVtbl;
  686.  
  687.     interface IBindProtocol
  688.     {
  689.         CONST_VTBL struct IBindProtocolVtbl __RPC_FAR *lpVtbl;
  690.     };
  691.  
  692.     
  693.  
  694. #ifdef COBJMACROS
  695.  
  696.  
  697. #define IBindProtocol_QueryInterface(This,riid,ppvObject)    \
  698.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  699.  
  700. #define IBindProtocol_AddRef(This)    \
  701.     (This)->lpVtbl -> AddRef(This)
  702.  
  703. #define IBindProtocol_Release(This)    \
  704.     (This)->lpVtbl -> Release(This)
  705.  
  706.  
  707. #define IBindProtocol_CreateBinding(This,szUrl,pbc,ppb)    \
  708.     (This)->lpVtbl -> CreateBinding(This,szUrl,pbc,ppb)
  709.  
  710. #endif /* COBJMACROS */
  711.  
  712.  
  713. #endif     /* C style interface */
  714.  
  715.  
  716.  
  717. HRESULT STDMETHODCALLTYPE IBindProtocol_CreateBinding_Proxy( 
  718.     IBindProtocol __RPC_FAR * This,
  719.     /* [in] */ LPCWSTR szUrl,
  720.     /* [in] */ IBindCtx __RPC_FAR *pbc,
  721.     /* [out] */ IBinding __RPC_FAR *__RPC_FAR *ppb);
  722.  
  723.  
  724. void __RPC_STUB IBindProtocol_CreateBinding_Stub(
  725.     IRpcStubBuffer *This,
  726.     IRpcChannelBuffer *_pRpcChannelBuffer,
  727.     PRPC_MESSAGE _pRpcMessage,
  728.     DWORD *_pdwStubPhase);
  729.  
  730.  
  731.  
  732. #endif     /* __IBindProtocol_INTERFACE_DEFINED__ */
  733.  
  734.  
  735. /****************************************
  736.  * Generated header for interface: __MIDL_itf_urlmon_0112
  737.  * at Mon Nov 17 12:03:13 1997
  738.  * using MIDL 3.02.88
  739.  ****************************************/
  740. /* [local] */ 
  741.  
  742.  
  743. #endif
  744. #ifndef _LPBINDING_DEFINED
  745. #define _LPBINDING_DEFINED
  746.  
  747.  
  748. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0112_v0_0_c_ifspec;
  749. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0112_v0_0_s_ifspec;
  750.  
  751. #ifndef __IBinding_INTERFACE_DEFINED__
  752. #define __IBinding_INTERFACE_DEFINED__
  753.  
  754. /****************************************
  755.  * Generated header for interface: IBinding
  756.  * at Mon Nov 17 12:03:13 1997
  757.  * using MIDL 3.02.88
  758.  ****************************************/
  759. /* [unique][uuid][object] */ 
  760.  
  761.  
  762. typedef /* [unique] */ IBinding __RPC_FAR *LPBINDING;
  763.  
  764.  
  765. EXTERN_C const IID IID_IBinding;
  766.  
  767. #if defined(__cplusplus) && !defined(CINTERFACE)
  768.     
  769.     interface DECLSPEC_UUID("79eac9c0-baf9-11ce-8c82-00aa004ba90b")
  770.     IBinding : public IUnknown
  771.     {
  772.     public:
  773.         virtual HRESULT STDMETHODCALLTYPE Abort( void) = 0;
  774.         
  775.         virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  776.         
  777.         virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  778.         
  779.         virtual HRESULT STDMETHODCALLTYPE SetPriority( 
  780.             /* [in] */ LONG nPriority) = 0;
  781.         
  782.         virtual HRESULT STDMETHODCALLTYPE GetPriority( 
  783.             /* [out] */ LONG __RPC_FAR *pnPriority) = 0;
  784.         
  785.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetBindResult( 
  786.             /* [out] */ CLSID __RPC_FAR *pclsidProtocol,
  787.             /* [out] */ DWORD __RPC_FAR *pdwResult,
  788.             /* [out] */ LPOLESTR __RPC_FAR *pszResult,
  789.             /* [out][in] */ DWORD __RPC_FAR *pdwReserved) = 0;
  790.         
  791.     };
  792.     
  793. #else     /* C style interface */
  794.  
  795.     typedef struct IBindingVtbl
  796.     {
  797.         BEGIN_INTERFACE
  798.         
  799.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  800.             IBinding __RPC_FAR * This,
  801.             /* [in] */ REFIID riid,
  802.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  803.         
  804.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  805.             IBinding __RPC_FAR * This);
  806.         
  807.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  808.             IBinding __RPC_FAR * This);
  809.         
  810.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Abort )( 
  811.             IBinding __RPC_FAR * This);
  812.         
  813.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Suspend )( 
  814.             IBinding __RPC_FAR * This);
  815.         
  816.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resume )( 
  817.             IBinding __RPC_FAR * This);
  818.         
  819.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPriority )( 
  820.             IBinding __RPC_FAR * This,
  821.             /* [in] */ LONG nPriority);
  822.         
  823.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPriority )( 
  824.             IBinding __RPC_FAR * This,
  825.             /* [out] */ LONG __RPC_FAR *pnPriority);
  826.         
  827.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBindResult )( 
  828.             IBinding __RPC_FAR * This,
  829.             /* [out] */ CLSID __RPC_FAR *pclsidProtocol,
  830.             /* [out] */ DWORD __RPC_FAR *pdwResult,
  831.             /* [out] */ LPOLESTR __RPC_FAR *pszResult,
  832.             /* [out][in] */ DWORD __RPC_FAR *pdwReserved);
  833.         
  834.         END_INTERFACE
  835.     } IBindingVtbl;
  836.  
  837.     interface IBinding
  838.     {
  839.         CONST_VTBL struct IBindingVtbl __RPC_FAR *lpVtbl;
  840.     };
  841.  
  842.     
  843.  
  844. #ifdef COBJMACROS
  845.  
  846.  
  847. #define IBinding_QueryInterface(This,riid,ppvObject)    \
  848.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  849.  
  850. #define IBinding_AddRef(This)    \
  851.     (This)->lpVtbl -> AddRef(This)
  852.  
  853. #define IBinding_Release(This)    \
  854.     (This)->lpVtbl -> Release(This)
  855.  
  856.  
  857. #define IBinding_Abort(This)    \
  858.     (This)->lpVtbl -> Abort(This)
  859.  
  860. #define IBinding_Suspend(This)    \
  861.     (This)->lpVtbl -> Suspend(This)
  862.  
  863. #define IBinding_Resume(This)    \
  864.     (This)->lpVtbl -> Resume(This)
  865.  
  866. #define IBinding_SetPriority(This,nPriority)    \
  867.     (This)->lpVtbl -> SetPriority(This,nPriority)
  868.  
  869. #define IBinding_GetPriority(This,pnPriority)    \
  870.     (This)->lpVtbl -> GetPriority(This,pnPriority)
  871.  
  872. #define IBinding_GetBindResult(This,pclsidProtocol,pdwResult,pszResult,pdwReserved)    \
  873.     (This)->lpVtbl -> GetBindResult(This,pclsidProtocol,pdwResult,pszResult,pdwReserved)
  874.  
  875. #endif /* COBJMACROS */
  876.  
  877.  
  878. #endif     /* C style interface */
  879.  
  880.  
  881.  
  882. HRESULT STDMETHODCALLTYPE IBinding_Abort_Proxy( 
  883.     IBinding __RPC_FAR * This);
  884.  
  885.  
  886. void __RPC_STUB IBinding_Abort_Stub(
  887.     IRpcStubBuffer *This,
  888.     IRpcChannelBuffer *_pRpcChannelBuffer,
  889.     PRPC_MESSAGE _pRpcMessage,
  890.     DWORD *_pdwStubPhase);
  891.  
  892.  
  893. HRESULT STDMETHODCALLTYPE IBinding_Suspend_Proxy( 
  894.     IBinding __RPC_FAR * This);
  895.  
  896.  
  897. void __RPC_STUB IBinding_Suspend_Stub(
  898.     IRpcStubBuffer *This,
  899.     IRpcChannelBuffer *_pRpcChannelBuffer,
  900.     PRPC_MESSAGE _pRpcMessage,
  901.     DWORD *_pdwStubPhase);
  902.  
  903.  
  904. HRESULT STDMETHODCALLTYPE IBinding_Resume_Proxy( 
  905.     IBinding __RPC_FAR * This);
  906.  
  907.  
  908. void __RPC_STUB IBinding_Resume_Stub(
  909.     IRpcStubBuffer *This,
  910.     IRpcChannelBuffer *_pRpcChannelBuffer,
  911.     PRPC_MESSAGE _pRpcMessage,
  912.     DWORD *_pdwStubPhase);
  913.  
  914.  
  915. HRESULT STDMETHODCALLTYPE IBinding_SetPriority_Proxy( 
  916.     IBinding __RPC_FAR * This,
  917.     /* [in] */ LONG nPriority);
  918.  
  919.  
  920. void __RPC_STUB IBinding_SetPriority_Stub(
  921.     IRpcStubBuffer *This,
  922.     IRpcChannelBuffer *_pRpcChannelBuffer,
  923.     PRPC_MESSAGE _pRpcMessage,
  924.     DWORD *_pdwStubPhase);
  925.  
  926.  
  927. HRESULT STDMETHODCALLTYPE IBinding_GetPriority_Proxy( 
  928.     IBinding __RPC_FAR * This,
  929.     /* [out] */ LONG __RPC_FAR *pnPriority);
  930.  
  931.  
  932. void __RPC_STUB IBinding_GetPriority_Stub(
  933.     IRpcStubBuffer *This,
  934.     IRpcChannelBuffer *_pRpcChannelBuffer,
  935.     PRPC_MESSAGE _pRpcMessage,
  936.     DWORD *_pdwStubPhase);
  937.  
  938.  
  939. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBinding_RemoteGetBindResult_Proxy( 
  940.     IBinding __RPC_FAR * This,
  941.     /* [out] */ CLSID __RPC_FAR *pclsidProtocol,
  942.     /* [out] */ DWORD __RPC_FAR *pdwResult,
  943.     /* [out] */ LPOLESTR __RPC_FAR *pszResult,
  944.     /* [in] */ DWORD dwReserved);
  945.  
  946.  
  947. void __RPC_STUB IBinding_RemoteGetBindResult_Stub(
  948.     IRpcStubBuffer *This,
  949.     IRpcChannelBuffer *_pRpcChannelBuffer,
  950.     PRPC_MESSAGE _pRpcMessage,
  951.     DWORD *_pdwStubPhase);
  952.  
  953.  
  954.  
  955. #endif     /* __IBinding_INTERFACE_DEFINED__ */
  956.  
  957.  
  958. /****************************************
  959.  * Generated header for interface: __MIDL_itf_urlmon_0113
  960.  * at Mon Nov 17 12:03:13 1997
  961.  * using MIDL 3.02.88
  962.  ****************************************/
  963. /* [local] */ 
  964.  
  965.  
  966. #endif
  967. #ifndef _LPBINDSTATUSCALLBACK_DEFINED
  968. #define _LPBINDSTATUSCALLBACK_DEFINED
  969.  
  970.  
  971. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0113_v0_0_c_ifspec;
  972. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0113_v0_0_s_ifspec;
  973.  
  974. #ifndef __IBindStatusCallback_INTERFACE_DEFINED__
  975. #define __IBindStatusCallback_INTERFACE_DEFINED__
  976.  
  977. /****************************************
  978.  * Generated header for interface: IBindStatusCallback
  979.  * at Mon Nov 17 12:03:13 1997
  980.  * using MIDL 3.02.88
  981.  ****************************************/
  982. /* [unique][uuid][object] */ 
  983.  
  984.  
  985. typedef /* [unique] */ IBindStatusCallback __RPC_FAR *LPBINDSTATUSCALLBACK;
  986.  
  987. typedef /* [public] */ 
  988. enum __MIDL_IBindStatusCallback_0001
  989.     {    BINDVERB_GET    = 0,
  990.     BINDVERB_POST    = 0x1,
  991.     BINDVERB_PUT    = 0x2,
  992.     BINDVERB_CUSTOM    = 0x3
  993.     }    BINDVERB;
  994.  
  995. typedef /* [public] */ 
  996. enum __MIDL_IBindStatusCallback_0002
  997.     {    BINDINFOF_URLENCODESTGMEDDATA    = 0x1,
  998.     BINDINFOF_URLENCODEDEXTRAINFO    = 0x2
  999.     }    BINDINFOF;
  1000.  
  1001. typedef /* [public] */ 
  1002. enum __MIDL_IBindStatusCallback_0003
  1003.     {    BINDF_ASYNCHRONOUS    = 0x1,
  1004.     BINDF_ASYNCSTORAGE    = 0x2,
  1005.     BINDF_NOPROGRESSIVERENDERING    = 0x4,
  1006.     BINDF_OFFLINEOPERATION    = 0x8,
  1007.     BINDF_GETNEWESTVERSION    = 0x10,
  1008.     BINDF_NOWRITECACHE    = 0x20,
  1009.     BINDF_NEEDFILE    = 0x40,
  1010.     BINDF_PULLDATA    = 0x80,
  1011.     BINDF_IGNORESECURITYPROBLEM    = 0x100,
  1012.     BINDF_RESYNCHRONIZE    = 0x200,
  1013.     BINDF_HYPERLINK    = 0x400,
  1014.     BINDF_NO_UI    = 0x800,
  1015.     BINDF_SILENTOPERATION    = 0x1000,
  1016.     BINDF_PRAGMA_NO_CACHE    = 0x2000,
  1017.     BINDF_FREE_THREADED    = 0x10000,
  1018.     BINDF_DIRECT_READ    = 0x20000,
  1019.     BINDF_FORMS_SUBMIT    = 0x40000,
  1020.     BINDF_GETFROMCACHE_IF_NET_FAIL    = 0x80000
  1021.     }    BINDF;
  1022.  
  1023. typedef struct  _tagBINDINFO
  1024.     {
  1025.     ULONG cbSize;
  1026.     LPWSTR szExtraInfo;
  1027.     STGMEDIUM stgmedData;
  1028.     DWORD grfBindInfoF;
  1029.     DWORD dwBindVerb;
  1030.     LPWSTR szCustomVerb;
  1031.     DWORD cbstgmedData;
  1032.     DWORD dwOptions;
  1033.     DWORD dwOptionsFlags;
  1034.     DWORD dwCodePage;
  1035.     SECURITY_ATTRIBUTES securityAttributes;
  1036.     IID iid;
  1037.     IUnknown __RPC_FAR *pUnk;
  1038.     DWORD dwReserved;
  1039.     }    BINDINFO;
  1040.  
  1041. typedef struct  _REMSECURITY_ATTRIBUTES
  1042.     {
  1043.     DWORD nLength;
  1044.     DWORD lpSecurityDescriptor;
  1045.     BOOL bInheritHandle;
  1046.     }    REMSECURITY_ATTRIBUTES;
  1047.  
  1048. typedef struct _REMSECURITY_ATTRIBUTES __RPC_FAR *PREMSECURITY_ATTRIBUTES;
  1049.  
  1050. typedef struct _REMSECURITY_ATTRIBUTES __RPC_FAR *LPREMSECURITY_ATTRIBUTES;
  1051.  
  1052. typedef struct  _tagRemBINDINFO
  1053.     {
  1054.     ULONG cbSize;
  1055.     LPWSTR szExtraInfo;
  1056.     DWORD grfBindInfoF;
  1057.     DWORD dwBindVerb;
  1058.     LPWSTR szCustomVerb;
  1059.     DWORD cbstgmedData;
  1060.     DWORD dwOptions;
  1061.     DWORD dwOptionsFlags;
  1062.     DWORD dwCodePage;
  1063.     REMSECURITY_ATTRIBUTES securityAttributes;
  1064.     IID iid;
  1065.     IUnknown __RPC_FAR *pUnk;
  1066.     DWORD dwReserved;
  1067.     }    RemBINDINFO;
  1068.  
  1069. typedef struct  tagRemFORMATETC
  1070.     {
  1071.     DWORD cfFormat;
  1072.     DWORD ptd;
  1073.     DWORD dwAspect;
  1074.     LONG lindex;
  1075.     DWORD tymed;
  1076.     }    RemFORMATETC;
  1077.  
  1078. typedef struct tagRemFORMATETC __RPC_FAR *LPREMFORMATETC;
  1079.  
  1080. typedef /* [public] */ 
  1081. enum __MIDL_IBindStatusCallback_0004
  1082.     {    BSCF_FIRSTDATANOTIFICATION    = 0x1,
  1083.     BSCF_INTERMEDIATEDATANOTIFICATION    = 0x2,
  1084.     BSCF_LASTDATANOTIFICATION    = 0x4,
  1085.     BSCF_DATAFULLYAVAILABLE    = 0x8,
  1086.     BSCF_AVAILABLEDATASIZEUNKNOWN    = 0x10
  1087.     }    BSCF;
  1088.  
  1089. typedef 
  1090. enum tagBINDSTATUS
  1091.     {    BINDSTATUS_FINDINGRESOURCE    = 1,
  1092.     BINDSTATUS_CONNECTING    = BINDSTATUS_FINDINGRESOURCE + 1,
  1093.     BINDSTATUS_REDIRECTING    = BINDSTATUS_CONNECTING + 1,
  1094.     BINDSTATUS_BEGINDOWNLOADDATA    = BINDSTATUS_REDIRECTING + 1,
  1095.     BINDSTATUS_DOWNLOADINGDATA    = BINDSTATUS_BEGINDOWNLOADDATA + 1,
  1096.     BINDSTATUS_ENDDOWNLOADDATA    = BINDSTATUS_DOWNLOADINGDATA + 1,
  1097.     BINDSTATUS_BEGINDOWNLOADCOMPONENTS    = BINDSTATUS_ENDDOWNLOADDATA + 1,
  1098.     BINDSTATUS_INSTALLINGCOMPONENTS    = BINDSTATUS_BEGINDOWNLOADCOMPONENTS + 1,
  1099.     BINDSTATUS_ENDDOWNLOADCOMPONENTS    = BINDSTATUS_INSTALLINGCOMPONENTS + 1,
  1100.     BINDSTATUS_USINGCACHEDCOPY    = BINDSTATUS_ENDDOWNLOADCOMPONENTS + 1,
  1101.     BINDSTATUS_SENDINGREQUEST    = BINDSTATUS_USINGCACHEDCOPY + 1,
  1102.     BINDSTATUS_CLASSIDAVAILABLE    = BINDSTATUS_SENDINGREQUEST + 1,
  1103.     BINDSTATUS_MIMETYPEAVAILABLE    = BINDSTATUS_CLASSIDAVAILABLE + 1,
  1104.     BINDSTATUS_CACHEFILENAMEAVAILABLE    = BINDSTATUS_MIMETYPEAVAILABLE + 1,
  1105.     BINDSTATUS_BEGINSYNCOPERATION    = BINDSTATUS_CACHEFILENAMEAVAILABLE + 1,
  1106.     BINDSTATUS_ENDSYNCOPERATION    = BINDSTATUS_BEGINSYNCOPERATION + 1,
  1107.     BINDSTATUS_BEGINUPLOADDATA    = BINDSTATUS_ENDSYNCOPERATION + 1,
  1108.     BINDSTATUS_UPLOADINGDATA    = BINDSTATUS_BEGINUPLOADDATA + 1,
  1109.     BINDSTATUS_ENDUPLOADDATA    = BINDSTATUS_UPLOADINGDATA + 1,
  1110.     BINDSTATUS_PROTOCOLCLASSID    = BINDSTATUS_ENDUPLOADDATA + 1,
  1111.     BINDSTATUS_ENCODING    = BINDSTATUS_PROTOCOLCLASSID + 1,
  1112.     BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE    = BINDSTATUS_ENCODING + 1,
  1113.     BINDSTATUS_CLASSINSTALLLOCATION    = BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE + 1,
  1114.     BINDSTATUS_DECODING    = BINDSTATUS_CLASSINSTALLLOCATION + 1,
  1115.     BINDSTATUS_LOADINGMIMEHANDLER    = BINDSTATUS_DECODING + 1
  1116.     }    BINDSTATUS;
  1117.  
  1118.  
  1119. EXTERN_C const IID IID_IBindStatusCallback;
  1120.  
  1121. #if defined(__cplusplus) && !defined(CINTERFACE)
  1122.     
  1123.     interface DECLSPEC_UUID("79eac9c1-baf9-11ce-8c82-00aa004ba90b")
  1124.     IBindStatusCallback : public IUnknown
  1125.     {
  1126.     public:
  1127.         virtual HRESULT STDMETHODCALLTYPE OnStartBinding( 
  1128.             /* [in] */ DWORD dwReserved,
  1129.             /* [in] */ IBinding __RPC_FAR *pib) = 0;
  1130.         
  1131.         virtual HRESULT STDMETHODCALLTYPE GetPriority( 
  1132.             /* [out] */ LONG __RPC_FAR *pnPriority) = 0;
  1133.         
  1134.         virtual HRESULT STDMETHODCALLTYPE OnLowResource( 
  1135.             /* [in] */ DWORD reserved) = 0;
  1136.         
  1137.         virtual HRESULT STDMETHODCALLTYPE OnProgress( 
  1138.             /* [in] */ ULONG ulProgress,
  1139.             /* [in] */ ULONG ulProgressMax,
  1140.             /* [in] */ ULONG ulStatusCode,
  1141.             /* [in] */ LPCWSTR szStatusText) = 0;
  1142.         
  1143.         virtual HRESULT STDMETHODCALLTYPE OnStopBinding( 
  1144.             /* [in] */ HRESULT hresult,
  1145.             /* [unique][in] */ LPCWSTR szError) = 0;
  1146.         
  1147.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetBindInfo( 
  1148.             /* [out] */ DWORD __RPC_FAR *grfBINDF,
  1149.             /* [unique][out][in] */ BINDINFO __RPC_FAR *pbindinfo) = 0;
  1150.         
  1151.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE OnDataAvailable( 
  1152.             /* [in] */ DWORD grfBSCF,
  1153.             /* [in] */ DWORD dwSize,
  1154.             /* [in] */ FORMATETC __RPC_FAR *pformatetc,
  1155.             /* [in] */ STGMEDIUM __RPC_FAR *pstgmed) = 0;
  1156.         
  1157.         virtual HRESULT STDMETHODCALLTYPE OnObjectAvailable( 
  1158.             /* [in] */ REFIID riid,
  1159.             /* [iid_is][in] */ IUnknown __RPC_FAR *punk) = 0;
  1160.         
  1161.     };
  1162.     
  1163. #else     /* C style interface */
  1164.  
  1165.     typedef struct IBindStatusCallbackVtbl
  1166.     {
  1167.         BEGIN_INTERFACE
  1168.         
  1169.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1170.             IBindStatusCallback __RPC_FAR * This,
  1171.             /* [in] */ REFIID riid,
  1172.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1173.         
  1174.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1175.             IBindStatusCallback __RPC_FAR * This);
  1176.         
  1177.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1178.             IBindStatusCallback __RPC_FAR * This);
  1179.         
  1180.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnStartBinding )( 
  1181.             IBindStatusCallback __RPC_FAR * This,
  1182.             /* [in] */ DWORD dwReserved,
  1183.             /* [in] */ IBinding __RPC_FAR *pib);
  1184.         
  1185.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPriority )( 
  1186.             IBindStatusCallback __RPC_FAR * This,
  1187.             /* [out] */ LONG __RPC_FAR *pnPriority);
  1188.         
  1189.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnLowResource )( 
  1190.             IBindStatusCallback __RPC_FAR * This,
  1191.             /* [in] */ DWORD reserved);
  1192.         
  1193.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnProgress )( 
  1194.             IBindStatusCallback __RPC_FAR * This,
  1195.             /* [in] */ ULONG ulProgress,
  1196.             /* [in] */ ULONG ulProgressMax,
  1197.             /* [in] */ ULONG ulStatusCode,
  1198.             /* [in] */ LPCWSTR szStatusText);
  1199.         
  1200.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnStopBinding )( 
  1201.             IBindStatusCallback __RPC_FAR * This,
  1202.             /* [in] */ HRESULT hresult,
  1203.             /* [unique][in] */ LPCWSTR szError);
  1204.         
  1205.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBindInfo )( 
  1206.             IBindStatusCallback __RPC_FAR * This,
  1207.             /* [out] */ DWORD __RPC_FAR *grfBINDF,
  1208.             /* [unique][out][in] */ BINDINFO __RPC_FAR *pbindinfo);
  1209.         
  1210.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDataAvailable )( 
  1211.             IBindStatusCallback __RPC_FAR * This,
  1212.             /* [in] */ DWORD grfBSCF,
  1213.             /* [in] */ DWORD dwSize,
  1214.             /* [in] */ FORMATETC __RPC_FAR *pformatetc,
  1215.             /* [in] */ STGMEDIUM __RPC_FAR *pstgmed);
  1216.         
  1217.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnObjectAvailable )( 
  1218.             IBindStatusCallback __RPC_FAR * This,
  1219.             /* [in] */ REFIID riid,
  1220.             /* [iid_is][in] */ IUnknown __RPC_FAR *punk);
  1221.         
  1222.         END_INTERFACE
  1223.     } IBindStatusCallbackVtbl;
  1224.  
  1225.     interface IBindStatusCallback
  1226.     {
  1227.         CONST_VTBL struct IBindStatusCallbackVtbl __RPC_FAR *lpVtbl;
  1228.     };
  1229.  
  1230.     
  1231.  
  1232. #ifdef COBJMACROS
  1233.  
  1234.  
  1235. #define IBindStatusCallback_QueryInterface(This,riid,ppvObject)    \
  1236.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1237.  
  1238. #define IBindStatusCallback_AddRef(This)    \
  1239.     (This)->lpVtbl -> AddRef(This)
  1240.  
  1241. #define IBindStatusCallback_Release(This)    \
  1242.     (This)->lpVtbl -> Release(This)
  1243.  
  1244.  
  1245. #define IBindStatusCallback_OnStartBinding(This,dwReserved,pib)    \
  1246.     (This)->lpVtbl -> OnStartBinding(This,dwReserved,pib)
  1247.  
  1248. #define IBindStatusCallback_GetPriority(This,pnPriority)    \
  1249.     (This)->lpVtbl -> GetPriority(This,pnPriority)
  1250.  
  1251. #define IBindStatusCallback_OnLowResource(This,reserved)    \
  1252.     (This)->lpVtbl -> OnLowResource(This,reserved)
  1253.  
  1254. #define IBindStatusCallback_OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText)    \
  1255.     (This)->lpVtbl -> OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText)
  1256.  
  1257. #define IBindStatusCallback_OnStopBinding(This,hresult,szError)    \
  1258.     (This)->lpVtbl -> OnStopBinding(This,hresult,szError)
  1259.  
  1260. #define IBindStatusCallback_GetBindInfo(This,grfBINDF,pbindinfo)    \
  1261.     (This)->lpVtbl -> GetBindInfo(This,grfBINDF,pbindinfo)
  1262.  
  1263. #define IBindStatusCallback_OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed)    \
  1264.     (This)->lpVtbl -> OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed)
  1265.  
  1266. #define IBindStatusCallback_OnObjectAvailable(This,riid,punk)    \
  1267.     (This)->lpVtbl -> OnObjectAvailable(This,riid,punk)
  1268.  
  1269. #endif /* COBJMACROS */
  1270.  
  1271.  
  1272. #endif     /* C style interface */
  1273.  
  1274.  
  1275.  
  1276. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnStartBinding_Proxy( 
  1277.     IBindStatusCallback __RPC_FAR * This,
  1278.     /* [in] */ DWORD dwReserved,
  1279.     /* [in] */ IBinding __RPC_FAR *pib);
  1280.  
  1281.  
  1282. void __RPC_STUB IBindStatusCallback_OnStartBinding_Stub(
  1283.     IRpcStubBuffer *This,
  1284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1285.     PRPC_MESSAGE _pRpcMessage,
  1286.     DWORD *_pdwStubPhase);
  1287.  
  1288.  
  1289. HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetPriority_Proxy( 
  1290.     IBindStatusCallback __RPC_FAR * This,
  1291.     /* [out] */ LONG __RPC_FAR *pnPriority);
  1292.  
  1293.  
  1294. void __RPC_STUB IBindStatusCallback_GetPriority_Stub(
  1295.     IRpcStubBuffer *This,
  1296.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1297.     PRPC_MESSAGE _pRpcMessage,
  1298.     DWORD *_pdwStubPhase);
  1299.  
  1300.  
  1301. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnLowResource_Proxy( 
  1302.     IBindStatusCallback __RPC_FAR * This,
  1303.     /* [in] */ DWORD reserved);
  1304.  
  1305.  
  1306. void __RPC_STUB IBindStatusCallback_OnLowResource_Stub(
  1307.     IRpcStubBuffer *This,
  1308.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1309.     PRPC_MESSAGE _pRpcMessage,
  1310.     DWORD *_pdwStubPhase);
  1311.  
  1312.  
  1313. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnProgress_Proxy( 
  1314.     IBindStatusCallback __RPC_FAR * This,
  1315.     /* [in] */ ULONG ulProgress,
  1316.     /* [in] */ ULONG ulProgressMax,
  1317.     /* [in] */ ULONG ulStatusCode,
  1318.     /* [in] */ LPCWSTR szStatusText);
  1319.  
  1320.  
  1321. void __RPC_STUB IBindStatusCallback_OnProgress_Stub(
  1322.     IRpcStubBuffer *This,
  1323.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1324.     PRPC_MESSAGE _pRpcMessage,
  1325.     DWORD *_pdwStubPhase);
  1326.  
  1327.  
  1328. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnStopBinding_Proxy( 
  1329.     IBindStatusCallback __RPC_FAR * This,
  1330.     /* [in] */ HRESULT hresult,
  1331.     /* [unique][in] */ LPCWSTR szError);
  1332.  
  1333.  
  1334. void __RPC_STUB IBindStatusCallback_OnStopBinding_Stub(
  1335.     IRpcStubBuffer *This,
  1336.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1337.     PRPC_MESSAGE _pRpcMessage,
  1338.     DWORD *_pdwStubPhase);
  1339.  
  1340.  
  1341. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteGetBindInfo_Proxy( 
  1342.     IBindStatusCallback __RPC_FAR * This,
  1343.     /* [out] */ DWORD __RPC_FAR *grfBINDF,
  1344.     /* [unique][out][in] */ RemBINDINFO __RPC_FAR *pbindinfo,
  1345.     /* [unique][out][in] */ RemSTGMEDIUM __RPC_FAR *pstgmed);
  1346.  
  1347.  
  1348. void __RPC_STUB IBindStatusCallback_RemoteGetBindInfo_Stub(
  1349.     IRpcStubBuffer *This,
  1350.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1351.     PRPC_MESSAGE _pRpcMessage,
  1352.     DWORD *_pdwStubPhase);
  1353.  
  1354.  
  1355. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteOnDataAvailable_Proxy( 
  1356.     IBindStatusCallback __RPC_FAR * This,
  1357.     /* [in] */ DWORD grfBSCF,
  1358.     /* [in] */ DWORD dwSize,
  1359.     /* [in] */ RemFORMATETC __RPC_FAR *pformatetc,
  1360.     /* [in] */ RemSTGMEDIUM __RPC_FAR *pstgmed);
  1361.  
  1362.  
  1363. void __RPC_STUB IBindStatusCallback_RemoteOnDataAvailable_Stub(
  1364.     IRpcStubBuffer *This,
  1365.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1366.     PRPC_MESSAGE _pRpcMessage,
  1367.     DWORD *_pdwStubPhase);
  1368.  
  1369.  
  1370. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnObjectAvailable_Proxy( 
  1371.     IBindStatusCallback __RPC_FAR * This,
  1372.     /* [in] */ REFIID riid,
  1373.     /* [iid_is][in] */ IUnknown __RPC_FAR *punk);
  1374.  
  1375.  
  1376. void __RPC_STUB IBindStatusCallback_OnObjectAvailable_Stub(
  1377.     IRpcStubBuffer *This,
  1378.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1379.     PRPC_MESSAGE _pRpcMessage,
  1380.     DWORD *_pdwStubPhase);
  1381.  
  1382.  
  1383.  
  1384. #endif     /* __IBindStatusCallback_INTERFACE_DEFINED__ */
  1385.  
  1386.  
  1387. /****************************************
  1388.  * Generated header for interface: __MIDL_itf_urlmon_0114
  1389.  * at Mon Nov 17 12:03:13 1997
  1390.  * using MIDL 3.02.88
  1391.  ****************************************/
  1392. /* [local] */ 
  1393.  
  1394.  
  1395. #endif
  1396. #ifndef _LPAUTHENTICATION_DEFINED
  1397. #define _LPAUTHENTICATION_DEFINED
  1398.  
  1399.  
  1400. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0114_v0_0_c_ifspec;
  1401. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0114_v0_0_s_ifspec;
  1402.  
  1403. #ifndef __IAuthenticate_INTERFACE_DEFINED__
  1404. #define __IAuthenticate_INTERFACE_DEFINED__
  1405.  
  1406. /****************************************
  1407.  * Generated header for interface: IAuthenticate
  1408.  * at Mon Nov 17 12:03:13 1997
  1409.  * using MIDL 3.02.88
  1410.  ****************************************/
  1411. /* [unique][uuid][object][local] */ 
  1412.  
  1413.  
  1414. typedef /* [unique] */ IAuthenticate __RPC_FAR *LPAUTHENTICATION;
  1415.  
  1416.  
  1417. EXTERN_C const IID IID_IAuthenticate;
  1418.  
  1419. #if defined(__cplusplus) && !defined(CINTERFACE)
  1420.     
  1421.     interface DECLSPEC_UUID("79eac9d0-baf9-11ce-8c82-00aa004ba90b")
  1422.     IAuthenticate : public IUnknown
  1423.     {
  1424.     public:
  1425.         virtual HRESULT STDMETHODCALLTYPE Authenticate( 
  1426.             /* [out] */ HWND __RPC_FAR *phwnd,
  1427.             /* [out] */ LPWSTR __RPC_FAR *pszUsername,
  1428.             /* [out] */ LPWSTR __RPC_FAR *pszPassword) = 0;
  1429.         
  1430.     };
  1431.     
  1432. #else     /* C style interface */
  1433.  
  1434.     typedef struct IAuthenticateVtbl
  1435.     {
  1436.         BEGIN_INTERFACE
  1437.         
  1438.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1439.             IAuthenticate __RPC_FAR * This,
  1440.             /* [in] */ REFIID riid,
  1441.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1442.         
  1443.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1444.             IAuthenticate __RPC_FAR * This);
  1445.         
  1446.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1447.             IAuthenticate __RPC_FAR * This);
  1448.         
  1449.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Authenticate )( 
  1450.             IAuthenticate __RPC_FAR * This,
  1451.             /* [out] */ HWND __RPC_FAR *phwnd,
  1452.             /* [out] */ LPWSTR __RPC_FAR *pszUsername,
  1453.             /* [out] */ LPWSTR __RPC_FAR *pszPassword);
  1454.         
  1455.         END_INTERFACE
  1456.     } IAuthenticateVtbl;
  1457.  
  1458.     interface IAuthenticate
  1459.     {
  1460.         CONST_VTBL struct IAuthenticateVtbl __RPC_FAR *lpVtbl;
  1461.     };
  1462.  
  1463.     
  1464.  
  1465. #ifdef COBJMACROS
  1466.  
  1467.  
  1468. #define IAuthenticate_QueryInterface(This,riid,ppvObject)    \
  1469.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1470.  
  1471. #define IAuthenticate_AddRef(This)    \
  1472.     (This)->lpVtbl -> AddRef(This)
  1473.  
  1474. #define IAuthenticate_Release(This)    \
  1475.     (This)->lpVtbl -> Release(This)
  1476.  
  1477.  
  1478. #define IAuthenticate_Authenticate(This,phwnd,pszUsername,pszPassword)    \
  1479.     (This)->lpVtbl -> Authenticate(This,phwnd,pszUsername,pszPassword)
  1480.  
  1481. #endif /* COBJMACROS */
  1482.  
  1483.  
  1484. #endif     /* C style interface */
  1485.  
  1486.  
  1487.  
  1488. HRESULT STDMETHODCALLTYPE IAuthenticate_Authenticate_Proxy( 
  1489.     IAuthenticate __RPC_FAR * This,
  1490.     /* [out] */ HWND __RPC_FAR *phwnd,
  1491.     /* [out] */ LPWSTR __RPC_FAR *pszUsername,
  1492.     /* [out] */ LPWSTR __RPC_FAR *pszPassword);
  1493.  
  1494.  
  1495. void __RPC_STUB IAuthenticate_Authenticate_Stub(
  1496.     IRpcStubBuffer *This,
  1497.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1498.     PRPC_MESSAGE _pRpcMessage,
  1499.     DWORD *_pdwStubPhase);
  1500.  
  1501.  
  1502.  
  1503. #endif     /* __IAuthenticate_INTERFACE_DEFINED__ */
  1504.  
  1505.  
  1506. /****************************************
  1507.  * Generated header for interface: __MIDL_itf_urlmon_0115
  1508.  * at Mon Nov 17 12:03:13 1997
  1509.  * using MIDL 3.02.88
  1510.  ****************************************/
  1511. /* [local] */ 
  1512.  
  1513.  
  1514. #endif
  1515. #ifndef _LPHTTPNEGOTIATE_DEFINED
  1516. #define _LPHTTPNEGOTIATE_DEFINED
  1517.  
  1518.  
  1519. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0115_v0_0_c_ifspec;
  1520. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0115_v0_0_s_ifspec;
  1521.  
  1522. #ifndef __IHttpNegotiate_INTERFACE_DEFINED__
  1523. #define __IHttpNegotiate_INTERFACE_DEFINED__
  1524.  
  1525. /****************************************
  1526.  * Generated header for interface: IHttpNegotiate
  1527.  * at Mon Nov 17 12:03:13 1997
  1528.  * using MIDL 3.02.88
  1529.  ****************************************/
  1530. /* [unique][uuid][object] */ 
  1531.  
  1532.  
  1533. typedef /* [unique] */ IHttpNegotiate __RPC_FAR *LPHTTPNEGOTIATE;
  1534.  
  1535.  
  1536. EXTERN_C const IID IID_IHttpNegotiate;
  1537.  
  1538. #if defined(__cplusplus) && !defined(CINTERFACE)
  1539.     
  1540.     interface DECLSPEC_UUID("79eac9d2-baf9-11ce-8c82-00aa004ba90b")
  1541.     IHttpNegotiate : public IUnknown
  1542.     {
  1543.     public:
  1544.         virtual HRESULT STDMETHODCALLTYPE BeginningTransaction( 
  1545.             /* [in] */ LPCWSTR szURL,
  1546.             /* [unique][in] */ LPCWSTR szHeaders,
  1547.             /* [in] */ DWORD dwReserved,
  1548.             /* [out] */ LPWSTR __RPC_FAR *pszAdditionalHeaders) = 0;
  1549.         
  1550.         virtual HRESULT STDMETHODCALLTYPE OnResponse( 
  1551.             /* [in] */ DWORD dwResponseCode,
  1552.             /* [unique][in] */ LPCWSTR szResponseHeaders,
  1553.             /* [unique][in] */ LPCWSTR szRequestHeaders,
  1554.             /* [out] */ LPWSTR __RPC_FAR *pszAdditionalRequestHeaders) = 0;
  1555.         
  1556.     };
  1557.     
  1558. #else     /* C style interface */
  1559.  
  1560.     typedef struct IHttpNegotiateVtbl
  1561.     {
  1562.         BEGIN_INTERFACE
  1563.         
  1564.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1565.             IHttpNegotiate __RPC_FAR * This,
  1566.             /* [in] */ REFIID riid,
  1567.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1568.         
  1569.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1570.             IHttpNegotiate __RPC_FAR * This);
  1571.         
  1572.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1573.             IHttpNegotiate __RPC_FAR * This);
  1574.         
  1575.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginningTransaction )( 
  1576.             IHttpNegotiate __RPC_FAR * This,
  1577.             /* [in] */ LPCWSTR szURL,
  1578.             /* [unique][in] */ LPCWSTR szHeaders,
  1579.             /* [in] */ DWORD dwReserved,
  1580.             /* [out] */ LPWSTR __RPC_FAR *pszAdditionalHeaders);
  1581.         
  1582.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnResponse )( 
  1583.             IHttpNegotiate __RPC_FAR * This,
  1584.             /* [in] */ DWORD dwResponseCode,
  1585.             /* [unique][in] */ LPCWSTR szResponseHeaders,
  1586.             /* [unique][in] */ LPCWSTR szRequestHeaders,
  1587.             /* [out] */ LPWSTR __RPC_FAR *pszAdditionalRequestHeaders);
  1588.         
  1589.         END_INTERFACE
  1590.     } IHttpNegotiateVtbl;
  1591.  
  1592.     interface IHttpNegotiate
  1593.     {
  1594.         CONST_VTBL struct IHttpNegotiateVtbl __RPC_FAR *lpVtbl;
  1595.     };
  1596.  
  1597.     
  1598.  
  1599. #ifdef COBJMACROS
  1600.  
  1601.  
  1602. #define IHttpNegotiate_QueryInterface(This,riid,ppvObject)    \
  1603.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1604.  
  1605. #define IHttpNegotiate_AddRef(This)    \
  1606.     (This)->lpVtbl -> AddRef(This)
  1607.  
  1608. #define IHttpNegotiate_Release(This)    \
  1609.     (This)->lpVtbl -> Release(This)
  1610.  
  1611.  
  1612. #define IHttpNegotiate_BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders)    \
  1613.     (This)->lpVtbl -> BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders)
  1614.  
  1615. #define IHttpNegotiate_OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders)    \
  1616.     (This)->lpVtbl -> OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders)
  1617.  
  1618. #endif /* COBJMACROS */
  1619.  
  1620.  
  1621. #endif     /* C style interface */
  1622.  
  1623.  
  1624.  
  1625. HRESULT STDMETHODCALLTYPE IHttpNegotiate_BeginningTransaction_Proxy( 
  1626.     IHttpNegotiate __RPC_FAR * This,
  1627.     /* [in] */ LPCWSTR szURL,
  1628.     /* [unique][in] */ LPCWSTR szHeaders,
  1629.     /* [in] */ DWORD dwReserved,
  1630.     /* [out] */ LPWSTR __RPC_FAR *pszAdditionalHeaders);
  1631.  
  1632.  
  1633. void __RPC_STUB IHttpNegotiate_BeginningTransaction_Stub(
  1634.     IRpcStubBuffer *This,
  1635.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1636.     PRPC_MESSAGE _pRpcMessage,
  1637.     DWORD *_pdwStubPhase);
  1638.  
  1639.  
  1640. HRESULT STDMETHODCALLTYPE IHttpNegotiate_OnResponse_Proxy( 
  1641.     IHttpNegotiate __RPC_FAR * This,
  1642.     /* [in] */ DWORD dwResponseCode,
  1643.     /* [unique][in] */ LPCWSTR szResponseHeaders,
  1644.     /* [unique][in] */ LPCWSTR szRequestHeaders,
  1645.     /* [out] */ LPWSTR __RPC_FAR *pszAdditionalRequestHeaders);
  1646.  
  1647.  
  1648. void __RPC_STUB IHttpNegotiate_OnResponse_Stub(
  1649.     IRpcStubBuffer *This,
  1650.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1651.     PRPC_MESSAGE _pRpcMessage,
  1652.     DWORD *_pdwStubPhase);
  1653.  
  1654.  
  1655.  
  1656. #endif     /* __IHttpNegotiate_INTERFACE_DEFINED__ */
  1657.  
  1658.  
  1659. /****************************************
  1660.  * Generated header for interface: __MIDL_itf_urlmon_0116
  1661.  * at Mon Nov 17 12:03:13 1997
  1662.  * using MIDL 3.02.88
  1663.  ****************************************/
  1664. /* [local] */ 
  1665.  
  1666.  
  1667. #endif
  1668. #ifndef _LPWINDOWFORBINDINGUI_DEFINED
  1669. #define _LPWINDOWFORBINDINGUI_DEFINED
  1670.  
  1671.  
  1672. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0116_v0_0_c_ifspec;
  1673. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0116_v0_0_s_ifspec;
  1674.  
  1675. #ifndef __IWindowForBindingUI_INTERFACE_DEFINED__
  1676. #define __IWindowForBindingUI_INTERFACE_DEFINED__
  1677.  
  1678. /****************************************
  1679.  * Generated header for interface: IWindowForBindingUI
  1680.  * at Mon Nov 17 12:03:13 1997
  1681.  * using MIDL 3.02.88
  1682.  ****************************************/
  1683. /* [unique][uuid][object][local] */ 
  1684.  
  1685.  
  1686. typedef /* [unique] */ IWindowForBindingUI __RPC_FAR *LPWINDOWFORBINDINGUI;
  1687.  
  1688.  
  1689. EXTERN_C const IID IID_IWindowForBindingUI;
  1690.  
  1691. #if defined(__cplusplus) && !defined(CINTERFACE)
  1692.     
  1693.     interface DECLSPEC_UUID("79eac9d5-bafa-11ce-8c82-00aa004ba90b")
  1694.     IWindowForBindingUI : public IUnknown
  1695.     {
  1696.     public:
  1697.         virtual HRESULT STDMETHODCALLTYPE GetWindow( 
  1698.             /* [in] */ REFGUID rguidReason,
  1699.             /* [out] */ HWND __RPC_FAR *phwnd) = 0;
  1700.         
  1701.     };
  1702.     
  1703. #else     /* C style interface */
  1704.  
  1705.     typedef struct IWindowForBindingUIVtbl
  1706.     {
  1707.         BEGIN_INTERFACE
  1708.         
  1709.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1710.             IWindowForBindingUI __RPC_FAR * This,
  1711.             /* [in] */ REFIID riid,
  1712.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1713.         
  1714.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1715.             IWindowForBindingUI __RPC_FAR * This);
  1716.         
  1717.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1718.             IWindowForBindingUI __RPC_FAR * This);
  1719.         
  1720.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
  1721.             IWindowForBindingUI __RPC_FAR * This,
  1722.             /* [in] */ REFGUID rguidReason,
  1723.             /* [out] */ HWND __RPC_FAR *phwnd);
  1724.         
  1725.         END_INTERFACE
  1726.     } IWindowForBindingUIVtbl;
  1727.  
  1728.     interface IWindowForBindingUI
  1729.     {
  1730.         CONST_VTBL struct IWindowForBindingUIVtbl __RPC_FAR *lpVtbl;
  1731.     };
  1732.  
  1733.     
  1734.  
  1735. #ifdef COBJMACROS
  1736.  
  1737.  
  1738. #define IWindowForBindingUI_QueryInterface(This,riid,ppvObject)    \
  1739.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1740.  
  1741. #define IWindowForBindingUI_AddRef(This)    \
  1742.     (This)->lpVtbl -> AddRef(This)
  1743.  
  1744. #define IWindowForBindingUI_Release(This)    \
  1745.     (This)->lpVtbl -> Release(This)
  1746.  
  1747.  
  1748. #define IWindowForBindingUI_GetWindow(This,rguidReason,phwnd)    \
  1749.     (This)->lpVtbl -> GetWindow(This,rguidReason,phwnd)
  1750.  
  1751. #endif /* COBJMACROS */
  1752.  
  1753.  
  1754. #endif     /* C style interface */
  1755.  
  1756.  
  1757.  
  1758. HRESULT STDMETHODCALLTYPE IWindowForBindingUI_GetWindow_Proxy( 
  1759.     IWindowForBindingUI __RPC_FAR * This,
  1760.     /* [in] */ REFGUID rguidReason,
  1761.     /* [out] */ HWND __RPC_FAR *phwnd);
  1762.  
  1763.  
  1764. void __RPC_STUB IWindowForBindingUI_GetWindow_Stub(
  1765.     IRpcStubBuffer *This,
  1766.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1767.     PRPC_MESSAGE _pRpcMessage,
  1768.     DWORD *_pdwStubPhase);
  1769.  
  1770.  
  1771.  
  1772. #endif     /* __IWindowForBindingUI_INTERFACE_DEFINED__ */
  1773.  
  1774.  
  1775. /****************************************
  1776.  * Generated header for interface: __MIDL_itf_urlmon_0117
  1777.  * at Mon Nov 17 12:03:13 1997
  1778.  * using MIDL 3.02.88
  1779.  ****************************************/
  1780. /* [local] */ 
  1781.  
  1782.  
  1783. #endif
  1784. #ifndef _LPCODEINSTALL_DEFINED
  1785. #define _LPCODEINSTALL_DEFINED
  1786.  
  1787.  
  1788. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0117_v0_0_c_ifspec;
  1789. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0117_v0_0_s_ifspec;
  1790.  
  1791. #ifndef __ICodeInstall_INTERFACE_DEFINED__
  1792. #define __ICodeInstall_INTERFACE_DEFINED__
  1793.  
  1794. /****************************************
  1795.  * Generated header for interface: ICodeInstall
  1796.  * at Mon Nov 17 12:03:13 1997
  1797.  * using MIDL 3.02.88
  1798.  ****************************************/
  1799. /* [unique][uuid][object][local] */ 
  1800.  
  1801.  
  1802. typedef /* [unique] */ ICodeInstall __RPC_FAR *LPCODEINSTALL;
  1803.  
  1804. typedef /* [public] */ 
  1805. enum __MIDL_ICodeInstall_0001
  1806.     {    CIP_DISK_FULL    = 0,
  1807.     CIP_ACCESS_DENIED    = CIP_DISK_FULL + 1,
  1808.     CIP_NEWER_VERSION_EXISTS    = CIP_ACCESS_DENIED + 1,
  1809.     CIP_OLDER_VERSION_EXISTS    = CIP_NEWER_VERSION_EXISTS + 1,
  1810.     CIP_NAME_CONFLICT    = CIP_OLDER_VERSION_EXISTS + 1,
  1811.     CIP_TRUST_VERIFICATION_COMPONENT_MISSING    = CIP_NAME_CONFLICT + 1,
  1812.     CIP_EXE_SELF_REGISTERATION_TIMEOUT    = CIP_TRUST_VERIFICATION_COMPONENT_MISSING + 1,
  1813.     CIP_UNSAFE_TO_ABORT    = CIP_EXE_SELF_REGISTERATION_TIMEOUT + 1,
  1814.     CIP_NEED_REBOOT    = CIP_UNSAFE_TO_ABORT + 1
  1815.     }    CIP_STATUS;
  1816.  
  1817.  
  1818. EXTERN_C const IID IID_ICodeInstall;
  1819.  
  1820. #if defined(__cplusplus) && !defined(CINTERFACE)
  1821.     
  1822.     interface DECLSPEC_UUID("79eac9d1-baf9-11ce-8c82-00aa004ba90b")
  1823.     ICodeInstall : public IWindowForBindingUI
  1824.     {
  1825.     public:
  1826.         virtual HRESULT STDMETHODCALLTYPE OnCodeInstallProblem( 
  1827.             /* [in] */ ULONG ulStatusCode,
  1828.             /* [unique][in] */ LPCWSTR szDestination,
  1829.             /* [unique][in] */ LPCWSTR szSource,
  1830.             /* [in] */ DWORD dwReserved) = 0;
  1831.         
  1832.     };
  1833.     
  1834. #else     /* C style interface */
  1835.  
  1836.     typedef struct ICodeInstallVtbl
  1837.     {
  1838.         BEGIN_INTERFACE
  1839.         
  1840.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1841.             ICodeInstall __RPC_FAR * This,
  1842.             /* [in] */ REFIID riid,
  1843.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1844.         
  1845.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1846.             ICodeInstall __RPC_FAR * This);
  1847.         
  1848.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1849.             ICodeInstall __RPC_FAR * This);
  1850.         
  1851.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
  1852.             ICodeInstall __RPC_FAR * This,
  1853.             /* [in] */ REFGUID rguidReason,
  1854.             /* [out] */ HWND __RPC_FAR *phwnd);
  1855.         
  1856.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnCodeInstallProblem )( 
  1857.             ICodeInstall __RPC_FAR * This,
  1858.             /* [in] */ ULONG ulStatusCode,
  1859.             /* [unique][in] */ LPCWSTR szDestination,
  1860.             /* [unique][in] */ LPCWSTR szSource,
  1861.             /* [in] */ DWORD dwReserved);
  1862.         
  1863.         END_INTERFACE
  1864.     } ICodeInstallVtbl;
  1865.  
  1866.     interface ICodeInstall
  1867.     {
  1868.         CONST_VTBL struct ICodeInstallVtbl __RPC_FAR *lpVtbl;
  1869.     };
  1870.  
  1871.     
  1872.  
  1873. #ifdef COBJMACROS
  1874.  
  1875.  
  1876. #define ICodeInstall_QueryInterface(This,riid,ppvObject)    \
  1877.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1878.  
  1879. #define ICodeInstall_AddRef(This)    \
  1880.     (This)->lpVtbl -> AddRef(This)
  1881.  
  1882. #define ICodeInstall_Release(This)    \
  1883.     (This)->lpVtbl -> Release(This)
  1884.  
  1885.  
  1886. #define ICodeInstall_GetWindow(This,rguidReason,phwnd)    \
  1887.     (This)->lpVtbl -> GetWindow(This,rguidReason,phwnd)
  1888.  
  1889.  
  1890. #define ICodeInstall_OnCodeInstallProblem(This,ulStatusCode,szDestination,szSource,dwReserved)    \
  1891.     (This)->lpVtbl -> OnCodeInstallProblem(This,ulStatusCode,szDestination,szSource,dwReserved)
  1892.  
  1893. #endif /* COBJMACROS */
  1894.  
  1895.  
  1896. #endif     /* C style interface */
  1897.  
  1898.  
  1899.  
  1900. HRESULT STDMETHODCALLTYPE ICodeInstall_OnCodeInstallProblem_Proxy( 
  1901.     ICodeInstall __RPC_FAR * This,
  1902.     /* [in] */ ULONG ulStatusCode,
  1903.     /* [unique][in] */ LPCWSTR szDestination,
  1904.     /* [unique][in] */ LPCWSTR szSource,
  1905.     /* [in] */ DWORD dwReserved);
  1906.  
  1907.  
  1908. void __RPC_STUB ICodeInstall_OnCodeInstallProblem_Stub(
  1909.     IRpcStubBuffer *This,
  1910.     IRpcChannelBuffer *_pRpcChannelBuffer,
  1911.     PRPC_MESSAGE _pRpcMessage,
  1912.     DWORD *_pdwStubPhase);
  1913.  
  1914.  
  1915.  
  1916. #endif     /* __ICodeInstall_INTERFACE_DEFINED__ */
  1917.  
  1918.  
  1919. /****************************************
  1920.  * Generated header for interface: __MIDL_itf_urlmon_0118
  1921.  * at Mon Nov 17 12:03:13 1997
  1922.  * using MIDL 3.02.88
  1923.  ****************************************/
  1924. /* [local] */ 
  1925.  
  1926.  
  1927. #endif
  1928. #ifndef _LPWININETINFO_DEFINED
  1929. #define _LPWININETINFO_DEFINED
  1930.  
  1931.  
  1932. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0118_v0_0_c_ifspec;
  1933. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0118_v0_0_s_ifspec;
  1934.  
  1935. #ifndef __IWinInetInfo_INTERFACE_DEFINED__
  1936. #define __IWinInetInfo_INTERFACE_DEFINED__
  1937.  
  1938. /****************************************
  1939.  * Generated header for interface: IWinInetInfo
  1940.  * at Mon Nov 17 12:03:13 1997
  1941.  * using MIDL 3.02.88
  1942.  ****************************************/
  1943. /* [unique][uuid][object] */ 
  1944.  
  1945.  
  1946. typedef /* [unique] */ IWinInetInfo __RPC_FAR *LPWININETINFO;
  1947.  
  1948.  
  1949. EXTERN_C const IID IID_IWinInetInfo;
  1950.  
  1951. #if defined(__cplusplus) && !defined(CINTERFACE)
  1952.     
  1953.     interface DECLSPEC_UUID("79eac9d6-bafa-11ce-8c82-00aa004ba90b")
  1954.     IWinInetInfo : public IUnknown
  1955.     {
  1956.     public:
  1957.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE QueryOption( 
  1958.             /* [in] */ DWORD dwOption,
  1959.             /* [size_is][out][in] */ LPVOID pBuffer,
  1960.             /* [out][in] */ DWORD __RPC_FAR *pcbBuf) = 0;
  1961.         
  1962.     };
  1963.     
  1964. #else     /* C style interface */
  1965.  
  1966.     typedef struct IWinInetInfoVtbl
  1967.     {
  1968.         BEGIN_INTERFACE
  1969.         
  1970.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  1971.             IWinInetInfo __RPC_FAR * This,
  1972.             /* [in] */ REFIID riid,
  1973.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1974.         
  1975.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  1976.             IWinInetInfo __RPC_FAR * This);
  1977.         
  1978.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  1979.             IWinInetInfo __RPC_FAR * This);
  1980.         
  1981.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryOption )( 
  1982.             IWinInetInfo __RPC_FAR * This,
  1983.             /* [in] */ DWORD dwOption,
  1984.             /* [size_is][out][in] */ LPVOID pBuffer,
  1985.             /* [out][in] */ DWORD __RPC_FAR *pcbBuf);
  1986.         
  1987.         END_INTERFACE
  1988.     } IWinInetInfoVtbl;
  1989.  
  1990.     interface IWinInetInfo
  1991.     {
  1992.         CONST_VTBL struct IWinInetInfoVtbl __RPC_FAR *lpVtbl;
  1993.     };
  1994.  
  1995.     
  1996.  
  1997. #ifdef COBJMACROS
  1998.  
  1999.  
  2000. #define IWinInetInfo_QueryInterface(This,riid,ppvObject)    \
  2001.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2002.  
  2003. #define IWinInetInfo_AddRef(This)    \
  2004.     (This)->lpVtbl -> AddRef(This)
  2005.  
  2006. #define IWinInetInfo_Release(This)    \
  2007.     (This)->lpVtbl -> Release(This)
  2008.  
  2009.  
  2010. #define IWinInetInfo_QueryOption(This,dwOption,pBuffer,pcbBuf)    \
  2011.     (This)->lpVtbl -> QueryOption(This,dwOption,pBuffer,pcbBuf)
  2012.  
  2013. #endif /* COBJMACROS */
  2014.  
  2015.  
  2016. #endif     /* C style interface */
  2017.  
  2018.  
  2019.  
  2020. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_RemoteQueryOption_Proxy( 
  2021.     IWinInetInfo __RPC_FAR * This,
  2022.     /* [in] */ DWORD dwOption,
  2023.     /* [size_is][out][in] */ BYTE __RPC_FAR *pBuffer,
  2024.     /* [out][in] */ DWORD __RPC_FAR *pcbBuf);
  2025.  
  2026.  
  2027. void __RPC_STUB IWinInetInfo_RemoteQueryOption_Stub(
  2028.     IRpcStubBuffer *This,
  2029.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2030.     PRPC_MESSAGE _pRpcMessage,
  2031.     DWORD *_pdwStubPhase);
  2032.  
  2033.  
  2034.  
  2035. #endif     /* __IWinInetInfo_INTERFACE_DEFINED__ */
  2036.  
  2037.  
  2038. /****************************************
  2039.  * Generated header for interface: __MIDL_itf_urlmon_0119
  2040.  * at Mon Nov 17 12:03:13 1997
  2041.  * using MIDL 3.02.88
  2042.  ****************************************/
  2043. /* [local] */ 
  2044.  
  2045.  
  2046. #endif
  2047. #define WININETINFO_OPTION_LOCK_HANDLE 65534
  2048. #ifndef _LPHTTPSECURITY_DEFINED
  2049. #define _LPHTTPSECURITY_DEFINED
  2050.  
  2051.  
  2052. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0119_v0_0_c_ifspec;
  2053. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0119_v0_0_s_ifspec;
  2054.  
  2055. #ifndef __IHttpSecurity_INTERFACE_DEFINED__
  2056. #define __IHttpSecurity_INTERFACE_DEFINED__
  2057.  
  2058. /****************************************
  2059.  * Generated header for interface: IHttpSecurity
  2060.  * at Mon Nov 17 12:03:13 1997
  2061.  * using MIDL 3.02.88
  2062.  ****************************************/
  2063. /* [unique][uuid][object][local] */ 
  2064.  
  2065.  
  2066. typedef /* [unique] */ IHttpSecurity __RPC_FAR *LPHTTPSECURITY;
  2067.  
  2068.  
  2069. EXTERN_C const IID IID_IHttpSecurity;
  2070.  
  2071. #if defined(__cplusplus) && !defined(CINTERFACE)
  2072.     
  2073.     interface DECLSPEC_UUID("79eac9d7-bafa-11ce-8c82-00aa004ba90b")
  2074.     IHttpSecurity : public IWindowForBindingUI
  2075.     {
  2076.     public:
  2077.         virtual HRESULT STDMETHODCALLTYPE OnSecurityProblem( 
  2078.             /* [in] */ DWORD dwProblem) = 0;
  2079.         
  2080.     };
  2081.     
  2082. #else     /* C style interface */
  2083.  
  2084.     typedef struct IHttpSecurityVtbl
  2085.     {
  2086.         BEGIN_INTERFACE
  2087.         
  2088.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2089.             IHttpSecurity __RPC_FAR * This,
  2090.             /* [in] */ REFIID riid,
  2091.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2092.         
  2093.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2094.             IHttpSecurity __RPC_FAR * This);
  2095.         
  2096.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2097.             IHttpSecurity __RPC_FAR * This);
  2098.         
  2099.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
  2100.             IHttpSecurity __RPC_FAR * This,
  2101.             /* [in] */ REFGUID rguidReason,
  2102.             /* [out] */ HWND __RPC_FAR *phwnd);
  2103.         
  2104.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnSecurityProblem )( 
  2105.             IHttpSecurity __RPC_FAR * This,
  2106.             /* [in] */ DWORD dwProblem);
  2107.         
  2108.         END_INTERFACE
  2109.     } IHttpSecurityVtbl;
  2110.  
  2111.     interface IHttpSecurity
  2112.     {
  2113.         CONST_VTBL struct IHttpSecurityVtbl __RPC_FAR *lpVtbl;
  2114.     };
  2115.  
  2116.     
  2117.  
  2118. #ifdef COBJMACROS
  2119.  
  2120.  
  2121. #define IHttpSecurity_QueryInterface(This,riid,ppvObject)    \
  2122.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2123.  
  2124. #define IHttpSecurity_AddRef(This)    \
  2125.     (This)->lpVtbl -> AddRef(This)
  2126.  
  2127. #define IHttpSecurity_Release(This)    \
  2128.     (This)->lpVtbl -> Release(This)
  2129.  
  2130.  
  2131. #define IHttpSecurity_GetWindow(This,rguidReason,phwnd)    \
  2132.     (This)->lpVtbl -> GetWindow(This,rguidReason,phwnd)
  2133.  
  2134.  
  2135. #define IHttpSecurity_OnSecurityProblem(This,dwProblem)    \
  2136.     (This)->lpVtbl -> OnSecurityProblem(This,dwProblem)
  2137.  
  2138. #endif /* COBJMACROS */
  2139.  
  2140.  
  2141. #endif     /* C style interface */
  2142.  
  2143.  
  2144.  
  2145. HRESULT STDMETHODCALLTYPE IHttpSecurity_OnSecurityProblem_Proxy( 
  2146.     IHttpSecurity __RPC_FAR * This,
  2147.     /* [in] */ DWORD dwProblem);
  2148.  
  2149.  
  2150. void __RPC_STUB IHttpSecurity_OnSecurityProblem_Stub(
  2151.     IRpcStubBuffer *This,
  2152.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2153.     PRPC_MESSAGE _pRpcMessage,
  2154.     DWORD *_pdwStubPhase);
  2155.  
  2156.  
  2157.  
  2158. #endif     /* __IHttpSecurity_INTERFACE_DEFINED__ */
  2159.  
  2160.  
  2161. /****************************************
  2162.  * Generated header for interface: __MIDL_itf_urlmon_0120
  2163.  * at Mon Nov 17 12:03:13 1997
  2164.  * using MIDL 3.02.88
  2165.  ****************************************/
  2166. /* [local] */ 
  2167.  
  2168.  
  2169. #endif
  2170. #ifndef _LPWININETHTTPINFO_DEFINED
  2171. #define _LPWININETHTTPINFO_DEFINED
  2172.  
  2173.  
  2174. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0120_v0_0_c_ifspec;
  2175. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0120_v0_0_s_ifspec;
  2176.  
  2177. #ifndef __IWinInetHttpInfo_INTERFACE_DEFINED__
  2178. #define __IWinInetHttpInfo_INTERFACE_DEFINED__
  2179.  
  2180. /****************************************
  2181.  * Generated header for interface: IWinInetHttpInfo
  2182.  * at Mon Nov 17 12:03:13 1997
  2183.  * using MIDL 3.02.88
  2184.  ****************************************/
  2185. /* [unique][uuid][object] */ 
  2186.  
  2187.  
  2188. typedef /* [unique] */ IWinInetHttpInfo __RPC_FAR *LPWININETHTTPINFO;
  2189.  
  2190.  
  2191. EXTERN_C const IID IID_IWinInetHttpInfo;
  2192.  
  2193. #if defined(__cplusplus) && !defined(CINTERFACE)
  2194.     
  2195.     interface DECLSPEC_UUID("79eac9d8-bafa-11ce-8c82-00aa004ba90b")
  2196.     IWinInetHttpInfo : public IWinInetInfo
  2197.     {
  2198.     public:
  2199.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE QueryInfo( 
  2200.             /* [in] */ DWORD dwOption,
  2201.             /* [size_is][out][in] */ LPVOID pBuffer,
  2202.             /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  2203.             /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  2204.             /* [out][in] */ DWORD __RPC_FAR *pdwReserved) = 0;
  2205.         
  2206.     };
  2207.     
  2208. #else     /* C style interface */
  2209.  
  2210.     typedef struct IWinInetHttpInfoVtbl
  2211.     {
  2212.         BEGIN_INTERFACE
  2213.         
  2214.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2215.             IWinInetHttpInfo __RPC_FAR * This,
  2216.             /* [in] */ REFIID riid,
  2217.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2218.         
  2219.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2220.             IWinInetHttpInfo __RPC_FAR * This);
  2221.         
  2222.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2223.             IWinInetHttpInfo __RPC_FAR * This);
  2224.         
  2225.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryOption )( 
  2226.             IWinInetHttpInfo __RPC_FAR * This,
  2227.             /* [in] */ DWORD dwOption,
  2228.             /* [size_is][out][in] */ LPVOID pBuffer,
  2229.             /* [out][in] */ DWORD __RPC_FAR *pcbBuf);
  2230.         
  2231.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInfo )( 
  2232.             IWinInetHttpInfo __RPC_FAR * This,
  2233.             /* [in] */ DWORD dwOption,
  2234.             /* [size_is][out][in] */ LPVOID pBuffer,
  2235.             /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  2236.             /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  2237.             /* [out][in] */ DWORD __RPC_FAR *pdwReserved);
  2238.         
  2239.         END_INTERFACE
  2240.     } IWinInetHttpInfoVtbl;
  2241.  
  2242.     interface IWinInetHttpInfo
  2243.     {
  2244.         CONST_VTBL struct IWinInetHttpInfoVtbl __RPC_FAR *lpVtbl;
  2245.     };
  2246.  
  2247.     
  2248.  
  2249. #ifdef COBJMACROS
  2250.  
  2251.  
  2252. #define IWinInetHttpInfo_QueryInterface(This,riid,ppvObject)    \
  2253.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2254.  
  2255. #define IWinInetHttpInfo_AddRef(This)    \
  2256.     (This)->lpVtbl -> AddRef(This)
  2257.  
  2258. #define IWinInetHttpInfo_Release(This)    \
  2259.     (This)->lpVtbl -> Release(This)
  2260.  
  2261.  
  2262. #define IWinInetHttpInfo_QueryOption(This,dwOption,pBuffer,pcbBuf)    \
  2263.     (This)->lpVtbl -> QueryOption(This,dwOption,pBuffer,pcbBuf)
  2264.  
  2265.  
  2266. #define IWinInetHttpInfo_QueryInfo(This,dwOption,pBuffer,pcbBuf,pdwFlags,pdwReserved)    \
  2267.     (This)->lpVtbl -> QueryInfo(This,dwOption,pBuffer,pcbBuf,pdwFlags,pdwReserved)
  2268.  
  2269. #endif /* COBJMACROS */
  2270.  
  2271.  
  2272. #endif     /* C style interface */
  2273.  
  2274.  
  2275.  
  2276. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_RemoteQueryInfo_Proxy( 
  2277.     IWinInetHttpInfo __RPC_FAR * This,
  2278.     /* [in] */ DWORD dwOption,
  2279.     /* [size_is][out][in] */ BYTE __RPC_FAR *pBuffer,
  2280.     /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  2281.     /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  2282.     /* [out][in] */ DWORD __RPC_FAR *pdwReserved);
  2283.  
  2284.  
  2285. void __RPC_STUB IWinInetHttpInfo_RemoteQueryInfo_Stub(
  2286.     IRpcStubBuffer *This,
  2287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2288.     PRPC_MESSAGE _pRpcMessage,
  2289.     DWORD *_pdwStubPhase);
  2290.  
  2291.  
  2292.  
  2293. #endif     /* __IWinInetHttpInfo_INTERFACE_DEFINED__ */
  2294.  
  2295.  
  2296. /****************************************
  2297.  * Generated header for interface: __MIDL_itf_urlmon_0121
  2298.  * at Mon Nov 17 12:03:13 1997
  2299.  * using MIDL 3.02.88
  2300.  ****************************************/
  2301. /* [local] */ 
  2302.  
  2303.  
  2304. #endif
  2305. #define SID_IBindHost IID_IBindHost
  2306. #define SID_SBindHost IID_IBindHost
  2307. #ifndef _LPBINDHOST_DEFINED
  2308. #define _LPBINDHOST_DEFINED
  2309. EXTERN_C const GUID SID_BindHost;
  2310.  
  2311.  
  2312. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0121_v0_0_c_ifspec;
  2313. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0121_v0_0_s_ifspec;
  2314.  
  2315. #ifndef __IBindHost_INTERFACE_DEFINED__
  2316. #define __IBindHost_INTERFACE_DEFINED__
  2317.  
  2318. /****************************************
  2319.  * Generated header for interface: IBindHost
  2320.  * at Mon Nov 17 12:03:13 1997
  2321.  * using MIDL 3.02.88
  2322.  ****************************************/
  2323. /* [unique][uuid][object] */ 
  2324.  
  2325.  
  2326. typedef /* [unique] */ IBindHost __RPC_FAR *LPBINDHOST;
  2327.  
  2328.  
  2329. EXTERN_C const IID IID_IBindHost;
  2330.  
  2331. #if defined(__cplusplus) && !defined(CINTERFACE)
  2332.     
  2333.     interface DECLSPEC_UUID("fc4801a1-2ba9-11cf-a229-00aa003d7352")
  2334.     IBindHost : public IUnknown
  2335.     {
  2336.     public:
  2337.         virtual HRESULT STDMETHODCALLTYPE CreateMoniker( 
  2338.             /* [in] */ LPOLESTR szName,
  2339.             /* [in] */ IBindCtx __RPC_FAR *pBC,
  2340.             /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk,
  2341.             /* [in] */ DWORD dwReserved) = 0;
  2342.         
  2343.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE MonikerBindToStorage( 
  2344.             /* [in] */ IMoniker __RPC_FAR *pMk,
  2345.             /* [in] */ IBindCtx __RPC_FAR *pBC,
  2346.             /* [in] */ IBindStatusCallback __RPC_FAR *pBSC,
  2347.             /* [in] */ REFIID riid,
  2348.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj) = 0;
  2349.         
  2350.         virtual /* [local] */ HRESULT STDMETHODCALLTYPE MonikerBindToObject( 
  2351.             /* [in] */ IMoniker __RPC_FAR *pMk,
  2352.             /* [in] */ IBindCtx __RPC_FAR *pBC,
  2353.             /* [in] */ IBindStatusCallback __RPC_FAR *pBSC,
  2354.             /* [in] */ REFIID riid,
  2355.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj) = 0;
  2356.         
  2357.     };
  2358.     
  2359. #else     /* C style interface */
  2360.  
  2361.     typedef struct IBindHostVtbl
  2362.     {
  2363.         BEGIN_INTERFACE
  2364.         
  2365.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2366.             IBindHost __RPC_FAR * This,
  2367.             /* [in] */ REFIID riid,
  2368.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2369.         
  2370.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2371.             IBindHost __RPC_FAR * This);
  2372.         
  2373.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2374.             IBindHost __RPC_FAR * This);
  2375.         
  2376.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateMoniker )( 
  2377.             IBindHost __RPC_FAR * This,
  2378.             /* [in] */ LPOLESTR szName,
  2379.             /* [in] */ IBindCtx __RPC_FAR *pBC,
  2380.             /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk,
  2381.             /* [in] */ DWORD dwReserved);
  2382.         
  2383.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MonikerBindToStorage )( 
  2384.             IBindHost __RPC_FAR * This,
  2385.             /* [in] */ IMoniker __RPC_FAR *pMk,
  2386.             /* [in] */ IBindCtx __RPC_FAR *pBC,
  2387.             /* [in] */ IBindStatusCallback __RPC_FAR *pBSC,
  2388.             /* [in] */ REFIID riid,
  2389.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
  2390.         
  2391.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MonikerBindToObject )( 
  2392.             IBindHost __RPC_FAR * This,
  2393.             /* [in] */ IMoniker __RPC_FAR *pMk,
  2394.             /* [in] */ IBindCtx __RPC_FAR *pBC,
  2395.             /* [in] */ IBindStatusCallback __RPC_FAR *pBSC,
  2396.             /* [in] */ REFIID riid,
  2397.             /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
  2398.         
  2399.         END_INTERFACE
  2400.     } IBindHostVtbl;
  2401.  
  2402.     interface IBindHost
  2403.     {
  2404.         CONST_VTBL struct IBindHostVtbl __RPC_FAR *lpVtbl;
  2405.     };
  2406.  
  2407.     
  2408.  
  2409. #ifdef COBJMACROS
  2410.  
  2411.  
  2412. #define IBindHost_QueryInterface(This,riid,ppvObject)    \
  2413.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2414.  
  2415. #define IBindHost_AddRef(This)    \
  2416.     (This)->lpVtbl -> AddRef(This)
  2417.  
  2418. #define IBindHost_Release(This)    \
  2419.     (This)->lpVtbl -> Release(This)
  2420.  
  2421.  
  2422. #define IBindHost_CreateMoniker(This,szName,pBC,ppmk,dwReserved)    \
  2423.     (This)->lpVtbl -> CreateMoniker(This,szName,pBC,ppmk,dwReserved)
  2424.  
  2425. #define IBindHost_MonikerBindToStorage(This,pMk,pBC,pBSC,riid,ppvObj)    \
  2426.     (This)->lpVtbl -> MonikerBindToStorage(This,pMk,pBC,pBSC,riid,ppvObj)
  2427.  
  2428. #define IBindHost_MonikerBindToObject(This,pMk,pBC,pBSC,riid,ppvObj)    \
  2429.     (This)->lpVtbl -> MonikerBindToObject(This,pMk,pBC,pBSC,riid,ppvObj)
  2430.  
  2431. #endif /* COBJMACROS */
  2432.  
  2433.  
  2434. #endif     /* C style interface */
  2435.  
  2436.  
  2437.  
  2438. HRESULT STDMETHODCALLTYPE IBindHost_CreateMoniker_Proxy( 
  2439.     IBindHost __RPC_FAR * This,
  2440.     /* [in] */ LPOLESTR szName,
  2441.     /* [in] */ IBindCtx __RPC_FAR *pBC,
  2442.     /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk,
  2443.     /* [in] */ DWORD dwReserved);
  2444.  
  2445.  
  2446. void __RPC_STUB IBindHost_CreateMoniker_Stub(
  2447.     IRpcStubBuffer *This,
  2448.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2449.     PRPC_MESSAGE _pRpcMessage,
  2450.     DWORD *_pdwStubPhase);
  2451.  
  2452.  
  2453. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToStorage_Proxy( 
  2454.     IBindHost __RPC_FAR * This,
  2455.     /* [unique][in] */ IMoniker __RPC_FAR *pMk,
  2456.     /* [unique][in] */ IBindCtx __RPC_FAR *pBC,
  2457.     /* [unique][in] */ IBindStatusCallback __RPC_FAR *pBSC,
  2458.     /* [in] */ REFIID riid,
  2459.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj);
  2460.  
  2461.  
  2462. void __RPC_STUB IBindHost_RemoteMonikerBindToStorage_Stub(
  2463.     IRpcStubBuffer *This,
  2464.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2465.     PRPC_MESSAGE _pRpcMessage,
  2466.     DWORD *_pdwStubPhase);
  2467.  
  2468.  
  2469. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToObject_Proxy( 
  2470.     IBindHost __RPC_FAR * This,
  2471.     /* [unique][in] */ IMoniker __RPC_FAR *pMk,
  2472.     /* [unique][in] */ IBindCtx __RPC_FAR *pBC,
  2473.     /* [unique][in] */ IBindStatusCallback __RPC_FAR *pBSC,
  2474.     /* [in] */ REFIID riid,
  2475.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj);
  2476.  
  2477.  
  2478. void __RPC_STUB IBindHost_RemoteMonikerBindToObject_Stub(
  2479.     IRpcStubBuffer *This,
  2480.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2481.     PRPC_MESSAGE _pRpcMessage,
  2482.     DWORD *_pdwStubPhase);
  2483.  
  2484.  
  2485.  
  2486. #endif     /* __IBindHost_INTERFACE_DEFINED__ */
  2487.  
  2488.  
  2489. /****************************************
  2490.  * Generated header for interface: __MIDL_itf_urlmon_0122
  2491.  * at Mon Nov 17 12:03:13 1997
  2492.  * using MIDL 3.02.88
  2493.  ****************************************/
  2494. /* [local] */ 
  2495.  
  2496.  
  2497. #endif
  2498.                                                                                                            
  2499. // These are for backwards compatibility with previous URLMON versions
  2500. // Flags for the UrlDownloadToCacheFile                                                                    
  2501. #define URLOSTRM_USECACHEDCOPY_ONLY             0x1      // Only get from cache                            
  2502. #define URLOSTRM_USECACHEDCOPY                  0x2      // Get from cache if available else download      
  2503. #define URLOSTRM_GETNEWESTVERSION               0x3      // Get new version only. But put it in cache too  
  2504.                                                                                                            
  2505.                                                                                                            
  2506. struct IBindStatusCallback;                                                                                
  2507. STDAPI HlinkSimpleNavigateToString(                                                                        
  2508.     /* [in] */ LPCWSTR szTarget,         // required - target document - null if local jump w/in doc       
  2509.     /* [in] */ LPCWSTR szLocation,       // optional, for navigation into middle of a doc                  
  2510.     /* [in] */ LPCWSTR szTargetFrameName,// optional, for targeting frame-sets                             
  2511.     /* [in] */ IUnknown *pUnk,           // required - we'll search this for other necessary interfaces    
  2512.     /* [in] */ IBindCtx *pbc,            // optional. caller may register an IBSC in this                  
  2513.     /* [in] */ IBindStatusCallback *,                                                                      
  2514.     /* [in] */ DWORD grfHLNF,            // flags                                                          
  2515.     /* [in] */ DWORD dwReserved          // for future use, must be NULL                                   
  2516. );                                                                                                         
  2517.                                                                                                            
  2518. STDAPI HlinkSimpleNavigateToMoniker(                                                                       
  2519.     /* [in] */ IMoniker *pmkTarget,      // required - target document - (may be null                      
  2520.     /* [in] */ LPCWSTR szLocation,       // optional, for navigation into middle of a doc                  
  2521.     /* [in] */ LPCWSTR szTargetFrameName,// optional, for targeting frame-sets                             
  2522.     /* [in] */ IUnknown *pUnk,           // required - we'll search this for other necessary interfaces    
  2523.     /* [in] */ IBindCtx *pbc,            // optional. caller may register an IBSC in this                  
  2524.     /* [in] */ IBindStatusCallback *,                                                                      
  2525.     /* [in] */ DWORD grfHLNF,            // flags                                                          
  2526.     /* [in] */ DWORD dwReserved          // for future use, must be NULL                                   
  2527. );                                                                                                         
  2528.                                                                                                            
  2529. STDAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);                                        
  2530. STDAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);                                       
  2531. STDAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);                                    
  2532. STDAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);                                   
  2533. STDAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);                             
  2534. STDAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);                           
  2535. STDAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPTSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);                  
  2536. STDAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);                 
  2537. STDAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);                      
  2538. STDAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);                     
  2539.                                                                                                            
  2540. #ifdef UNICODE                                                                                             
  2541. #define URLOpenStream            URLOpenStreamW                                                            
  2542. #define URLOpenPullStream        URLOpenPullStreamW                                                        
  2543. #define URLDownloadToFile        URLDownloadToFileW                                                        
  2544. #define URLDownloadToCacheFile   URLDownloadToCacheFileW                                                   
  2545. #define URLOpenBlockingStream    URLOpenBlockingStreamW                                                    
  2546. #else                                                                                                      
  2547. #define URLOpenStream            URLOpenStreamA                                                            
  2548. #define URLOpenPullStream        URLOpenPullStreamA                                                        
  2549. #define URLDownloadToFile        URLDownloadToFileA                                                        
  2550. #define URLDownloadToCacheFile   URLDownloadToCacheFileA                                                   
  2551. #define URLOpenBlockingStream    URLOpenBlockingStreamA                                                    
  2552. #endif // !UNICODE                                                                                         
  2553.                                                                                                            
  2554.                                                                                                            
  2555. STDAPI HlinkGoBack(IUnknown *pUnk);                                                                        
  2556. STDAPI HlinkGoForward(IUnknown *pUnk);                                                                     
  2557. STDAPI HlinkNavigateString(IUnknown *pUnk, LPCWSTR szTarget);                                              
  2558. STDAPI HlinkNavigateMoniker(IUnknown *pUnk, IMoniker *pmkTarget);                                          
  2559.                                                                                                            
  2560. #ifndef  _URLMON_NO_ASYNC_PLUGABLE_PROTOCOLS_   
  2561.  
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568. #ifndef _LPIINTERNET
  2569. #define _LPIINTERNET
  2570.  
  2571.  
  2572. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0122_v0_0_c_ifspec;
  2573. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0122_v0_0_s_ifspec;
  2574.  
  2575. #ifndef __IInternet_INTERFACE_DEFINED__
  2576. #define __IInternet_INTERFACE_DEFINED__
  2577.  
  2578. /****************************************
  2579.  * Generated header for interface: IInternet
  2580.  * at Mon Nov 17 12:03:13 1997
  2581.  * using MIDL 3.02.88
  2582.  ****************************************/
  2583. /* [unique][uuid][object][local] */ 
  2584.  
  2585.  
  2586. typedef /* [unique] */ IInternet __RPC_FAR *LPIINTERNET;
  2587.  
  2588.  
  2589. EXTERN_C const IID IID_IInternet;
  2590.  
  2591. #if defined(__cplusplus) && !defined(CINTERFACE)
  2592.     
  2593.     interface DECLSPEC_UUID("79eac9e0-baf9-11ce-8c82-00aa004ba90b")
  2594.     IInternet : public IUnknown
  2595.     {
  2596.     public:
  2597.     };
  2598.     
  2599. #else     /* C style interface */
  2600.  
  2601.     typedef struct IInternetVtbl
  2602.     {
  2603.         BEGIN_INTERFACE
  2604.         
  2605.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2606.             IInternet __RPC_FAR * This,
  2607.             /* [in] */ REFIID riid,
  2608.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2609.         
  2610.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2611.             IInternet __RPC_FAR * This);
  2612.         
  2613.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2614.             IInternet __RPC_FAR * This);
  2615.         
  2616.         END_INTERFACE
  2617.     } IInternetVtbl;
  2618.  
  2619.     interface IInternet
  2620.     {
  2621.         CONST_VTBL struct IInternetVtbl __RPC_FAR *lpVtbl;
  2622.     };
  2623.  
  2624.     
  2625.  
  2626. #ifdef COBJMACROS
  2627.  
  2628.  
  2629. #define IInternet_QueryInterface(This,riid,ppvObject)    \
  2630.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2631.  
  2632. #define IInternet_AddRef(This)    \
  2633.     (This)->lpVtbl -> AddRef(This)
  2634.  
  2635. #define IInternet_Release(This)    \
  2636.     (This)->lpVtbl -> Release(This)
  2637.  
  2638.  
  2639. #endif /* COBJMACROS */
  2640.  
  2641.  
  2642. #endif     /* C style interface */
  2643.  
  2644.  
  2645.  
  2646.  
  2647. #endif     /* __IInternet_INTERFACE_DEFINED__ */
  2648.  
  2649.  
  2650. /****************************************
  2651.  * Generated header for interface: __MIDL_itf_urlmon_0123
  2652.  * at Mon Nov 17 12:03:13 1997
  2653.  * using MIDL 3.02.88
  2654.  ****************************************/
  2655. /* [local] */ 
  2656.  
  2657.  
  2658. #endif
  2659. #ifndef _LPIINTERNETBINDINFO
  2660. #define _LPIINTERNETBINDINFO
  2661.  
  2662.  
  2663. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0123_v0_0_c_ifspec;
  2664. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0123_v0_0_s_ifspec;
  2665.  
  2666. #ifndef __IInternetBindInfo_INTERFACE_DEFINED__
  2667. #define __IInternetBindInfo_INTERFACE_DEFINED__
  2668.  
  2669. /****************************************
  2670.  * Generated header for interface: IInternetBindInfo
  2671.  * at Mon Nov 17 12:03:13 1997
  2672.  * using MIDL 3.02.88
  2673.  ****************************************/
  2674. /* [unique][uuid][object][local] */ 
  2675.  
  2676.  
  2677. typedef /* [unique] */ IInternetBindInfo __RPC_FAR *LPIINTERNETBINDINFO;
  2678.  
  2679. typedef 
  2680. enum tagBINDSTRING
  2681.     {    BINDSTRING_HEADERS    = 1,
  2682.     BINDSTRING_ACCEPT_MIMES    = BINDSTRING_HEADERS + 1,
  2683.     BINDSTRING_EXTRA_URL    = BINDSTRING_ACCEPT_MIMES + 1,
  2684.     BINDSTRING_LANGUAGE    = BINDSTRING_EXTRA_URL + 1,
  2685.     BINDSTRING_USERNAME    = BINDSTRING_LANGUAGE + 1,
  2686.     BINDSTRING_PASSWORD    = BINDSTRING_USERNAME + 1,
  2687.     BINDSTRING_UA_PIXELS    = BINDSTRING_PASSWORD + 1,
  2688.     BINDSTRING_UA_COLOR    = BINDSTRING_UA_PIXELS + 1,
  2689.     BINDSTRING_OS    = BINDSTRING_UA_COLOR + 1,
  2690.     BINDSTRING_USER_AGENT    = BINDSTRING_OS + 1,
  2691.     BINDSTRING_ACCEPT_ENCODINGS    = BINDSTRING_USER_AGENT + 1,
  2692.     BINDSTRING_POST_COOKIE    = BINDSTRING_ACCEPT_ENCODINGS + 1,
  2693.     BINDSTRING_POST_DATA_MIME    = BINDSTRING_POST_COOKIE + 1,
  2694.     BINDSTRING_URL    = BINDSTRING_POST_DATA_MIME + 1
  2695.     }    BINDSTRING;
  2696.  
  2697.  
  2698. EXTERN_C const IID IID_IInternetBindInfo;
  2699.  
  2700. #if defined(__cplusplus) && !defined(CINTERFACE)
  2701.     
  2702.     interface DECLSPEC_UUID("79eac9e1-baf9-11ce-8c82-00aa004ba90b")
  2703.     IInternetBindInfo : public IUnknown
  2704.     {
  2705.     public:
  2706.         virtual HRESULT STDMETHODCALLTYPE GetBindInfo( 
  2707.             /* [out] */ DWORD __RPC_FAR *grfBINDF,
  2708.             /* [unique][out][in] */ BINDINFO __RPC_FAR *pbindinfo) = 0;
  2709.         
  2710.         virtual HRESULT STDMETHODCALLTYPE GetBindString( 
  2711.             /* [in] */ ULONG ulStringType,
  2712.             /* [out][in] */ LPOLESTR __RPC_FAR *ppwzStr,
  2713.             /* [in] */ ULONG cEl,
  2714.             /* [out][in] */ ULONG __RPC_FAR *pcElFetched) = 0;
  2715.         
  2716.     };
  2717.     
  2718. #else     /* C style interface */
  2719.  
  2720.     typedef struct IInternetBindInfoVtbl
  2721.     {
  2722.         BEGIN_INTERFACE
  2723.         
  2724.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2725.             IInternetBindInfo __RPC_FAR * This,
  2726.             /* [in] */ REFIID riid,
  2727.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2728.         
  2729.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2730.             IInternetBindInfo __RPC_FAR * This);
  2731.         
  2732.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2733.             IInternetBindInfo __RPC_FAR * This);
  2734.         
  2735.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBindInfo )( 
  2736.             IInternetBindInfo __RPC_FAR * This,
  2737.             /* [out] */ DWORD __RPC_FAR *grfBINDF,
  2738.             /* [unique][out][in] */ BINDINFO __RPC_FAR *pbindinfo);
  2739.         
  2740.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBindString )( 
  2741.             IInternetBindInfo __RPC_FAR * This,
  2742.             /* [in] */ ULONG ulStringType,
  2743.             /* [out][in] */ LPOLESTR __RPC_FAR *ppwzStr,
  2744.             /* [in] */ ULONG cEl,
  2745.             /* [out][in] */ ULONG __RPC_FAR *pcElFetched);
  2746.         
  2747.         END_INTERFACE
  2748.     } IInternetBindInfoVtbl;
  2749.  
  2750.     interface IInternetBindInfo
  2751.     {
  2752.         CONST_VTBL struct IInternetBindInfoVtbl __RPC_FAR *lpVtbl;
  2753.     };
  2754.  
  2755.     
  2756.  
  2757. #ifdef COBJMACROS
  2758.  
  2759.  
  2760. #define IInternetBindInfo_QueryInterface(This,riid,ppvObject)    \
  2761.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2762.  
  2763. #define IInternetBindInfo_AddRef(This)    \
  2764.     (This)->lpVtbl -> AddRef(This)
  2765.  
  2766. #define IInternetBindInfo_Release(This)    \
  2767.     (This)->lpVtbl -> Release(This)
  2768.  
  2769.  
  2770. #define IInternetBindInfo_GetBindInfo(This,grfBINDF,pbindinfo)    \
  2771.     (This)->lpVtbl -> GetBindInfo(This,grfBINDF,pbindinfo)
  2772.  
  2773. #define IInternetBindInfo_GetBindString(This,ulStringType,ppwzStr,cEl,pcElFetched)    \
  2774.     (This)->lpVtbl -> GetBindString(This,ulStringType,ppwzStr,cEl,pcElFetched)
  2775.  
  2776. #endif /* COBJMACROS */
  2777.  
  2778.  
  2779. #endif     /* C style interface */
  2780.  
  2781.  
  2782.  
  2783. HRESULT STDMETHODCALLTYPE IInternetBindInfo_GetBindInfo_Proxy( 
  2784.     IInternetBindInfo __RPC_FAR * This,
  2785.     /* [out] */ DWORD __RPC_FAR *grfBINDF,
  2786.     /* [unique][out][in] */ BINDINFO __RPC_FAR *pbindinfo);
  2787.  
  2788.  
  2789. void __RPC_STUB IInternetBindInfo_GetBindInfo_Stub(
  2790.     IRpcStubBuffer *This,
  2791.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2792.     PRPC_MESSAGE _pRpcMessage,
  2793.     DWORD *_pdwStubPhase);
  2794.  
  2795.  
  2796. HRESULT STDMETHODCALLTYPE IInternetBindInfo_GetBindString_Proxy( 
  2797.     IInternetBindInfo __RPC_FAR * This,
  2798.     /* [in] */ ULONG ulStringType,
  2799.     /* [out][in] */ LPOLESTR __RPC_FAR *ppwzStr,
  2800.     /* [in] */ ULONG cEl,
  2801.     /* [out][in] */ ULONG __RPC_FAR *pcElFetched);
  2802.  
  2803.  
  2804. void __RPC_STUB IInternetBindInfo_GetBindString_Stub(
  2805.     IRpcStubBuffer *This,
  2806.     IRpcChannelBuffer *_pRpcChannelBuffer,
  2807.     PRPC_MESSAGE _pRpcMessage,
  2808.     DWORD *_pdwStubPhase);
  2809.  
  2810.  
  2811.  
  2812. #endif     /* __IInternetBindInfo_INTERFACE_DEFINED__ */
  2813.  
  2814.  
  2815. /****************************************
  2816.  * Generated header for interface: __MIDL_itf_urlmon_0124
  2817.  * at Mon Nov 17 12:03:13 1997
  2818.  * using MIDL 3.02.88
  2819.  ****************************************/
  2820. /* [local] */ 
  2821.  
  2822.  
  2823. #endif
  2824. #ifndef _LPIINTERNETPROTOCOLROOT_DEFINED
  2825. #define _LPIINTERNETPROTOCOLROOT_DEFINED
  2826.  
  2827.  
  2828. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0124_v0_0_c_ifspec;
  2829. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0124_v0_0_s_ifspec;
  2830.  
  2831. #ifndef __IInternetProtocolRoot_INTERFACE_DEFINED__
  2832. #define __IInternetProtocolRoot_INTERFACE_DEFINED__
  2833.  
  2834. /****************************************
  2835.  * Generated header for interface: IInternetProtocolRoot
  2836.  * at Mon Nov 17 12:03:13 1997
  2837.  * using MIDL 3.02.88
  2838.  ****************************************/
  2839. /* [unique][uuid][object][local] */ 
  2840.  
  2841.  
  2842. typedef /* [unique] */ IInternetProtocolRoot __RPC_FAR *LPIINTERNETPROTOCOLROOT;
  2843.  
  2844. typedef 
  2845. enum _tagPI_FLAGS
  2846.     {    PI_PARSE_URL    = 0x1,
  2847.     PI_FILTER_MODE    = 0x2,
  2848.     PI_FORCE_ASYNC    = 0x4,
  2849.     PI_USE_WORKERTHREAD    = 0x8,
  2850.     PI_MIMEVERIFICATION    = 0x10,
  2851.     PI_CLSIDLOOKUP    = 0x20,
  2852.     PI_DATAPROGRESS    = 0x40,
  2853.     PI_SYNCHRONOUS    = 0x80,
  2854.     PI_APARTMENTTHREADED    = 0x100,
  2855.     PI_CLASSINSTALL    = 0x200,
  2856.     PD_FORCE_SWITCH    = 0x10000
  2857.     }    PI_FLAGS;
  2858.  
  2859. typedef struct  _tagPROTOCOLDATA
  2860.     {
  2861.     DWORD grfFlags;
  2862.     DWORD dwState;
  2863.     LPVOID pData;
  2864.     ULONG cbData;
  2865.     }    PROTOCOLDATA;
  2866.  
  2867.  
  2868. EXTERN_C const IID IID_IInternetProtocolRoot;
  2869.  
  2870. #if defined(__cplusplus) && !defined(CINTERFACE)
  2871.     
  2872.     interface DECLSPEC_UUID("79eac9e3-baf9-11ce-8c82-00aa004ba90b")
  2873.     IInternetProtocolRoot : public IUnknown
  2874.     {
  2875.     public:
  2876.         virtual HRESULT STDMETHODCALLTYPE Start( 
  2877.             /* [in] */ LPCWSTR szUrl,
  2878.             /* [in] */ IInternetProtocolSink __RPC_FAR *pOIProtSink,
  2879.             /* [in] */ IInternetBindInfo __RPC_FAR *pOIBindInfo,
  2880.             /* [in] */ DWORD grfPI,
  2881.             /* [in] */ DWORD dwReserved) = 0;
  2882.         
  2883.         virtual HRESULT STDMETHODCALLTYPE Continue( 
  2884.             /* [in] */ PROTOCOLDATA __RPC_FAR *pProtocolData) = 0;
  2885.         
  2886.         virtual HRESULT STDMETHODCALLTYPE Abort( 
  2887.             /* [in] */ HRESULT hrReason,
  2888.             /* [in] */ DWORD dwOptions) = 0;
  2889.         
  2890.         virtual HRESULT STDMETHODCALLTYPE Terminate( 
  2891.             /* [in] */ DWORD dwOptions) = 0;
  2892.         
  2893.         virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  2894.         
  2895.         virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  2896.         
  2897.     };
  2898.     
  2899. #else     /* C style interface */
  2900.  
  2901.     typedef struct IInternetProtocolRootVtbl
  2902.     {
  2903.         BEGIN_INTERFACE
  2904.         
  2905.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  2906.             IInternetProtocolRoot __RPC_FAR * This,
  2907.             /* [in] */ REFIID riid,
  2908.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2909.         
  2910.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  2911.             IInternetProtocolRoot __RPC_FAR * This);
  2912.         
  2913.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  2914.             IInternetProtocolRoot __RPC_FAR * This);
  2915.         
  2916.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Start )( 
  2917.             IInternetProtocolRoot __RPC_FAR * This,
  2918.             /* [in] */ LPCWSTR szUrl,
  2919.             /* [in] */ IInternetProtocolSink __RPC_FAR *pOIProtSink,
  2920.             /* [in] */ IInternetBindInfo __RPC_FAR *pOIBindInfo,
  2921.             /* [in] */ DWORD grfPI,
  2922.             /* [in] */ DWORD dwReserved);
  2923.         
  2924.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Continue )( 
  2925.             IInternetProtocolRoot __RPC_FAR * This,
  2926.             /* [in] */ PROTOCOLDATA __RPC_FAR *pProtocolData);
  2927.         
  2928.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Abort )( 
  2929.             IInternetProtocolRoot __RPC_FAR * This,
  2930.             /* [in] */ HRESULT hrReason,
  2931.             /* [in] */ DWORD dwOptions);
  2932.         
  2933.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Terminate )( 
  2934.             IInternetProtocolRoot __RPC_FAR * This,
  2935.             /* [in] */ DWORD dwOptions);
  2936.         
  2937.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Suspend )( 
  2938.             IInternetProtocolRoot __RPC_FAR * This);
  2939.         
  2940.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resume )( 
  2941.             IInternetProtocolRoot __RPC_FAR * This);
  2942.         
  2943.         END_INTERFACE
  2944.     } IInternetProtocolRootVtbl;
  2945.  
  2946.     interface IInternetProtocolRoot
  2947.     {
  2948.         CONST_VTBL struct IInternetProtocolRootVtbl __RPC_FAR *lpVtbl;
  2949.     };
  2950.  
  2951.     
  2952.  
  2953. #ifdef COBJMACROS
  2954.  
  2955.  
  2956. #define IInternetProtocolRoot_QueryInterface(This,riid,ppvObject)    \
  2957.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2958.  
  2959. #define IInternetProtocolRoot_AddRef(This)    \
  2960.     (This)->lpVtbl -> AddRef(This)
  2961.  
  2962. #define IInternetProtocolRoot_Release(This)    \
  2963.     (This)->lpVtbl -> Release(This)
  2964.  
  2965.  
  2966. #define IInternetProtocolRoot_Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved)    \
  2967.     (This)->lpVtbl -> Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved)
  2968.  
  2969. #define IInternetProtocolRoot_Continue(This,pProtocolData)    \
  2970.     (This)->lpVtbl -> Continue(This,pProtocolData)
  2971.  
  2972. #define IInternetProtocolRoot_Abort(This,hrReason,dwOptions)    \
  2973.     (This)->lpVtbl -> Abort(This,hrReason,dwOptions)
  2974.  
  2975. #define IInternetProtocolRoot_Terminate(This,dwOptions)    \
  2976.     (This)->lpVtbl -> Terminate(This,dwOptions)
  2977.  
  2978. #define IInternetProtocolRoot_Suspend(This)    \
  2979.     (This)->lpVtbl -> Suspend(This)
  2980.  
  2981. #define IInternetProtocolRoot_Resume(This)    \
  2982.     (This)->lpVtbl -> Resume(This)
  2983.  
  2984. #endif /* COBJMACROS */
  2985.  
  2986.  
  2987. #endif     /* C style interface */
  2988.  
  2989.  
  2990.  
  2991. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Start_Proxy( 
  2992.     IInternetProtocolRoot __RPC_FAR * This,
  2993.     /* [in] */ LPCWSTR szUrl,
  2994.     /* [in] */ IInternetProtocolSink __RPC_FAR *pOIProtSink,
  2995.     /* [in] */ IInternetBindInfo __RPC_FAR *pOIBindInfo,
  2996.     /* [in] */ DWORD grfPI,
  2997.     /* [in] */ DWORD dwReserved);
  2998.  
  2999.  
  3000. void __RPC_STUB IInternetProtocolRoot_Start_Stub(
  3001.     IRpcStubBuffer *This,
  3002.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3003.     PRPC_MESSAGE _pRpcMessage,
  3004.     DWORD *_pdwStubPhase);
  3005.  
  3006.  
  3007. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Continue_Proxy( 
  3008.     IInternetProtocolRoot __RPC_FAR * This,
  3009.     /* [in] */ PROTOCOLDATA __RPC_FAR *pProtocolData);
  3010.  
  3011.  
  3012. void __RPC_STUB IInternetProtocolRoot_Continue_Stub(
  3013.     IRpcStubBuffer *This,
  3014.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3015.     PRPC_MESSAGE _pRpcMessage,
  3016.     DWORD *_pdwStubPhase);
  3017.  
  3018.  
  3019. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Abort_Proxy( 
  3020.     IInternetProtocolRoot __RPC_FAR * This,
  3021.     /* [in] */ HRESULT hrReason,
  3022.     /* [in] */ DWORD dwOptions);
  3023.  
  3024.  
  3025. void __RPC_STUB IInternetProtocolRoot_Abort_Stub(
  3026.     IRpcStubBuffer *This,
  3027.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3028.     PRPC_MESSAGE _pRpcMessage,
  3029.     DWORD *_pdwStubPhase);
  3030.  
  3031.  
  3032. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Terminate_Proxy( 
  3033.     IInternetProtocolRoot __RPC_FAR * This,
  3034.     /* [in] */ DWORD dwOptions);
  3035.  
  3036.  
  3037. void __RPC_STUB IInternetProtocolRoot_Terminate_Stub(
  3038.     IRpcStubBuffer *This,
  3039.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3040.     PRPC_MESSAGE _pRpcMessage,
  3041.     DWORD *_pdwStubPhase);
  3042.  
  3043.  
  3044. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Suspend_Proxy( 
  3045.     IInternetProtocolRoot __RPC_FAR * This);
  3046.  
  3047.  
  3048. void __RPC_STUB IInternetProtocolRoot_Suspend_Stub(
  3049.     IRpcStubBuffer *This,
  3050.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3051.     PRPC_MESSAGE _pRpcMessage,
  3052.     DWORD *_pdwStubPhase);
  3053.  
  3054.  
  3055. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Resume_Proxy( 
  3056.     IInternetProtocolRoot __RPC_FAR * This);
  3057.  
  3058.  
  3059. void __RPC_STUB IInternetProtocolRoot_Resume_Stub(
  3060.     IRpcStubBuffer *This,
  3061.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3062.     PRPC_MESSAGE _pRpcMessage,
  3063.     DWORD *_pdwStubPhase);
  3064.  
  3065.  
  3066.  
  3067. #endif     /* __IInternetProtocolRoot_INTERFACE_DEFINED__ */
  3068.  
  3069.  
  3070. /****************************************
  3071.  * Generated header for interface: __MIDL_itf_urlmon_0125
  3072.  * at Mon Nov 17 12:03:13 1997
  3073.  * using MIDL 3.02.88
  3074.  ****************************************/
  3075. /* [local] */ 
  3076.  
  3077.  
  3078. #endif
  3079. #ifndef _LPIINTERNETPROTOCOL_DEFINED
  3080. #define _LPIINTERNETPROTOCOL_DEFINED
  3081.  
  3082.  
  3083. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0125_v0_0_c_ifspec;
  3084. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0125_v0_0_s_ifspec;
  3085.  
  3086. #ifndef __IInternetProtocol_INTERFACE_DEFINED__
  3087. #define __IInternetProtocol_INTERFACE_DEFINED__
  3088.  
  3089. /****************************************
  3090.  * Generated header for interface: IInternetProtocol
  3091.  * at Mon Nov 17 12:03:13 1997
  3092.  * using MIDL 3.02.88
  3093.  ****************************************/
  3094. /* [unique][uuid][object][local] */ 
  3095.  
  3096.  
  3097. typedef /* [unique] */ IInternetProtocol __RPC_FAR *LPIINTERNETPROTOCOL;
  3098.  
  3099.  
  3100. EXTERN_C const IID IID_IInternetProtocol;
  3101.  
  3102. #if defined(__cplusplus) && !defined(CINTERFACE)
  3103.     
  3104.     interface DECLSPEC_UUID("79eac9e4-baf9-11ce-8c82-00aa004ba90b")
  3105.     IInternetProtocol : public IInternetProtocolRoot
  3106.     {
  3107.     public:
  3108.         virtual HRESULT STDMETHODCALLTYPE Read( 
  3109.             /* [length_is][size_is][out][in] */ void __RPC_FAR *pv,
  3110.             /* [in] */ ULONG cb,
  3111.             /* [out] */ ULONG __RPC_FAR *pcbRead) = 0;
  3112.         
  3113.         virtual HRESULT STDMETHODCALLTYPE Seek( 
  3114.             /* [in] */ LARGE_INTEGER dlibMove,
  3115.             /* [in] */ DWORD dwOrigin,
  3116.             /* [out] */ ULARGE_INTEGER __RPC_FAR *plibNewPosition) = 0;
  3117.         
  3118.         virtual HRESULT STDMETHODCALLTYPE LockRequest( 
  3119.             /* [in] */ DWORD dwOptions) = 0;
  3120.         
  3121.         virtual HRESULT STDMETHODCALLTYPE UnlockRequest( void) = 0;
  3122.         
  3123.     };
  3124.     
  3125. #else     /* C style interface */
  3126.  
  3127.     typedef struct IInternetProtocolVtbl
  3128.     {
  3129.         BEGIN_INTERFACE
  3130.         
  3131.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3132.             IInternetProtocol __RPC_FAR * This,
  3133.             /* [in] */ REFIID riid,
  3134.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3135.         
  3136.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3137.             IInternetProtocol __RPC_FAR * This);
  3138.         
  3139.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3140.             IInternetProtocol __RPC_FAR * This);
  3141.         
  3142.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Start )( 
  3143.             IInternetProtocol __RPC_FAR * This,
  3144.             /* [in] */ LPCWSTR szUrl,
  3145.             /* [in] */ IInternetProtocolSink __RPC_FAR *pOIProtSink,
  3146.             /* [in] */ IInternetBindInfo __RPC_FAR *pOIBindInfo,
  3147.             /* [in] */ DWORD grfPI,
  3148.             /* [in] */ DWORD dwReserved);
  3149.         
  3150.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Continue )( 
  3151.             IInternetProtocol __RPC_FAR * This,
  3152.             /* [in] */ PROTOCOLDATA __RPC_FAR *pProtocolData);
  3153.         
  3154.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Abort )( 
  3155.             IInternetProtocol __RPC_FAR * This,
  3156.             /* [in] */ HRESULT hrReason,
  3157.             /* [in] */ DWORD dwOptions);
  3158.         
  3159.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Terminate )( 
  3160.             IInternetProtocol __RPC_FAR * This,
  3161.             /* [in] */ DWORD dwOptions);
  3162.         
  3163.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Suspend )( 
  3164.             IInternetProtocol __RPC_FAR * This);
  3165.         
  3166.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Resume )( 
  3167.             IInternetProtocol __RPC_FAR * This);
  3168.         
  3169.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Read )( 
  3170.             IInternetProtocol __RPC_FAR * This,
  3171.             /* [length_is][size_is][out][in] */ void __RPC_FAR *pv,
  3172.             /* [in] */ ULONG cb,
  3173.             /* [out] */ ULONG __RPC_FAR *pcbRead);
  3174.         
  3175.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Seek )( 
  3176.             IInternetProtocol __RPC_FAR * This,
  3177.             /* [in] */ LARGE_INTEGER dlibMove,
  3178.             /* [in] */ DWORD dwOrigin,
  3179.             /* [out] */ ULARGE_INTEGER __RPC_FAR *plibNewPosition);
  3180.         
  3181.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LockRequest )( 
  3182.             IInternetProtocol __RPC_FAR * This,
  3183.             /* [in] */ DWORD dwOptions);
  3184.         
  3185.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnlockRequest )( 
  3186.             IInternetProtocol __RPC_FAR * This);
  3187.         
  3188.         END_INTERFACE
  3189.     } IInternetProtocolVtbl;
  3190.  
  3191.     interface IInternetProtocol
  3192.     {
  3193.         CONST_VTBL struct IInternetProtocolVtbl __RPC_FAR *lpVtbl;
  3194.     };
  3195.  
  3196.     
  3197.  
  3198. #ifdef COBJMACROS
  3199.  
  3200.  
  3201. #define IInternetProtocol_QueryInterface(This,riid,ppvObject)    \
  3202.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3203.  
  3204. #define IInternetProtocol_AddRef(This)    \
  3205.     (This)->lpVtbl -> AddRef(This)
  3206.  
  3207. #define IInternetProtocol_Release(This)    \
  3208.     (This)->lpVtbl -> Release(This)
  3209.  
  3210.  
  3211. #define IInternetProtocol_Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved)    \
  3212.     (This)->lpVtbl -> Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved)
  3213.  
  3214. #define IInternetProtocol_Continue(This,pProtocolData)    \
  3215.     (This)->lpVtbl -> Continue(This,pProtocolData)
  3216.  
  3217. #define IInternetProtocol_Abort(This,hrReason,dwOptions)    \
  3218.     (This)->lpVtbl -> Abort(This,hrReason,dwOptions)
  3219.  
  3220. #define IInternetProtocol_Terminate(This,dwOptions)    \
  3221.     (This)->lpVtbl -> Terminate(This,dwOptions)
  3222.  
  3223. #define IInternetProtocol_Suspend(This)    \
  3224.     (This)->lpVtbl -> Suspend(This)
  3225.  
  3226. #define IInternetProtocol_Resume(This)    \
  3227.     (This)->lpVtbl -> Resume(This)
  3228.  
  3229.  
  3230. #define IInternetProtocol_Read(This,pv,cb,pcbRead)    \
  3231.     (This)->lpVtbl -> Read(This,pv,cb,pcbRead)
  3232.  
  3233. #define IInternetProtocol_Seek(This,dlibMove,dwOrigin,plibNewPosition)    \
  3234.     (This)->lpVtbl -> Seek(This,dlibMove,dwOrigin,plibNewPosition)
  3235.  
  3236. #define IInternetProtocol_LockRequest(This,dwOptions)    \
  3237.     (This)->lpVtbl -> LockRequest(This,dwOptions)
  3238.  
  3239. #define IInternetProtocol_UnlockRequest(This)    \
  3240.     (This)->lpVtbl -> UnlockRequest(This)
  3241.  
  3242. #endif /* COBJMACROS */
  3243.  
  3244.  
  3245. #endif     /* C style interface */
  3246.  
  3247.  
  3248.  
  3249. HRESULT STDMETHODCALLTYPE IInternetProtocol_Read_Proxy( 
  3250.     IInternetProtocol __RPC_FAR * This,
  3251.     /* [length_is][size_is][out][in] */ void __RPC_FAR *pv,
  3252.     /* [in] */ ULONG cb,
  3253.     /* [out] */ ULONG __RPC_FAR *pcbRead);
  3254.  
  3255.  
  3256. void __RPC_STUB IInternetProtocol_Read_Stub(
  3257.     IRpcStubBuffer *This,
  3258.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3259.     PRPC_MESSAGE _pRpcMessage,
  3260.     DWORD *_pdwStubPhase);
  3261.  
  3262.  
  3263. HRESULT STDMETHODCALLTYPE IInternetProtocol_Seek_Proxy( 
  3264.     IInternetProtocol __RPC_FAR * This,
  3265.     /* [in] */ LARGE_INTEGER dlibMove,
  3266.     /* [in] */ DWORD dwOrigin,
  3267.     /* [out] */ ULARGE_INTEGER __RPC_FAR *plibNewPosition);
  3268.  
  3269.  
  3270. void __RPC_STUB IInternetProtocol_Seek_Stub(
  3271.     IRpcStubBuffer *This,
  3272.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3273.     PRPC_MESSAGE _pRpcMessage,
  3274.     DWORD *_pdwStubPhase);
  3275.  
  3276.  
  3277. HRESULT STDMETHODCALLTYPE IInternetProtocol_LockRequest_Proxy( 
  3278.     IInternetProtocol __RPC_FAR * This,
  3279.     /* [in] */ DWORD dwOptions);
  3280.  
  3281.  
  3282. void __RPC_STUB IInternetProtocol_LockRequest_Stub(
  3283.     IRpcStubBuffer *This,
  3284.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3285.     PRPC_MESSAGE _pRpcMessage,
  3286.     DWORD *_pdwStubPhase);
  3287.  
  3288.  
  3289. HRESULT STDMETHODCALLTYPE IInternetProtocol_UnlockRequest_Proxy( 
  3290.     IInternetProtocol __RPC_FAR * This);
  3291.  
  3292.  
  3293. void __RPC_STUB IInternetProtocol_UnlockRequest_Stub(
  3294.     IRpcStubBuffer *This,
  3295.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3296.     PRPC_MESSAGE _pRpcMessage,
  3297.     DWORD *_pdwStubPhase);
  3298.  
  3299.  
  3300.  
  3301. #endif     /* __IInternetProtocol_INTERFACE_DEFINED__ */
  3302.  
  3303.  
  3304. /****************************************
  3305.  * Generated header for interface: __MIDL_itf_urlmon_0126
  3306.  * at Mon Nov 17 12:03:13 1997
  3307.  * using MIDL 3.02.88
  3308.  ****************************************/
  3309. /* [local] */ 
  3310.  
  3311.  
  3312. #endif
  3313. #ifndef _LPIINTERNETPROTOCOLSINK_DEFINED
  3314. #define _LPIINTERNETPROTOCOLSINK_DEFINED
  3315.  
  3316.  
  3317. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0126_v0_0_c_ifspec;
  3318. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0126_v0_0_s_ifspec;
  3319.  
  3320. #ifndef __IInternetProtocolSink_INTERFACE_DEFINED__
  3321. #define __IInternetProtocolSink_INTERFACE_DEFINED__
  3322.  
  3323. /****************************************
  3324.  * Generated header for interface: IInternetProtocolSink
  3325.  * at Mon Nov 17 12:03:13 1997
  3326.  * using MIDL 3.02.88
  3327.  ****************************************/
  3328. /* [unique][uuid][object][local] */ 
  3329.  
  3330.  
  3331. typedef /* [unique] */ IInternetProtocolSink __RPC_FAR *LPIINTERNETPROTOCOLSINK;
  3332.  
  3333.  
  3334. EXTERN_C const IID IID_IInternetProtocolSink;
  3335.  
  3336. #if defined(__cplusplus) && !defined(CINTERFACE)
  3337.     
  3338.     interface DECLSPEC_UUID("79eac9e5-baf9-11ce-8c82-00aa004ba90b")
  3339.     IInternetProtocolSink : public IUnknown
  3340.     {
  3341.     public:
  3342.         virtual HRESULT STDMETHODCALLTYPE Switch( 
  3343.             /* [in] */ PROTOCOLDATA __RPC_FAR *pProtocolData) = 0;
  3344.         
  3345.         virtual HRESULT STDMETHODCALLTYPE ReportProgress( 
  3346.             /* [in] */ ULONG ulStatusCode,
  3347.             /* [in] */ LPCWSTR szStatusText) = 0;
  3348.         
  3349.         virtual HRESULT STDMETHODCALLTYPE ReportData( 
  3350.             /* [in] */ DWORD grfBSCF,
  3351.             /* [in] */ ULONG ulProgress,
  3352.             /* [in] */ ULONG ulProgressMax) = 0;
  3353.         
  3354.         virtual HRESULT STDMETHODCALLTYPE ReportResult( 
  3355.             /* [in] */ HRESULT hrResult,
  3356.             /* [in] */ DWORD dwError,
  3357.             /* [in] */ LPCWSTR szResult) = 0;
  3358.         
  3359.     };
  3360.     
  3361. #else     /* C style interface */
  3362.  
  3363.     typedef struct IInternetProtocolSinkVtbl
  3364.     {
  3365.         BEGIN_INTERFACE
  3366.         
  3367.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3368.             IInternetProtocolSink __RPC_FAR * This,
  3369.             /* [in] */ REFIID riid,
  3370.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3371.         
  3372.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3373.             IInternetProtocolSink __RPC_FAR * This);
  3374.         
  3375.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3376.             IInternetProtocolSink __RPC_FAR * This);
  3377.         
  3378.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Switch )( 
  3379.             IInternetProtocolSink __RPC_FAR * This,
  3380.             /* [in] */ PROTOCOLDATA __RPC_FAR *pProtocolData);
  3381.         
  3382.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReportProgress )( 
  3383.             IInternetProtocolSink __RPC_FAR * This,
  3384.             /* [in] */ ULONG ulStatusCode,
  3385.             /* [in] */ LPCWSTR szStatusText);
  3386.         
  3387.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReportData )( 
  3388.             IInternetProtocolSink __RPC_FAR * This,
  3389.             /* [in] */ DWORD grfBSCF,
  3390.             /* [in] */ ULONG ulProgress,
  3391.             /* [in] */ ULONG ulProgressMax);
  3392.         
  3393.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReportResult )( 
  3394.             IInternetProtocolSink __RPC_FAR * This,
  3395.             /* [in] */ HRESULT hrResult,
  3396.             /* [in] */ DWORD dwError,
  3397.             /* [in] */ LPCWSTR szResult);
  3398.         
  3399.         END_INTERFACE
  3400.     } IInternetProtocolSinkVtbl;
  3401.  
  3402.     interface IInternetProtocolSink
  3403.     {
  3404.         CONST_VTBL struct IInternetProtocolSinkVtbl __RPC_FAR *lpVtbl;
  3405.     };
  3406.  
  3407.     
  3408.  
  3409. #ifdef COBJMACROS
  3410.  
  3411.  
  3412. #define IInternetProtocolSink_QueryInterface(This,riid,ppvObject)    \
  3413.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3414.  
  3415. #define IInternetProtocolSink_AddRef(This)    \
  3416.     (This)->lpVtbl -> AddRef(This)
  3417.  
  3418. #define IInternetProtocolSink_Release(This)    \
  3419.     (This)->lpVtbl -> Release(This)
  3420.  
  3421.  
  3422. #define IInternetProtocolSink_Switch(This,pProtocolData)    \
  3423.     (This)->lpVtbl -> Switch(This,pProtocolData)
  3424.  
  3425. #define IInternetProtocolSink_ReportProgress(This,ulStatusCode,szStatusText)    \
  3426.     (This)->lpVtbl -> ReportProgress(This,ulStatusCode,szStatusText)
  3427.  
  3428. #define IInternetProtocolSink_ReportData(This,grfBSCF,ulProgress,ulProgressMax)    \
  3429.     (This)->lpVtbl -> ReportData(This,grfBSCF,ulProgress,ulProgressMax)
  3430.  
  3431. #define IInternetProtocolSink_ReportResult(This,hrResult,dwError,szResult)    \
  3432.     (This)->lpVtbl -> ReportResult(This,hrResult,dwError,szResult)
  3433.  
  3434. #endif /* COBJMACROS */
  3435.  
  3436.  
  3437. #endif     /* C style interface */
  3438.  
  3439.  
  3440.  
  3441. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_Switch_Proxy( 
  3442.     IInternetProtocolSink __RPC_FAR * This,
  3443.     /* [in] */ PROTOCOLDATA __RPC_FAR *pProtocolData);
  3444.  
  3445.  
  3446. void __RPC_STUB IInternetProtocolSink_Switch_Stub(
  3447.     IRpcStubBuffer *This,
  3448.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3449.     PRPC_MESSAGE _pRpcMessage,
  3450.     DWORD *_pdwStubPhase);
  3451.  
  3452.  
  3453. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportProgress_Proxy( 
  3454.     IInternetProtocolSink __RPC_FAR * This,
  3455.     /* [in] */ ULONG ulStatusCode,
  3456.     /* [in] */ LPCWSTR szStatusText);
  3457.  
  3458.  
  3459. void __RPC_STUB IInternetProtocolSink_ReportProgress_Stub(
  3460.     IRpcStubBuffer *This,
  3461.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3462.     PRPC_MESSAGE _pRpcMessage,
  3463.     DWORD *_pdwStubPhase);
  3464.  
  3465.  
  3466. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportData_Proxy( 
  3467.     IInternetProtocolSink __RPC_FAR * This,
  3468.     /* [in] */ DWORD grfBSCF,
  3469.     /* [in] */ ULONG ulProgress,
  3470.     /* [in] */ ULONG ulProgressMax);
  3471.  
  3472.  
  3473. void __RPC_STUB IInternetProtocolSink_ReportData_Stub(
  3474.     IRpcStubBuffer *This,
  3475.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3476.     PRPC_MESSAGE _pRpcMessage,
  3477.     DWORD *_pdwStubPhase);
  3478.  
  3479.  
  3480. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportResult_Proxy( 
  3481.     IInternetProtocolSink __RPC_FAR * This,
  3482.     /* [in] */ HRESULT hrResult,
  3483.     /* [in] */ DWORD dwError,
  3484.     /* [in] */ LPCWSTR szResult);
  3485.  
  3486.  
  3487. void __RPC_STUB IInternetProtocolSink_ReportResult_Stub(
  3488.     IRpcStubBuffer *This,
  3489.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3490.     PRPC_MESSAGE _pRpcMessage,
  3491.     DWORD *_pdwStubPhase);
  3492.  
  3493.  
  3494.  
  3495. #endif     /* __IInternetProtocolSink_INTERFACE_DEFINED__ */
  3496.  
  3497.  
  3498. /****************************************
  3499.  * Generated header for interface: __MIDL_itf_urlmon_0127
  3500.  * at Mon Nov 17 12:03:13 1997
  3501.  * using MIDL 3.02.88
  3502.  ****************************************/
  3503. /* [local] */ 
  3504.  
  3505.  
  3506. #endif
  3507. #ifndef _LPIINTERNETSESSION_DEFINED
  3508. #define _LPIINTERNETSESSION_DEFINED
  3509.  
  3510.  
  3511. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0127_v0_0_c_ifspec;
  3512. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0127_v0_0_s_ifspec;
  3513.  
  3514. #ifndef __IInternetSession_INTERFACE_DEFINED__
  3515. #define __IInternetSession_INTERFACE_DEFINED__
  3516.  
  3517. /****************************************
  3518.  * Generated header for interface: IInternetSession
  3519.  * at Mon Nov 17 12:03:13 1997
  3520.  * using MIDL 3.02.88
  3521.  ****************************************/
  3522. /* [unique][uuid][object][local] */ 
  3523.  
  3524.  
  3525. typedef /* [unique] */ IInternetSession __RPC_FAR *LPIINTERNETSESSION;
  3526.  
  3527. typedef 
  3528. enum _tagOIBDG_FLAGS
  3529.     {    OIBDG_APARTMENTTHREADED    = 0x100
  3530.     }    OIBDG_FLAGS;
  3531.  
  3532.  
  3533. EXTERN_C const IID IID_IInternetSession;
  3534.  
  3535. #if defined(__cplusplus) && !defined(CINTERFACE)
  3536.     
  3537.     interface DECLSPEC_UUID("79eac9e7-baf9-11ce-8c82-00aa004ba90b")
  3538.     IInternetSession : public IUnknown
  3539.     {
  3540.     public:
  3541.         virtual HRESULT STDMETHODCALLTYPE RegisterNameSpace( 
  3542.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3543.             /* [in] */ REFCLSID rclsid,
  3544.             /* [in] */ LPCWSTR pwzProtocol,
  3545.             /* [in] */ ULONG cPatterns,
  3546.             /* [in] */ const LPCWSTR __RPC_FAR *ppwzPatterns,
  3547.             /* [in] */ DWORD dwReserved) = 0;
  3548.         
  3549.         virtual HRESULT STDMETHODCALLTYPE UnregisterNameSpace( 
  3550.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3551.             /* [in] */ LPCWSTR pszProtocol) = 0;
  3552.         
  3553.         virtual HRESULT STDMETHODCALLTYPE RegisterMimeFilter( 
  3554.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3555.             /* [in] */ REFCLSID rclsid,
  3556.             /* [in] */ LPCWSTR pwzType) = 0;
  3557.         
  3558.         virtual HRESULT STDMETHODCALLTYPE UnregisterMimeFilter( 
  3559.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3560.             /* [in] */ LPCWSTR pwzType) = 0;
  3561.         
  3562.         virtual HRESULT STDMETHODCALLTYPE CreateBinding( 
  3563.             /* [in] */ LPBC pBC,
  3564.             /* [in] */ LPCWSTR szUrl,
  3565.             /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  3566.             /* [unique][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  3567.             /* [unique][out] */ IInternetProtocol __RPC_FAR *__RPC_FAR *ppOInetProt,
  3568.             /* [in] */ DWORD dwOption) = 0;
  3569.         
  3570.         virtual HRESULT STDMETHODCALLTYPE SetSessionOption( 
  3571.             /* [in] */ DWORD dwOption,
  3572.             /* [in] */ LPVOID pBuffer,
  3573.             /* [in] */ DWORD dwBufferLength,
  3574.             /* [in] */ DWORD dwReserved) = 0;
  3575.         
  3576.         virtual HRESULT STDMETHODCALLTYPE GetSessionOption( 
  3577.             /* [in] */ DWORD dwOption,
  3578.             /* [out][in] */ LPVOID pBuffer,
  3579.             /* [out][in] */ DWORD __RPC_FAR *pdwBufferLength,
  3580.             /* [in] */ DWORD dwReserved) = 0;
  3581.         
  3582.     };
  3583.     
  3584. #else     /* C style interface */
  3585.  
  3586.     typedef struct IInternetSessionVtbl
  3587.     {
  3588.         BEGIN_INTERFACE
  3589.         
  3590.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3591.             IInternetSession __RPC_FAR * This,
  3592.             /* [in] */ REFIID riid,
  3593.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3594.         
  3595.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3596.             IInternetSession __RPC_FAR * This);
  3597.         
  3598.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3599.             IInternetSession __RPC_FAR * This);
  3600.         
  3601.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterNameSpace )( 
  3602.             IInternetSession __RPC_FAR * This,
  3603.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3604.             /* [in] */ REFCLSID rclsid,
  3605.             /* [in] */ LPCWSTR pwzProtocol,
  3606.             /* [in] */ ULONG cPatterns,
  3607.             /* [in] */ const LPCWSTR __RPC_FAR *ppwzPatterns,
  3608.             /* [in] */ DWORD dwReserved);
  3609.         
  3610.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnregisterNameSpace )( 
  3611.             IInternetSession __RPC_FAR * This,
  3612.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3613.             /* [in] */ LPCWSTR pszProtocol);
  3614.         
  3615.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RegisterMimeFilter )( 
  3616.             IInternetSession __RPC_FAR * This,
  3617.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3618.             /* [in] */ REFCLSID rclsid,
  3619.             /* [in] */ LPCWSTR pwzType);
  3620.         
  3621.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnregisterMimeFilter )( 
  3622.             IInternetSession __RPC_FAR * This,
  3623.             /* [in] */ IClassFactory __RPC_FAR *pCF,
  3624.             /* [in] */ LPCWSTR pwzType);
  3625.         
  3626.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateBinding )( 
  3627.             IInternetSession __RPC_FAR * This,
  3628.             /* [in] */ LPBC pBC,
  3629.             /* [in] */ LPCWSTR szUrl,
  3630.             /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  3631.             /* [unique][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  3632.             /* [unique][out] */ IInternetProtocol __RPC_FAR *__RPC_FAR *ppOInetProt,
  3633.             /* [in] */ DWORD dwOption);
  3634.         
  3635.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSessionOption )( 
  3636.             IInternetSession __RPC_FAR * This,
  3637.             /* [in] */ DWORD dwOption,
  3638.             /* [in] */ LPVOID pBuffer,
  3639.             /* [in] */ DWORD dwBufferLength,
  3640.             /* [in] */ DWORD dwReserved);
  3641.         
  3642.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSessionOption )( 
  3643.             IInternetSession __RPC_FAR * This,
  3644.             /* [in] */ DWORD dwOption,
  3645.             /* [out][in] */ LPVOID pBuffer,
  3646.             /* [out][in] */ DWORD __RPC_FAR *pdwBufferLength,
  3647.             /* [in] */ DWORD dwReserved);
  3648.         
  3649.         END_INTERFACE
  3650.     } IInternetSessionVtbl;
  3651.  
  3652.     interface IInternetSession
  3653.     {
  3654.         CONST_VTBL struct IInternetSessionVtbl __RPC_FAR *lpVtbl;
  3655.     };
  3656.  
  3657.     
  3658.  
  3659. #ifdef COBJMACROS
  3660.  
  3661.  
  3662. #define IInternetSession_QueryInterface(This,riid,ppvObject)    \
  3663.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3664.  
  3665. #define IInternetSession_AddRef(This)    \
  3666.     (This)->lpVtbl -> AddRef(This)
  3667.  
  3668. #define IInternetSession_Release(This)    \
  3669.     (This)->lpVtbl -> Release(This)
  3670.  
  3671.  
  3672. #define IInternetSession_RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved)    \
  3673.     (This)->lpVtbl -> RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved)
  3674.  
  3675. #define IInternetSession_UnregisterNameSpace(This,pCF,pszProtocol)    \
  3676.     (This)->lpVtbl -> UnregisterNameSpace(This,pCF,pszProtocol)
  3677.  
  3678. #define IInternetSession_RegisterMimeFilter(This,pCF,rclsid,pwzType)    \
  3679.     (This)->lpVtbl -> RegisterMimeFilter(This,pCF,rclsid,pwzType)
  3680.  
  3681. #define IInternetSession_UnregisterMimeFilter(This,pCF,pwzType)    \
  3682.     (This)->lpVtbl -> UnregisterMimeFilter(This,pCF,pwzType)
  3683.  
  3684. #define IInternetSession_CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption)    \
  3685.     (This)->lpVtbl -> CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption)
  3686.  
  3687. #define IInternetSession_SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved)    \
  3688.     (This)->lpVtbl -> SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved)
  3689.  
  3690. #define IInternetSession_GetSessionOption(This,dwOption,pBuffer,pdwBufferLength,dwReserved)    \
  3691.     (This)->lpVtbl -> GetSessionOption(This,dwOption,pBuffer,pdwBufferLength,dwReserved)
  3692.  
  3693. #endif /* COBJMACROS */
  3694.  
  3695.  
  3696. #endif     /* C style interface */
  3697.  
  3698.  
  3699.  
  3700. HRESULT STDMETHODCALLTYPE IInternetSession_RegisterNameSpace_Proxy( 
  3701.     IInternetSession __RPC_FAR * This,
  3702.     /* [in] */ IClassFactory __RPC_FAR *pCF,
  3703.     /* [in] */ REFCLSID rclsid,
  3704.     /* [in] */ LPCWSTR pwzProtocol,
  3705.     /* [in] */ ULONG cPatterns,
  3706.     /* [in] */ const LPCWSTR __RPC_FAR *ppwzPatterns,
  3707.     /* [in] */ DWORD dwReserved);
  3708.  
  3709.  
  3710. void __RPC_STUB IInternetSession_RegisterNameSpace_Stub(
  3711.     IRpcStubBuffer *This,
  3712.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3713.     PRPC_MESSAGE _pRpcMessage,
  3714.     DWORD *_pdwStubPhase);
  3715.  
  3716.  
  3717. HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterNameSpace_Proxy( 
  3718.     IInternetSession __RPC_FAR * This,
  3719.     /* [in] */ IClassFactory __RPC_FAR *pCF,
  3720.     /* [in] */ LPCWSTR pszProtocol);
  3721.  
  3722.  
  3723. void __RPC_STUB IInternetSession_UnregisterNameSpace_Stub(
  3724.     IRpcStubBuffer *This,
  3725.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3726.     PRPC_MESSAGE _pRpcMessage,
  3727.     DWORD *_pdwStubPhase);
  3728.  
  3729.  
  3730. HRESULT STDMETHODCALLTYPE IInternetSession_RegisterMimeFilter_Proxy( 
  3731.     IInternetSession __RPC_FAR * This,
  3732.     /* [in] */ IClassFactory __RPC_FAR *pCF,
  3733.     /* [in] */ REFCLSID rclsid,
  3734.     /* [in] */ LPCWSTR pwzType);
  3735.  
  3736.  
  3737. void __RPC_STUB IInternetSession_RegisterMimeFilter_Stub(
  3738.     IRpcStubBuffer *This,
  3739.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3740.     PRPC_MESSAGE _pRpcMessage,
  3741.     DWORD *_pdwStubPhase);
  3742.  
  3743.  
  3744. HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterMimeFilter_Proxy( 
  3745.     IInternetSession __RPC_FAR * This,
  3746.     /* [in] */ IClassFactory __RPC_FAR *pCF,
  3747.     /* [in] */ LPCWSTR pwzType);
  3748.  
  3749.  
  3750. void __RPC_STUB IInternetSession_UnregisterMimeFilter_Stub(
  3751.     IRpcStubBuffer *This,
  3752.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3753.     PRPC_MESSAGE _pRpcMessage,
  3754.     DWORD *_pdwStubPhase);
  3755.  
  3756.  
  3757. HRESULT STDMETHODCALLTYPE IInternetSession_CreateBinding_Proxy( 
  3758.     IInternetSession __RPC_FAR * This,
  3759.     /* [in] */ LPBC pBC,
  3760.     /* [in] */ LPCWSTR szUrl,
  3761.     /* [in] */ IUnknown __RPC_FAR *pUnkOuter,
  3762.     /* [unique][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppUnk,
  3763.     /* [unique][out] */ IInternetProtocol __RPC_FAR *__RPC_FAR *ppOInetProt,
  3764.     /* [in] */ DWORD dwOption);
  3765.  
  3766.  
  3767. void __RPC_STUB IInternetSession_CreateBinding_Stub(
  3768.     IRpcStubBuffer *This,
  3769.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3770.     PRPC_MESSAGE _pRpcMessage,
  3771.     DWORD *_pdwStubPhase);
  3772.  
  3773.  
  3774. HRESULT STDMETHODCALLTYPE IInternetSession_SetSessionOption_Proxy( 
  3775.     IInternetSession __RPC_FAR * This,
  3776.     /* [in] */ DWORD dwOption,
  3777.     /* [in] */ LPVOID pBuffer,
  3778.     /* [in] */ DWORD dwBufferLength,
  3779.     /* [in] */ DWORD dwReserved);
  3780.  
  3781.  
  3782. void __RPC_STUB IInternetSession_SetSessionOption_Stub(
  3783.     IRpcStubBuffer *This,
  3784.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3785.     PRPC_MESSAGE _pRpcMessage,
  3786.     DWORD *_pdwStubPhase);
  3787.  
  3788.  
  3789. HRESULT STDMETHODCALLTYPE IInternetSession_GetSessionOption_Proxy( 
  3790.     IInternetSession __RPC_FAR * This,
  3791.     /* [in] */ DWORD dwOption,
  3792.     /* [out][in] */ LPVOID pBuffer,
  3793.     /* [out][in] */ DWORD __RPC_FAR *pdwBufferLength,
  3794.     /* [in] */ DWORD dwReserved);
  3795.  
  3796.  
  3797. void __RPC_STUB IInternetSession_GetSessionOption_Stub(
  3798.     IRpcStubBuffer *This,
  3799.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3800.     PRPC_MESSAGE _pRpcMessage,
  3801.     DWORD *_pdwStubPhase);
  3802.  
  3803.  
  3804.  
  3805. #endif     /* __IInternetSession_INTERFACE_DEFINED__ */
  3806.  
  3807.  
  3808. /****************************************
  3809.  * Generated header for interface: __MIDL_itf_urlmon_0128
  3810.  * at Mon Nov 17 12:03:13 1997
  3811.  * using MIDL 3.02.88
  3812.  ****************************************/
  3813. /* [local] */ 
  3814.  
  3815.  
  3816. #endif
  3817. #ifndef _LPIINTERNETTHREADSWITCH_DEFINED
  3818. #define _LPIINTERNETTHREADSWITCH_DEFINED
  3819.  
  3820.  
  3821. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0128_v0_0_c_ifspec;
  3822. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0128_v0_0_s_ifspec;
  3823.  
  3824. #ifndef __IInternetThreadSwitch_INTERFACE_DEFINED__
  3825. #define __IInternetThreadSwitch_INTERFACE_DEFINED__
  3826.  
  3827. /****************************************
  3828.  * Generated header for interface: IInternetThreadSwitch
  3829.  * at Mon Nov 17 12:03:13 1997
  3830.  * using MIDL 3.02.88
  3831.  ****************************************/
  3832. /* [unique][uuid][object][local] */ 
  3833.  
  3834.  
  3835. typedef /* [unique] */ IInternetThreadSwitch __RPC_FAR *LPIINTERNETTHREADSWITCH;
  3836.  
  3837.  
  3838. EXTERN_C const IID IID_IInternetThreadSwitch;
  3839.  
  3840. #if defined(__cplusplus) && !defined(CINTERFACE)
  3841.     
  3842.     interface DECLSPEC_UUID("79eac9e8-baf9-11ce-8c82-00aa004ba90b")
  3843.     IInternetThreadSwitch : public IUnknown
  3844.     {
  3845.     public:
  3846.         virtual HRESULT STDMETHODCALLTYPE Prepare( void) = 0;
  3847.         
  3848.         virtual HRESULT STDMETHODCALLTYPE Continue( void) = 0;
  3849.         
  3850.     };
  3851.     
  3852. #else     /* C style interface */
  3853.  
  3854.     typedef struct IInternetThreadSwitchVtbl
  3855.     {
  3856.         BEGIN_INTERFACE
  3857.         
  3858.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3859.             IInternetThreadSwitch __RPC_FAR * This,
  3860.             /* [in] */ REFIID riid,
  3861.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3862.         
  3863.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3864.             IInternetThreadSwitch __RPC_FAR * This);
  3865.         
  3866.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3867.             IInternetThreadSwitch __RPC_FAR * This);
  3868.         
  3869.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Prepare )( 
  3870.             IInternetThreadSwitch __RPC_FAR * This);
  3871.         
  3872.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Continue )( 
  3873.             IInternetThreadSwitch __RPC_FAR * This);
  3874.         
  3875.         END_INTERFACE
  3876.     } IInternetThreadSwitchVtbl;
  3877.  
  3878.     interface IInternetThreadSwitch
  3879.     {
  3880.         CONST_VTBL struct IInternetThreadSwitchVtbl __RPC_FAR *lpVtbl;
  3881.     };
  3882.  
  3883.     
  3884.  
  3885. #ifdef COBJMACROS
  3886.  
  3887.  
  3888. #define IInternetThreadSwitch_QueryInterface(This,riid,ppvObject)    \
  3889.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3890.  
  3891. #define IInternetThreadSwitch_AddRef(This)    \
  3892.     (This)->lpVtbl -> AddRef(This)
  3893.  
  3894. #define IInternetThreadSwitch_Release(This)    \
  3895.     (This)->lpVtbl -> Release(This)
  3896.  
  3897.  
  3898. #define IInternetThreadSwitch_Prepare(This)    \
  3899.     (This)->lpVtbl -> Prepare(This)
  3900.  
  3901. #define IInternetThreadSwitch_Continue(This)    \
  3902.     (This)->lpVtbl -> Continue(This)
  3903.  
  3904. #endif /* COBJMACROS */
  3905.  
  3906.  
  3907. #endif     /* C style interface */
  3908.  
  3909.  
  3910.  
  3911. HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Prepare_Proxy( 
  3912.     IInternetThreadSwitch __RPC_FAR * This);
  3913.  
  3914.  
  3915. void __RPC_STUB IInternetThreadSwitch_Prepare_Stub(
  3916.     IRpcStubBuffer *This,
  3917.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3918.     PRPC_MESSAGE _pRpcMessage,
  3919.     DWORD *_pdwStubPhase);
  3920.  
  3921.  
  3922. HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Continue_Proxy( 
  3923.     IInternetThreadSwitch __RPC_FAR * This);
  3924.  
  3925.  
  3926. void __RPC_STUB IInternetThreadSwitch_Continue_Stub(
  3927.     IRpcStubBuffer *This,
  3928.     IRpcChannelBuffer *_pRpcChannelBuffer,
  3929.     PRPC_MESSAGE _pRpcMessage,
  3930.     DWORD *_pdwStubPhase);
  3931.  
  3932.  
  3933.  
  3934. #endif     /* __IInternetThreadSwitch_INTERFACE_DEFINED__ */
  3935.  
  3936.  
  3937. /****************************************
  3938.  * Generated header for interface: __MIDL_itf_urlmon_0129
  3939.  * at Mon Nov 17 12:03:13 1997
  3940.  * using MIDL 3.02.88
  3941.  ****************************************/
  3942. /* [local] */ 
  3943.  
  3944.  
  3945. #endif
  3946. #ifndef _LPIINTERNETPRIORITY_DEFINED
  3947. #define _LPIINTERNETPRIORITY_DEFINED
  3948.  
  3949.  
  3950. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0129_v0_0_c_ifspec;
  3951. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0129_v0_0_s_ifspec;
  3952.  
  3953. #ifndef __IInternetPriority_INTERFACE_DEFINED__
  3954. #define __IInternetPriority_INTERFACE_DEFINED__
  3955.  
  3956. /****************************************
  3957.  * Generated header for interface: IInternetPriority
  3958.  * at Mon Nov 17 12:03:13 1997
  3959.  * using MIDL 3.02.88
  3960.  ****************************************/
  3961. /* [unique][uuid][object][local] */ 
  3962.  
  3963.  
  3964. typedef /* [unique] */ IInternetPriority __RPC_FAR *LPIINTERNETPRIORITY;
  3965.  
  3966.  
  3967. EXTERN_C const IID IID_IInternetPriority;
  3968.  
  3969. #if defined(__cplusplus) && !defined(CINTERFACE)
  3970.     
  3971.     interface DECLSPEC_UUID("79eac9eb-baf9-11ce-8c82-00aa004ba90b")
  3972.     IInternetPriority : public IUnknown
  3973.     {
  3974.     public:
  3975.         virtual HRESULT STDMETHODCALLTYPE SetPriority( 
  3976.             /* [in] */ LONG nPriority) = 0;
  3977.         
  3978.         virtual HRESULT STDMETHODCALLTYPE GetPriority( 
  3979.             /* [out] */ LONG __RPC_FAR *pnPriority) = 0;
  3980.         
  3981.     };
  3982.     
  3983. #else     /* C style interface */
  3984.  
  3985.     typedef struct IInternetPriorityVtbl
  3986.     {
  3987.         BEGIN_INTERFACE
  3988.         
  3989.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  3990.             IInternetPriority __RPC_FAR * This,
  3991.             /* [in] */ REFIID riid,
  3992.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3993.         
  3994.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  3995.             IInternetPriority __RPC_FAR * This);
  3996.         
  3997.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  3998.             IInternetPriority __RPC_FAR * This);
  3999.         
  4000.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPriority )( 
  4001.             IInternetPriority __RPC_FAR * This,
  4002.             /* [in] */ LONG nPriority);
  4003.         
  4004.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPriority )( 
  4005.             IInternetPriority __RPC_FAR * This,
  4006.             /* [out] */ LONG __RPC_FAR *pnPriority);
  4007.         
  4008.         END_INTERFACE
  4009.     } IInternetPriorityVtbl;
  4010.  
  4011.     interface IInternetPriority
  4012.     {
  4013.         CONST_VTBL struct IInternetPriorityVtbl __RPC_FAR *lpVtbl;
  4014.     };
  4015.  
  4016.     
  4017.  
  4018. #ifdef COBJMACROS
  4019.  
  4020.  
  4021. #define IInternetPriority_QueryInterface(This,riid,ppvObject)    \
  4022.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4023.  
  4024. #define IInternetPriority_AddRef(This)    \
  4025.     (This)->lpVtbl -> AddRef(This)
  4026.  
  4027. #define IInternetPriority_Release(This)    \
  4028.     (This)->lpVtbl -> Release(This)
  4029.  
  4030.  
  4031. #define IInternetPriority_SetPriority(This,nPriority)    \
  4032.     (This)->lpVtbl -> SetPriority(This,nPriority)
  4033.  
  4034. #define IInternetPriority_GetPriority(This,pnPriority)    \
  4035.     (This)->lpVtbl -> GetPriority(This,pnPriority)
  4036.  
  4037. #endif /* COBJMACROS */
  4038.  
  4039.  
  4040. #endif     /* C style interface */
  4041.  
  4042.  
  4043.  
  4044. HRESULT STDMETHODCALLTYPE IInternetPriority_SetPriority_Proxy( 
  4045.     IInternetPriority __RPC_FAR * This,
  4046.     /* [in] */ LONG nPriority);
  4047.  
  4048.  
  4049. void __RPC_STUB IInternetPriority_SetPriority_Stub(
  4050.     IRpcStubBuffer *This,
  4051.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4052.     PRPC_MESSAGE _pRpcMessage,
  4053.     DWORD *_pdwStubPhase);
  4054.  
  4055.  
  4056. HRESULT STDMETHODCALLTYPE IInternetPriority_GetPriority_Proxy( 
  4057.     IInternetPriority __RPC_FAR * This,
  4058.     /* [out] */ LONG __RPC_FAR *pnPriority);
  4059.  
  4060.  
  4061. void __RPC_STUB IInternetPriority_GetPriority_Stub(
  4062.     IRpcStubBuffer *This,
  4063.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4064.     PRPC_MESSAGE _pRpcMessage,
  4065.     DWORD *_pdwStubPhase);
  4066.  
  4067.  
  4068.  
  4069. #endif     /* __IInternetPriority_INTERFACE_DEFINED__ */
  4070.  
  4071.  
  4072. /****************************************
  4073.  * Generated header for interface: __MIDL_itf_urlmon_0130
  4074.  * at Mon Nov 17 12:03:13 1997
  4075.  * using MIDL 3.02.88
  4076.  ****************************************/
  4077. /* [local] */ 
  4078.  
  4079.  
  4080. #endif
  4081. #ifndef _LPIINTERNETPROTOCOLINFO_DEFINED
  4082. #define _LPIINTERNETPROTOCOLINFO_DEFINED
  4083.  
  4084.  
  4085. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0130_v0_0_c_ifspec;
  4086. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0130_v0_0_s_ifspec;
  4087.  
  4088. #ifndef __IInternetProtocolInfo_INTERFACE_DEFINED__
  4089. #define __IInternetProtocolInfo_INTERFACE_DEFINED__
  4090.  
  4091. /****************************************
  4092.  * Generated header for interface: IInternetProtocolInfo
  4093.  * at Mon Nov 17 12:03:13 1997
  4094.  * using MIDL 3.02.88
  4095.  ****************************************/
  4096. /* [unique][uuid][object][local] */ 
  4097.  
  4098.  
  4099. typedef /* [unique] */ IInternetProtocolInfo __RPC_FAR *LPIINTERNETPROTOCOLINFO;
  4100.  
  4101. typedef 
  4102. enum _tagPARSEACTION
  4103.     {    PARSE_CANONICALIZE    = 1,
  4104.     PARSE_FRIENDLY    = PARSE_CANONICALIZE + 1,
  4105.     PARSE_SECURITY_URL    = PARSE_FRIENDLY + 1,
  4106.     PARSE_ROOTDOCUMENT    = PARSE_SECURITY_URL + 1,
  4107.     PARSE_DOCUMENT    = PARSE_ROOTDOCUMENT + 1,
  4108.     PARSE_ANCHOR    = PARSE_DOCUMENT + 1,
  4109.     PARSE_ENCODE    = PARSE_ANCHOR + 1,
  4110.     PARSE_DECODE    = PARSE_ENCODE + 1,
  4111.     PARSE_PATH_FROM_URL    = PARSE_DECODE + 1,
  4112.     PARSE_URL_FROM_PATH    = PARSE_PATH_FROM_URL + 1,
  4113.     PARSE_MIME    = PARSE_URL_FROM_PATH + 1,
  4114.     PARSE_SERVER    = PARSE_MIME + 1,
  4115.     PARSE_SCHEMA    = PARSE_SERVER + 1,
  4116.     PARSE_SITE    = PARSE_SCHEMA + 1,
  4117.     PARSE_DOMAIN    = PARSE_SITE + 1,
  4118.     PARSE_LOCATION    = PARSE_DOMAIN + 1,
  4119.     PARSE_SECURITY_DOMAIN    = PARSE_LOCATION + 1
  4120.     }    PARSEACTION;
  4121.  
  4122. typedef 
  4123. enum _tagPSUACTION
  4124.     {    PSU_DEFAULT    = 1,
  4125.     PSU_SECURITY_URL_ONLY    = PSU_DEFAULT + 1
  4126.     }    PSUACTION;
  4127.  
  4128. typedef 
  4129. enum _tagQUERYOPTION
  4130.     {    QUERY_EXPIRATION_DATE    = 1,
  4131.     QUERY_TIME_OF_LAST_CHANGE    = QUERY_EXPIRATION_DATE + 1,
  4132.     QUERY_CONTENT_ENCODING    = QUERY_TIME_OF_LAST_CHANGE + 1,
  4133.     QUERY_CONTENT_TYPE    = QUERY_CONTENT_ENCODING + 1,
  4134.     QUERY_REFRESH    = QUERY_CONTENT_TYPE + 1,
  4135.     QUERY_RECOMBINE    = QUERY_REFRESH + 1,
  4136.     QUERY_CAN_NAVIGATE    = QUERY_RECOMBINE + 1,
  4137.     QUERY_USES_NETWORK    = QUERY_CAN_NAVIGATE + 1,
  4138.     QUERY_IS_CACHED    = QUERY_USES_NETWORK + 1,
  4139.     QUERY_IS_INSTALLEDENTRY    = QUERY_IS_CACHED + 1,
  4140.     QUERY_IS_CACHED_OR_MAPPED    = QUERY_IS_INSTALLEDENTRY + 1,
  4141.     QUERY_USES_CACHE    = QUERY_IS_CACHED_OR_MAPPED + 1
  4142.     }    QUERYOPTION;
  4143.  
  4144.  
  4145. EXTERN_C const IID IID_IInternetProtocolInfo;
  4146.  
  4147. #if defined(__cplusplus) && !defined(CINTERFACE)
  4148.     
  4149.     interface DECLSPEC_UUID("79eac9ec-baf9-11ce-8c82-00aa004ba90b")
  4150.     IInternetProtocolInfo : public IUnknown
  4151.     {
  4152.     public:
  4153.         virtual HRESULT STDMETHODCALLTYPE ParseUrl( 
  4154.             /* [in] */ LPCWSTR pwzUrl,
  4155.             /* [in] */ PARSEACTION ParseAction,
  4156.             /* [in] */ DWORD dwParseFlags,
  4157.             /* [out] */ LPWSTR pwzResult,
  4158.             /* [in] */ DWORD cchResult,
  4159.             /* [out] */ DWORD __RPC_FAR *pcchResult,
  4160.             /* [in] */ DWORD dwReserved) = 0;
  4161.         
  4162.         virtual HRESULT STDMETHODCALLTYPE CombineUrl( 
  4163.             /* [in] */ LPCWSTR pwzBaseUrl,
  4164.             /* [in] */ LPCWSTR pwzRelativeUrl,
  4165.             /* [in] */ DWORD dwCombineFlags,
  4166.             /* [out] */ LPWSTR pwzResult,
  4167.             /* [in] */ DWORD cchResult,
  4168.             /* [out] */ DWORD __RPC_FAR *pcchResult,
  4169.             /* [in] */ DWORD dwReserved) = 0;
  4170.         
  4171.         virtual HRESULT STDMETHODCALLTYPE CompareUrl( 
  4172.             /* [in] */ LPCWSTR pwzUrl1,
  4173.             /* [in] */ LPCWSTR pwzUrl2,
  4174.             /* [in] */ DWORD dwCompareFlags) = 0;
  4175.         
  4176.         virtual HRESULT STDMETHODCALLTYPE QueryInfo( 
  4177.             /* [in] */ LPCWSTR pwzUrl,
  4178.             /* [in] */ QUERYOPTION OueryOption,
  4179.             /* [in] */ DWORD dwQueryFlags,
  4180.             /* [size_is][out][in] */ LPVOID pBuffer,
  4181.             /* [in] */ DWORD cbBuffer,
  4182.             /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  4183.             /* [in] */ DWORD dwReserved) = 0;
  4184.         
  4185.     };
  4186.     
  4187. #else     /* C style interface */
  4188.  
  4189.     typedef struct IInternetProtocolInfoVtbl
  4190.     {
  4191.         BEGIN_INTERFACE
  4192.         
  4193.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4194.             IInternetProtocolInfo __RPC_FAR * This,
  4195.             /* [in] */ REFIID riid,
  4196.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4197.         
  4198.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4199.             IInternetProtocolInfo __RPC_FAR * This);
  4200.         
  4201.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4202.             IInternetProtocolInfo __RPC_FAR * This);
  4203.         
  4204.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ParseUrl )( 
  4205.             IInternetProtocolInfo __RPC_FAR * This,
  4206.             /* [in] */ LPCWSTR pwzUrl,
  4207.             /* [in] */ PARSEACTION ParseAction,
  4208.             /* [in] */ DWORD dwParseFlags,
  4209.             /* [out] */ LPWSTR pwzResult,
  4210.             /* [in] */ DWORD cchResult,
  4211.             /* [out] */ DWORD __RPC_FAR *pcchResult,
  4212.             /* [in] */ DWORD dwReserved);
  4213.         
  4214.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CombineUrl )( 
  4215.             IInternetProtocolInfo __RPC_FAR * This,
  4216.             /* [in] */ LPCWSTR pwzBaseUrl,
  4217.             /* [in] */ LPCWSTR pwzRelativeUrl,
  4218.             /* [in] */ DWORD dwCombineFlags,
  4219.             /* [out] */ LPWSTR pwzResult,
  4220.             /* [in] */ DWORD cchResult,
  4221.             /* [out] */ DWORD __RPC_FAR *pcchResult,
  4222.             /* [in] */ DWORD dwReserved);
  4223.         
  4224.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CompareUrl )( 
  4225.             IInternetProtocolInfo __RPC_FAR * This,
  4226.             /* [in] */ LPCWSTR pwzUrl1,
  4227.             /* [in] */ LPCWSTR pwzUrl2,
  4228.             /* [in] */ DWORD dwCompareFlags);
  4229.         
  4230.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInfo )( 
  4231.             IInternetProtocolInfo __RPC_FAR * This,
  4232.             /* [in] */ LPCWSTR pwzUrl,
  4233.             /* [in] */ QUERYOPTION OueryOption,
  4234.             /* [in] */ DWORD dwQueryFlags,
  4235.             /* [size_is][out][in] */ LPVOID pBuffer,
  4236.             /* [in] */ DWORD cbBuffer,
  4237.             /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  4238.             /* [in] */ DWORD dwReserved);
  4239.         
  4240.         END_INTERFACE
  4241.     } IInternetProtocolInfoVtbl;
  4242.  
  4243.     interface IInternetProtocolInfo
  4244.     {
  4245.         CONST_VTBL struct IInternetProtocolInfoVtbl __RPC_FAR *lpVtbl;
  4246.     };
  4247.  
  4248.     
  4249.  
  4250. #ifdef COBJMACROS
  4251.  
  4252.  
  4253. #define IInternetProtocolInfo_QueryInterface(This,riid,ppvObject)    \
  4254.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4255.  
  4256. #define IInternetProtocolInfo_AddRef(This)    \
  4257.     (This)->lpVtbl -> AddRef(This)
  4258.  
  4259. #define IInternetProtocolInfo_Release(This)    \
  4260.     (This)->lpVtbl -> Release(This)
  4261.  
  4262.  
  4263. #define IInternetProtocolInfo_ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved)    \
  4264.     (This)->lpVtbl -> ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved)
  4265.  
  4266. #define IInternetProtocolInfo_CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved)    \
  4267.     (This)->lpVtbl -> CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved)
  4268.  
  4269. #define IInternetProtocolInfo_CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags)    \
  4270.     (This)->lpVtbl -> CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags)
  4271.  
  4272. #define IInternetProtocolInfo_QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved)    \
  4273.     (This)->lpVtbl -> QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved)
  4274.  
  4275. #endif /* COBJMACROS */
  4276.  
  4277.  
  4278. #endif     /* C style interface */
  4279.  
  4280.  
  4281.  
  4282. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_ParseUrl_Proxy( 
  4283.     IInternetProtocolInfo __RPC_FAR * This,
  4284.     /* [in] */ LPCWSTR pwzUrl,
  4285.     /* [in] */ PARSEACTION ParseAction,
  4286.     /* [in] */ DWORD dwParseFlags,
  4287.     /* [out] */ LPWSTR pwzResult,
  4288.     /* [in] */ DWORD cchResult,
  4289.     /* [out] */ DWORD __RPC_FAR *pcchResult,
  4290.     /* [in] */ DWORD dwReserved);
  4291.  
  4292.  
  4293. void __RPC_STUB IInternetProtocolInfo_ParseUrl_Stub(
  4294.     IRpcStubBuffer *This,
  4295.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4296.     PRPC_MESSAGE _pRpcMessage,
  4297.     DWORD *_pdwStubPhase);
  4298.  
  4299.  
  4300. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CombineUrl_Proxy( 
  4301.     IInternetProtocolInfo __RPC_FAR * This,
  4302.     /* [in] */ LPCWSTR pwzBaseUrl,
  4303.     /* [in] */ LPCWSTR pwzRelativeUrl,
  4304.     /* [in] */ DWORD dwCombineFlags,
  4305.     /* [out] */ LPWSTR pwzResult,
  4306.     /* [in] */ DWORD cchResult,
  4307.     /* [out] */ DWORD __RPC_FAR *pcchResult,
  4308.     /* [in] */ DWORD dwReserved);
  4309.  
  4310.  
  4311. void __RPC_STUB IInternetProtocolInfo_CombineUrl_Stub(
  4312.     IRpcStubBuffer *This,
  4313.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4314.     PRPC_MESSAGE _pRpcMessage,
  4315.     DWORD *_pdwStubPhase);
  4316.  
  4317.  
  4318. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CompareUrl_Proxy( 
  4319.     IInternetProtocolInfo __RPC_FAR * This,
  4320.     /* [in] */ LPCWSTR pwzUrl1,
  4321.     /* [in] */ LPCWSTR pwzUrl2,
  4322.     /* [in] */ DWORD dwCompareFlags);
  4323.  
  4324.  
  4325. void __RPC_STUB IInternetProtocolInfo_CompareUrl_Stub(
  4326.     IRpcStubBuffer *This,
  4327.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4328.     PRPC_MESSAGE _pRpcMessage,
  4329.     DWORD *_pdwStubPhase);
  4330.  
  4331.  
  4332. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_QueryInfo_Proxy( 
  4333.     IInternetProtocolInfo __RPC_FAR * This,
  4334.     /* [in] */ LPCWSTR pwzUrl,
  4335.     /* [in] */ QUERYOPTION OueryOption,
  4336.     /* [in] */ DWORD dwQueryFlags,
  4337.     /* [size_is][out][in] */ LPVOID pBuffer,
  4338.     /* [in] */ DWORD cbBuffer,
  4339.     /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  4340.     /* [in] */ DWORD dwReserved);
  4341.  
  4342.  
  4343. void __RPC_STUB IInternetProtocolInfo_QueryInfo_Stub(
  4344.     IRpcStubBuffer *This,
  4345.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4346.     PRPC_MESSAGE _pRpcMessage,
  4347.     DWORD *_pdwStubPhase);
  4348.  
  4349.  
  4350.  
  4351. #endif     /* __IInternetProtocolInfo_INTERFACE_DEFINED__ */
  4352.  
  4353.  
  4354. /****************************************
  4355.  * Generated header for interface: __MIDL_itf_urlmon_0131
  4356.  * at Mon Nov 17 12:03:13 1997
  4357.  * using MIDL 3.02.88
  4358.  ****************************************/
  4359. /* [local] */ 
  4360.  
  4361.  
  4362. #endif
  4363. #define IOInet               IInternet            
  4364. #define IOInetBindInfo       IInternetBindInfo    
  4365. #define IOInetProtocolRoot   IInternetProtocolRoot
  4366. #define IOInetProtocol       IInternetProtocol    
  4367. #define IOInetProtocolSink   IInternetProtocolSink
  4368. #define IOInetProtocolInfo   IInternetProtocolInfo
  4369. #define IOInetSession        IInternetSession     
  4370. #define IOInetPriority       IInternetPriority    
  4371. #define IOInetThreadSwitch   IInternetThreadSwitch
  4372. #define LPOINET              LPIINTERNET             
  4373. #define LPOINETPROTOCOLINFO  LPIINTERNETPROTOCOLINFO 
  4374. #define LPOINETBINDINFO      LPIINTERNETBINDINFO     
  4375. #define LPOINETPROTOCOLROOT  LPIINTERNETPROTOCOLROOT 
  4376. #define LPOINETPROTOCOL      LPIINTERNETPROTOCOL     
  4377. #define LPOINETPROTOCOLSINK  LPIINTERNETPROTOCOLSINK 
  4378. #define LPOINETSESSION       LPIINTERNETSESSION      
  4379. #define LPOINETTHREADSWITCH  LPIINTERNETTHREADSWITCH 
  4380. #define LPOINETPRIORITY      LPIINTERNETPRIORITY     
  4381. #define LPOINETPROTOCOLINFO  LPIINTERNETPROTOCOLINFO 
  4382. #define IID_IOInet               IID_IInternet            
  4383. #define IID_IOInetBindInfo       IID_IInternetBindInfo    
  4384. #define IID_IOInetProtocolRoot   IID_IInternetProtocolRoot
  4385. #define IID_IOInetProtocol       IID_IInternetProtocol    
  4386. #define IID_IOInetProtocolSink   IID_IInternetProtocolSink
  4387. #define IID_IOInetProtocolInfo   IID_IInternetProtocolInfo
  4388. #define IID_IOInetSession        IID_IInternetSession     
  4389. #define IID_IOInetPriority       IID_IInternetPriority    
  4390. #define IID_IOInetThreadSwitch   IID_IInternetThreadSwitch
  4391. STDAPI CoInternetParseUrl(               
  4392.     LPCWSTR     pwzUrl,                  
  4393.     PARSEACTION ParseAction,             
  4394.     DWORD       dwFlags,                 
  4395.     LPWSTR      pszResult,               
  4396.     DWORD       cchResult,               
  4397.     DWORD      *pcchResult,              
  4398.     DWORD       dwReserved               
  4399.     );                                   
  4400. STDAPI CoInternetCombineUrl(             
  4401.     LPCWSTR     pwzBaseUrl,              
  4402.     LPCWSTR     pwzRelativeUrl,          
  4403.     DWORD       dwCombineFlags,          
  4404.     LPWSTR      pszResult,               
  4405.     DWORD       cchResult,               
  4406.     DWORD      *pcchResult,              
  4407.     DWORD       dwReserved               
  4408.     );                                   
  4409. STDAPI CoInternetCompareUrl(             
  4410.     LPCWSTR pwzUrl1,                     
  4411.     LPCWSTR pwzUrl2,                     
  4412.     DWORD dwFlags                        
  4413.     );                                   
  4414. STDAPI CoInternetGetProtocolFlags(       
  4415.     LPCWSTR     pwzUrl,                  
  4416.     DWORD      *pdwFlags,                
  4417.     DWORD       dwReserved               
  4418.     );                                   
  4419. STDAPI CoInternetQueryInfo(              
  4420.     LPCWSTR     pwzUrl,                  
  4421.     QUERYOPTION QueryOptions,            
  4422.     DWORD       dwQueryFlags,            
  4423.     LPVOID      pvBuffer,                
  4424.     DWORD       cbBuffer,                
  4425.     DWORD      *pcbBuffer,               
  4426.     DWORD       dwReserved               
  4427.     );                                   
  4428. STDAPI CoInternetGetSession(             
  4429.     DWORD       dwSessionMode,           
  4430.     IInternetSession **ppIInternetSession,
  4431.     DWORD       dwReserved               
  4432.     );                                   
  4433. STDAPI CoInternetGetSecurityUrl(         
  4434.     LPCWSTR pwzUrl,                      
  4435.     LPWSTR  *ppwzSecUrl,                 
  4436.     PSUACTION  psuAction,                
  4437.     DWORD   dwReserved                   
  4438.     );                                   
  4439.  
  4440. STDAPI CopyStgMedium(const STGMEDIUM * pcstgmedSrc,  
  4441.                            STGMEDIUM * pstgmedDest); 
  4442. STDAPI CopyBindInfo( const BINDINFO * pcbiSrc,   
  4443.                            BINDINFO * pbiDest ); 
  4444. STDAPI_(void) ReleaseBindInfo( BINDINFO * pbindinfo );  
  4445.  
  4446. #define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011L)      
  4447. #define INET_E_USE_DEFAULT_SETTING         _HRESULT_TYPEDEF_(0x800C0012L)      
  4448. #define INET_E_DEFAULT_ACTION              INET_E_USE_DEFAULT_PROTOCOLHANDLER  
  4449. #define INET_E_QUERYOPTION_UNKNOWN         _HRESULT_TYPEDEF_(0x800C0013L)      
  4450. #define INET_E_REDIRECTING                 _HRESULT_TYPEDEF_(0x800C0014L)      
  4451. #define OInetParseUrl               CoInternetParseUrl               
  4452. #define OInetCombineUrl             CoInternetCombineUrl             
  4453. #define OInetCompareUrl             CoInternetCompareUrl             
  4454. #define OInetQueryInfo              CoInternetQueryInfo              
  4455. #define OInetGetSession             CoInternetGetSession             
  4456. #endif // !_URLMON_NO_ASYNC_PLUGABLE_PROTOCOLS_ 
  4457. //
  4458. // Static Protocol flags
  4459. //
  4460. #define PROTOCOLFLAG_NO_PICS_CHECK     0x00000001
  4461.  
  4462. // Creates the security manager object. The first argument is the Service provider
  4463. // to allow for delegation
  4464. STDAPI CoInternetCreateSecurityManager(IServiceProvider *pSP, IInternetSecurityManager **ppSM, DWORD dwReserved);
  4465.  
  4466. STDAPI CoInternetCreateZoneManager(IServiceProvider *pSP, IInternetZoneManager **ppZM, DWORD dwReserved);
  4467.  
  4468.  
  4469. // Security manager CLSID's
  4470. EXTERN_C const IID CLSID_InternetSecurityManager;  
  4471. EXTERN_C const IID CLSID_InternetZoneManager;  
  4472. // This service is used for delegation support on the Security Manager interface
  4473. #define SID_SInternetSecurityManager         IID_IInternetSecurityManager
  4474.  
  4475. #define SID_SInternetHostSecurityManager     IID_IInternetHostSecurityManager
  4476.  
  4477. #ifndef _LPINTERNETSECURITYMGRSITE_DEFINED
  4478. #define _LPINTERNETSECURITYMGRSITE_DEFINED
  4479.  
  4480.  
  4481. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0131_v0_0_c_ifspec;
  4482. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0131_v0_0_s_ifspec;
  4483.  
  4484. #ifndef __IInternetSecurityMgrSite_INTERFACE_DEFINED__
  4485. #define __IInternetSecurityMgrSite_INTERFACE_DEFINED__
  4486.  
  4487. /****************************************
  4488.  * Generated header for interface: IInternetSecurityMgrSite
  4489.  * at Mon Nov 17 12:03:13 1997
  4490.  * using MIDL 3.02.88
  4491.  ****************************************/
  4492. /* [unique][helpstring][uuid][object][local] */ 
  4493.  
  4494.  
  4495.  
  4496. EXTERN_C const IID IID_IInternetSecurityMgrSite;
  4497.  
  4498. #if defined(__cplusplus) && !defined(CINTERFACE)
  4499.     
  4500.     interface DECLSPEC_UUID("79eac9ed-baf9-11ce-8c82-00aa004ba90b")
  4501.     IInternetSecurityMgrSite : public IUnknown
  4502.     {
  4503.     public:
  4504.         virtual HRESULT STDMETHODCALLTYPE GetWindow( 
  4505.             /* [out] */ HWND __RPC_FAR *phwnd) = 0;
  4506.         
  4507.         virtual HRESULT STDMETHODCALLTYPE EnableModeless( 
  4508.             /* [in] */ BOOL fEnable) = 0;
  4509.         
  4510.     };
  4511.     
  4512. #else     /* C style interface */
  4513.  
  4514.     typedef struct IInternetSecurityMgrSiteVtbl
  4515.     {
  4516.         BEGIN_INTERFACE
  4517.         
  4518.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4519.             IInternetSecurityMgrSite __RPC_FAR * This,
  4520.             /* [in] */ REFIID riid,
  4521.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4522.         
  4523.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4524.             IInternetSecurityMgrSite __RPC_FAR * This);
  4525.         
  4526.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4527.             IInternetSecurityMgrSite __RPC_FAR * This);
  4528.         
  4529.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
  4530.             IInternetSecurityMgrSite __RPC_FAR * This,
  4531.             /* [out] */ HWND __RPC_FAR *phwnd);
  4532.         
  4533.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EnableModeless )( 
  4534.             IInternetSecurityMgrSite __RPC_FAR * This,
  4535.             /* [in] */ BOOL fEnable);
  4536.         
  4537.         END_INTERFACE
  4538.     } IInternetSecurityMgrSiteVtbl;
  4539.  
  4540.     interface IInternetSecurityMgrSite
  4541.     {
  4542.         CONST_VTBL struct IInternetSecurityMgrSiteVtbl __RPC_FAR *lpVtbl;
  4543.     };
  4544.  
  4545.     
  4546.  
  4547. #ifdef COBJMACROS
  4548.  
  4549.  
  4550. #define IInternetSecurityMgrSite_QueryInterface(This,riid,ppvObject)    \
  4551.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4552.  
  4553. #define IInternetSecurityMgrSite_AddRef(This)    \
  4554.     (This)->lpVtbl -> AddRef(This)
  4555.  
  4556. #define IInternetSecurityMgrSite_Release(This)    \
  4557.     (This)->lpVtbl -> Release(This)
  4558.  
  4559.  
  4560. #define IInternetSecurityMgrSite_GetWindow(This,phwnd)    \
  4561.     (This)->lpVtbl -> GetWindow(This,phwnd)
  4562.  
  4563. #define IInternetSecurityMgrSite_EnableModeless(This,fEnable)    \
  4564.     (This)->lpVtbl -> EnableModeless(This,fEnable)
  4565.  
  4566. #endif /* COBJMACROS */
  4567.  
  4568.  
  4569. #endif     /* C style interface */
  4570.  
  4571.  
  4572.  
  4573. HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_GetWindow_Proxy( 
  4574.     IInternetSecurityMgrSite __RPC_FAR * This,
  4575.     /* [out] */ HWND __RPC_FAR *phwnd);
  4576.  
  4577.  
  4578. void __RPC_STUB IInternetSecurityMgrSite_GetWindow_Stub(
  4579.     IRpcStubBuffer *This,
  4580.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4581.     PRPC_MESSAGE _pRpcMessage,
  4582.     DWORD *_pdwStubPhase);
  4583.  
  4584.  
  4585. HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_EnableModeless_Proxy( 
  4586.     IInternetSecurityMgrSite __RPC_FAR * This,
  4587.     /* [in] */ BOOL fEnable);
  4588.  
  4589.  
  4590. void __RPC_STUB IInternetSecurityMgrSite_EnableModeless_Stub(
  4591.     IRpcStubBuffer *This,
  4592.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4593.     PRPC_MESSAGE _pRpcMessage,
  4594.     DWORD *_pdwStubPhase);
  4595.  
  4596.  
  4597.  
  4598. #endif     /* __IInternetSecurityMgrSite_INTERFACE_DEFINED__ */
  4599.  
  4600.  
  4601. /****************************************
  4602.  * Generated header for interface: __MIDL_itf_urlmon_0132
  4603.  * at Mon Nov 17 12:03:13 1997
  4604.  * using MIDL 3.02.88
  4605.  ****************************************/
  4606. /* [local] */ 
  4607.  
  4608.  
  4609. #endif
  4610. #ifndef _LPINTERNETSECURITYMANANGER_DEFINED
  4611. #define _LPINTERNETSECURITYMANANGER_DEFINED
  4612.  
  4613.  
  4614. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0132_v0_0_c_ifspec;
  4615. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0132_v0_0_s_ifspec;
  4616.  
  4617. #ifndef __IInternetSecurityManager_INTERFACE_DEFINED__
  4618. #define __IInternetSecurityManager_INTERFACE_DEFINED__
  4619.  
  4620. /****************************************
  4621.  * Generated header for interface: IInternetSecurityManager
  4622.  * at Mon Nov 17 12:03:13 1997
  4623.  * using MIDL 3.02.88
  4624.  ****************************************/
  4625. /* [object][unique][helpstring][uuid] */ 
  4626.  
  4627.  
  4628. // MapUrlToZone returns the zone index given a URL
  4629. #define MAX_SIZE_SECURITY_ID 512 // bytes
  4630. typedef /* [public] */ 
  4631. enum __MIDL_IInternetSecurityManager_0001
  4632.     {    PUAF_DEFAULT    = 0,
  4633.     PUAF_NOUI    = 0x1,
  4634.     PUAF_ISFILE    = 0x2,
  4635.     PUAF_WARN_IF_DENIED    = 0x4,
  4636.     PUAF_FORCEUI_FOREGROUND    = 0x8,
  4637.     PUAF_CHECK_TIFS    = 0x10
  4638.     }    PUAF;
  4639.  
  4640. // This is the wrapper function that most clients will use.
  4641. // It figures out the current Policy for the passed in Action,
  4642. // and puts up UI if the current Policy indicates that the user
  4643. // should be queried. It returns back the Policy which the caller
  4644. // will use to determine if the action should be allowed
  4645. // This is the wrapper function to conveniently read a custom policy.
  4646. typedef /* [public] */ 
  4647. enum __MIDL_IInternetSecurityManager_0002
  4648.     {    SZM_CREATE    = 0,
  4649.     SZM_DELETE    = 0x1
  4650.     }    SZM_FLAGS;
  4651.  
  4652. // SetZoneMapping
  4653. //    lpszPattern: string denoting a URL pattern
  4654. //        Examples of valid patterns:   
  4655. //            *://*.msn.com             
  4656. //            http://*.sony.co.jp       
  4657. //            *://et.msn.com            
  4658. //            ftp://157.54.23.41/       
  4659. //            https://localsvr          
  4660. //            file:\localsvr\share     
  4661. //            *://157.54.100-200.*      
  4662. //        Examples of invalid patterns: 
  4663. //            http://*.lcs.mit.edu      
  4664. //            ftp://*                   
  4665. //    dwFlags: SZM_FLAGS values         
  4666.  
  4667. EXTERN_C const IID IID_IInternetSecurityManager;
  4668.  
  4669. #if defined(__cplusplus) && !defined(CINTERFACE)
  4670.     
  4671.     interface DECLSPEC_UUID("79eac9ee-baf9-11ce-8c82-00aa004ba90b")
  4672.     IInternetSecurityManager : public IUnknown
  4673.     {
  4674.     public:
  4675.         virtual HRESULT STDMETHODCALLTYPE SetSecuritySite( 
  4676.             /* [unique][in] */ IInternetSecurityMgrSite __RPC_FAR *pSite) = 0;
  4677.         
  4678.         virtual HRESULT STDMETHODCALLTYPE GetSecuritySite( 
  4679.             /* [out] */ IInternetSecurityMgrSite __RPC_FAR *__RPC_FAR *ppSite) = 0;
  4680.         
  4681.         virtual HRESULT STDMETHODCALLTYPE MapUrlToZone( 
  4682.             /* [in] */ LPCWSTR pwszUrl,
  4683.             /* [out] */ DWORD __RPC_FAR *pdwZone,
  4684.             /* [in] */ DWORD dwFlags) = 0;
  4685.         
  4686.         virtual HRESULT STDMETHODCALLTYPE GetSecurityId( 
  4687.             /* [in] */ LPCWSTR pwszUrl,
  4688.             /* [size_is][out] */ BYTE __RPC_FAR *pbSecurityId,
  4689.             /* [out][in] */ DWORD __RPC_FAR *pcbSecurityId,
  4690.             /* [in] */ DWORD dwReserved) = 0;
  4691.         
  4692.         virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction( 
  4693.             /* [in] */ LPCWSTR pwszUrl,
  4694.             /* [in] */ DWORD dwAction,
  4695.             /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  4696.             /* [in] */ DWORD cbPolicy,
  4697.             /* [in] */ BYTE __RPC_FAR *pContext,
  4698.             /* [in] */ DWORD cbContext,
  4699.             /* [in] */ DWORD dwFlags,
  4700.             /* [in] */ DWORD dwReserved) = 0;
  4701.         
  4702.         virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy( 
  4703.             /* [in] */ LPCWSTR pwszUrl,
  4704.             /* [in] */ REFGUID guidKey,
  4705.             /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  4706.             /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  4707.             /* [in] */ BYTE __RPC_FAR *pContext,
  4708.             /* [in] */ DWORD cbContext,
  4709.             /* [in] */ DWORD dwReserved) = 0;
  4710.         
  4711.         virtual HRESULT STDMETHODCALLTYPE SetZoneMapping( 
  4712.             /* [in] */ DWORD dwZone,
  4713.             /* [in] */ LPCWSTR lpszPattern,
  4714.             /* [in] */ DWORD dwFlags) = 0;
  4715.         
  4716.         virtual HRESULT STDMETHODCALLTYPE GetZoneMappings( 
  4717.             /* [in] */ DWORD dwZone,
  4718.             /* [out] */ IEnumString __RPC_FAR *__RPC_FAR *ppenumString,
  4719.             /* [in] */ DWORD dwFlags) = 0;
  4720.         
  4721.     };
  4722.     
  4723. #else     /* C style interface */
  4724.  
  4725.     typedef struct IInternetSecurityManagerVtbl
  4726.     {
  4727.         BEGIN_INTERFACE
  4728.         
  4729.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  4730.             IInternetSecurityManager __RPC_FAR * This,
  4731.             /* [in] */ REFIID riid,
  4732.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4733.         
  4734.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  4735.             IInternetSecurityManager __RPC_FAR * This);
  4736.         
  4737.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  4738.             IInternetSecurityManager __RPC_FAR * This);
  4739.         
  4740.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSecuritySite )( 
  4741.             IInternetSecurityManager __RPC_FAR * This,
  4742.             /* [unique][in] */ IInternetSecurityMgrSite __RPC_FAR *pSite);
  4743.         
  4744.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSecuritySite )( 
  4745.             IInternetSecurityManager __RPC_FAR * This,
  4746.             /* [out] */ IInternetSecurityMgrSite __RPC_FAR *__RPC_FAR *ppSite);
  4747.         
  4748.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MapUrlToZone )( 
  4749.             IInternetSecurityManager __RPC_FAR * This,
  4750.             /* [in] */ LPCWSTR pwszUrl,
  4751.             /* [out] */ DWORD __RPC_FAR *pdwZone,
  4752.             /* [in] */ DWORD dwFlags);
  4753.         
  4754.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSecurityId )( 
  4755.             IInternetSecurityManager __RPC_FAR * This,
  4756.             /* [in] */ LPCWSTR pwszUrl,
  4757.             /* [size_is][out] */ BYTE __RPC_FAR *pbSecurityId,
  4758.             /* [out][in] */ DWORD __RPC_FAR *pcbSecurityId,
  4759.             /* [in] */ DWORD dwReserved);
  4760.         
  4761.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ProcessUrlAction )( 
  4762.             IInternetSecurityManager __RPC_FAR * This,
  4763.             /* [in] */ LPCWSTR pwszUrl,
  4764.             /* [in] */ DWORD dwAction,
  4765.             /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  4766.             /* [in] */ DWORD cbPolicy,
  4767.             /* [in] */ BYTE __RPC_FAR *pContext,
  4768.             /* [in] */ DWORD cbContext,
  4769.             /* [in] */ DWORD dwFlags,
  4770.             /* [in] */ DWORD dwReserved);
  4771.         
  4772.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryCustomPolicy )( 
  4773.             IInternetSecurityManager __RPC_FAR * This,
  4774.             /* [in] */ LPCWSTR pwszUrl,
  4775.             /* [in] */ REFGUID guidKey,
  4776.             /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  4777.             /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  4778.             /* [in] */ BYTE __RPC_FAR *pContext,
  4779.             /* [in] */ DWORD cbContext,
  4780.             /* [in] */ DWORD dwReserved);
  4781.         
  4782.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetZoneMapping )( 
  4783.             IInternetSecurityManager __RPC_FAR * This,
  4784.             /* [in] */ DWORD dwZone,
  4785.             /* [in] */ LPCWSTR lpszPattern,
  4786.             /* [in] */ DWORD dwFlags);
  4787.         
  4788.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetZoneMappings )( 
  4789.             IInternetSecurityManager __RPC_FAR * This,
  4790.             /* [in] */ DWORD dwZone,
  4791.             /* [out] */ IEnumString __RPC_FAR *__RPC_FAR *ppenumString,
  4792.             /* [in] */ DWORD dwFlags);
  4793.         
  4794.         END_INTERFACE
  4795.     } IInternetSecurityManagerVtbl;
  4796.  
  4797.     interface IInternetSecurityManager
  4798.     {
  4799.         CONST_VTBL struct IInternetSecurityManagerVtbl __RPC_FAR *lpVtbl;
  4800.     };
  4801.  
  4802.     
  4803.  
  4804. #ifdef COBJMACROS
  4805.  
  4806.  
  4807. #define IInternetSecurityManager_QueryInterface(This,riid,ppvObject)    \
  4808.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4809.  
  4810. #define IInternetSecurityManager_AddRef(This)    \
  4811.     (This)->lpVtbl -> AddRef(This)
  4812.  
  4813. #define IInternetSecurityManager_Release(This)    \
  4814.     (This)->lpVtbl -> Release(This)
  4815.  
  4816.  
  4817. #define IInternetSecurityManager_SetSecuritySite(This,pSite)    \
  4818.     (This)->lpVtbl -> SetSecuritySite(This,pSite)
  4819.  
  4820. #define IInternetSecurityManager_GetSecuritySite(This,ppSite)    \
  4821.     (This)->lpVtbl -> GetSecuritySite(This,ppSite)
  4822.  
  4823. #define IInternetSecurityManager_MapUrlToZone(This,pwszUrl,pdwZone,dwFlags)    \
  4824.     (This)->lpVtbl -> MapUrlToZone(This,pwszUrl,pdwZone,dwFlags)
  4825.  
  4826. #define IInternetSecurityManager_GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved)    \
  4827.     (This)->lpVtbl -> GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved)
  4828.  
  4829. #define IInternetSecurityManager_ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)    \
  4830.     (This)->lpVtbl -> ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
  4831.  
  4832. #define IInternetSecurityManager_QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)    \
  4833.     (This)->lpVtbl -> QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
  4834.  
  4835. #define IInternetSecurityManager_SetZoneMapping(This,dwZone,lpszPattern,dwFlags)    \
  4836.     (This)->lpVtbl -> SetZoneMapping(This,dwZone,lpszPattern,dwFlags)
  4837.  
  4838. #define IInternetSecurityManager_GetZoneMappings(This,dwZone,ppenumString,dwFlags)    \
  4839.     (This)->lpVtbl -> GetZoneMappings(This,dwZone,ppenumString,dwFlags)
  4840.  
  4841. #endif /* COBJMACROS */
  4842.  
  4843.  
  4844. #endif     /* C style interface */
  4845.  
  4846.  
  4847.  
  4848. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetSecuritySite_Proxy( 
  4849.     IInternetSecurityManager __RPC_FAR * This,
  4850.     /* [unique][in] */ IInternetSecurityMgrSite __RPC_FAR *pSite);
  4851.  
  4852.  
  4853. void __RPC_STUB IInternetSecurityManager_SetSecuritySite_Stub(
  4854.     IRpcStubBuffer *This,
  4855.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4856.     PRPC_MESSAGE _pRpcMessage,
  4857.     DWORD *_pdwStubPhase);
  4858.  
  4859.  
  4860. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecuritySite_Proxy( 
  4861.     IInternetSecurityManager __RPC_FAR * This,
  4862.     /* [out] */ IInternetSecurityMgrSite __RPC_FAR *__RPC_FAR *ppSite);
  4863.  
  4864.  
  4865. void __RPC_STUB IInternetSecurityManager_GetSecuritySite_Stub(
  4866.     IRpcStubBuffer *This,
  4867.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4868.     PRPC_MESSAGE _pRpcMessage,
  4869.     DWORD *_pdwStubPhase);
  4870.  
  4871.  
  4872. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_MapUrlToZone_Proxy( 
  4873.     IInternetSecurityManager __RPC_FAR * This,
  4874.     /* [in] */ LPCWSTR pwszUrl,
  4875.     /* [out] */ DWORD __RPC_FAR *pdwZone,
  4876.     /* [in] */ DWORD dwFlags);
  4877.  
  4878.  
  4879. void __RPC_STUB IInternetSecurityManager_MapUrlToZone_Stub(
  4880.     IRpcStubBuffer *This,
  4881.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4882.     PRPC_MESSAGE _pRpcMessage,
  4883.     DWORD *_pdwStubPhase);
  4884.  
  4885.  
  4886. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecurityId_Proxy( 
  4887.     IInternetSecurityManager __RPC_FAR * This,
  4888.     /* [in] */ LPCWSTR pwszUrl,
  4889.     /* [size_is][out] */ BYTE __RPC_FAR *pbSecurityId,
  4890.     /* [out][in] */ DWORD __RPC_FAR *pcbSecurityId,
  4891.     /* [in] */ DWORD dwReserved);
  4892.  
  4893.  
  4894. void __RPC_STUB IInternetSecurityManager_GetSecurityId_Stub(
  4895.     IRpcStubBuffer *This,
  4896.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4897.     PRPC_MESSAGE _pRpcMessage,
  4898.     DWORD *_pdwStubPhase);
  4899.  
  4900.  
  4901. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_ProcessUrlAction_Proxy( 
  4902.     IInternetSecurityManager __RPC_FAR * This,
  4903.     /* [in] */ LPCWSTR pwszUrl,
  4904.     /* [in] */ DWORD dwAction,
  4905.     /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  4906.     /* [in] */ DWORD cbPolicy,
  4907.     /* [in] */ BYTE __RPC_FAR *pContext,
  4908.     /* [in] */ DWORD cbContext,
  4909.     /* [in] */ DWORD dwFlags,
  4910.     /* [in] */ DWORD dwReserved);
  4911.  
  4912.  
  4913. void __RPC_STUB IInternetSecurityManager_ProcessUrlAction_Stub(
  4914.     IRpcStubBuffer *This,
  4915.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4916.     PRPC_MESSAGE _pRpcMessage,
  4917.     DWORD *_pdwStubPhase);
  4918.  
  4919.  
  4920. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_QueryCustomPolicy_Proxy( 
  4921.     IInternetSecurityManager __RPC_FAR * This,
  4922.     /* [in] */ LPCWSTR pwszUrl,
  4923.     /* [in] */ REFGUID guidKey,
  4924.     /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  4925.     /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  4926.     /* [in] */ BYTE __RPC_FAR *pContext,
  4927.     /* [in] */ DWORD cbContext,
  4928.     /* [in] */ DWORD dwReserved);
  4929.  
  4930.  
  4931. void __RPC_STUB IInternetSecurityManager_QueryCustomPolicy_Stub(
  4932.     IRpcStubBuffer *This,
  4933.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4934.     PRPC_MESSAGE _pRpcMessage,
  4935.     DWORD *_pdwStubPhase);
  4936.  
  4937.  
  4938. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetZoneMapping_Proxy( 
  4939.     IInternetSecurityManager __RPC_FAR * This,
  4940.     /* [in] */ DWORD dwZone,
  4941.     /* [in] */ LPCWSTR lpszPattern,
  4942.     /* [in] */ DWORD dwFlags);
  4943.  
  4944.  
  4945. void __RPC_STUB IInternetSecurityManager_SetZoneMapping_Stub(
  4946.     IRpcStubBuffer *This,
  4947.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4948.     PRPC_MESSAGE _pRpcMessage,
  4949.     DWORD *_pdwStubPhase);
  4950.  
  4951.  
  4952. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetZoneMappings_Proxy( 
  4953.     IInternetSecurityManager __RPC_FAR * This,
  4954.     /* [in] */ DWORD dwZone,
  4955.     /* [out] */ IEnumString __RPC_FAR *__RPC_FAR *ppenumString,
  4956.     /* [in] */ DWORD dwFlags);
  4957.  
  4958.  
  4959. void __RPC_STUB IInternetSecurityManager_GetZoneMappings_Stub(
  4960.     IRpcStubBuffer *This,
  4961.     IRpcChannelBuffer *_pRpcChannelBuffer,
  4962.     PRPC_MESSAGE _pRpcMessage,
  4963.     DWORD *_pdwStubPhase);
  4964.  
  4965.  
  4966.  
  4967. #endif     /* __IInternetSecurityManager_INTERFACE_DEFINED__ */
  4968.  
  4969.  
  4970. /****************************************
  4971.  * Generated header for interface: __MIDL_itf_urlmon_0133
  4972.  * at Mon Nov 17 12:03:13 1997
  4973.  * using MIDL 3.02.88
  4974.  ****************************************/
  4975. /* [local] */ 
  4976.  
  4977.  
  4978. #endif
  4979. #ifndef _LPINTERNETHOSTSECURITYMANANGER_DEFINED
  4980. #define _LPINTERNETHOSTSECURITYMANANGER_DEFINED
  4981. //This is the interface MSHTML exposes to its clients
  4982. //The clients need not pass in a URL to these functions
  4983. //since MSHTML maintains the notion of the current URL
  4984.  
  4985.  
  4986. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0133_v0_0_c_ifspec;
  4987. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0133_v0_0_s_ifspec;
  4988.  
  4989. #ifndef __IInternetHostSecurityManager_INTERFACE_DEFINED__
  4990. #define __IInternetHostSecurityManager_INTERFACE_DEFINED__
  4991.  
  4992. /****************************************
  4993.  * Generated header for interface: IInternetHostSecurityManager
  4994.  * at Mon Nov 17 12:03:13 1997
  4995.  * using MIDL 3.02.88
  4996.  ****************************************/
  4997. /* [unique][helpstring][uuid][object][local] */ 
  4998.  
  4999.  
  5000.  
  5001. EXTERN_C const IID IID_IInternetHostSecurityManager;
  5002.  
  5003. #if defined(__cplusplus) && !defined(CINTERFACE)
  5004.     
  5005.     interface DECLSPEC_UUID("3af280b6-cb3f-11d0-891e-00c04fb6bfc4")
  5006.     IInternetHostSecurityManager : public IUnknown
  5007.     {
  5008.     public:
  5009.         virtual HRESULT STDMETHODCALLTYPE GetSecurityId( 
  5010.             /* [size_is][out] */ BYTE __RPC_FAR *pbSecurityId,
  5011.             /* [out][in] */ DWORD __RPC_FAR *pcbSecurityId,
  5012.             /* [in] */ DWORD dwReserved) = 0;
  5013.         
  5014.         virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction( 
  5015.             /* [in] */ DWORD dwAction,
  5016.             /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  5017.             /* [in] */ DWORD cbPolicy,
  5018.             /* [in] */ BYTE __RPC_FAR *pContext,
  5019.             /* [in] */ DWORD cbContext,
  5020.             /* [in] */ DWORD dwFlags,
  5021.             /* [in] */ DWORD dwReserved) = 0;
  5022.         
  5023.         virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy( 
  5024.             /* [in] */ REFGUID guidKey,
  5025.             /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  5026.             /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  5027.             /* [in] */ BYTE __RPC_FAR *pContext,
  5028.             /* [in] */ DWORD cbContext,
  5029.             /* [in] */ DWORD dwReserved) = 0;
  5030.         
  5031.     };
  5032.     
  5033. #else     /* C style interface */
  5034.  
  5035.     typedef struct IInternetHostSecurityManagerVtbl
  5036.     {
  5037.         BEGIN_INTERFACE
  5038.         
  5039.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  5040.             IInternetHostSecurityManager __RPC_FAR * This,
  5041.             /* [in] */ REFIID riid,
  5042.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5043.         
  5044.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  5045.             IInternetHostSecurityManager __RPC_FAR * This);
  5046.         
  5047.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  5048.             IInternetHostSecurityManager __RPC_FAR * This);
  5049.         
  5050.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSecurityId )( 
  5051.             IInternetHostSecurityManager __RPC_FAR * This,
  5052.             /* [size_is][out] */ BYTE __RPC_FAR *pbSecurityId,
  5053.             /* [out][in] */ DWORD __RPC_FAR *pcbSecurityId,
  5054.             /* [in] */ DWORD dwReserved);
  5055.         
  5056.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ProcessUrlAction )( 
  5057.             IInternetHostSecurityManager __RPC_FAR * This,
  5058.             /* [in] */ DWORD dwAction,
  5059.             /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  5060.             /* [in] */ DWORD cbPolicy,
  5061.             /* [in] */ BYTE __RPC_FAR *pContext,
  5062.             /* [in] */ DWORD cbContext,
  5063.             /* [in] */ DWORD dwFlags,
  5064.             /* [in] */ DWORD dwReserved);
  5065.         
  5066.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryCustomPolicy )( 
  5067.             IInternetHostSecurityManager __RPC_FAR * This,
  5068.             /* [in] */ REFGUID guidKey,
  5069.             /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  5070.             /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  5071.             /* [in] */ BYTE __RPC_FAR *pContext,
  5072.             /* [in] */ DWORD cbContext,
  5073.             /* [in] */ DWORD dwReserved);
  5074.         
  5075.         END_INTERFACE
  5076.     } IInternetHostSecurityManagerVtbl;
  5077.  
  5078.     interface IInternetHostSecurityManager
  5079.     {
  5080.         CONST_VTBL struct IInternetHostSecurityManagerVtbl __RPC_FAR *lpVtbl;
  5081.     };
  5082.  
  5083.     
  5084.  
  5085. #ifdef COBJMACROS
  5086.  
  5087.  
  5088. #define IInternetHostSecurityManager_QueryInterface(This,riid,ppvObject)    \
  5089.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5090.  
  5091. #define IInternetHostSecurityManager_AddRef(This)    \
  5092.     (This)->lpVtbl -> AddRef(This)
  5093.  
  5094. #define IInternetHostSecurityManager_Release(This)    \
  5095.     (This)->lpVtbl -> Release(This)
  5096.  
  5097.  
  5098. #define IInternetHostSecurityManager_GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved)    \
  5099.     (This)->lpVtbl -> GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved)
  5100.  
  5101. #define IInternetHostSecurityManager_ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)    \
  5102.     (This)->lpVtbl -> ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
  5103.  
  5104. #define IInternetHostSecurityManager_QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)    \
  5105.     (This)->lpVtbl -> QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
  5106.  
  5107. #endif /* COBJMACROS */
  5108.  
  5109.  
  5110. #endif     /* C style interface */
  5111.  
  5112.  
  5113.  
  5114. HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_GetSecurityId_Proxy( 
  5115.     IInternetHostSecurityManager __RPC_FAR * This,
  5116.     /* [size_is][out] */ BYTE __RPC_FAR *pbSecurityId,
  5117.     /* [out][in] */ DWORD __RPC_FAR *pcbSecurityId,
  5118.     /* [in] */ DWORD dwReserved);
  5119.  
  5120.  
  5121. void __RPC_STUB IInternetHostSecurityManager_GetSecurityId_Stub(
  5122.     IRpcStubBuffer *This,
  5123.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5124.     PRPC_MESSAGE _pRpcMessage,
  5125.     DWORD *_pdwStubPhase);
  5126.  
  5127.  
  5128. HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_ProcessUrlAction_Proxy( 
  5129.     IInternetHostSecurityManager __RPC_FAR * This,
  5130.     /* [in] */ DWORD dwAction,
  5131.     /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  5132.     /* [in] */ DWORD cbPolicy,
  5133.     /* [in] */ BYTE __RPC_FAR *pContext,
  5134.     /* [in] */ DWORD cbContext,
  5135.     /* [in] */ DWORD dwFlags,
  5136.     /* [in] */ DWORD dwReserved);
  5137.  
  5138.  
  5139. void __RPC_STUB IInternetHostSecurityManager_ProcessUrlAction_Stub(
  5140.     IRpcStubBuffer *This,
  5141.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5142.     PRPC_MESSAGE _pRpcMessage,
  5143.     DWORD *_pdwStubPhase);
  5144.  
  5145.  
  5146. HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_QueryCustomPolicy_Proxy( 
  5147.     IInternetHostSecurityManager __RPC_FAR * This,
  5148.     /* [in] */ REFGUID guidKey,
  5149.     /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  5150.     /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  5151.     /* [in] */ BYTE __RPC_FAR *pContext,
  5152.     /* [in] */ DWORD cbContext,
  5153.     /* [in] */ DWORD dwReserved);
  5154.  
  5155.  
  5156. void __RPC_STUB IInternetHostSecurityManager_QueryCustomPolicy_Stub(
  5157.     IRpcStubBuffer *This,
  5158.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5159.     PRPC_MESSAGE _pRpcMessage,
  5160.     DWORD *_pdwStubPhase);
  5161.  
  5162.  
  5163.  
  5164. #endif     /* __IInternetHostSecurityManager_INTERFACE_DEFINED__ */
  5165.  
  5166.  
  5167. /****************************************
  5168.  * Generated header for interface: __MIDL_itf_urlmon_0134
  5169.  * at Mon Nov 17 12:03:13 1997
  5170.  * using MIDL 3.02.88
  5171.  ****************************************/
  5172. /* [local] */ 
  5173.  
  5174.  
  5175. #endif
  5176.  
  5177. // The zone manager maintains policies for a set of standard actions. 
  5178. // These actions are identified by integral values (called action indexes)
  5179. // specified below.
  5180.  
  5181. // Minimum legal value for an action    
  5182. #define URLACTION_MIN                                          0x00001000
  5183.  
  5184. #define URLACTION_DOWNLOAD_MIN                                 0x00001000
  5185. #define URLACTION_DOWNLOAD_SIGNED_ACTIVEX                      0x00001001
  5186. #define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX                    0x00001004
  5187. #define URLACTION_DOWNLOAD_CURR_MAX                            0x00001004
  5188. #define URLACTION_DOWNLOAD_MAX                                 0x000011FF
  5189.  
  5190. #define URLACTION_ACTIVEX_MIN                                  0x00001200
  5191. #define URLACTION_ACTIVEX_RUN                                  0x00001200
  5192. #define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY               0x00001201 // aggregate next four
  5193. #define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY                 0x00001202 //
  5194. #define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY               0x00001203 //
  5195. #define URLACTION_SCRIPT_OVERRIDE_SAFETY                       0x00001401 //
  5196. #define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY               0x00001204 //
  5197. #define URLACTION_ACTIVEX_TREATASUNTRUSTED                     0x00001205
  5198. #define URLACTION_ACTIVEX_CURR_MAX                             0x00001205
  5199. #define URLACTION_ACTIVEX_MAX                                  0x000013ff
  5200.  
  5201. #define URLACTION_SCRIPT_MIN                                   0x00001400
  5202. #define URLACTION_SCRIPT_RUN                                   0x00001400
  5203. #define URLACTION_SCRIPT_JAVA_USE                              0x00001402
  5204. #define URLACTION_SCRIPT_SAFE_ACTIVEX                          0x00001405
  5205. #define URLACTION_SCRIPT_CURR_MAX                              0x00001405
  5206. #define URLACTION_SCRIPT_MAX                                   0x000015ff
  5207.  
  5208. #define URLACTION_HTML_MIN                                     0x00001600
  5209. #define URLACTION_HTML_SUBMIT_FORMS                            0x00001601 // aggregate next two
  5210. #define URLACTION_HTML_SUBMIT_FORMS_FROM                       0x00001602 //
  5211. #define URLACTION_HTML_SUBMIT_FORMS_TO                         0x00001603 //
  5212. #define URLACTION_HTML_FONT_DOWNLOAD                           0x00001604
  5213. #define URLACTION_HTML_JAVA_RUN                                0x00001605 // derive from Java custom policy
  5214. #define URLACTION_HTML_CURR_MAX                                0x00001605
  5215. #define URLACTION_HTML_MAX                                     0x000017ff
  5216.  
  5217. #define URLACTION_SHELL_MIN                                    0x00001800
  5218. #define URLACTION_SHELL_INSTALL_DTITEMS                        0x00001800
  5219. #define URLACTION_SHELL_MOVE_OR_COPY                           0x00001802
  5220. #define URLACTION_SHELL_FILE_DOWNLOAD                          0x00001803
  5221. #define URLACTION_SHELL_VERB                                   0x00001804
  5222. #define URLACTION_SHELL_WEBVIEW_VERB                           0x00001805
  5223. #define URLACTION_SHELL_CURR_MAX                               0x00001805
  5224. #define URLACTION_SHELL_MAX                                    0x000019ff
  5225.  
  5226. #define URLACTION_NETWORK_MIN                                  0x00001A00
  5227.  
  5228. #define URLACTION_CREDENTIALS_USE                              0x00001A00
  5229. #define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK        0x00000000
  5230. #define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER       0x00010000
  5231. #define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT     0x00020000
  5232. #define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY         0x00030000
  5233.  
  5234. #define URLACTION_AUTHENTICATE_CLIENT                          0x00001A01
  5235. #define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK          0x00000000
  5236. #define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE    0x00010000
  5237. #define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY           0x00030000
  5238.  
  5239.  
  5240. #define URLACTION_NETWORK_CURR_MAX                             0x00001A01
  5241. #define URLACTION_NETWORK_MAX                                  0x00001Bff
  5242.  
  5243.  
  5244. #define URLACTION_JAVA_MIN                                     0x00001C00
  5245. #define URLACTION_JAVA_PERMISSIONS                             0x00001C00
  5246. #define URLPOLICY_JAVA_PROHIBIT                      0x00000000
  5247. #define URLPOLICY_JAVA_HIGH                          0x00010000
  5248. #define URLPOLICY_JAVA_MEDIUM                        0x00020000
  5249. #define URLPOLICY_JAVA_LOW                           0x00030000
  5250. #define URLPOLICY_JAVA_CUSTOM                        0x00800000
  5251. #define URLACTION_JAVA_CURR_MAX                                0x00001C00
  5252. #define URLACTION_JAVA_MAX                                     0x00001Cff
  5253.  
  5254.  
  5255. // The following Infodelivery actions should have no default policies
  5256. // in the registry.  They assume that no default policy means fall
  5257. // back to the global restriction.  If an admin sets a policy per
  5258. // zone, then it overrides the global restriction.
  5259.  
  5260. #define URLACTION_INFODELIVERY_MIN                           0x00001D00
  5261. #define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS            0x00001D00
  5262. #define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS           0x00001D01
  5263. #define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS          0x00001D02
  5264. #define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS       0x00001D03
  5265. #define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS      0x00001D04
  5266. #define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS     0x00001D05
  5267. #define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING            0x00001D06
  5268. #define URLACTION_INFODELIVERY_CURR_MAX                      0x00001D06
  5269. #define URLACTION_INFODELIVERY_MAX                           0x00001Dff
  5270. #define URLACTION_CHANNEL_SOFTDIST_MIN                       0x00001E00
  5271. #define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS               0x00001E05
  5272. #define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT          0x00010000
  5273. #define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE          0x00020000
  5274. #define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL       0x00030000
  5275. #define URLACTION_CHANNEL_SOFTDIST_MAX                       0x00001Eff
  5276.  
  5277. // For each action specified above the system maintains
  5278. // a set of policies for the action. 
  5279. // The only policies supported currently are permissions (i.e. is something allowed)
  5280. // and logging status. 
  5281. // IMPORTANT: If you are defining your own policies don't overload the meaning of the
  5282. // loword of the policy. You can use the hiword to store any policy bits which are only
  5283. // meaningful to your action.
  5284. // For an example of how to do this look at the URLPOLICY_JAVA above
  5285.  
  5286. // Permissions 
  5287. #define URLPOLICY_ALLOW                0x00
  5288. #define URLPOLICY_QUERY                0x01
  5289. #define URLPOLICY_DISALLOW             0x03
  5290.  
  5291. // Notifications are not done when user already queried.
  5292. #define URLPOLICY_NOTIFY_ON_ALLOW      0x10
  5293. #define URLPOLICY_NOTIFY_ON_DISALLOW   0x20
  5294.  
  5295. // Logging is done regardless of whether user was queried.
  5296. #define URLPOLICY_LOG_ON_ALLOW         0x40
  5297. #define URLPOLICY_LOG_ON_DISALLOW      0x80
  5298.  
  5299. #define URLPOLICY_MASK_PERMISSIONS     0x0f
  5300. #define GetUrlPolicyPermissions(dw)        (dw & URLPOLICY_MASK_PERMISSIONS)
  5301. #define SetUrlPolicyPermissions(dw,dw2)    ((dw) = ((dw) & ~(URLPOLICY_MASK_PERMISSIONS)) | (dw2))
  5302.  
  5303.  
  5304. // The ordinal #'s that define the predefined zones internet explorer knows about. 
  5305. // When we support user-defined zones their zone numbers should be between 
  5306. // URLZONE_USER_MIN and URLZONE_USER_MAX
  5307. #ifndef _LPINTERNETZONEMANAGER_DEFINED
  5308. #define _LPINTERNETZONEMANAGER_DEFINED
  5309.  
  5310.  
  5311. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0134_v0_0_c_ifspec;
  5312. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0134_v0_0_s_ifspec;
  5313.  
  5314. #ifndef __IInternetZoneManager_INTERFACE_DEFINED__
  5315. #define __IInternetZoneManager_INTERFACE_DEFINED__
  5316.  
  5317. /****************************************
  5318.  * Generated header for interface: IInternetZoneManager
  5319.  * at Mon Nov 17 12:03:13 1997
  5320.  * using MIDL 3.02.88
  5321.  ****************************************/
  5322. /* [unique][helpstring][uuid][object][local] */ 
  5323.  
  5324.  
  5325. typedef /* [unique] */ IInternetZoneManager __RPC_FAR *LPURLZONEMANAGER;
  5326.  
  5327. typedef 
  5328. enum tagURLZONE
  5329.     {    URLZONE_PREDEFINED_MIN    = 0,
  5330.     URLZONE_LOCAL_MACHINE    = 0,
  5331.     URLZONE_INTRANET    = URLZONE_LOCAL_MACHINE + 1,
  5332.     URLZONE_TRUSTED    = URLZONE_INTRANET + 1,
  5333.     URLZONE_INTERNET    = URLZONE_TRUSTED + 1,
  5334.     URLZONE_UNTRUSTED    = URLZONE_INTERNET + 1,
  5335.     URLZONE_PREDEFINED_MAX    = 999,
  5336.     URLZONE_USER_MIN    = 1000,
  5337.     URLZONE_USER_MAX    = 10000
  5338.     }    URLZONE;
  5339.  
  5340. typedef 
  5341. enum tagURLTEMPLATE
  5342.     {    URLTEMPLATE_CUSTOM    = 0,
  5343.     URLTEMPLATE_PREDEFINED_MIN    = 0x10000,
  5344.     URLTEMPLATE_LOW    = 0x10000,
  5345.     URLTEMPLATE_MEDIUM    = 0x11000,
  5346.     URLTEMPLATE_HIGH    = 0x12000,
  5347.     URLTEMPLATE_PREDEFINED_MAX    = 0x20000
  5348.     }    URLTEMPLATE;
  5349.  
  5350.  
  5351. enum __MIDL_IInternetZoneManager_0001
  5352.     {    MAX_ZONE_PATH    = 260,
  5353.     MAX_ZONE_DESCRIPTION    = 200
  5354.     };
  5355. typedef /* [public] */ 
  5356. enum __MIDL_IInternetZoneManager_0002
  5357.     {    ZAFLAGS_CUSTOM_EDIT    = 0x1,
  5358.     ZAFLAGS_ADD_SITES    = 0x2,
  5359.     ZAFLAGS_REQUIRE_VERIFICATION    = 0x4,
  5360.     ZAFLAGS_INCLUDE_PROXY_OVERRIDE    = 0x8,
  5361.     ZAFLAGS_INCLUDE_INTRANET_SITES    = 0x10,
  5362.     ZAFLAGS_NO_UI    = 0x20,
  5363.     ZAFLAGS_SUPPORTS_VERIFICATION    = 0x40,
  5364.     ZAFLAGS_UNC_AS_INTRANET    = 0x80
  5365.     }    ZAFLAGS;
  5366.  
  5367. typedef struct  _ZONEATTRIBUTES
  5368.     {
  5369.     ULONG cbSize;
  5370.     WCHAR szDisplayName[ 260 ];
  5371.     WCHAR szDescription[ 200 ];
  5372.     WCHAR szIconPath[ 260 ];
  5373.     DWORD dwTemplateMinLevel;
  5374.     DWORD dwTemplateRecommended;
  5375.     DWORD dwTemplateCurrentLevel;
  5376.     DWORD dwFlags;
  5377.     }    ZONEATTRIBUTES;
  5378.  
  5379. typedef struct _ZONEATTRIBUTES __RPC_FAR *LPZONEATTRIBUTES;
  5380.  
  5381. // Gets the zone attributes (information in registry other than actual security
  5382. // policies associated with the zone).  Zone attributes are fixed as:
  5383. // Sets the zone attributes (information in registry other than actual security
  5384. // policies associated with the zone).  Zone attributes as above.
  5385. // Returns S_OK or ??? if failed to write the zone attributes.
  5386. /* Registry Flags
  5387.  
  5388.     When reading, default behavior is:
  5389.         If HKLM allows override and HKCU value exists
  5390.             Then use HKCU value
  5391.             Else use HKLM value
  5392.     When writing, default behavior is same as HKCU
  5393.         If HKLM allows override
  5394.            Then Write to HKCU
  5395.            Else Fail
  5396. */
  5397. typedef 
  5398. enum _URLZONEREG
  5399.     {    URLZONEREG_DEFAULT    = 0,
  5400.     URLZONEREG_HKLM    = URLZONEREG_DEFAULT + 1,
  5401.     URLZONEREG_HKCU    = URLZONEREG_HKLM + 1
  5402.     }    URLZONEREG;
  5403.  
  5404. // Gets a named custom policy associated with a zone;
  5405. // e.g. the Java VM settings can be defined with a unique key such as 'Java'.
  5406. // Custom policy support is intended to allow extensibility from the predefined
  5407. // set of policies that IE4 has built in.
  5408. // 
  5409. // pwszKey is the string name designating the custom policy.  Components are
  5410. //   responsible for having unique names.
  5411. // ppPolicy is the callee allocated buffer for the policy byte blob; caller is
  5412. //   responsible for freeing this buffer eventually.
  5413. // pcbPolicy is the size of the byte blob returned.
  5414. // dwRegFlags determines how registry is accessed (see above).
  5415. // Returns S_OK if key is found and buffer allocated; ??? if key is not found (no buffer alloced).
  5416. // Sets a named custom policy associated with a zone;
  5417. // e.g. the Java VM settings can be defined with a unique key such as 'Java'.
  5418. // Custom policy support is intended to allow extensibility from the predefined
  5419. // set of policies that IE4 has built in.  
  5420. // 
  5421. // pwszKey is the string name designating the custom policy.  Components are
  5422. //   responsible for having unique names.
  5423. // ppPolicy is the caller allocated buffer for the policy byte blob.
  5424. // pcbPolicy is the size of the byte blob to be set.
  5425. // dwRegFlags determines if HTCU or HKLM is set.
  5426. // Returns S_OK or ??? if failed to write the zone custom policy.
  5427. // Gets action policy associated with a zone, the builtin, fixed-length policies info.
  5428.  
  5429. // dwAction is the action code for the action as defined above.
  5430. // pPolicy is the caller allocated buffer for the policy data.
  5431. // cbPolicy is the size of the caller allocated buffer.
  5432. // dwRegFlags determines how registry is accessed (see above).
  5433. // Returns S_OK if action is valid; ??? if action is not valid.
  5434.  
  5435. EXTERN_C const IID IID_IInternetZoneManager;
  5436.  
  5437. #if defined(__cplusplus) && !defined(CINTERFACE)
  5438.     
  5439.     interface DECLSPEC_UUID("79eac9ef-baf9-11ce-8c82-00aa004ba90b")
  5440.     IInternetZoneManager : public IUnknown
  5441.     {
  5442.     public:
  5443.         virtual HRESULT STDMETHODCALLTYPE GetZoneAttributes( 
  5444.             /* [in] */ DWORD dwZone,
  5445.             /* [unique][out][in] */ ZONEATTRIBUTES __RPC_FAR *pZoneAttributes) = 0;
  5446.         
  5447.         virtual HRESULT STDMETHODCALLTYPE SetZoneAttributes( 
  5448.             /* [in] */ DWORD dwZone,
  5449.             /* [in] */ ZONEATTRIBUTES __RPC_FAR *pZoneAttributes) = 0;
  5450.         
  5451.         virtual HRESULT STDMETHODCALLTYPE GetZoneCustomPolicy( 
  5452.             /* [in] */ DWORD dwZone,
  5453.             /* [in] */ REFGUID guidKey,
  5454.             /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  5455.             /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  5456.             /* [in] */ URLZONEREG urlZoneReg) = 0;
  5457.         
  5458.         virtual HRESULT STDMETHODCALLTYPE SetZoneCustomPolicy( 
  5459.             /* [in] */ DWORD dwZone,
  5460.             /* [in] */ REFGUID guidKey,
  5461.             /* [size_is][in] */ BYTE __RPC_FAR *pPolicy,
  5462.             /* [in] */ DWORD cbPolicy,
  5463.             /* [in] */ URLZONEREG urlZoneReg) = 0;
  5464.         
  5465.         virtual HRESULT STDMETHODCALLTYPE GetZoneActionPolicy( 
  5466.             /* [in] */ DWORD dwZone,
  5467.             /* [in] */ DWORD dwAction,
  5468.             /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  5469.             /* [in] */ DWORD cbPolicy,
  5470.             /* [in] */ URLZONEREG urlZoneReg) = 0;
  5471.         
  5472.         virtual HRESULT STDMETHODCALLTYPE SetZoneActionPolicy( 
  5473.             /* [in] */ DWORD dwZone,
  5474.             /* [in] */ DWORD dwAction,
  5475.             /* [size_is][in] */ BYTE __RPC_FAR *pPolicy,
  5476.             /* [in] */ DWORD cbPolicy,
  5477.             /* [in] */ URLZONEREG urlZoneReg) = 0;
  5478.         
  5479.         virtual HRESULT STDMETHODCALLTYPE PromptAction( 
  5480.             /* [in] */ DWORD dwAction,
  5481.             /* [in] */ HWND hwndParent,
  5482.             /* [in] */ LPCWSTR pwszUrl,
  5483.             /* [in] */ LPCWSTR pwszText,
  5484.             /* [in] */ DWORD dwPromptFlags) = 0;
  5485.         
  5486.         virtual HRESULT STDMETHODCALLTYPE LogAction( 
  5487.             /* [in] */ DWORD dwAction,
  5488.             /* [in] */ LPCWSTR pwszUrl,
  5489.             /* [in] */ LPCWSTR pwszText,
  5490.             /* [in] */ DWORD dwLogFlags) = 0;
  5491.         
  5492.         virtual HRESULT STDMETHODCALLTYPE CreateZoneEnumerator( 
  5493.             /* [out] */ DWORD __RPC_FAR *pdwEnum,
  5494.             /* [out] */ DWORD __RPC_FAR *pdwCount,
  5495.             /* [in] */ DWORD dwFlags) = 0;
  5496.         
  5497.         virtual HRESULT STDMETHODCALLTYPE GetZoneAt( 
  5498.             /* [in] */ DWORD dwEnum,
  5499.             /* [in] */ DWORD dwIndex,
  5500.             /* [out] */ DWORD __RPC_FAR *pdwZone) = 0;
  5501.         
  5502.         virtual HRESULT STDMETHODCALLTYPE DestroyZoneEnumerator( 
  5503.             /* [in] */ DWORD dwEnum) = 0;
  5504.         
  5505.         virtual HRESULT STDMETHODCALLTYPE CopyTemplatePoliciesToZone( 
  5506.             /* [in] */ DWORD dwTemplate,
  5507.             /* [in] */ DWORD dwZone,
  5508.             /* [in] */ DWORD dwReserved) = 0;
  5509.         
  5510.     };
  5511.     
  5512. #else     /* C style interface */
  5513.  
  5514.     typedef struct IInternetZoneManagerVtbl
  5515.     {
  5516.         BEGIN_INTERFACE
  5517.         
  5518.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  5519.             IInternetZoneManager __RPC_FAR * This,
  5520.             /* [in] */ REFIID riid,
  5521.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5522.         
  5523.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  5524.             IInternetZoneManager __RPC_FAR * This);
  5525.         
  5526.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  5527.             IInternetZoneManager __RPC_FAR * This);
  5528.         
  5529.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetZoneAttributes )( 
  5530.             IInternetZoneManager __RPC_FAR * This,
  5531.             /* [in] */ DWORD dwZone,
  5532.             /* [unique][out][in] */ ZONEATTRIBUTES __RPC_FAR *pZoneAttributes);
  5533.         
  5534.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetZoneAttributes )( 
  5535.             IInternetZoneManager __RPC_FAR * This,
  5536.             /* [in] */ DWORD dwZone,
  5537.             /* [in] */ ZONEATTRIBUTES __RPC_FAR *pZoneAttributes);
  5538.         
  5539.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetZoneCustomPolicy )( 
  5540.             IInternetZoneManager __RPC_FAR * This,
  5541.             /* [in] */ DWORD dwZone,
  5542.             /* [in] */ REFGUID guidKey,
  5543.             /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  5544.             /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  5545.             /* [in] */ URLZONEREG urlZoneReg);
  5546.         
  5547.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetZoneCustomPolicy )( 
  5548.             IInternetZoneManager __RPC_FAR * This,
  5549.             /* [in] */ DWORD dwZone,
  5550.             /* [in] */ REFGUID guidKey,
  5551.             /* [size_is][in] */ BYTE __RPC_FAR *pPolicy,
  5552.             /* [in] */ DWORD cbPolicy,
  5553.             /* [in] */ URLZONEREG urlZoneReg);
  5554.         
  5555.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetZoneActionPolicy )( 
  5556.             IInternetZoneManager __RPC_FAR * This,
  5557.             /* [in] */ DWORD dwZone,
  5558.             /* [in] */ DWORD dwAction,
  5559.             /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  5560.             /* [in] */ DWORD cbPolicy,
  5561.             /* [in] */ URLZONEREG urlZoneReg);
  5562.         
  5563.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetZoneActionPolicy )( 
  5564.             IInternetZoneManager __RPC_FAR * This,
  5565.             /* [in] */ DWORD dwZone,
  5566.             /* [in] */ DWORD dwAction,
  5567.             /* [size_is][in] */ BYTE __RPC_FAR *pPolicy,
  5568.             /* [in] */ DWORD cbPolicy,
  5569.             /* [in] */ URLZONEREG urlZoneReg);
  5570.         
  5571.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PromptAction )( 
  5572.             IInternetZoneManager __RPC_FAR * This,
  5573.             /* [in] */ DWORD dwAction,
  5574.             /* [in] */ HWND hwndParent,
  5575.             /* [in] */ LPCWSTR pwszUrl,
  5576.             /* [in] */ LPCWSTR pwszText,
  5577.             /* [in] */ DWORD dwPromptFlags);
  5578.         
  5579.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LogAction )( 
  5580.             IInternetZoneManager __RPC_FAR * This,
  5581.             /* [in] */ DWORD dwAction,
  5582.             /* [in] */ LPCWSTR pwszUrl,
  5583.             /* [in] */ LPCWSTR pwszText,
  5584.             /* [in] */ DWORD dwLogFlags);
  5585.         
  5586.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateZoneEnumerator )( 
  5587.             IInternetZoneManager __RPC_FAR * This,
  5588.             /* [out] */ DWORD __RPC_FAR *pdwEnum,
  5589.             /* [out] */ DWORD __RPC_FAR *pdwCount,
  5590.             /* [in] */ DWORD dwFlags);
  5591.         
  5592.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetZoneAt )( 
  5593.             IInternetZoneManager __RPC_FAR * This,
  5594.             /* [in] */ DWORD dwEnum,
  5595.             /* [in] */ DWORD dwIndex,
  5596.             /* [out] */ DWORD __RPC_FAR *pdwZone);
  5597.         
  5598.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DestroyZoneEnumerator )( 
  5599.             IInternetZoneManager __RPC_FAR * This,
  5600.             /* [in] */ DWORD dwEnum);
  5601.         
  5602.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CopyTemplatePoliciesToZone )( 
  5603.             IInternetZoneManager __RPC_FAR * This,
  5604.             /* [in] */ DWORD dwTemplate,
  5605.             /* [in] */ DWORD dwZone,
  5606.             /* [in] */ DWORD dwReserved);
  5607.         
  5608.         END_INTERFACE
  5609.     } IInternetZoneManagerVtbl;
  5610.  
  5611.     interface IInternetZoneManager
  5612.     {
  5613.         CONST_VTBL struct IInternetZoneManagerVtbl __RPC_FAR *lpVtbl;
  5614.     };
  5615.  
  5616.     
  5617.  
  5618. #ifdef COBJMACROS
  5619.  
  5620.  
  5621. #define IInternetZoneManager_QueryInterface(This,riid,ppvObject)    \
  5622.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5623.  
  5624. #define IInternetZoneManager_AddRef(This)    \
  5625.     (This)->lpVtbl -> AddRef(This)
  5626.  
  5627. #define IInternetZoneManager_Release(This)    \
  5628.     (This)->lpVtbl -> Release(This)
  5629.  
  5630.  
  5631. #define IInternetZoneManager_GetZoneAttributes(This,dwZone,pZoneAttributes)    \
  5632.     (This)->lpVtbl -> GetZoneAttributes(This,dwZone,pZoneAttributes)
  5633.  
  5634. #define IInternetZoneManager_SetZoneAttributes(This,dwZone,pZoneAttributes)    \
  5635.     (This)->lpVtbl -> SetZoneAttributes(This,dwZone,pZoneAttributes)
  5636.  
  5637. #define IInternetZoneManager_GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,urlZoneReg)    \
  5638.     (This)->lpVtbl -> GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,urlZoneReg)
  5639.  
  5640. #define IInternetZoneManager_SetZoneCustomPolicy(This,dwZone,guidKey,pPolicy,cbPolicy,urlZoneReg)    \
  5641.     (This)->lpVtbl -> SetZoneCustomPolicy(This,dwZone,guidKey,pPolicy,cbPolicy,urlZoneReg)
  5642.  
  5643. #define IInternetZoneManager_GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)    \
  5644.     (This)->lpVtbl -> GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
  5645.  
  5646. #define IInternetZoneManager_SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)    \
  5647.     (This)->lpVtbl -> SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
  5648.  
  5649. #define IInternetZoneManager_PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags)    \
  5650.     (This)->lpVtbl -> PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags)
  5651.  
  5652. #define IInternetZoneManager_LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags)    \
  5653.     (This)->lpVtbl -> LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags)
  5654.  
  5655. #define IInternetZoneManager_CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags)    \
  5656.     (This)->lpVtbl -> CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags)
  5657.  
  5658. #define IInternetZoneManager_GetZoneAt(This,dwEnum,dwIndex,pdwZone)    \
  5659.     (This)->lpVtbl -> GetZoneAt(This,dwEnum,dwIndex,pdwZone)
  5660.  
  5661. #define IInternetZoneManager_DestroyZoneEnumerator(This,dwEnum)    \
  5662.     (This)->lpVtbl -> DestroyZoneEnumerator(This,dwEnum)
  5663.  
  5664. #define IInternetZoneManager_CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved)    \
  5665.     (This)->lpVtbl -> CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved)
  5666.  
  5667. #endif /* COBJMACROS */
  5668.  
  5669.  
  5670. #endif     /* C style interface */
  5671.  
  5672.  
  5673.  
  5674. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAttributes_Proxy( 
  5675.     IInternetZoneManager __RPC_FAR * This,
  5676.     /* [in] */ DWORD dwZone,
  5677.     /* [unique][out][in] */ ZONEATTRIBUTES __RPC_FAR *pZoneAttributes);
  5678.  
  5679.  
  5680. void __RPC_STUB IInternetZoneManager_GetZoneAttributes_Stub(
  5681.     IRpcStubBuffer *This,
  5682.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5683.     PRPC_MESSAGE _pRpcMessage,
  5684.     DWORD *_pdwStubPhase);
  5685.  
  5686.  
  5687. HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneAttributes_Proxy( 
  5688.     IInternetZoneManager __RPC_FAR * This,
  5689.     /* [in] */ DWORD dwZone,
  5690.     /* [in] */ ZONEATTRIBUTES __RPC_FAR *pZoneAttributes);
  5691.  
  5692.  
  5693. void __RPC_STUB IInternetZoneManager_SetZoneAttributes_Stub(
  5694.     IRpcStubBuffer *This,
  5695.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5696.     PRPC_MESSAGE _pRpcMessage,
  5697.     DWORD *_pdwStubPhase);
  5698.  
  5699.  
  5700. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneCustomPolicy_Proxy( 
  5701.     IInternetZoneManager __RPC_FAR * This,
  5702.     /* [in] */ DWORD dwZone,
  5703.     /* [in] */ REFGUID guidKey,
  5704.     /* [size_is][size_is][out] */ BYTE __RPC_FAR *__RPC_FAR *ppPolicy,
  5705.     /* [out] */ DWORD __RPC_FAR *pcbPolicy,
  5706.     /* [in] */ URLZONEREG urlZoneReg);
  5707.  
  5708.  
  5709. void __RPC_STUB IInternetZoneManager_GetZoneCustomPolicy_Stub(
  5710.     IRpcStubBuffer *This,
  5711.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5712.     PRPC_MESSAGE _pRpcMessage,
  5713.     DWORD *_pdwStubPhase);
  5714.  
  5715.  
  5716. HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneCustomPolicy_Proxy( 
  5717.     IInternetZoneManager __RPC_FAR * This,
  5718.     /* [in] */ DWORD dwZone,
  5719.     /* [in] */ REFGUID guidKey,
  5720.     /* [size_is][in] */ BYTE __RPC_FAR *pPolicy,
  5721.     /* [in] */ DWORD cbPolicy,
  5722.     /* [in] */ URLZONEREG urlZoneReg);
  5723.  
  5724.  
  5725. void __RPC_STUB IInternetZoneManager_SetZoneCustomPolicy_Stub(
  5726.     IRpcStubBuffer *This,
  5727.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5728.     PRPC_MESSAGE _pRpcMessage,
  5729.     DWORD *_pdwStubPhase);
  5730.  
  5731.  
  5732. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneActionPolicy_Proxy( 
  5733.     IInternetZoneManager __RPC_FAR * This,
  5734.     /* [in] */ DWORD dwZone,
  5735.     /* [in] */ DWORD dwAction,
  5736.     /* [size_is][out] */ BYTE __RPC_FAR *pPolicy,
  5737.     /* [in] */ DWORD cbPolicy,
  5738.     /* [in] */ URLZONEREG urlZoneReg);
  5739.  
  5740.  
  5741. void __RPC_STUB IInternetZoneManager_GetZoneActionPolicy_Stub(
  5742.     IRpcStubBuffer *This,
  5743.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5744.     PRPC_MESSAGE _pRpcMessage,
  5745.     DWORD *_pdwStubPhase);
  5746.  
  5747.  
  5748. HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneActionPolicy_Proxy( 
  5749.     IInternetZoneManager __RPC_FAR * This,
  5750.     /* [in] */ DWORD dwZone,
  5751.     /* [in] */ DWORD dwAction,
  5752.     /* [size_is][in] */ BYTE __RPC_FAR *pPolicy,
  5753.     /* [in] */ DWORD cbPolicy,
  5754.     /* [in] */ URLZONEREG urlZoneReg);
  5755.  
  5756.  
  5757. void __RPC_STUB IInternetZoneManager_SetZoneActionPolicy_Stub(
  5758.     IRpcStubBuffer *This,
  5759.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5760.     PRPC_MESSAGE _pRpcMessage,
  5761.     DWORD *_pdwStubPhase);
  5762.  
  5763.  
  5764. HRESULT STDMETHODCALLTYPE IInternetZoneManager_PromptAction_Proxy( 
  5765.     IInternetZoneManager __RPC_FAR * This,
  5766.     /* [in] */ DWORD dwAction,
  5767.     /* [in] */ HWND hwndParent,
  5768.     /* [in] */ LPCWSTR pwszUrl,
  5769.     /* [in] */ LPCWSTR pwszText,
  5770.     /* [in] */ DWORD dwPromptFlags);
  5771.  
  5772.  
  5773. void __RPC_STUB IInternetZoneManager_PromptAction_Stub(
  5774.     IRpcStubBuffer *This,
  5775.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5776.     PRPC_MESSAGE _pRpcMessage,
  5777.     DWORD *_pdwStubPhase);
  5778.  
  5779.  
  5780. HRESULT STDMETHODCALLTYPE IInternetZoneManager_LogAction_Proxy( 
  5781.     IInternetZoneManager __RPC_FAR * This,
  5782.     /* [in] */ DWORD dwAction,
  5783.     /* [in] */ LPCWSTR pwszUrl,
  5784.     /* [in] */ LPCWSTR pwszText,
  5785.     /* [in] */ DWORD dwLogFlags);
  5786.  
  5787.  
  5788. void __RPC_STUB IInternetZoneManager_LogAction_Stub(
  5789.     IRpcStubBuffer *This,
  5790.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5791.     PRPC_MESSAGE _pRpcMessage,
  5792.     DWORD *_pdwStubPhase);
  5793.  
  5794.  
  5795. HRESULT STDMETHODCALLTYPE IInternetZoneManager_CreateZoneEnumerator_Proxy( 
  5796.     IInternetZoneManager __RPC_FAR * This,
  5797.     /* [out] */ DWORD __RPC_FAR *pdwEnum,
  5798.     /* [out] */ DWORD __RPC_FAR *pdwCount,
  5799.     /* [in] */ DWORD dwFlags);
  5800.  
  5801.  
  5802. void __RPC_STUB IInternetZoneManager_CreateZoneEnumerator_Stub(
  5803.     IRpcStubBuffer *This,
  5804.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5805.     PRPC_MESSAGE _pRpcMessage,
  5806.     DWORD *_pdwStubPhase);
  5807.  
  5808.  
  5809. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAt_Proxy( 
  5810.     IInternetZoneManager __RPC_FAR * This,
  5811.     /* [in] */ DWORD dwEnum,
  5812.     /* [in] */ DWORD dwIndex,
  5813.     /* [out] */ DWORD __RPC_FAR *pdwZone);
  5814.  
  5815.  
  5816. void __RPC_STUB IInternetZoneManager_GetZoneAt_Stub(
  5817.     IRpcStubBuffer *This,
  5818.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5819.     PRPC_MESSAGE _pRpcMessage,
  5820.     DWORD *_pdwStubPhase);
  5821.  
  5822.  
  5823. HRESULT STDMETHODCALLTYPE IInternetZoneManager_DestroyZoneEnumerator_Proxy( 
  5824.     IInternetZoneManager __RPC_FAR * This,
  5825.     /* [in] */ DWORD dwEnum);
  5826.  
  5827.  
  5828. void __RPC_STUB IInternetZoneManager_DestroyZoneEnumerator_Stub(
  5829.     IRpcStubBuffer *This,
  5830.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5831.     PRPC_MESSAGE _pRpcMessage,
  5832.     DWORD *_pdwStubPhase);
  5833.  
  5834.  
  5835. HRESULT STDMETHODCALLTYPE IInternetZoneManager_CopyTemplatePoliciesToZone_Proxy( 
  5836.     IInternetZoneManager __RPC_FAR * This,
  5837.     /* [in] */ DWORD dwTemplate,
  5838.     /* [in] */ DWORD dwZone,
  5839.     /* [in] */ DWORD dwReserved);
  5840.  
  5841.  
  5842. void __RPC_STUB IInternetZoneManager_CopyTemplatePoliciesToZone_Stub(
  5843.     IRpcStubBuffer *This,
  5844.     IRpcChannelBuffer *_pRpcChannelBuffer,
  5845.     PRPC_MESSAGE _pRpcMessage,
  5846.     DWORD *_pdwStubPhase);
  5847.  
  5848.  
  5849.  
  5850. #endif     /* __IInternetZoneManager_INTERFACE_DEFINED__ */
  5851.  
  5852.  
  5853. /****************************************
  5854.  * Generated header for interface: __MIDL_itf_urlmon_0135
  5855.  * at Mon Nov 17 12:03:13 1997
  5856.  * using MIDL 3.02.88
  5857.  ****************************************/
  5858. /* [local] */ 
  5859.  
  5860.  
  5861. #endif
  5862. EXTERN_C const IID CLSID_SoftDistExt;  
  5863. #ifndef _LPSOFTDISTEXT_DEFINED
  5864. #define _LPSOFTDISTEXT_DEFINED
  5865.  
  5866. #define SOFTDIST_FLAG_USAGE_EMAIL        0x00000001
  5867. #define SOFTDIST_FLAG_USAGE_PRECACHE     0x00000002
  5868. #define SOFTDIST_FLAG_USAGE_AUTOINSTALL  0x00000004
  5869. #define SOFTDIST_FLAG_DELETE_SUBSCRIPTION 0x00000008
  5870.  
  5871.  
  5872. #define SOFTDIST_ADSTATE_NONE            0x00000000
  5873. #define SOFTDIST_ADSTATE_AVAILABLE       0x00000001
  5874. #define SOFTDIST_ADSTATE_DOWNLOADED        0x00000002
  5875. #define SOFTDIST_ADSTATE_INSTALLED        0x00000003
  5876.  
  5877. typedef struct  _tagCODEBASEHOLD
  5878.     {
  5879.     ULONG cbSize;
  5880.     LPWSTR szDistUnit;
  5881.     LPWSTR szCodeBase;
  5882.     DWORD dwVersionMS;
  5883.     DWORD dwVersionLS;
  5884.     DWORD dwStyle;
  5885.     }    CODEBASEHOLD;
  5886.  
  5887. typedef struct _tagCODEBASEHOLD __RPC_FAR *LPCODEBASEHOLD;
  5888.  
  5889. typedef struct  _tagSOFTDISTINFO
  5890.     {
  5891.     ULONG cbSize;
  5892.     DWORD dwFlags;
  5893.     DWORD dwAdState;
  5894.     LPWSTR szTitle;
  5895.     LPWSTR szAbstract;
  5896.     LPWSTR szHREF;
  5897.     DWORD dwInstalledVersionMS;
  5898.     DWORD dwInstalledVersionLS;
  5899.     DWORD dwUpdateVersionMS;
  5900.     DWORD dwUpdateVersionLS;
  5901.     DWORD dwAdvertisedVersionMS;
  5902.     DWORD dwAdvertisedVersionLS;
  5903.     DWORD dwReserved;
  5904.     }    SOFTDISTINFO;
  5905.  
  5906. typedef struct _tagSOFTDISTINFO __RPC_FAR *LPSOFTDISTINFO;
  5907.  
  5908.  
  5909.  
  5910. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0135_v0_0_c_ifspec;
  5911. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0135_v0_0_s_ifspec;
  5912.  
  5913. #ifndef __ISoftDistExt_INTERFACE_DEFINED__
  5914. #define __ISoftDistExt_INTERFACE_DEFINED__
  5915.  
  5916. /****************************************
  5917.  * Generated header for interface: ISoftDistExt
  5918.  * at Mon Nov 17 12:03:13 1997
  5919.  * using MIDL 3.02.88
  5920.  ****************************************/
  5921. /* [unique][helpstring][uuid][object][local] */ 
  5922.  
  5923.  
  5924.  
  5925. EXTERN_C const IID IID_ISoftDistExt;
  5926.  
  5927. #if defined(__cplusplus) && !defined(CINTERFACE)
  5928.     
  5929.     interface DECLSPEC_UUID("B15B8DC1-C7E1-11d0-8680-00AA00BDCB71")
  5930.     ISoftDistExt : public IUnknown
  5931.     {
  5932.     public:
  5933.         virtual HRESULT STDMETHODCALLTYPE ProcessSoftDist( 
  5934.             /* [in] */ LPCWSTR szCDFURL,
  5935.             /* [in] */ IXMLElement __RPC_FAR *pSoftDistElement,
  5936.             /* [out][in] */ LPSOFTDISTINFO lpsdi) = 0;
  5937.         
  5938.         virtual HRESULT STDMETHODCALLTYPE GetFirstCodeBase( 
  5939.             /* [in] */ LPWSTR __RPC_FAR *szCodeBase,
  5940.             /* [in] */ LPDWORD dwMaxSize) = 0;
  5941.         
  5942.         virtual HRESULT STDMETHODCALLTYPE GetNextCodeBase( 
  5943.             /* [in] */ LPWSTR __RPC_FAR *szCodeBase,
  5944.             /* [in] */ LPDWORD dwMaxSize) = 0;
  5945.         
  5946.         virtual HRESULT STDMETHODCALLTYPE AsyncInstallDistributionUnit( 
  5947.             /* [in] */ IBindCtx __RPC_FAR *pbc,
  5948.             /* [in] */ LPVOID pvReserved,
  5949.             /* [in] */ DWORD flags,
  5950.             /* [in] */ LPCODEBASEHOLD lpcbh) = 0;
  5951.         
  5952.     };
  5953.     
  5954. #else     /* C style interface */
  5955.  
  5956.     typedef struct ISoftDistExtVtbl
  5957.     {
  5958.         BEGIN_INTERFACE
  5959.         
  5960.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  5961.             ISoftDistExt __RPC_FAR * This,
  5962.             /* [in] */ REFIID riid,
  5963.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5964.         
  5965.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  5966.             ISoftDistExt __RPC_FAR * This);
  5967.         
  5968.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  5969.             ISoftDistExt __RPC_FAR * This);
  5970.         
  5971.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ProcessSoftDist )( 
  5972.             ISoftDistExt __RPC_FAR * This,
  5973.             /* [in] */ LPCWSTR szCDFURL,
  5974.             /* [in] */ IXMLElement __RPC_FAR *pSoftDistElement,
  5975.             /* [out][in] */ LPSOFTDISTINFO lpsdi);
  5976.         
  5977.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFirstCodeBase )( 
  5978.             ISoftDistExt __RPC_FAR * This,
  5979.             /* [in] */ LPWSTR __RPC_FAR *szCodeBase,
  5980.             /* [in] */ LPDWORD dwMaxSize);
  5981.         
  5982.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNextCodeBase )( 
  5983.             ISoftDistExt __RPC_FAR * This,
  5984.             /* [in] */ LPWSTR __RPC_FAR *szCodeBase,
  5985.             /* [in] */ LPDWORD dwMaxSize);
  5986.         
  5987.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AsyncInstallDistributionUnit )( 
  5988.             ISoftDistExt __RPC_FAR * This,
  5989.             /* [in] */ IBindCtx __RPC_FAR *pbc,
  5990.             /* [in] */ LPVOID pvReserved,
  5991.             /* [in] */ DWORD flags,
  5992.             /* [in] */ LPCODEBASEHOLD lpcbh);
  5993.         
  5994.         END_INTERFACE
  5995.     } ISoftDistExtVtbl;
  5996.  
  5997.     interface ISoftDistExt
  5998.     {
  5999.         CONST_VTBL struct ISoftDistExtVtbl __RPC_FAR *lpVtbl;
  6000.     };
  6001.  
  6002.     
  6003.  
  6004. #ifdef COBJMACROS
  6005.  
  6006.  
  6007. #define ISoftDistExt_QueryInterface(This,riid,ppvObject)    \
  6008.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6009.  
  6010. #define ISoftDistExt_AddRef(This)    \
  6011.     (This)->lpVtbl -> AddRef(This)
  6012.  
  6013. #define ISoftDistExt_Release(This)    \
  6014.     (This)->lpVtbl -> Release(This)
  6015.  
  6016.  
  6017. #define ISoftDistExt_ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi)    \
  6018.     (This)->lpVtbl -> ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi)
  6019.  
  6020. #define ISoftDistExt_GetFirstCodeBase(This,szCodeBase,dwMaxSize)    \
  6021.     (This)->lpVtbl -> GetFirstCodeBase(This,szCodeBase,dwMaxSize)
  6022.  
  6023. #define ISoftDistExt_GetNextCodeBase(This,szCodeBase,dwMaxSize)    \
  6024.     (This)->lpVtbl -> GetNextCodeBase(This,szCodeBase,dwMaxSize)
  6025.  
  6026. #define ISoftDistExt_AsyncInstallDistributionUnit(This,pbc,pvReserved,flags,lpcbh)    \
  6027.     (This)->lpVtbl -> AsyncInstallDistributionUnit(This,pbc,pvReserved,flags,lpcbh)
  6028.  
  6029. #endif /* COBJMACROS */
  6030.  
  6031.  
  6032. #endif     /* C style interface */
  6033.  
  6034.  
  6035.  
  6036. HRESULT STDMETHODCALLTYPE ISoftDistExt_ProcessSoftDist_Proxy( 
  6037.     ISoftDistExt __RPC_FAR * This,
  6038.     /* [in] */ LPCWSTR szCDFURL,
  6039.     /* [in] */ IXMLElement __RPC_FAR *pSoftDistElement,
  6040.     /* [out][in] */ LPSOFTDISTINFO lpsdi);
  6041.  
  6042.  
  6043. void __RPC_STUB ISoftDistExt_ProcessSoftDist_Stub(
  6044.     IRpcStubBuffer *This,
  6045.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6046.     PRPC_MESSAGE _pRpcMessage,
  6047.     DWORD *_pdwStubPhase);
  6048.  
  6049.  
  6050. HRESULT STDMETHODCALLTYPE ISoftDistExt_GetFirstCodeBase_Proxy( 
  6051.     ISoftDistExt __RPC_FAR * This,
  6052.     /* [in] */ LPWSTR __RPC_FAR *szCodeBase,
  6053.     /* [in] */ LPDWORD dwMaxSize);
  6054.  
  6055.  
  6056. void __RPC_STUB ISoftDistExt_GetFirstCodeBase_Stub(
  6057.     IRpcStubBuffer *This,
  6058.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6059.     PRPC_MESSAGE _pRpcMessage,
  6060.     DWORD *_pdwStubPhase);
  6061.  
  6062.  
  6063. HRESULT STDMETHODCALLTYPE ISoftDistExt_GetNextCodeBase_Proxy( 
  6064.     ISoftDistExt __RPC_FAR * This,
  6065.     /* [in] */ LPWSTR __RPC_FAR *szCodeBase,
  6066.     /* [in] */ LPDWORD dwMaxSize);
  6067.  
  6068.  
  6069. void __RPC_STUB ISoftDistExt_GetNextCodeBase_Stub(
  6070.     IRpcStubBuffer *This,
  6071.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6072.     PRPC_MESSAGE _pRpcMessage,
  6073.     DWORD *_pdwStubPhase);
  6074.  
  6075.  
  6076. HRESULT STDMETHODCALLTYPE ISoftDistExt_AsyncInstallDistributionUnit_Proxy( 
  6077.     ISoftDistExt __RPC_FAR * This,
  6078.     /* [in] */ IBindCtx __RPC_FAR *pbc,
  6079.     /* [in] */ LPVOID pvReserved,
  6080.     /* [in] */ DWORD flags,
  6081.     /* [in] */ LPCODEBASEHOLD lpcbh);
  6082.  
  6083.  
  6084. void __RPC_STUB ISoftDistExt_AsyncInstallDistributionUnit_Stub(
  6085.     IRpcStubBuffer *This,
  6086.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6087.     PRPC_MESSAGE _pRpcMessage,
  6088.     DWORD *_pdwStubPhase);
  6089.  
  6090.  
  6091.  
  6092. #endif     /* __ISoftDistExt_INTERFACE_DEFINED__ */
  6093.  
  6094.  
  6095. /****************************************
  6096.  * Generated header for interface: __MIDL_itf_urlmon_0136
  6097.  * at Mon Nov 17 12:03:13 1997
  6098.  * using MIDL 3.02.88
  6099.  ****************************************/
  6100. /* [local] */ 
  6101.  
  6102.  
  6103. STDAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi );
  6104. STDAPI SetSoftwareUpdateAdvertisementState( LPCWSTR szDistUnit, DWORD dwAdState, DWORD dwAdvertisedVersionMS, DWORD dwAdvertisedVersionLS );
  6105. #endif
  6106. #ifndef _LPDATAFILTER_DEFINED
  6107. #define _LPDATAFILTER_DEFINED
  6108.  
  6109.  
  6110. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0136_v0_0_c_ifspec;
  6111. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0136_v0_0_s_ifspec;
  6112.  
  6113. #ifndef __IDataFilter_INTERFACE_DEFINED__
  6114. #define __IDataFilter_INTERFACE_DEFINED__
  6115.  
  6116. /****************************************
  6117.  * Generated header for interface: IDataFilter
  6118.  * at Mon Nov 17 12:03:13 1997
  6119.  * using MIDL 3.02.88
  6120.  ****************************************/
  6121. /* [unique][uuid][object][local] */ 
  6122.  
  6123.  
  6124. typedef /* [unique] */ IDataFilter __RPC_FAR *LPDATAFILTER;
  6125.  
  6126.  
  6127. EXTERN_C const IID IID_IDataFilter;
  6128.  
  6129. #if defined(__cplusplus) && !defined(CINTERFACE)
  6130.     
  6131.     interface DECLSPEC_UUID("69d14c80-c18e-11d0-a9ce-006097942311")
  6132.     IDataFilter : public IUnknown
  6133.     {
  6134.     public:
  6135.         virtual HRESULT STDMETHODCALLTYPE DoEncode( 
  6136.             /* [in] */ DWORD dwFlags,
  6137.             /* [in] */ LONG lInBufferSize,
  6138.             /* [in] */ BYTE __RPC_FAR *pbInBuffer,
  6139.             /* [in] */ LONG lOutBufferSize,
  6140.             /* [out] */ BYTE __RPC_FAR *pbOutBuffer,
  6141.             /* [in] */ LONG lInBytesAvailable,
  6142.             /* [out] */ LONG __RPC_FAR *plInBytesRead,
  6143.             /* [out] */ LONG __RPC_FAR *plOutBytesWritten,
  6144.             /* [in] */ DWORD dwReserved) = 0;
  6145.         
  6146.         virtual HRESULT STDMETHODCALLTYPE DoDecode( 
  6147.             /* [in] */ DWORD dwFlags,
  6148.             /* [in] */ LONG lInBufferSize,
  6149.             /* [in] */ BYTE __RPC_FAR *pbInBuffer,
  6150.             /* [in] */ LONG lOutBufferSize,
  6151.             /* [out] */ BYTE __RPC_FAR *pbOutBuffer,
  6152.             /* [in] */ LONG lInBytesAvailable,
  6153.             /* [out] */ LONG __RPC_FAR *plInBytesRead,
  6154.             /* [out] */ LONG __RPC_FAR *plOutBytesWritten,
  6155.             /* [in] */ DWORD dwReserved) = 0;
  6156.         
  6157.         virtual HRESULT STDMETHODCALLTYPE SetEncodingLevel( 
  6158.             /* [in] */ DWORD dwEncLevel) = 0;
  6159.         
  6160.     };
  6161.     
  6162. #else     /* C style interface */
  6163.  
  6164.     typedef struct IDataFilterVtbl
  6165.     {
  6166.         BEGIN_INTERFACE
  6167.         
  6168.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  6169.             IDataFilter __RPC_FAR * This,
  6170.             /* [in] */ REFIID riid,
  6171.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6172.         
  6173.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  6174.             IDataFilter __RPC_FAR * This);
  6175.         
  6176.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  6177.             IDataFilter __RPC_FAR * This);
  6178.         
  6179.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoEncode )( 
  6180.             IDataFilter __RPC_FAR * This,
  6181.             /* [in] */ DWORD dwFlags,
  6182.             /* [in] */ LONG lInBufferSize,
  6183.             /* [in] */ BYTE __RPC_FAR *pbInBuffer,
  6184.             /* [in] */ LONG lOutBufferSize,
  6185.             /* [out] */ BYTE __RPC_FAR *pbOutBuffer,
  6186.             /* [in] */ LONG lInBytesAvailable,
  6187.             /* [out] */ LONG __RPC_FAR *plInBytesRead,
  6188.             /* [out] */ LONG __RPC_FAR *plOutBytesWritten,
  6189.             /* [in] */ DWORD dwReserved);
  6190.         
  6191.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoDecode )( 
  6192.             IDataFilter __RPC_FAR * This,
  6193.             /* [in] */ DWORD dwFlags,
  6194.             /* [in] */ LONG lInBufferSize,
  6195.             /* [in] */ BYTE __RPC_FAR *pbInBuffer,
  6196.             /* [in] */ LONG lOutBufferSize,
  6197.             /* [out] */ BYTE __RPC_FAR *pbOutBuffer,
  6198.             /* [in] */ LONG lInBytesAvailable,
  6199.             /* [out] */ LONG __RPC_FAR *plInBytesRead,
  6200.             /* [out] */ LONG __RPC_FAR *plOutBytesWritten,
  6201.             /* [in] */ DWORD dwReserved);
  6202.         
  6203.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEncodingLevel )( 
  6204.             IDataFilter __RPC_FAR * This,
  6205.             /* [in] */ DWORD dwEncLevel);
  6206.         
  6207.         END_INTERFACE
  6208.     } IDataFilterVtbl;
  6209.  
  6210.     interface IDataFilter
  6211.     {
  6212.         CONST_VTBL struct IDataFilterVtbl __RPC_FAR *lpVtbl;
  6213.     };
  6214.  
  6215.     
  6216.  
  6217. #ifdef COBJMACROS
  6218.  
  6219.  
  6220. #define IDataFilter_QueryInterface(This,riid,ppvObject)    \
  6221.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6222.  
  6223. #define IDataFilter_AddRef(This)    \
  6224.     (This)->lpVtbl -> AddRef(This)
  6225.  
  6226. #define IDataFilter_Release(This)    \
  6227.     (This)->lpVtbl -> Release(This)
  6228.  
  6229.  
  6230. #define IDataFilter_DoEncode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)    \
  6231.     (This)->lpVtbl -> DoEncode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
  6232.  
  6233. #define IDataFilter_DoDecode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)    \
  6234.     (This)->lpVtbl -> DoDecode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
  6235.  
  6236. #define IDataFilter_SetEncodingLevel(This,dwEncLevel)    \
  6237.     (This)->lpVtbl -> SetEncodingLevel(This,dwEncLevel)
  6238.  
  6239. #endif /* COBJMACROS */
  6240.  
  6241.  
  6242. #endif     /* C style interface */
  6243.  
  6244.  
  6245.  
  6246. HRESULT STDMETHODCALLTYPE IDataFilter_DoEncode_Proxy( 
  6247.     IDataFilter __RPC_FAR * This,
  6248.     /* [in] */ DWORD dwFlags,
  6249.     /* [in] */ LONG lInBufferSize,
  6250.     /* [in] */ BYTE __RPC_FAR *pbInBuffer,
  6251.     /* [in] */ LONG lOutBufferSize,
  6252.     /* [out] */ BYTE __RPC_FAR *pbOutBuffer,
  6253.     /* [in] */ LONG lInBytesAvailable,
  6254.     /* [out] */ LONG __RPC_FAR *plInBytesRead,
  6255.     /* [out] */ LONG __RPC_FAR *plOutBytesWritten,
  6256.     /* [in] */ DWORD dwReserved);
  6257.  
  6258.  
  6259. void __RPC_STUB IDataFilter_DoEncode_Stub(
  6260.     IRpcStubBuffer *This,
  6261.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6262.     PRPC_MESSAGE _pRpcMessage,
  6263.     DWORD *_pdwStubPhase);
  6264.  
  6265.  
  6266. HRESULT STDMETHODCALLTYPE IDataFilter_DoDecode_Proxy( 
  6267.     IDataFilter __RPC_FAR * This,
  6268.     /* [in] */ DWORD dwFlags,
  6269.     /* [in] */ LONG lInBufferSize,
  6270.     /* [in] */ BYTE __RPC_FAR *pbInBuffer,
  6271.     /* [in] */ LONG lOutBufferSize,
  6272.     /* [out] */ BYTE __RPC_FAR *pbOutBuffer,
  6273.     /* [in] */ LONG lInBytesAvailable,
  6274.     /* [out] */ LONG __RPC_FAR *plInBytesRead,
  6275.     /* [out] */ LONG __RPC_FAR *plOutBytesWritten,
  6276.     /* [in] */ DWORD dwReserved);
  6277.  
  6278.  
  6279. void __RPC_STUB IDataFilter_DoDecode_Stub(
  6280.     IRpcStubBuffer *This,
  6281.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6282.     PRPC_MESSAGE _pRpcMessage,
  6283.     DWORD *_pdwStubPhase);
  6284.  
  6285.  
  6286. HRESULT STDMETHODCALLTYPE IDataFilter_SetEncodingLevel_Proxy( 
  6287.     IDataFilter __RPC_FAR * This,
  6288.     /* [in] */ DWORD dwEncLevel);
  6289.  
  6290.  
  6291. void __RPC_STUB IDataFilter_SetEncodingLevel_Stub(
  6292.     IRpcStubBuffer *This,
  6293.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6294.     PRPC_MESSAGE _pRpcMessage,
  6295.     DWORD *_pdwStubPhase);
  6296.  
  6297.  
  6298.  
  6299. #endif     /* __IDataFilter_INTERFACE_DEFINED__ */
  6300.  
  6301.  
  6302. /****************************************
  6303.  * Generated header for interface: __MIDL_itf_urlmon_0137
  6304.  * at Mon Nov 17 12:03:13 1997
  6305.  * using MIDL 3.02.88
  6306.  ****************************************/
  6307. /* [local] */ 
  6308.  
  6309.  
  6310. #endif
  6311. #ifndef _LPENCODINGFILTERFACTORY_DEFINED
  6312. #define _LPENCODINGFILTERFACTORY_DEFINED
  6313. typedef struct  _tagPROTOCOLFILTERDATA
  6314.     {
  6315.     DWORD cbSize;
  6316.     IInternetProtocolSink __RPC_FAR *pProtocolSink;
  6317.     IInternetProtocol __RPC_FAR *pProtocol;
  6318.     IUnknown __RPC_FAR *pUnk;
  6319.     DWORD dwFilterFlags;
  6320.     }    PROTOCOLFILTERDATA;
  6321.  
  6322.  
  6323.  
  6324. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0137_v0_0_c_ifspec;
  6325. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0137_v0_0_s_ifspec;
  6326.  
  6327. #ifndef __IEncodingFilterFactory_INTERFACE_DEFINED__
  6328. #define __IEncodingFilterFactory_INTERFACE_DEFINED__
  6329.  
  6330. /****************************************
  6331.  * Generated header for interface: IEncodingFilterFactory
  6332.  * at Mon Nov 17 12:03:13 1997
  6333.  * using MIDL 3.02.88
  6334.  ****************************************/
  6335. /* [unique][uuid][object][local] */ 
  6336.  
  6337.  
  6338. typedef /* [unique] */ IEncodingFilterFactory __RPC_FAR *LPENCODINGFILTERFACTORY;
  6339.  
  6340. typedef struct  _tagDATAINFO
  6341.     {
  6342.     ULONG ulTotalSize;
  6343.     ULONG ulavrPacketSize;
  6344.     ULONG ulConnectSpeed;
  6345.     ULONG ulProcessorSpeed;
  6346.     }    DATAINFO;
  6347.  
  6348.  
  6349. EXTERN_C const IID IID_IEncodingFilterFactory;
  6350.  
  6351. #if defined(__cplusplus) && !defined(CINTERFACE)
  6352.     
  6353.     interface DECLSPEC_UUID("70bdde00-c18e-11d0-a9ce-006097942311")
  6354.     IEncodingFilterFactory : public IUnknown
  6355.     {
  6356.     public:
  6357.         virtual HRESULT STDMETHODCALLTYPE FindBestFilter( 
  6358.             /* [in] */ LPCWSTR pwzCodeIn,
  6359.             /* [in] */ LPCWSTR pwzCodeOut,
  6360.             /* [in] */ DATAINFO info,
  6361.             /* [out] */ IDataFilter __RPC_FAR *__RPC_FAR *ppDF) = 0;
  6362.         
  6363.         virtual HRESULT STDMETHODCALLTYPE GetDefaultFilter( 
  6364.             /* [in] */ LPCWSTR pwzCodeIn,
  6365.             /* [in] */ LPCWSTR pwzCodeOut,
  6366.             /* [out] */ IDataFilter __RPC_FAR *__RPC_FAR *ppDF) = 0;
  6367.         
  6368.     };
  6369.     
  6370. #else     /* C style interface */
  6371.  
  6372.     typedef struct IEncodingFilterFactoryVtbl
  6373.     {
  6374.         BEGIN_INTERFACE
  6375.         
  6376.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  6377.             IEncodingFilterFactory __RPC_FAR * This,
  6378.             /* [in] */ REFIID riid,
  6379.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  6380.         
  6381.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  6382.             IEncodingFilterFactory __RPC_FAR * This);
  6383.         
  6384.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  6385.             IEncodingFilterFactory __RPC_FAR * This);
  6386.         
  6387.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindBestFilter )( 
  6388.             IEncodingFilterFactory __RPC_FAR * This,
  6389.             /* [in] */ LPCWSTR pwzCodeIn,
  6390.             /* [in] */ LPCWSTR pwzCodeOut,
  6391.             /* [in] */ DATAINFO info,
  6392.             /* [out] */ IDataFilter __RPC_FAR *__RPC_FAR *ppDF);
  6393.         
  6394.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultFilter )( 
  6395.             IEncodingFilterFactory __RPC_FAR * This,
  6396.             /* [in] */ LPCWSTR pwzCodeIn,
  6397.             /* [in] */ LPCWSTR pwzCodeOut,
  6398.             /* [out] */ IDataFilter __RPC_FAR *__RPC_FAR *ppDF);
  6399.         
  6400.         END_INTERFACE
  6401.     } IEncodingFilterFactoryVtbl;
  6402.  
  6403.     interface IEncodingFilterFactory
  6404.     {
  6405.         CONST_VTBL struct IEncodingFilterFactoryVtbl __RPC_FAR *lpVtbl;
  6406.     };
  6407.  
  6408.     
  6409.  
  6410. #ifdef COBJMACROS
  6411.  
  6412.  
  6413. #define IEncodingFilterFactory_QueryInterface(This,riid,ppvObject)    \
  6414.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  6415.  
  6416. #define IEncodingFilterFactory_AddRef(This)    \
  6417.     (This)->lpVtbl -> AddRef(This)
  6418.  
  6419. #define IEncodingFilterFactory_Release(This)    \
  6420.     (This)->lpVtbl -> Release(This)
  6421.  
  6422.  
  6423. #define IEncodingFilterFactory_FindBestFilter(This,pwzCodeIn,pwzCodeOut,info,ppDF)    \
  6424.     (This)->lpVtbl -> FindBestFilter(This,pwzCodeIn,pwzCodeOut,info,ppDF)
  6425.  
  6426. #define IEncodingFilterFactory_GetDefaultFilter(This,pwzCodeIn,pwzCodeOut,ppDF)    \
  6427.     (This)->lpVtbl -> GetDefaultFilter(This,pwzCodeIn,pwzCodeOut,ppDF)
  6428.  
  6429. #endif /* COBJMACROS */
  6430.  
  6431.  
  6432. #endif     /* C style interface */
  6433.  
  6434.  
  6435.  
  6436. HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_FindBestFilter_Proxy( 
  6437.     IEncodingFilterFactory __RPC_FAR * This,
  6438.     /* [in] */ LPCWSTR pwzCodeIn,
  6439.     /* [in] */ LPCWSTR pwzCodeOut,
  6440.     /* [in] */ DATAINFO info,
  6441.     /* [out] */ IDataFilter __RPC_FAR *__RPC_FAR *ppDF);
  6442.  
  6443.  
  6444. void __RPC_STUB IEncodingFilterFactory_FindBestFilter_Stub(
  6445.     IRpcStubBuffer *This,
  6446.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6447.     PRPC_MESSAGE _pRpcMessage,
  6448.     DWORD *_pdwStubPhase);
  6449.  
  6450.  
  6451. HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_GetDefaultFilter_Proxy( 
  6452.     IEncodingFilterFactory __RPC_FAR * This,
  6453.     /* [in] */ LPCWSTR pwzCodeIn,
  6454.     /* [in] */ LPCWSTR pwzCodeOut,
  6455.     /* [out] */ IDataFilter __RPC_FAR *__RPC_FAR *ppDF);
  6456.  
  6457.  
  6458. void __RPC_STUB IEncodingFilterFactory_GetDefaultFilter_Stub(
  6459.     IRpcStubBuffer *This,
  6460.     IRpcChannelBuffer *_pRpcChannelBuffer,
  6461.     PRPC_MESSAGE _pRpcMessage,
  6462.     DWORD *_pdwStubPhase);
  6463.  
  6464.  
  6465.  
  6466. #endif     /* __IEncodingFilterFactory_INTERFACE_DEFINED__ */
  6467.  
  6468.  
  6469. /****************************************
  6470.  * Generated header for interface: __MIDL_itf_urlmon_0138
  6471.  * at Mon Nov 17 12:03:13 1997
  6472.  * using MIDL 3.02.88
  6473.  ****************************************/
  6474. /* [local] */ 
  6475.  
  6476.  
  6477. #endif
  6478. #ifndef _HITLOGGING_DEFINED
  6479. #define _HITLOGGING_DEFINED
  6480. // Logging-specific apis
  6481. BOOL WINAPI IsLoggingEnabledA(IN LPCTSTR  pszUrl);                   
  6482. BOOL WINAPI IsLoggingEnalbedW(IN LPCWSTR  pwszUrl);                  
  6483. #ifdef UNICODE                                                       
  6484. #define IsLoggingEnabled         IsLoggingEnabledW                   
  6485. #else                                                                
  6486. #define IsLoggingEnabled         IsLoggingEnabledA                   
  6487. #endif // !UNICODE                                                   
  6488. typedef struct  _tagHIT_LOGGING_INFO
  6489.     {
  6490.     DWORD dwStructSize;
  6491.     LPSTR lpszLoggedUrlName;
  6492.     SYSTEMTIME StartTime;
  6493.     SYSTEMTIME EndTime;
  6494.     LPSTR lpszExtendedInfo;
  6495.     }    HIT_LOGGING_INFO;
  6496.  
  6497. typedef struct _tagHIT_LOGGING_INFO __RPC_FAR *LPHIT_LOGGING_INFO;
  6498.  
  6499. BOOL WINAPI WriteHitLogging(IN LPHIT_LOGGING_INFO lpLogginginfo);    
  6500. #endif
  6501.  
  6502.  
  6503. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0138_v0_0_c_ifspec;
  6504. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0138_v0_0_s_ifspec;
  6505.  
  6506. /* Additional Prototypes for ALL interfaces */
  6507.  
  6508. /* [local] */ HRESULT STDMETHODCALLTYPE IBinding_GetBindResult_Proxy( 
  6509.     IBinding __RPC_FAR * This,
  6510.     /* [out] */ CLSID __RPC_FAR *pclsidProtocol,
  6511.     /* [out] */ DWORD __RPC_FAR *pdwResult,
  6512.     /* [out] */ LPOLESTR __RPC_FAR *pszResult,
  6513.     /* [out][in] */ DWORD __RPC_FAR *pdwReserved);
  6514.  
  6515.  
  6516. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBinding_GetBindResult_Stub( 
  6517.     IBinding __RPC_FAR * This,
  6518.     /* [out] */ CLSID __RPC_FAR *pclsidProtocol,
  6519.     /* [out] */ DWORD __RPC_FAR *pdwResult,
  6520.     /* [out] */ LPOLESTR __RPC_FAR *pszResult,
  6521.     /* [in] */ DWORD dwReserved);
  6522.  
  6523. /* [local] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetBindInfo_Proxy( 
  6524.     IBindStatusCallback __RPC_FAR * This,
  6525.     /* [out] */ DWORD __RPC_FAR *grfBINDF,
  6526.     /* [unique][out][in] */ BINDINFO __RPC_FAR *pbindinfo);
  6527.  
  6528.  
  6529. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetBindInfo_Stub( 
  6530.     IBindStatusCallback __RPC_FAR * This,
  6531.     /* [out] */ DWORD __RPC_FAR *grfBINDF,
  6532.     /* [unique][out][in] */ RemBINDINFO __RPC_FAR *pbindinfo,
  6533.     /* [unique][out][in] */ RemSTGMEDIUM __RPC_FAR *pstgmed);
  6534.  
  6535. /* [local] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnDataAvailable_Proxy( 
  6536.     IBindStatusCallback __RPC_FAR * This,
  6537.     /* [in] */ DWORD grfBSCF,
  6538.     /* [in] */ DWORD dwSize,
  6539.     /* [in] */ FORMATETC __RPC_FAR *pformatetc,
  6540.     /* [in] */ STGMEDIUM __RPC_FAR *pstgmed);
  6541.  
  6542.  
  6543. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnDataAvailable_Stub( 
  6544.     IBindStatusCallback __RPC_FAR * This,
  6545.     /* [in] */ DWORD grfBSCF,
  6546.     /* [in] */ DWORD dwSize,
  6547.     /* [in] */ RemFORMATETC __RPC_FAR *pformatetc,
  6548.     /* [in] */ RemSTGMEDIUM __RPC_FAR *pstgmed);
  6549.  
  6550. /* [local] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_QueryOption_Proxy( 
  6551.     IWinInetInfo __RPC_FAR * This,
  6552.     /* [in] */ DWORD dwOption,
  6553.     /* [size_is][out][in] */ LPVOID pBuffer,
  6554.     /* [out][in] */ DWORD __RPC_FAR *pcbBuf);
  6555.  
  6556.  
  6557. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_QueryOption_Stub( 
  6558.     IWinInetInfo __RPC_FAR * This,
  6559.     /* [in] */ DWORD dwOption,
  6560.     /* [size_is][out][in] */ BYTE __RPC_FAR *pBuffer,
  6561.     /* [out][in] */ DWORD __RPC_FAR *pcbBuf);
  6562.  
  6563. /* [local] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_QueryInfo_Proxy( 
  6564.     IWinInetHttpInfo __RPC_FAR * This,
  6565.     /* [in] */ DWORD dwOption,
  6566.     /* [size_is][out][in] */ LPVOID pBuffer,
  6567.     /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  6568.     /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  6569.     /* [out][in] */ DWORD __RPC_FAR *pdwReserved);
  6570.  
  6571.  
  6572. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_QueryInfo_Stub( 
  6573.     IWinInetHttpInfo __RPC_FAR * This,
  6574.     /* [in] */ DWORD dwOption,
  6575.     /* [size_is][out][in] */ BYTE __RPC_FAR *pBuffer,
  6576.     /* [out][in] */ DWORD __RPC_FAR *pcbBuf,
  6577.     /* [out][in] */ DWORD __RPC_FAR *pdwFlags,
  6578.     /* [out][in] */ DWORD __RPC_FAR *pdwReserved);
  6579.  
  6580. /* [local] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToStorage_Proxy( 
  6581.     IBindHost __RPC_FAR * This,
  6582.     /* [in] */ IMoniker __RPC_FAR *pMk,
  6583.     /* [in] */ IBindCtx __RPC_FAR *pBC,
  6584.     /* [in] */ IBindStatusCallback __RPC_FAR *pBSC,
  6585.     /* [in] */ REFIID riid,
  6586.     /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
  6587.  
  6588.  
  6589. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToStorage_Stub( 
  6590.     IBindHost __RPC_FAR * This,
  6591.     /* [unique][in] */ IMoniker __RPC_FAR *pMk,
  6592.     /* [unique][in] */ IBindCtx __RPC_FAR *pBC,
  6593.     /* [unique][in] */ IBindStatusCallback __RPC_FAR *pBSC,
  6594.     /* [in] */ REFIID riid,
  6595.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj);
  6596.  
  6597. /* [local] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToObject_Proxy( 
  6598.     IBindHost __RPC_FAR * This,
  6599.     /* [in] */ IMoniker __RPC_FAR *pMk,
  6600.     /* [in] */ IBindCtx __RPC_FAR *pBC,
  6601.     /* [in] */ IBindStatusCallback __RPC_FAR *pBSC,
  6602.     /* [in] */ REFIID riid,
  6603.     /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObj);
  6604.  
  6605.  
  6606. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToObject_Stub( 
  6607.     IBindHost __RPC_FAR * This,
  6608.     /* [unique][in] */ IMoniker __RPC_FAR *pMk,
  6609.     /* [unique][in] */ IBindCtx __RPC_FAR *pBC,
  6610.     /* [unique][in] */ IBindStatusCallback __RPC_FAR *pBSC,
  6611.     /* [in] */ REFIID riid,
  6612.     /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvObj);
  6613.  
  6614.  
  6615.  
  6616. /* end of Additional Prototypes */
  6617.  
  6618. #ifdef __cplusplus
  6619. }
  6620. #endif
  6621.  
  6622. #endif
  6623.