home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / URLMON.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  223.9 KB  |  6,625 lines

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