Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7167 lines
224 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for urlmon.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __urlmon_h__
  27. #define __urlmon_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IPersistMoniker_FWD_DEFINED__
  33. #define __IPersistMoniker_FWD_DEFINED__
  34. typedef interface IPersistMoniker IPersistMoniker;
  35. #endif /* __IPersistMoniker_FWD_DEFINED__ */
  36. #ifndef __IMonikerProp_FWD_DEFINED__
  37. #define __IMonikerProp_FWD_DEFINED__
  38. typedef interface IMonikerProp IMonikerProp;
  39. #endif /* __IMonikerProp_FWD_DEFINED__ */
  40. #ifndef __IBindProtocol_FWD_DEFINED__
  41. #define __IBindProtocol_FWD_DEFINED__
  42. typedef interface IBindProtocol IBindProtocol;
  43. #endif /* __IBindProtocol_FWD_DEFINED__ */
  44. #ifndef __IBinding_FWD_DEFINED__
  45. #define __IBinding_FWD_DEFINED__
  46. typedef interface IBinding IBinding;
  47. #endif /* __IBinding_FWD_DEFINED__ */
  48. #ifndef __IBindStatusCallback_FWD_DEFINED__
  49. #define __IBindStatusCallback_FWD_DEFINED__
  50. typedef interface IBindStatusCallback IBindStatusCallback;
  51. #endif /* __IBindStatusCallback_FWD_DEFINED__ */
  52. #ifndef __IAuthenticate_FWD_DEFINED__
  53. #define __IAuthenticate_FWD_DEFINED__
  54. typedef interface IAuthenticate IAuthenticate;
  55. #endif /* __IAuthenticate_FWD_DEFINED__ */
  56. #ifndef __IHttpNegotiate_FWD_DEFINED__
  57. #define __IHttpNegotiate_FWD_DEFINED__
  58. typedef interface IHttpNegotiate IHttpNegotiate;
  59. #endif /* __IHttpNegotiate_FWD_DEFINED__ */
  60. #ifndef __IHttpNegotiate2_FWD_DEFINED__
  61. #define __IHttpNegotiate2_FWD_DEFINED__
  62. typedef interface IHttpNegotiate2 IHttpNegotiate2;
  63. #endif /* __IHttpNegotiate2_FWD_DEFINED__ */
  64. #ifndef __IWindowForBindingUI_FWD_DEFINED__
  65. #define __IWindowForBindingUI_FWD_DEFINED__
  66. typedef interface IWindowForBindingUI IWindowForBindingUI;
  67. #endif /* __IWindowForBindingUI_FWD_DEFINED__ */
  68. #ifndef __ICodeInstall_FWD_DEFINED__
  69. #define __ICodeInstall_FWD_DEFINED__
  70. typedef interface ICodeInstall ICodeInstall;
  71. #endif /* __ICodeInstall_FWD_DEFINED__ */
  72. #ifndef __IWinInetInfo_FWD_DEFINED__
  73. #define __IWinInetInfo_FWD_DEFINED__
  74. typedef interface IWinInetInfo IWinInetInfo;
  75. #endif /* __IWinInetInfo_FWD_DEFINED__ */
  76. #ifndef __IHttpSecurity_FWD_DEFINED__
  77. #define __IHttpSecurity_FWD_DEFINED__
  78. typedef interface IHttpSecurity IHttpSecurity;
  79. #endif /* __IHttpSecurity_FWD_DEFINED__ */
  80. #ifndef __IWinInetHttpInfo_FWD_DEFINED__
  81. #define __IWinInetHttpInfo_FWD_DEFINED__
  82. typedef interface IWinInetHttpInfo IWinInetHttpInfo;
  83. #endif /* __IWinInetHttpInfo_FWD_DEFINED__ */
  84. #ifndef __IBindHost_FWD_DEFINED__
  85. #define __IBindHost_FWD_DEFINED__
  86. typedef interface IBindHost IBindHost;
  87. #endif /* __IBindHost_FWD_DEFINED__ */
  88. #ifndef __IInternet_FWD_DEFINED__
  89. #define __IInternet_FWD_DEFINED__
  90. typedef interface IInternet IInternet;
  91. #endif /* __IInternet_FWD_DEFINED__ */
  92. #ifndef __IInternetBindInfo_FWD_DEFINED__
  93. #define __IInternetBindInfo_FWD_DEFINED__
  94. typedef interface IInternetBindInfo IInternetBindInfo;
  95. #endif /* __IInternetBindInfo_FWD_DEFINED__ */
  96. #ifndef __IInternetProtocolRoot_FWD_DEFINED__
  97. #define __IInternetProtocolRoot_FWD_DEFINED__
  98. typedef interface IInternetProtocolRoot IInternetProtocolRoot;
  99. #endif /* __IInternetProtocolRoot_FWD_DEFINED__ */
  100. #ifndef __IInternetProtocol_FWD_DEFINED__
  101. #define __IInternetProtocol_FWD_DEFINED__
  102. typedef interface IInternetProtocol IInternetProtocol;
  103. #endif /* __IInternetProtocol_FWD_DEFINED__ */
  104. #ifndef __IInternetProtocolSink_FWD_DEFINED__
  105. #define __IInternetProtocolSink_FWD_DEFINED__
  106. typedef interface IInternetProtocolSink IInternetProtocolSink;
  107. #endif /* __IInternetProtocolSink_FWD_DEFINED__ */
  108. #ifndef __IInternetProtocolSinkStackable_FWD_DEFINED__
  109. #define __IInternetProtocolSinkStackable_FWD_DEFINED__
  110. typedef interface IInternetProtocolSinkStackable IInternetProtocolSinkStackable;
  111. #endif /* __IInternetProtocolSinkStackable_FWD_DEFINED__ */
  112. #ifndef __IInternetSession_FWD_DEFINED__
  113. #define __IInternetSession_FWD_DEFINED__
  114. typedef interface IInternetSession IInternetSession;
  115. #endif /* __IInternetSession_FWD_DEFINED__ */
  116. #ifndef __IInternetThreadSwitch_FWD_DEFINED__
  117. #define __IInternetThreadSwitch_FWD_DEFINED__
  118. typedef interface IInternetThreadSwitch IInternetThreadSwitch;
  119. #endif /* __IInternetThreadSwitch_FWD_DEFINED__ */
  120. #ifndef __IInternetPriority_FWD_DEFINED__
  121. #define __IInternetPriority_FWD_DEFINED__
  122. typedef interface IInternetPriority IInternetPriority;
  123. #endif /* __IInternetPriority_FWD_DEFINED__ */
  124. #ifndef __IInternetProtocolInfo_FWD_DEFINED__
  125. #define __IInternetProtocolInfo_FWD_DEFINED__
  126. typedef interface IInternetProtocolInfo IInternetProtocolInfo;
  127. #endif /* __IInternetProtocolInfo_FWD_DEFINED__ */
  128. #ifndef __IInternetSecurityMgrSite_FWD_DEFINED__
  129. #define __IInternetSecurityMgrSite_FWD_DEFINED__
  130. typedef interface IInternetSecurityMgrSite IInternetSecurityMgrSite;
  131. #endif /* __IInternetSecurityMgrSite_FWD_DEFINED__ */
  132. #ifndef __IInternetSecurityManager_FWD_DEFINED__
  133. #define __IInternetSecurityManager_FWD_DEFINED__
  134. typedef interface IInternetSecurityManager IInternetSecurityManager;
  135. #endif /* __IInternetSecurityManager_FWD_DEFINED__ */
  136. #ifndef __IInternetHostSecurityManager_FWD_DEFINED__
  137. #define __IInternetHostSecurityManager_FWD_DEFINED__
  138. typedef interface IInternetHostSecurityManager IInternetHostSecurityManager;
  139. #endif /* __IInternetHostSecurityManager_FWD_DEFINED__ */
  140. #ifndef __IInternetZoneManager_FWD_DEFINED__
  141. #define __IInternetZoneManager_FWD_DEFINED__
  142. typedef interface IInternetZoneManager IInternetZoneManager;
  143. #endif /* __IInternetZoneManager_FWD_DEFINED__ */
  144. #ifndef __ISoftDistExt_FWD_DEFINED__
  145. #define __ISoftDistExt_FWD_DEFINED__
  146. typedef interface ISoftDistExt ISoftDistExt;
  147. #endif /* __ISoftDistExt_FWD_DEFINED__ */
  148. #ifndef __ICatalogFileInfo_FWD_DEFINED__
  149. #define __ICatalogFileInfo_FWD_DEFINED__
  150. typedef interface ICatalogFileInfo ICatalogFileInfo;
  151. #endif /* __ICatalogFileInfo_FWD_DEFINED__ */
  152. #ifndef __IDataFilter_FWD_DEFINED__
  153. #define __IDataFilter_FWD_DEFINED__
  154. typedef interface IDataFilter IDataFilter;
  155. #endif /* __IDataFilter_FWD_DEFINED__ */
  156. #ifndef __IEncodingFilterFactory_FWD_DEFINED__
  157. #define __IEncodingFilterFactory_FWD_DEFINED__
  158. typedef interface IEncodingFilterFactory IEncodingFilterFactory;
  159. #endif /* __IEncodingFilterFactory_FWD_DEFINED__ */
  160. #ifndef __IWrappedProtocol_FWD_DEFINED__
  161. #define __IWrappedProtocol_FWD_DEFINED__
  162. typedef interface IWrappedProtocol IWrappedProtocol;
  163. #endif /* __IWrappedProtocol_FWD_DEFINED__ */
  164. /* header files for imported files */
  165. #include "objidl.h"
  166. #include "oleidl.h"
  167. #include "servprov.h"
  168. #include "msxml.h"
  169. #ifdef __cplusplus
  170. extern "C"{
  171. #endif
  172. void * __RPC_USER MIDL_user_allocate(size_t);
  173. void __RPC_USER MIDL_user_free( void * );
  174. /* interface __MIDL_itf_urlmon_0000 */
  175. /* [local] */
  176. //=--------------------------------------------------------------------------=
  177. // UrlMon.h
  178. //=--------------------------------------------------------------------------=
  179. // (C) Copyright 1995-1998 Microsoft Corporation. All Rights Reserved.
  180. //
  181. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  182. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  183. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  184. // PARTICULAR PURPOSE.
  185. //=--------------------------------------------------------------------------=
  186. #pragma comment(lib,"uuid.lib")
  187. //---------------------------------------------------------------------------=
  188. // URL Moniker Interfaces.
  189. // Side-by-Side clsid
  190. EXTERN_C const IID CLSID_SBS_StdURLMoniker;
  191. EXTERN_C const IID CLSID_SBS_HttpProtocol;
  192. EXTERN_C const IID CLSID_SBS_FtpProtocol;
  193. EXTERN_C const IID CLSID_SBS_GopherProtocol;
  194. EXTERN_C const IID CLSID_SBS_HttpSProtocol;
  195. EXTERN_C const IID CLSID_SBS_FileProtocol;
  196. EXTERN_C const IID CLSID_SBS_MkProtocol;
  197. EXTERN_C const IID CLSID_SBS_UrlMkBindCtx;
  198. EXTERN_C const IID CLSID_SBS_SoftDistExt;
  199. EXTERN_C const IID CLSID_SBS_StdEncodingFilterFac;
  200. EXTERN_C const IID CLSID_SBS_DeCompMimeFilter;
  201. EXTERN_C const IID CLSID_SBS_CdlProtocol;
  202. EXTERN_C const IID CLSID_SBS_ClassInstallFilter;
  203. EXTERN_C const IID CLSID_SBS_InternetSecurityManager;
  204. EXTERN_C const IID CLSID_SBS_InternetZoneManager;
  205. // END Side-by-Side clsid
  206. // These are for backwards compatibility with previous URLMON versions
  207. #define BINDF_DONTUSECACHE BINDF_GETNEWESTVERSION
  208. #define BINDF_DONTPUTINCACHE BINDF_NOWRITECACHE
  209. #define BINDF_NOCOPYDATA BINDF_PULLDATA
  210. #define INVALID_P_ROOT_SECURITY_ID ((BYTE*)-1)
  211. #define PI_DOCFILECLSIDLOOKUP PI_CLSIDLOOKUP
  212. EXTERN_C const IID IID_IAsyncMoniker;
  213. EXTERN_C const IID CLSID_StdURLMoniker;
  214. EXTERN_C const IID CLSID_HttpProtocol;
  215. EXTERN_C const IID CLSID_FtpProtocol;
  216. EXTERN_C const IID CLSID_GopherProtocol;
  217. EXTERN_C const IID CLSID_HttpSProtocol;
  218. EXTERN_C const IID CLSID_FileProtocol;
  219. EXTERN_C const IID CLSID_MkProtocol;
  220. EXTERN_C const IID CLSID_StdURLProtocol;
  221. EXTERN_C const IID CLSID_UrlMkBindCtx;
  222. EXTERN_C const IID CLSID_StdEncodingFilterFac;
  223. EXTERN_C const IID CLSID_DeCompMimeFilter;
  224. EXTERN_C const IID CLSID_CdlProtocol;
  225. EXTERN_C const IID CLSID_ClassInstallFilter;
  226. EXTERN_C const IID IID_IAsyncBindCtx;
  227. #define SZ_URLCONTEXT OLESTR("URL Context")
  228. #define SZ_ASYNC_CALLEE OLESTR("AsyncCallee")
  229. #define MKSYS_URLMONIKER 6
  230. #define URL_MK_LEGACY 0
  231. #define URL_MK_UNIFORM 1
  232. #define URL_MK_NO_CANONICALIZE 2
  233. STDAPI CreateURLMoniker(LPMONIKER pMkCtx, LPCWSTR szURL, LPMONIKER FAR * ppmk);
  234. STDAPI CreateURLMonikerEx(LPMONIKER pMkCtx, LPCWSTR szURL, LPMONIKER FAR * ppmk, DWORD dwFlags);
  235. STDAPI GetClassURL(LPCWSTR szURL, CLSID *pClsID);
  236. STDAPI CreateAsyncBindCtx(DWORD reserved, IBindStatusCallback *pBSCb,
  237. IEnumFORMATETC *pEFetc, IBindCtx **ppBC);
  238. STDAPI CreateAsyncBindCtxEx(IBindCtx *pbc, DWORD dwOptions, IBindStatusCallback *pBSCb, IEnumFORMATETC *pEnum,
  239. IBindCtx **ppBC, DWORD reserved);
  240. STDAPI MkParseDisplayNameEx(IBindCtx *pbc, LPCWSTR szDisplayName, ULONG *pchEaten,
  241. LPMONIKER *ppmk);
  242. STDAPI RegisterBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb,
  243. IBindStatusCallback** ppBSCBPrev, DWORD dwReserved);
  244. STDAPI RevokeBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb);
  245. STDAPI GetClassFileOrMime(LPBC pBC, LPCWSTR szFilename, LPVOID pBuffer, DWORD cbSize, LPCWSTR szMime, DWORD dwReserved, CLSID *pclsid);
  246. STDAPI IsValidURL(LPBC pBC, LPCWSTR szURL, DWORD dwReserved);
  247. STDAPI CoGetClassObjectFromURL( REFCLSID rCLASSID,
  248. LPCWSTR szCODE, DWORD dwFileVersionMS,
  249. DWORD dwFileVersionLS, LPCWSTR szTYPE,
  250. LPBINDCTX pBindCtx, DWORD dwClsContext,
  251. LPVOID pvReserved, REFIID riid, LPVOID * ppv);
  252. STDAPI FaultInIEFeature( HWND hWnd,
  253. uCLSSPEC *pClassSpec,
  254. QUERYCONTEXT *pQuery, DWORD dwFlags);
  255. STDAPI GetComponentIDFromCLSSPEC(uCLSSPEC *pClassspec,
  256. LPSTR * ppszComponentID);
  257. // flags for FaultInIEFeature
  258. #define FIEF_FLAG_FORCE_JITUI 0x1 // force JIT ui even if
  259. // previoulsy rejected by
  260. // user in this session or
  261. // marked as Never Ask Again
  262. #define FIEF_FLAG_PEEK 0x2 // just peek, don't faultin
  263. #define FIEF_FLAG_SKIP_INSTALLED_VERSION_CHECK 0x4 // force JIT without checking local version
  264. //helper apis
  265. STDAPI IsAsyncMoniker(IMoniker* pmk);
  266. STDAPI CreateURLBinding(LPCWSTR lpszUrl, IBindCtx *pbc, IBinding **ppBdg);
  267. STDAPI RegisterMediaTypes(UINT ctypes, const LPCSTR* rgszTypes, CLIPFORMAT* rgcfTypes);
  268. STDAPI FindMediaType(LPCSTR rgszTypes, CLIPFORMAT* rgcfTypes);
  269. STDAPI CreateFormatEnumerator( UINT cfmtetc, FORMATETC* rgfmtetc, IEnumFORMATETC** ppenumfmtetc);
  270. STDAPI RegisterFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc, DWORD reserved);
  271. STDAPI RevokeFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc);
  272. STDAPI RegisterMediaTypeClass(LPBC pBC,UINT ctypes, const LPCSTR* rgszTypes, CLSID *rgclsID, DWORD reserved);
  273. STDAPI FindMediaTypeClass(LPBC pBC, LPCSTR szType, CLSID *pclsID, DWORD reserved);
  274. STDAPI UrlMkSetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD dwReserved);
  275. STDAPI UrlMkGetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD *pdwBufferLength, DWORD dwReserved);
  276. STDAPI FindMimeFromData(
  277. LPBC pBC, // bind context - can be NULL
  278. LPCWSTR pwzUrl, // url - can be null
  279. LPVOID pBuffer, // buffer with data to sniff - can be null (pwzUrl must be valid)
  280. DWORD cbSize, // size of buffer
  281. LPCWSTR pwzMimeProposed, // proposed mime if - can be null
  282. DWORD dwMimeFlags, // will be defined
  283. LPWSTR *ppwzMimeOut, // the suggested mime
  284. DWORD dwReserved); // must be 0
  285. #define FMFD_DEFAULT 0x00000000
  286. #define FMFD_URLASFILENAME 0x00000001
  287. STDAPI ObtainUserAgentString(DWORD dwOption, LPSTR pszUAOut, DWORD* cbSize);
  288. STDAPI CompareSecurityIds(BYTE* pbSecurityId1, DWORD dwLen1, BYTE* pbSecurityId2, DWORD dwLen2, DWORD dwReserved);
  289. // URLMON-specific defines for UrlMkSetSessionOption() above
  290. #define URLMON_OPTION_USERAGENT 0x10000001
  291. #define URLMON_OPTION_USERAGENT_REFRESH 0x10000002
  292. #define URLMON_OPTION_URL_ENCODING 0x10000004
  293. #define CF_NULL 0
  294. #define CFSTR_MIME_NULL NULL
  295. #define CFSTR_MIME_TEXT (TEXT("text/plain"))
  296. #define CFSTR_MIME_RICHTEXT (TEXT("text/richtext"))
  297. #define CFSTR_MIME_X_BITMAP (TEXT("image/x-xbitmap"))
  298. #define CFSTR_MIME_POSTSCRIPT (TEXT("application/postscript"))
  299. #define CFSTR_MIME_AIFF (TEXT("audio/aiff"))
  300. #define CFSTR_MIME_BASICAUDIO (TEXT("audio/basic"))
  301. #define CFSTR_MIME_WAV (TEXT("audio/wav"))
  302. #define CFSTR_MIME_X_WAV (TEXT("audio/x-wav"))
  303. #define CFSTR_MIME_GIF (TEXT("image/gif"))
  304. #define CFSTR_MIME_PJPEG (TEXT("image/pjpeg"))
  305. #define CFSTR_MIME_JPEG (TEXT("image/jpeg"))
  306. #define CFSTR_MIME_TIFF (TEXT("image/tiff"))
  307. #define CFSTR_MIME_X_PNG (TEXT("image/x-png"))
  308. #define CFSTR_MIME_BMP (TEXT("image/bmp"))
  309. #define CFSTR_MIME_X_ART (TEXT("image/x-jg"))
  310. #define CFSTR_MIME_X_EMF (TEXT("image/x-emf"))
  311. #define CFSTR_MIME_X_WMF (TEXT("image/x-wmf"))
  312. #define CFSTR_MIME_AVI (TEXT("video/avi"))
  313. #define CFSTR_MIME_MPEG (TEXT("video/mpeg"))
  314. #define CFSTR_MIME_FRACTALS (TEXT("application/fractals"))
  315. #define CFSTR_MIME_RAWDATA (TEXT("application/octet-stream"))
  316. #define CFSTR_MIME_RAWDATASTRM (TEXT("application/octet-stream"))
  317. #define CFSTR_MIME_PDF (TEXT("application/pdf"))
  318. #define CFSTR_MIME_HTA (TEXT("application/hta"))
  319. #define CFSTR_MIME_X_AIFF (TEXT("audio/x-aiff"))
  320. #define CFSTR_MIME_X_REALAUDIO (TEXT("audio/x-pn-realaudio"))
  321. #define CFSTR_MIME_XBM (TEXT("image/xbm"))
  322. #define CFSTR_MIME_QUICKTIME (TEXT("video/quicktime"))
  323. #define CFSTR_MIME_X_MSVIDEO (TEXT("video/x-msvideo"))
  324. #define CFSTR_MIME_X_SGI_MOVIE (TEXT("video/x-sgi-movie"))
  325. #define CFSTR_MIME_HTML (TEXT("text/html"))
  326. #define CFSTR_MIME_XML (TEXT("text/xml"))
  327. // MessageId: MK_S_ASYNCHRONOUS
  328. // MessageText: Operation is successful, but will complete asynchronously.
  329. //
  330. #define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8L)
  331. #ifndef S_ASYNCHRONOUS
  332. #define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS
  333. #endif
  334. #ifndef E_PENDING
  335. #define E_PENDING _HRESULT_TYPEDEF_(0x8000000AL)
  336. #endif
  337. //
  338. //
  339. // WinINet and protocol specific errors are mapped to one of the following
  340. // error which are returned in IBSC::OnStopBinding
  341. //
  342. //
  343. // Note: FACILITY C is split into ranges of 1k
  344. // C0000 - C03FF INET_E_ (URLMON's original hresult)
  345. // C0400 - C07FF INET_E_CLIENT_xxx
  346. // C0800 - C0BFF INET_E_SERVER_xxx
  347. // C0C00 - C0FFF INET_E_????
  348. // C1000 - C13FF INET_E_AGENT_xxx (info delivery agents)
  349. #define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002L)
  350. #define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003L)
  351. #define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004L)
  352. #define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005L)
  353. #define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006L)
  354. #define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007L)
  355. #define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008L)
  356. #define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009L)
  357. #define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000AL)
  358. #define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000BL)
  359. #define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000CL)
  360. #define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000DL)
  361. #define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000EL)
  362. #define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000FL)
  363. #define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010L)
  364. #define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014L)
  365. #define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015L)
  366. #define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016L)
  367. #define INET_E_USE_EXTEND_BINDING _HRESULT_TYPEDEF_(0x800C0017L)
  368. #define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018L)
  369. #define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002L)
  370. #define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100L)
  371. #define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200L)
  372. #define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300L)
  373. #define INET_E_ERROR_LAST INET_E_CANNOT_REPLACE_SFP_FILE
  374. #ifndef _LPPERSISTMONIKER_DEFINED
  375. #define _LPPERSISTMONIKER_DEFINED
  376. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0000_v0_0_c_ifspec;
  377. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0000_v0_0_s_ifspec;
  378. #ifndef __IPersistMoniker_INTERFACE_DEFINED__
  379. #define __IPersistMoniker_INTERFACE_DEFINED__
  380. /* interface IPersistMoniker */
  381. /* [unique][uuid][object] */
  382. typedef /* [unique] */ IPersistMoniker *LPPERSISTMONIKER;
  383. EXTERN_C const IID IID_IPersistMoniker;
  384. #if defined(__cplusplus) && !defined(CINTERFACE)
  385. MIDL_INTERFACE("79eac9c9-baf9-11ce-8c82-00aa004ba90b")
  386. IPersistMoniker : public IUnknown
  387. {
  388. public:
  389. virtual HRESULT STDMETHODCALLTYPE GetClassID(
  390. /* [out] */ CLSID *pClassID) = 0;
  391. virtual HRESULT STDMETHODCALLTYPE IsDirty( void) = 0;
  392. virtual HRESULT STDMETHODCALLTYPE Load(
  393. /* [in] */ BOOL fFullyAvailable,
  394. /* [in] */ IMoniker *pimkName,
  395. /* [in] */ LPBC pibc,
  396. /* [in] */ DWORD grfMode) = 0;
  397. virtual HRESULT STDMETHODCALLTYPE Save(
  398. /* [in] */ IMoniker *pimkName,
  399. /* [in] */ LPBC pbc,
  400. /* [in] */ BOOL fRemember) = 0;
  401. virtual HRESULT STDMETHODCALLTYPE SaveCompleted(
  402. /* [in] */ IMoniker *pimkName,
  403. /* [in] */ LPBC pibc) = 0;
  404. virtual HRESULT STDMETHODCALLTYPE GetCurMoniker(
  405. /* [out] */ IMoniker **ppimkName) = 0;
  406. };
  407. #else /* C style interface */
  408. typedef struct IPersistMonikerVtbl
  409. {
  410. BEGIN_INTERFACE
  411. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  412. IPersistMoniker * This,
  413. /* [in] */ REFIID riid,
  414. /* [iid_is][out] */ void **ppvObject);
  415. ULONG ( STDMETHODCALLTYPE *AddRef )(
  416. IPersistMoniker * This);
  417. ULONG ( STDMETHODCALLTYPE *Release )(
  418. IPersistMoniker * This);
  419. HRESULT ( STDMETHODCALLTYPE *GetClassID )(
  420. IPersistMoniker * This,
  421. /* [out] */ CLSID *pClassID);
  422. HRESULT ( STDMETHODCALLTYPE *IsDirty )(
  423. IPersistMoniker * This);
  424. HRESULT ( STDMETHODCALLTYPE *Load )(
  425. IPersistMoniker * This,
  426. /* [in] */ BOOL fFullyAvailable,
  427. /* [in] */ IMoniker *pimkName,
  428. /* [in] */ LPBC pibc,
  429. /* [in] */ DWORD grfMode);
  430. HRESULT ( STDMETHODCALLTYPE *Save )(
  431. IPersistMoniker * This,
  432. /* [in] */ IMoniker *pimkName,
  433. /* [in] */ LPBC pbc,
  434. /* [in] */ BOOL fRemember);
  435. HRESULT ( STDMETHODCALLTYPE *SaveCompleted )(
  436. IPersistMoniker * This,
  437. /* [in] */ IMoniker *pimkName,
  438. /* [in] */ LPBC pibc);
  439. HRESULT ( STDMETHODCALLTYPE *GetCurMoniker )(
  440. IPersistMoniker * This,
  441. /* [out] */ IMoniker **ppimkName);
  442. END_INTERFACE
  443. } IPersistMonikerVtbl;
  444. interface IPersistMoniker
  445. {
  446. CONST_VTBL struct IPersistMonikerVtbl *lpVtbl;
  447. };
  448. #ifdef COBJMACROS
  449. #define IPersistMoniker_QueryInterface(This,riid,ppvObject) \
  450. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  451. #define IPersistMoniker_AddRef(This) \
  452. (This)->lpVtbl -> AddRef(This)
  453. #define IPersistMoniker_Release(This) \
  454. (This)->lpVtbl -> Release(This)
  455. #define IPersistMoniker_GetClassID(This,pClassID) \
  456. (This)->lpVtbl -> GetClassID(This,pClassID)
  457. #define IPersistMoniker_IsDirty(This) \
  458. (This)->lpVtbl -> IsDirty(This)
  459. #define IPersistMoniker_Load(This,fFullyAvailable,pimkName,pibc,grfMode) \
  460. (This)->lpVtbl -> Load(This,fFullyAvailable,pimkName,pibc,grfMode)
  461. #define IPersistMoniker_Save(This,pimkName,pbc,fRemember) \
  462. (This)->lpVtbl -> Save(This,pimkName,pbc,fRemember)
  463. #define IPersistMoniker_SaveCompleted(This,pimkName,pibc) \
  464. (This)->lpVtbl -> SaveCompleted(This,pimkName,pibc)
  465. #define IPersistMoniker_GetCurMoniker(This,ppimkName) \
  466. (This)->lpVtbl -> GetCurMoniker(This,ppimkName)
  467. #endif /* COBJMACROS */
  468. #endif /* C style interface */
  469. HRESULT STDMETHODCALLTYPE IPersistMoniker_GetClassID_Proxy(
  470. IPersistMoniker * This,
  471. /* [out] */ CLSID *pClassID);
  472. void __RPC_STUB IPersistMoniker_GetClassID_Stub(
  473. IRpcStubBuffer *This,
  474. IRpcChannelBuffer *_pRpcChannelBuffer,
  475. PRPC_MESSAGE _pRpcMessage,
  476. DWORD *_pdwStubPhase);
  477. HRESULT STDMETHODCALLTYPE IPersistMoniker_IsDirty_Proxy(
  478. IPersistMoniker * This);
  479. void __RPC_STUB IPersistMoniker_IsDirty_Stub(
  480. IRpcStubBuffer *This,
  481. IRpcChannelBuffer *_pRpcChannelBuffer,
  482. PRPC_MESSAGE _pRpcMessage,
  483. DWORD *_pdwStubPhase);
  484. HRESULT STDMETHODCALLTYPE IPersistMoniker_Load_Proxy(
  485. IPersistMoniker * This,
  486. /* [in] */ BOOL fFullyAvailable,
  487. /* [in] */ IMoniker *pimkName,
  488. /* [in] */ LPBC pibc,
  489. /* [in] */ DWORD grfMode);
  490. void __RPC_STUB IPersistMoniker_Load_Stub(
  491. IRpcStubBuffer *This,
  492. IRpcChannelBuffer *_pRpcChannelBuffer,
  493. PRPC_MESSAGE _pRpcMessage,
  494. DWORD *_pdwStubPhase);
  495. HRESULT STDMETHODCALLTYPE IPersistMoniker_Save_Proxy(
  496. IPersistMoniker * This,
  497. /* [in] */ IMoniker *pimkName,
  498. /* [in] */ LPBC pbc,
  499. /* [in] */ BOOL fRemember);
  500. void __RPC_STUB IPersistMoniker_Save_Stub(
  501. IRpcStubBuffer *This,
  502. IRpcChannelBuffer *_pRpcChannelBuffer,
  503. PRPC_MESSAGE _pRpcMessage,
  504. DWORD *_pdwStubPhase);
  505. HRESULT STDMETHODCALLTYPE IPersistMoniker_SaveCompleted_Proxy(
  506. IPersistMoniker * This,
  507. /* [in] */ IMoniker *pimkName,
  508. /* [in] */ LPBC pibc);
  509. void __RPC_STUB IPersistMoniker_SaveCompleted_Stub(
  510. IRpcStubBuffer *This,
  511. IRpcChannelBuffer *_pRpcChannelBuffer,
  512. PRPC_MESSAGE _pRpcMessage,
  513. DWORD *_pdwStubPhase);
  514. HRESULT STDMETHODCALLTYPE IPersistMoniker_GetCurMoniker_Proxy(
  515. IPersistMoniker * This,
  516. /* [out] */ IMoniker **ppimkName);
  517. void __RPC_STUB IPersistMoniker_GetCurMoniker_Stub(
  518. IRpcStubBuffer *This,
  519. IRpcChannelBuffer *_pRpcChannelBuffer,
  520. PRPC_MESSAGE _pRpcMessage,
  521. DWORD *_pdwStubPhase);
  522. #endif /* __IPersistMoniker_INTERFACE_DEFINED__ */
  523. /* interface __MIDL_itf_urlmon_0174 */
  524. /* [local] */
  525. #endif
  526. #ifndef _LPMONIKERPROP_DEFINED
  527. #define _LPMONIKERPROP_DEFINED
  528. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0174_v0_0_c_ifspec;
  529. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0174_v0_0_s_ifspec;
  530. #ifndef __IMonikerProp_INTERFACE_DEFINED__
  531. #define __IMonikerProp_INTERFACE_DEFINED__
  532. /* interface IMonikerProp */
  533. /* [unique][uuid][object] */
  534. typedef /* [unique] */ IMonikerProp *LPMONIKERPROP;
  535. typedef /* [public][public] */
  536. enum __MIDL_IMonikerProp_0001
  537. { MIMETYPEPROP = 0,
  538. USE_SRC_URL = 0x1
  539. } MONIKERPROPERTY;
  540. EXTERN_C const IID IID_IMonikerProp;
  541. #if defined(__cplusplus) && !defined(CINTERFACE)
  542. MIDL_INTERFACE("a5ca5f7f-1847-4d87-9c5b-918509f7511d")
  543. IMonikerProp : public IUnknown
  544. {
  545. public:
  546. virtual HRESULT STDMETHODCALLTYPE PutProperty(
  547. /* [in] */ MONIKERPROPERTY mkp,
  548. /* [in] */ LPCWSTR val) = 0;
  549. };
  550. #else /* C style interface */
  551. typedef struct IMonikerPropVtbl
  552. {
  553. BEGIN_INTERFACE
  554. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  555. IMonikerProp * This,
  556. /* [in] */ REFIID riid,
  557. /* [iid_is][out] */ void **ppvObject);
  558. ULONG ( STDMETHODCALLTYPE *AddRef )(
  559. IMonikerProp * This);
  560. ULONG ( STDMETHODCALLTYPE *Release )(
  561. IMonikerProp * This);
  562. HRESULT ( STDMETHODCALLTYPE *PutProperty )(
  563. IMonikerProp * This,
  564. /* [in] */ MONIKERPROPERTY mkp,
  565. /* [in] */ LPCWSTR val);
  566. END_INTERFACE
  567. } IMonikerPropVtbl;
  568. interface IMonikerProp
  569. {
  570. CONST_VTBL struct IMonikerPropVtbl *lpVtbl;
  571. };
  572. #ifdef COBJMACROS
  573. #define IMonikerProp_QueryInterface(This,riid,ppvObject) \
  574. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  575. #define IMonikerProp_AddRef(This) \
  576. (This)->lpVtbl -> AddRef(This)
  577. #define IMonikerProp_Release(This) \
  578. (This)->lpVtbl -> Release(This)
  579. #define IMonikerProp_PutProperty(This,mkp,val) \
  580. (This)->lpVtbl -> PutProperty(This,mkp,val)
  581. #endif /* COBJMACROS */
  582. #endif /* C style interface */
  583. HRESULT STDMETHODCALLTYPE IMonikerProp_PutProperty_Proxy(
  584. IMonikerProp * This,
  585. /* [in] */ MONIKERPROPERTY mkp,
  586. /* [in] */ LPCWSTR val);
  587. void __RPC_STUB IMonikerProp_PutProperty_Stub(
  588. IRpcStubBuffer *This,
  589. IRpcChannelBuffer *_pRpcChannelBuffer,
  590. PRPC_MESSAGE _pRpcMessage,
  591. DWORD *_pdwStubPhase);
  592. #endif /* __IMonikerProp_INTERFACE_DEFINED__ */
  593. /* interface __MIDL_itf_urlmon_0175 */
  594. /* [local] */
  595. #endif
  596. #ifndef _LPBINDPROTOCOL_DEFINED
  597. #define _LPBINDPROTOCOL_DEFINED
  598. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0175_v0_0_c_ifspec;
  599. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0175_v0_0_s_ifspec;
  600. #ifndef __IBindProtocol_INTERFACE_DEFINED__
  601. #define __IBindProtocol_INTERFACE_DEFINED__
  602. /* interface IBindProtocol */
  603. /* [unique][uuid][object][local] */
  604. typedef /* [unique] */ IBindProtocol *LPBINDPROTOCOL;
  605. EXTERN_C const IID IID_IBindProtocol;
  606. #if defined(__cplusplus) && !defined(CINTERFACE)
  607. MIDL_INTERFACE("79eac9cd-baf9-11ce-8c82-00aa004ba90b")
  608. IBindProtocol : public IUnknown
  609. {
  610. public:
  611. virtual HRESULT STDMETHODCALLTYPE CreateBinding(
  612. /* [in] */ LPCWSTR szUrl,
  613. /* [in] */ IBindCtx *pbc,
  614. /* [out] */ IBinding **ppb) = 0;
  615. };
  616. #else /* C style interface */
  617. typedef struct IBindProtocolVtbl
  618. {
  619. BEGIN_INTERFACE
  620. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  621. IBindProtocol * This,
  622. /* [in] */ REFIID riid,
  623. /* [iid_is][out] */ void **ppvObject);
  624. ULONG ( STDMETHODCALLTYPE *AddRef )(
  625. IBindProtocol * This);
  626. ULONG ( STDMETHODCALLTYPE *Release )(
  627. IBindProtocol * This);
  628. HRESULT ( STDMETHODCALLTYPE *CreateBinding )(
  629. IBindProtocol * This,
  630. /* [in] */ LPCWSTR szUrl,
  631. /* [in] */ IBindCtx *pbc,
  632. /* [out] */ IBinding **ppb);
  633. END_INTERFACE
  634. } IBindProtocolVtbl;
  635. interface IBindProtocol
  636. {
  637. CONST_VTBL struct IBindProtocolVtbl *lpVtbl;
  638. };
  639. #ifdef COBJMACROS
  640. #define IBindProtocol_QueryInterface(This,riid,ppvObject) \
  641. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  642. #define IBindProtocol_AddRef(This) \
  643. (This)->lpVtbl -> AddRef(This)
  644. #define IBindProtocol_Release(This) \
  645. (This)->lpVtbl -> Release(This)
  646. #define IBindProtocol_CreateBinding(This,szUrl,pbc,ppb) \
  647. (This)->lpVtbl -> CreateBinding(This,szUrl,pbc,ppb)
  648. #endif /* COBJMACROS */
  649. #endif /* C style interface */
  650. HRESULT STDMETHODCALLTYPE IBindProtocol_CreateBinding_Proxy(
  651. IBindProtocol * This,
  652. /* [in] */ LPCWSTR szUrl,
  653. /* [in] */ IBindCtx *pbc,
  654. /* [out] */ IBinding **ppb);
  655. void __RPC_STUB IBindProtocol_CreateBinding_Stub(
  656. IRpcStubBuffer *This,
  657. IRpcChannelBuffer *_pRpcChannelBuffer,
  658. PRPC_MESSAGE _pRpcMessage,
  659. DWORD *_pdwStubPhase);
  660. #endif /* __IBindProtocol_INTERFACE_DEFINED__ */
  661. /* interface __MIDL_itf_urlmon_0176 */
  662. /* [local] */
  663. #endif
  664. #ifndef _LPBINDING_DEFINED
  665. #define _LPBINDING_DEFINED
  666. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0176_v0_0_c_ifspec;
  667. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0176_v0_0_s_ifspec;
  668. #ifndef __IBinding_INTERFACE_DEFINED__
  669. #define __IBinding_INTERFACE_DEFINED__
  670. /* interface IBinding */
  671. /* [unique][uuid][object] */
  672. typedef /* [unique] */ IBinding *LPBINDING;
  673. EXTERN_C const IID IID_IBinding;
  674. #if defined(__cplusplus) && !defined(CINTERFACE)
  675. MIDL_INTERFACE("79eac9c0-baf9-11ce-8c82-00aa004ba90b")
  676. IBinding : public IUnknown
  677. {
  678. public:
  679. virtual HRESULT STDMETHODCALLTYPE Abort( void) = 0;
  680. virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  681. virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  682. virtual HRESULT STDMETHODCALLTYPE SetPriority(
  683. /* [in] */ LONG nPriority) = 0;
  684. virtual HRESULT STDMETHODCALLTYPE GetPriority(
  685. /* [out] */ LONG *pnPriority) = 0;
  686. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetBindResult(
  687. /* [out] */ CLSID *pclsidProtocol,
  688. /* [out] */ DWORD *pdwResult,
  689. /* [out] */ LPOLESTR *pszResult,
  690. /* [out][in] */ DWORD *pdwReserved) = 0;
  691. };
  692. #else /* C style interface */
  693. typedef struct IBindingVtbl
  694. {
  695. BEGIN_INTERFACE
  696. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  697. IBinding * This,
  698. /* [in] */ REFIID riid,
  699. /* [iid_is][out] */ void **ppvObject);
  700. ULONG ( STDMETHODCALLTYPE *AddRef )(
  701. IBinding * This);
  702. ULONG ( STDMETHODCALLTYPE *Release )(
  703. IBinding * This);
  704. HRESULT ( STDMETHODCALLTYPE *Abort )(
  705. IBinding * This);
  706. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  707. IBinding * This);
  708. HRESULT ( STDMETHODCALLTYPE *Resume )(
  709. IBinding * This);
  710. HRESULT ( STDMETHODCALLTYPE *SetPriority )(
  711. IBinding * This,
  712. /* [in] */ LONG nPriority);
  713. HRESULT ( STDMETHODCALLTYPE *GetPriority )(
  714. IBinding * This,
  715. /* [out] */ LONG *pnPriority);
  716. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetBindResult )(
  717. IBinding * This,
  718. /* [out] */ CLSID *pclsidProtocol,
  719. /* [out] */ DWORD *pdwResult,
  720. /* [out] */ LPOLESTR *pszResult,
  721. /* [out][in] */ DWORD *pdwReserved);
  722. END_INTERFACE
  723. } IBindingVtbl;
  724. interface IBinding
  725. {
  726. CONST_VTBL struct IBindingVtbl *lpVtbl;
  727. };
  728. #ifdef COBJMACROS
  729. #define IBinding_QueryInterface(This,riid,ppvObject) \
  730. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  731. #define IBinding_AddRef(This) \
  732. (This)->lpVtbl -> AddRef(This)
  733. #define IBinding_Release(This) \
  734. (This)->lpVtbl -> Release(This)
  735. #define IBinding_Abort(This) \
  736. (This)->lpVtbl -> Abort(This)
  737. #define IBinding_Suspend(This) \
  738. (This)->lpVtbl -> Suspend(This)
  739. #define IBinding_Resume(This) \
  740. (This)->lpVtbl -> Resume(This)
  741. #define IBinding_SetPriority(This,nPriority) \
  742. (This)->lpVtbl -> SetPriority(This,nPriority)
  743. #define IBinding_GetPriority(This,pnPriority) \
  744. (This)->lpVtbl -> GetPriority(This,pnPriority)
  745. #define IBinding_GetBindResult(This,pclsidProtocol,pdwResult,pszResult,pdwReserved) \
  746. (This)->lpVtbl -> GetBindResult(This,pclsidProtocol,pdwResult,pszResult,pdwReserved)
  747. #endif /* COBJMACROS */
  748. #endif /* C style interface */
  749. HRESULT STDMETHODCALLTYPE IBinding_Abort_Proxy(
  750. IBinding * This);
  751. void __RPC_STUB IBinding_Abort_Stub(
  752. IRpcStubBuffer *This,
  753. IRpcChannelBuffer *_pRpcChannelBuffer,
  754. PRPC_MESSAGE _pRpcMessage,
  755. DWORD *_pdwStubPhase);
  756. HRESULT STDMETHODCALLTYPE IBinding_Suspend_Proxy(
  757. IBinding * This);
  758. void __RPC_STUB IBinding_Suspend_Stub(
  759. IRpcStubBuffer *This,
  760. IRpcChannelBuffer *_pRpcChannelBuffer,
  761. PRPC_MESSAGE _pRpcMessage,
  762. DWORD *_pdwStubPhase);
  763. HRESULT STDMETHODCALLTYPE IBinding_Resume_Proxy(
  764. IBinding * This);
  765. void __RPC_STUB IBinding_Resume_Stub(
  766. IRpcStubBuffer *This,
  767. IRpcChannelBuffer *_pRpcChannelBuffer,
  768. PRPC_MESSAGE _pRpcMessage,
  769. DWORD *_pdwStubPhase);
  770. HRESULT STDMETHODCALLTYPE IBinding_SetPriority_Proxy(
  771. IBinding * This,
  772. /* [in] */ LONG nPriority);
  773. void __RPC_STUB IBinding_SetPriority_Stub(
  774. IRpcStubBuffer *This,
  775. IRpcChannelBuffer *_pRpcChannelBuffer,
  776. PRPC_MESSAGE _pRpcMessage,
  777. DWORD *_pdwStubPhase);
  778. HRESULT STDMETHODCALLTYPE IBinding_GetPriority_Proxy(
  779. IBinding * This,
  780. /* [out] */ LONG *pnPriority);
  781. void __RPC_STUB IBinding_GetPriority_Stub(
  782. IRpcStubBuffer *This,
  783. IRpcChannelBuffer *_pRpcChannelBuffer,
  784. PRPC_MESSAGE _pRpcMessage,
  785. DWORD *_pdwStubPhase);
  786. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBinding_RemoteGetBindResult_Proxy(
  787. IBinding * This,
  788. /* [out] */ CLSID *pclsidProtocol,
  789. /* [out] */ DWORD *pdwResult,
  790. /* [out] */ LPOLESTR *pszResult,
  791. /* [in] */ DWORD dwReserved);
  792. void __RPC_STUB IBinding_RemoteGetBindResult_Stub(
  793. IRpcStubBuffer *This,
  794. IRpcChannelBuffer *_pRpcChannelBuffer,
  795. PRPC_MESSAGE _pRpcMessage,
  796. DWORD *_pdwStubPhase);
  797. #endif /* __IBinding_INTERFACE_DEFINED__ */
  798. /* interface __MIDL_itf_urlmon_0177 */
  799. /* [local] */
  800. #endif
  801. #ifndef _LPBINDSTATUSCALLBACK_DEFINED
  802. #define _LPBINDSTATUSCALLBACK_DEFINED
  803. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0177_v0_0_c_ifspec;
  804. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0177_v0_0_s_ifspec;
  805. #ifndef __IBindStatusCallback_INTERFACE_DEFINED__
  806. #define __IBindStatusCallback_INTERFACE_DEFINED__
  807. /* interface IBindStatusCallback */
  808. /* [unique][uuid][object] */
  809. typedef /* [unique] */ IBindStatusCallback *LPBINDSTATUSCALLBACK;
  810. typedef /* [public] */
  811. enum __MIDL_IBindStatusCallback_0001
  812. { BINDVERB_GET = 0,
  813. BINDVERB_POST = 0x1,
  814. BINDVERB_PUT = 0x2,
  815. BINDVERB_CUSTOM = 0x3
  816. } BINDVERB;
  817. typedef /* [public] */
  818. enum __MIDL_IBindStatusCallback_0002
  819. { BINDINFOF_URLENCODESTGMEDDATA = 0x1,
  820. BINDINFOF_URLENCODEDEXTRAINFO = 0x2
  821. } BINDINFOF;
  822. typedef /* [public] */
  823. enum __MIDL_IBindStatusCallback_0003
  824. { BINDF_ASYNCHRONOUS = 0x1,
  825. BINDF_ASYNCSTORAGE = 0x2,
  826. BINDF_NOPROGRESSIVERENDERING = 0x4,
  827. BINDF_OFFLINEOPERATION = 0x8,
  828. BINDF_GETNEWESTVERSION = 0x10,
  829. BINDF_NOWRITECACHE = 0x20,
  830. BINDF_NEEDFILE = 0x40,
  831. BINDF_PULLDATA = 0x80,
  832. BINDF_IGNORESECURITYPROBLEM = 0x100,
  833. BINDF_RESYNCHRONIZE = 0x200,
  834. BINDF_HYPERLINK = 0x400,
  835. BINDF_NO_UI = 0x800,
  836. BINDF_SILENTOPERATION = 0x1000,
  837. BINDF_PRAGMA_NO_CACHE = 0x2000,
  838. BINDF_GETCLASSOBJECT = 0x4000,
  839. BINDF_RESERVED_1 = 0x8000,
  840. BINDF_FREE_THREADED = 0x10000,
  841. BINDF_DIRECT_READ = 0x20000,
  842. BINDF_FORMS_SUBMIT = 0x40000,
  843. BINDF_GETFROMCACHE_IF_NET_FAIL = 0x80000,
  844. BINDF_FROMURLMON = 0x100000,
  845. BINDF_FWD_BACK = 0x200000,
  846. BINDF_PREFERDEFAULTHANDLER = 0x400000,
  847. BINDF_ENFORCERESTRICTED = 0x800000
  848. } BINDF;
  849. typedef /* [public] */
  850. enum __MIDL_IBindStatusCallback_0004
  851. { URL_ENCODING_NONE = 0,
  852. URL_ENCODING_ENABLE_UTF8 = 0x10000000,
  853. URL_ENCODING_DISABLE_UTF8 = 0x20000000
  854. } URL_ENCODING;
  855. typedef struct _tagBINDINFO
  856. {
  857. ULONG cbSize;
  858. LPWSTR szExtraInfo;
  859. STGMEDIUM stgmedData;
  860. DWORD grfBindInfoF;
  861. DWORD dwBindVerb;
  862. LPWSTR szCustomVerb;
  863. DWORD cbstgmedData;
  864. DWORD dwOptions;
  865. DWORD dwOptionsFlags;
  866. DWORD dwCodePage;
  867. SECURITY_ATTRIBUTES securityAttributes;
  868. IID iid;
  869. IUnknown *pUnk;
  870. DWORD dwReserved;
  871. } BINDINFO;
  872. typedef struct _REMSECURITY_ATTRIBUTES
  873. {
  874. DWORD nLength;
  875. DWORD lpSecurityDescriptor;
  876. BOOL bInheritHandle;
  877. } REMSECURITY_ATTRIBUTES;
  878. typedef struct _REMSECURITY_ATTRIBUTES *PREMSECURITY_ATTRIBUTES;
  879. typedef struct _REMSECURITY_ATTRIBUTES *LPREMSECURITY_ATTRIBUTES;
  880. typedef struct _tagRemBINDINFO
  881. {
  882. ULONG cbSize;
  883. LPWSTR szExtraInfo;
  884. DWORD grfBindInfoF;
  885. DWORD dwBindVerb;
  886. LPWSTR szCustomVerb;
  887. DWORD cbstgmedData;
  888. DWORD dwOptions;
  889. DWORD dwOptionsFlags;
  890. DWORD dwCodePage;
  891. REMSECURITY_ATTRIBUTES securityAttributes;
  892. IID iid;
  893. IUnknown *pUnk;
  894. DWORD dwReserved;
  895. } RemBINDINFO;
  896. typedef struct tagRemFORMATETC
  897. {
  898. DWORD cfFormat;
  899. DWORD ptd;
  900. DWORD dwAspect;
  901. LONG lindex;
  902. DWORD tymed;
  903. } RemFORMATETC;
  904. typedef struct tagRemFORMATETC *LPREMFORMATETC;
  905. typedef /* [public] */
  906. enum __MIDL_IBindStatusCallback_0005
  907. { BINDINFO_OPTIONS_WININETFLAG = 0x10000,
  908. BINDINFO_OPTIONS_ENABLE_UTF8 = 0x20000,
  909. BINDINFO_OPTIONS_DISABLE_UTF8 = 0x40000,
  910. BINDINFO_OPTIONS_USE_IE_ENCODING = 0x80000,
  911. BINDINFO_OPTIONS_BINDTOOBJECT = 0x100000
  912. } BINDINFO_OPTIONS;
  913. typedef /* [public] */
  914. enum __MIDL_IBindStatusCallback_0006
  915. { BSCF_FIRSTDATANOTIFICATION = 0x1,
  916. BSCF_INTERMEDIATEDATANOTIFICATION = 0x2,
  917. BSCF_LASTDATANOTIFICATION = 0x4,
  918. BSCF_DATAFULLYAVAILABLE = 0x8,
  919. BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
  920. } BSCF;
  921. typedef
  922. enum tagBINDSTATUS
  923. { BINDSTATUS_FINDINGRESOURCE = 1,
  924. BINDSTATUS_CONNECTING = BINDSTATUS_FINDINGRESOURCE + 1,
  925. BINDSTATUS_REDIRECTING = BINDSTATUS_CONNECTING + 1,
  926. BINDSTATUS_BEGINDOWNLOADDATA = BINDSTATUS_REDIRECTING + 1,
  927. BINDSTATUS_DOWNLOADINGDATA = BINDSTATUS_BEGINDOWNLOADDATA + 1,
  928. BINDSTATUS_ENDDOWNLOADDATA = BINDSTATUS_DOWNLOADINGDATA + 1,
  929. BINDSTATUS_BEGINDOWNLOADCOMPONENTS = BINDSTATUS_ENDDOWNLOADDATA + 1,
  930. BINDSTATUS_INSTALLINGCOMPONENTS = BINDSTATUS_BEGINDOWNLOADCOMPONENTS + 1,
  931. BINDSTATUS_ENDDOWNLOADCOMPONENTS = BINDSTATUS_INSTALLINGCOMPONENTS + 1,
  932. BINDSTATUS_USINGCACHEDCOPY = BINDSTATUS_ENDDOWNLOADCOMPONENTS + 1,
  933. BINDSTATUS_SENDINGREQUEST = BINDSTATUS_USINGCACHEDCOPY + 1,
  934. BINDSTATUS_CLASSIDAVAILABLE = BINDSTATUS_SENDINGREQUEST + 1,
  935. BINDSTATUS_MIMETYPEAVAILABLE = BINDSTATUS_CLASSIDAVAILABLE + 1,
  936. BINDSTATUS_CACHEFILENAMEAVAILABLE = BINDSTATUS_MIMETYPEAVAILABLE + 1,
  937. BINDSTATUS_BEGINSYNCOPERATION = BINDSTATUS_CACHEFILENAMEAVAILABLE + 1,
  938. BINDSTATUS_ENDSYNCOPERATION = BINDSTATUS_BEGINSYNCOPERATION + 1,
  939. BINDSTATUS_BEGINUPLOADDATA = BINDSTATUS_ENDSYNCOPERATION + 1,
  940. BINDSTATUS_UPLOADINGDATA = BINDSTATUS_BEGINUPLOADDATA + 1,
  941. BINDSTATUS_ENDUPLOADDATA = BINDSTATUS_UPLOADINGDATA + 1,
  942. BINDSTATUS_PROTOCOLCLASSID = BINDSTATUS_ENDUPLOADDATA + 1,
  943. BINDSTATUS_ENCODING = BINDSTATUS_PROTOCOLCLASSID + 1,
  944. BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE = BINDSTATUS_ENCODING + 1,
  945. BINDSTATUS_CLASSINSTALLLOCATION = BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE + 1,
  946. BINDSTATUS_DECODING = BINDSTATUS_CLASSINSTALLLOCATION + 1,
  947. BINDSTATUS_LOADINGMIMEHANDLER = BINDSTATUS_DECODING + 1,
  948. BINDSTATUS_CONTENTDISPOSITIONATTACH = BINDSTATUS_LOADINGMIMEHANDLER + 1,
  949. BINDSTATUS_FILTERREPORTMIMETYPE = BINDSTATUS_CONTENTDISPOSITIONATTACH + 1,
  950. BINDSTATUS_CLSIDCANINSTANTIATE = BINDSTATUS_FILTERREPORTMIMETYPE + 1,
  951. BINDSTATUS_IUNKNOWNAVAILABLE = BINDSTATUS_CLSIDCANINSTANTIATE + 1,
  952. BINDSTATUS_DIRECTBIND = BINDSTATUS_IUNKNOWNAVAILABLE + 1,
  953. BINDSTATUS_RAWMIMETYPE = BINDSTATUS_DIRECTBIND + 1,
  954. BINDSTATUS_PROXYDETECTING = BINDSTATUS_RAWMIMETYPE + 1,
  955. BINDSTATUS_ACCEPTRANGES = BINDSTATUS_PROXYDETECTING + 1,
  956. BINDSTATUS_COOKIE_SENT = BINDSTATUS_ACCEPTRANGES + 1,
  957. BINDSTATUS_COMPACT_POLICY_RECEIVED = BINDSTATUS_COOKIE_SENT + 1,
  958. BINDSTATUS_COOKIE_SUPPRESSED = BINDSTATUS_COMPACT_POLICY_RECEIVED + 1,
  959. BINDSTATUS_COOKIE_STATE_UNKNOWN = BINDSTATUS_COOKIE_SUPPRESSED + 1,
  960. BINDSTATUS_COOKIE_STATE_ACCEPT = BINDSTATUS_COOKIE_STATE_UNKNOWN + 1,
  961. BINDSTATUS_COOKIE_STATE_REJECT = BINDSTATUS_COOKIE_STATE_ACCEPT + 1,
  962. BINDSTATUS_COOKIE_STATE_PROMPT = BINDSTATUS_COOKIE_STATE_REJECT + 1,
  963. BINDSTATUS_COOKIE_STATE_LEASH = BINDSTATUS_COOKIE_STATE_PROMPT + 1,
  964. BINDSTATUS_COOKIE_STATE_DOWNGRADE = BINDSTATUS_COOKIE_STATE_LEASH + 1,
  965. BINDSTATUS_POLICY_HREF = BINDSTATUS_COOKIE_STATE_DOWNGRADE + 1,
  966. BINDSTATUS_P3P_HEADER = BINDSTATUS_POLICY_HREF + 1,
  967. BINDSTATUS_SESSION_COOKIE_RECEIVED = BINDSTATUS_P3P_HEADER + 1,
  968. BINDSTATUS_PERSISTENT_COOKIE_RECEIVED = BINDSTATUS_SESSION_COOKIE_RECEIVED + 1,
  969. BINDSTATUS_SESSION_COOKIES_ALLOWED = BINDSTATUS_PERSISTENT_COOKIE_RECEIVED + 1
  970. } BINDSTATUS;
  971. EXTERN_C const IID IID_IBindStatusCallback;
  972. #if defined(__cplusplus) && !defined(CINTERFACE)
  973. MIDL_INTERFACE("79eac9c1-baf9-11ce-8c82-00aa004ba90b")
  974. IBindStatusCallback : public IUnknown
  975. {
  976. public:
  977. virtual HRESULT STDMETHODCALLTYPE OnStartBinding(
  978. /* [in] */ DWORD dwReserved,
  979. /* [in] */ IBinding *pib) = 0;
  980. virtual HRESULT STDMETHODCALLTYPE GetPriority(
  981. /* [out] */ LONG *pnPriority) = 0;
  982. virtual HRESULT STDMETHODCALLTYPE OnLowResource(
  983. /* [in] */ DWORD reserved) = 0;
  984. virtual HRESULT STDMETHODCALLTYPE OnProgress(
  985. /* [in] */ ULONG ulProgress,
  986. /* [in] */ ULONG ulProgressMax,
  987. /* [in] */ ULONG ulStatusCode,
  988. /* [in] */ LPCWSTR szStatusText) = 0;
  989. virtual HRESULT STDMETHODCALLTYPE OnStopBinding(
  990. /* [in] */ HRESULT hresult,
  991. /* [unique][in] */ LPCWSTR szError) = 0;
  992. virtual /* [local] */ HRESULT STDMETHODCALLTYPE GetBindInfo(
  993. /* [out] */ DWORD *grfBINDF,
  994. /* [unique][out][in] */ BINDINFO *pbindinfo) = 0;
  995. virtual /* [local] */ HRESULT STDMETHODCALLTYPE OnDataAvailable(
  996. /* [in] */ DWORD grfBSCF,
  997. /* [in] */ DWORD dwSize,
  998. /* [in] */ FORMATETC *pformatetc,
  999. /* [in] */ STGMEDIUM *pstgmed) = 0;
  1000. virtual HRESULT STDMETHODCALLTYPE OnObjectAvailable(
  1001. /* [in] */ REFIID riid,
  1002. /* [iid_is][in] */ IUnknown *punk) = 0;
  1003. };
  1004. #else /* C style interface */
  1005. typedef struct IBindStatusCallbackVtbl
  1006. {
  1007. BEGIN_INTERFACE
  1008. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1009. IBindStatusCallback * This,
  1010. /* [in] */ REFIID riid,
  1011. /* [iid_is][out] */ void **ppvObject);
  1012. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1013. IBindStatusCallback * This);
  1014. ULONG ( STDMETHODCALLTYPE *Release )(
  1015. IBindStatusCallback * This);
  1016. HRESULT ( STDMETHODCALLTYPE *OnStartBinding )(
  1017. IBindStatusCallback * This,
  1018. /* [in] */ DWORD dwReserved,
  1019. /* [in] */ IBinding *pib);
  1020. HRESULT ( STDMETHODCALLTYPE *GetPriority )(
  1021. IBindStatusCallback * This,
  1022. /* [out] */ LONG *pnPriority);
  1023. HRESULT ( STDMETHODCALLTYPE *OnLowResource )(
  1024. IBindStatusCallback * This,
  1025. /* [in] */ DWORD reserved);
  1026. HRESULT ( STDMETHODCALLTYPE *OnProgress )(
  1027. IBindStatusCallback * This,
  1028. /* [in] */ ULONG ulProgress,
  1029. /* [in] */ ULONG ulProgressMax,
  1030. /* [in] */ ULONG ulStatusCode,
  1031. /* [in] */ LPCWSTR szStatusText);
  1032. HRESULT ( STDMETHODCALLTYPE *OnStopBinding )(
  1033. IBindStatusCallback * This,
  1034. /* [in] */ HRESULT hresult,
  1035. /* [unique][in] */ LPCWSTR szError);
  1036. /* [local] */ HRESULT ( STDMETHODCALLTYPE *GetBindInfo )(
  1037. IBindStatusCallback * This,
  1038. /* [out] */ DWORD *grfBINDF,
  1039. /* [unique][out][in] */ BINDINFO *pbindinfo);
  1040. /* [local] */ HRESULT ( STDMETHODCALLTYPE *OnDataAvailable )(
  1041. IBindStatusCallback * This,
  1042. /* [in] */ DWORD grfBSCF,
  1043. /* [in] */ DWORD dwSize,
  1044. /* [in] */ FORMATETC *pformatetc,
  1045. /* [in] */ STGMEDIUM *pstgmed);
  1046. HRESULT ( STDMETHODCALLTYPE *OnObjectAvailable )(
  1047. IBindStatusCallback * This,
  1048. /* [in] */ REFIID riid,
  1049. /* [iid_is][in] */ IUnknown *punk);
  1050. END_INTERFACE
  1051. } IBindStatusCallbackVtbl;
  1052. interface IBindStatusCallback
  1053. {
  1054. CONST_VTBL struct IBindStatusCallbackVtbl *lpVtbl;
  1055. };
  1056. #ifdef COBJMACROS
  1057. #define IBindStatusCallback_QueryInterface(This,riid,ppvObject) \
  1058. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1059. #define IBindStatusCallback_AddRef(This) \
  1060. (This)->lpVtbl -> AddRef(This)
  1061. #define IBindStatusCallback_Release(This) \
  1062. (This)->lpVtbl -> Release(This)
  1063. #define IBindStatusCallback_OnStartBinding(This,dwReserved,pib) \
  1064. (This)->lpVtbl -> OnStartBinding(This,dwReserved,pib)
  1065. #define IBindStatusCallback_GetPriority(This,pnPriority) \
  1066. (This)->lpVtbl -> GetPriority(This,pnPriority)
  1067. #define IBindStatusCallback_OnLowResource(This,reserved) \
  1068. (This)->lpVtbl -> OnLowResource(This,reserved)
  1069. #define IBindStatusCallback_OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText) \
  1070. (This)->lpVtbl -> OnProgress(This,ulProgress,ulProgressMax,ulStatusCode,szStatusText)
  1071. #define IBindStatusCallback_OnStopBinding(This,hresult,szError) \
  1072. (This)->lpVtbl -> OnStopBinding(This,hresult,szError)
  1073. #define IBindStatusCallback_GetBindInfo(This,grfBINDF,pbindinfo) \
  1074. (This)->lpVtbl -> GetBindInfo(This,grfBINDF,pbindinfo)
  1075. #define IBindStatusCallback_OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed) \
  1076. (This)->lpVtbl -> OnDataAvailable(This,grfBSCF,dwSize,pformatetc,pstgmed)
  1077. #define IBindStatusCallback_OnObjectAvailable(This,riid,punk) \
  1078. (This)->lpVtbl -> OnObjectAvailable(This,riid,punk)
  1079. #endif /* COBJMACROS */
  1080. #endif /* C style interface */
  1081. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnStartBinding_Proxy(
  1082. IBindStatusCallback * This,
  1083. /* [in] */ DWORD dwReserved,
  1084. /* [in] */ IBinding *pib);
  1085. void __RPC_STUB IBindStatusCallback_OnStartBinding_Stub(
  1086. IRpcStubBuffer *This,
  1087. IRpcChannelBuffer *_pRpcChannelBuffer,
  1088. PRPC_MESSAGE _pRpcMessage,
  1089. DWORD *_pdwStubPhase);
  1090. HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetPriority_Proxy(
  1091. IBindStatusCallback * This,
  1092. /* [out] */ LONG *pnPriority);
  1093. void __RPC_STUB IBindStatusCallback_GetPriority_Stub(
  1094. IRpcStubBuffer *This,
  1095. IRpcChannelBuffer *_pRpcChannelBuffer,
  1096. PRPC_MESSAGE _pRpcMessage,
  1097. DWORD *_pdwStubPhase);
  1098. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnLowResource_Proxy(
  1099. IBindStatusCallback * This,
  1100. /* [in] */ DWORD reserved);
  1101. void __RPC_STUB IBindStatusCallback_OnLowResource_Stub(
  1102. IRpcStubBuffer *This,
  1103. IRpcChannelBuffer *_pRpcChannelBuffer,
  1104. PRPC_MESSAGE _pRpcMessage,
  1105. DWORD *_pdwStubPhase);
  1106. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnProgress_Proxy(
  1107. IBindStatusCallback * This,
  1108. /* [in] */ ULONG ulProgress,
  1109. /* [in] */ ULONG ulProgressMax,
  1110. /* [in] */ ULONG ulStatusCode,
  1111. /* [in] */ LPCWSTR szStatusText);
  1112. void __RPC_STUB IBindStatusCallback_OnProgress_Stub(
  1113. IRpcStubBuffer *This,
  1114. IRpcChannelBuffer *_pRpcChannelBuffer,
  1115. PRPC_MESSAGE _pRpcMessage,
  1116. DWORD *_pdwStubPhase);
  1117. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnStopBinding_Proxy(
  1118. IBindStatusCallback * This,
  1119. /* [in] */ HRESULT hresult,
  1120. /* [unique][in] */ LPCWSTR szError);
  1121. void __RPC_STUB IBindStatusCallback_OnStopBinding_Stub(
  1122. IRpcStubBuffer *This,
  1123. IRpcChannelBuffer *_pRpcChannelBuffer,
  1124. PRPC_MESSAGE _pRpcMessage,
  1125. DWORD *_pdwStubPhase);
  1126. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteGetBindInfo_Proxy(
  1127. IBindStatusCallback * This,
  1128. /* [out] */ DWORD *grfBINDF,
  1129. /* [unique][out][in] */ RemBINDINFO *pbindinfo,
  1130. /* [unique][out][in] */ RemSTGMEDIUM *pstgmed);
  1131. void __RPC_STUB IBindStatusCallback_RemoteGetBindInfo_Stub(
  1132. IRpcStubBuffer *This,
  1133. IRpcChannelBuffer *_pRpcChannelBuffer,
  1134. PRPC_MESSAGE _pRpcMessage,
  1135. DWORD *_pdwStubPhase);
  1136. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_RemoteOnDataAvailable_Proxy(
  1137. IBindStatusCallback * This,
  1138. /* [in] */ DWORD grfBSCF,
  1139. /* [in] */ DWORD dwSize,
  1140. /* [in] */ RemFORMATETC *pformatetc,
  1141. /* [in] */ RemSTGMEDIUM *pstgmed);
  1142. void __RPC_STUB IBindStatusCallback_RemoteOnDataAvailable_Stub(
  1143. IRpcStubBuffer *This,
  1144. IRpcChannelBuffer *_pRpcChannelBuffer,
  1145. PRPC_MESSAGE _pRpcMessage,
  1146. DWORD *_pdwStubPhase);
  1147. HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnObjectAvailable_Proxy(
  1148. IBindStatusCallback * This,
  1149. /* [in] */ REFIID riid,
  1150. /* [iid_is][in] */ IUnknown *punk);
  1151. void __RPC_STUB IBindStatusCallback_OnObjectAvailable_Stub(
  1152. IRpcStubBuffer *This,
  1153. IRpcChannelBuffer *_pRpcChannelBuffer,
  1154. PRPC_MESSAGE _pRpcMessage,
  1155. DWORD *_pdwStubPhase);
  1156. #endif /* __IBindStatusCallback_INTERFACE_DEFINED__ */
  1157. /* interface __MIDL_itf_urlmon_0178 */
  1158. /* [local] */
  1159. #endif
  1160. #ifndef _LPAUTHENTICATION_DEFINED
  1161. #define _LPAUTHENTICATION_DEFINED
  1162. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0178_v0_0_c_ifspec;
  1163. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0178_v0_0_s_ifspec;
  1164. #ifndef __IAuthenticate_INTERFACE_DEFINED__
  1165. #define __IAuthenticate_INTERFACE_DEFINED__
  1166. /* interface IAuthenticate */
  1167. /* [unique][uuid][object] */
  1168. typedef /* [unique] */ IAuthenticate *LPAUTHENTICATION;
  1169. EXTERN_C const IID IID_IAuthenticate;
  1170. #if defined(__cplusplus) && !defined(CINTERFACE)
  1171. MIDL_INTERFACE("79eac9d0-baf9-11ce-8c82-00aa004ba90b")
  1172. IAuthenticate : public IUnknown
  1173. {
  1174. public:
  1175. virtual HRESULT STDMETHODCALLTYPE Authenticate(
  1176. /* [out] */ HWND *phwnd,
  1177. /* [out] */ LPWSTR *pszUsername,
  1178. /* [out] */ LPWSTR *pszPassword) = 0;
  1179. };
  1180. #else /* C style interface */
  1181. typedef struct IAuthenticateVtbl
  1182. {
  1183. BEGIN_INTERFACE
  1184. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1185. IAuthenticate * This,
  1186. /* [in] */ REFIID riid,
  1187. /* [iid_is][out] */ void **ppvObject);
  1188. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1189. IAuthenticate * This);
  1190. ULONG ( STDMETHODCALLTYPE *Release )(
  1191. IAuthenticate * This);
  1192. HRESULT ( STDMETHODCALLTYPE *Authenticate )(
  1193. IAuthenticate * This,
  1194. /* [out] */ HWND *phwnd,
  1195. /* [out] */ LPWSTR *pszUsername,
  1196. /* [out] */ LPWSTR *pszPassword);
  1197. END_INTERFACE
  1198. } IAuthenticateVtbl;
  1199. interface IAuthenticate
  1200. {
  1201. CONST_VTBL struct IAuthenticateVtbl *lpVtbl;
  1202. };
  1203. #ifdef COBJMACROS
  1204. #define IAuthenticate_QueryInterface(This,riid,ppvObject) \
  1205. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1206. #define IAuthenticate_AddRef(This) \
  1207. (This)->lpVtbl -> AddRef(This)
  1208. #define IAuthenticate_Release(This) \
  1209. (This)->lpVtbl -> Release(This)
  1210. #define IAuthenticate_Authenticate(This,phwnd,pszUsername,pszPassword) \
  1211. (This)->lpVtbl -> Authenticate(This,phwnd,pszUsername,pszPassword)
  1212. #endif /* COBJMACROS */
  1213. #endif /* C style interface */
  1214. HRESULT STDMETHODCALLTYPE IAuthenticate_Authenticate_Proxy(
  1215. IAuthenticate * This,
  1216. /* [out] */ HWND *phwnd,
  1217. /* [out] */ LPWSTR *pszUsername,
  1218. /* [out] */ LPWSTR *pszPassword);
  1219. void __RPC_STUB IAuthenticate_Authenticate_Stub(
  1220. IRpcStubBuffer *This,
  1221. IRpcChannelBuffer *_pRpcChannelBuffer,
  1222. PRPC_MESSAGE _pRpcMessage,
  1223. DWORD *_pdwStubPhase);
  1224. #endif /* __IAuthenticate_INTERFACE_DEFINED__ */
  1225. /* interface __MIDL_itf_urlmon_0179 */
  1226. /* [local] */
  1227. #endif
  1228. #ifndef _LPHTTPNEGOTIATE_DEFINED
  1229. #define _LPHTTPNEGOTIATE_DEFINED
  1230. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0179_v0_0_c_ifspec;
  1231. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0179_v0_0_s_ifspec;
  1232. #ifndef __IHttpNegotiate_INTERFACE_DEFINED__
  1233. #define __IHttpNegotiate_INTERFACE_DEFINED__
  1234. /* interface IHttpNegotiate */
  1235. /* [unique][uuid][object] */
  1236. typedef /* [unique] */ IHttpNegotiate *LPHTTPNEGOTIATE;
  1237. EXTERN_C const IID IID_IHttpNegotiate;
  1238. #if defined(__cplusplus) && !defined(CINTERFACE)
  1239. MIDL_INTERFACE("79eac9d2-baf9-11ce-8c82-00aa004ba90b")
  1240. IHttpNegotiate : public IUnknown
  1241. {
  1242. public:
  1243. virtual HRESULT STDMETHODCALLTYPE BeginningTransaction(
  1244. /* [in] */ LPCWSTR szURL,
  1245. /* [unique][in] */ LPCWSTR szHeaders,
  1246. /* [in] */ DWORD dwReserved,
  1247. /* [out] */ LPWSTR *pszAdditionalHeaders) = 0;
  1248. virtual HRESULT STDMETHODCALLTYPE OnResponse(
  1249. /* [in] */ DWORD dwResponseCode,
  1250. /* [unique][in] */ LPCWSTR szResponseHeaders,
  1251. /* [unique][in] */ LPCWSTR szRequestHeaders,
  1252. /* [out] */ LPWSTR *pszAdditionalRequestHeaders) = 0;
  1253. };
  1254. #else /* C style interface */
  1255. typedef struct IHttpNegotiateVtbl
  1256. {
  1257. BEGIN_INTERFACE
  1258. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1259. IHttpNegotiate * This,
  1260. /* [in] */ REFIID riid,
  1261. /* [iid_is][out] */ void **ppvObject);
  1262. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1263. IHttpNegotiate * This);
  1264. ULONG ( STDMETHODCALLTYPE *Release )(
  1265. IHttpNegotiate * This);
  1266. HRESULT ( STDMETHODCALLTYPE *BeginningTransaction )(
  1267. IHttpNegotiate * This,
  1268. /* [in] */ LPCWSTR szURL,
  1269. /* [unique][in] */ LPCWSTR szHeaders,
  1270. /* [in] */ DWORD dwReserved,
  1271. /* [out] */ LPWSTR *pszAdditionalHeaders);
  1272. HRESULT ( STDMETHODCALLTYPE *OnResponse )(
  1273. IHttpNegotiate * This,
  1274. /* [in] */ DWORD dwResponseCode,
  1275. /* [unique][in] */ LPCWSTR szResponseHeaders,
  1276. /* [unique][in] */ LPCWSTR szRequestHeaders,
  1277. /* [out] */ LPWSTR *pszAdditionalRequestHeaders);
  1278. END_INTERFACE
  1279. } IHttpNegotiateVtbl;
  1280. interface IHttpNegotiate
  1281. {
  1282. CONST_VTBL struct IHttpNegotiateVtbl *lpVtbl;
  1283. };
  1284. #ifdef COBJMACROS
  1285. #define IHttpNegotiate_QueryInterface(This,riid,ppvObject) \
  1286. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1287. #define IHttpNegotiate_AddRef(This) \
  1288. (This)->lpVtbl -> AddRef(This)
  1289. #define IHttpNegotiate_Release(This) \
  1290. (This)->lpVtbl -> Release(This)
  1291. #define IHttpNegotiate_BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders) \
  1292. (This)->lpVtbl -> BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders)
  1293. #define IHttpNegotiate_OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders) \
  1294. (This)->lpVtbl -> OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders)
  1295. #endif /* COBJMACROS */
  1296. #endif /* C style interface */
  1297. HRESULT STDMETHODCALLTYPE IHttpNegotiate_BeginningTransaction_Proxy(
  1298. IHttpNegotiate * This,
  1299. /* [in] */ LPCWSTR szURL,
  1300. /* [unique][in] */ LPCWSTR szHeaders,
  1301. /* [in] */ DWORD dwReserved,
  1302. /* [out] */ LPWSTR *pszAdditionalHeaders);
  1303. void __RPC_STUB IHttpNegotiate_BeginningTransaction_Stub(
  1304. IRpcStubBuffer *This,
  1305. IRpcChannelBuffer *_pRpcChannelBuffer,
  1306. PRPC_MESSAGE _pRpcMessage,
  1307. DWORD *_pdwStubPhase);
  1308. HRESULT STDMETHODCALLTYPE IHttpNegotiate_OnResponse_Proxy(
  1309. IHttpNegotiate * This,
  1310. /* [in] */ DWORD dwResponseCode,
  1311. /* [unique][in] */ LPCWSTR szResponseHeaders,
  1312. /* [unique][in] */ LPCWSTR szRequestHeaders,
  1313. /* [out] */ LPWSTR *pszAdditionalRequestHeaders);
  1314. void __RPC_STUB IHttpNegotiate_OnResponse_Stub(
  1315. IRpcStubBuffer *This,
  1316. IRpcChannelBuffer *_pRpcChannelBuffer,
  1317. PRPC_MESSAGE _pRpcMessage,
  1318. DWORD *_pdwStubPhase);
  1319. #endif /* __IHttpNegotiate_INTERFACE_DEFINED__ */
  1320. /* interface __MIDL_itf_urlmon_0180 */
  1321. /* [local] */
  1322. #endif
  1323. #ifndef _LPHTTPNEGOTIATE2_DEFINED
  1324. #define _LPHTTPNEGOTIATE2_DEFINED
  1325. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0180_v0_0_c_ifspec;
  1326. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0180_v0_0_s_ifspec;
  1327. #ifndef __IHttpNegotiate2_INTERFACE_DEFINED__
  1328. #define __IHttpNegotiate2_INTERFACE_DEFINED__
  1329. /* interface IHttpNegotiate2 */
  1330. /* [unique][uuid][object] */
  1331. typedef /* [unique] */ IHttpNegotiate2 *LPHTTPNEGOTIATE2;
  1332. EXTERN_C const IID IID_IHttpNegotiate2;
  1333. #if defined(__cplusplus) && !defined(CINTERFACE)
  1334. MIDL_INTERFACE("4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4")
  1335. IHttpNegotiate2 : public IHttpNegotiate
  1336. {
  1337. public:
  1338. virtual HRESULT STDMETHODCALLTYPE GetRootSecurityId(
  1339. /* [size_is][out] */ BYTE *pbSecurityId,
  1340. /* [out][in] */ DWORD *pcbSecurityId,
  1341. /* [in] */ DWORD_PTR dwReserved) = 0;
  1342. };
  1343. #else /* C style interface */
  1344. typedef struct IHttpNegotiate2Vtbl
  1345. {
  1346. BEGIN_INTERFACE
  1347. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1348. IHttpNegotiate2 * This,
  1349. /* [in] */ REFIID riid,
  1350. /* [iid_is][out] */ void **ppvObject);
  1351. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1352. IHttpNegotiate2 * This);
  1353. ULONG ( STDMETHODCALLTYPE *Release )(
  1354. IHttpNegotiate2 * This);
  1355. HRESULT ( STDMETHODCALLTYPE *BeginningTransaction )(
  1356. IHttpNegotiate2 * This,
  1357. /* [in] */ LPCWSTR szURL,
  1358. /* [unique][in] */ LPCWSTR szHeaders,
  1359. /* [in] */ DWORD dwReserved,
  1360. /* [out] */ LPWSTR *pszAdditionalHeaders);
  1361. HRESULT ( STDMETHODCALLTYPE *OnResponse )(
  1362. IHttpNegotiate2 * This,
  1363. /* [in] */ DWORD dwResponseCode,
  1364. /* [unique][in] */ LPCWSTR szResponseHeaders,
  1365. /* [unique][in] */ LPCWSTR szRequestHeaders,
  1366. /* [out] */ LPWSTR *pszAdditionalRequestHeaders);
  1367. HRESULT ( STDMETHODCALLTYPE *GetRootSecurityId )(
  1368. IHttpNegotiate2 * This,
  1369. /* [size_is][out] */ BYTE *pbSecurityId,
  1370. /* [out][in] */ DWORD *pcbSecurityId,
  1371. /* [in] */ DWORD_PTR dwReserved);
  1372. END_INTERFACE
  1373. } IHttpNegotiate2Vtbl;
  1374. interface IHttpNegotiate2
  1375. {
  1376. CONST_VTBL struct IHttpNegotiate2Vtbl *lpVtbl;
  1377. };
  1378. #ifdef COBJMACROS
  1379. #define IHttpNegotiate2_QueryInterface(This,riid,ppvObject) \
  1380. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1381. #define IHttpNegotiate2_AddRef(This) \
  1382. (This)->lpVtbl -> AddRef(This)
  1383. #define IHttpNegotiate2_Release(This) \
  1384. (This)->lpVtbl -> Release(This)
  1385. #define IHttpNegotiate2_BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders) \
  1386. (This)->lpVtbl -> BeginningTransaction(This,szURL,szHeaders,dwReserved,pszAdditionalHeaders)
  1387. #define IHttpNegotiate2_OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders) \
  1388. (This)->lpVtbl -> OnResponse(This,dwResponseCode,szResponseHeaders,szRequestHeaders,pszAdditionalRequestHeaders)
  1389. #define IHttpNegotiate2_GetRootSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved) \
  1390. (This)->lpVtbl -> GetRootSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved)
  1391. #endif /* COBJMACROS */
  1392. #endif /* C style interface */
  1393. HRESULT STDMETHODCALLTYPE IHttpNegotiate2_GetRootSecurityId_Proxy(
  1394. IHttpNegotiate2 * This,
  1395. /* [size_is][out] */ BYTE *pbSecurityId,
  1396. /* [out][in] */ DWORD *pcbSecurityId,
  1397. /* [in] */ DWORD_PTR dwReserved);
  1398. void __RPC_STUB IHttpNegotiate2_GetRootSecurityId_Stub(
  1399. IRpcStubBuffer *This,
  1400. IRpcChannelBuffer *_pRpcChannelBuffer,
  1401. PRPC_MESSAGE _pRpcMessage,
  1402. DWORD *_pdwStubPhase);
  1403. #endif /* __IHttpNegotiate2_INTERFACE_DEFINED__ */
  1404. /* interface __MIDL_itf_urlmon_0181 */
  1405. /* [local] */
  1406. #endif
  1407. #ifndef _LPWINDOWFORBINDINGUI_DEFINED
  1408. #define _LPWINDOWFORBINDINGUI_DEFINED
  1409. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0181_v0_0_c_ifspec;
  1410. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0181_v0_0_s_ifspec;
  1411. #ifndef __IWindowForBindingUI_INTERFACE_DEFINED__
  1412. #define __IWindowForBindingUI_INTERFACE_DEFINED__
  1413. /* interface IWindowForBindingUI */
  1414. /* [unique][uuid][object][local] */
  1415. typedef /* [unique] */ IWindowForBindingUI *LPWINDOWFORBINDINGUI;
  1416. EXTERN_C const IID IID_IWindowForBindingUI;
  1417. #if defined(__cplusplus) && !defined(CINTERFACE)
  1418. MIDL_INTERFACE("79eac9d5-bafa-11ce-8c82-00aa004ba90b")
  1419. IWindowForBindingUI : public IUnknown
  1420. {
  1421. public:
  1422. virtual HRESULT STDMETHODCALLTYPE GetWindow(
  1423. /* [in] */ REFGUID rguidReason,
  1424. /* [out] */ HWND *phwnd) = 0;
  1425. };
  1426. #else /* C style interface */
  1427. typedef struct IWindowForBindingUIVtbl
  1428. {
  1429. BEGIN_INTERFACE
  1430. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1431. IWindowForBindingUI * This,
  1432. /* [in] */ REFIID riid,
  1433. /* [iid_is][out] */ void **ppvObject);
  1434. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1435. IWindowForBindingUI * This);
  1436. ULONG ( STDMETHODCALLTYPE *Release )(
  1437. IWindowForBindingUI * This);
  1438. HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  1439. IWindowForBindingUI * This,
  1440. /* [in] */ REFGUID rguidReason,
  1441. /* [out] */ HWND *phwnd);
  1442. END_INTERFACE
  1443. } IWindowForBindingUIVtbl;
  1444. interface IWindowForBindingUI
  1445. {
  1446. CONST_VTBL struct IWindowForBindingUIVtbl *lpVtbl;
  1447. };
  1448. #ifdef COBJMACROS
  1449. #define IWindowForBindingUI_QueryInterface(This,riid,ppvObject) \
  1450. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1451. #define IWindowForBindingUI_AddRef(This) \
  1452. (This)->lpVtbl -> AddRef(This)
  1453. #define IWindowForBindingUI_Release(This) \
  1454. (This)->lpVtbl -> Release(This)
  1455. #define IWindowForBindingUI_GetWindow(This,rguidReason,phwnd) \
  1456. (This)->lpVtbl -> GetWindow(This,rguidReason,phwnd)
  1457. #endif /* COBJMACROS */
  1458. #endif /* C style interface */
  1459. HRESULT STDMETHODCALLTYPE IWindowForBindingUI_GetWindow_Proxy(
  1460. IWindowForBindingUI * This,
  1461. /* [in] */ REFGUID rguidReason,
  1462. /* [out] */ HWND *phwnd);
  1463. void __RPC_STUB IWindowForBindingUI_GetWindow_Stub(
  1464. IRpcStubBuffer *This,
  1465. IRpcChannelBuffer *_pRpcChannelBuffer,
  1466. PRPC_MESSAGE _pRpcMessage,
  1467. DWORD *_pdwStubPhase);
  1468. #endif /* __IWindowForBindingUI_INTERFACE_DEFINED__ */
  1469. /* interface __MIDL_itf_urlmon_0182 */
  1470. /* [local] */
  1471. #endif
  1472. #ifndef _LPCODEINSTALL_DEFINED
  1473. #define _LPCODEINSTALL_DEFINED
  1474. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0182_v0_0_c_ifspec;
  1475. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0182_v0_0_s_ifspec;
  1476. #ifndef __ICodeInstall_INTERFACE_DEFINED__
  1477. #define __ICodeInstall_INTERFACE_DEFINED__
  1478. /* interface ICodeInstall */
  1479. /* [unique][uuid][object][local] */
  1480. typedef /* [unique] */ ICodeInstall *LPCODEINSTALL;
  1481. typedef /* [public] */
  1482. enum __MIDL_ICodeInstall_0001
  1483. { CIP_DISK_FULL = 0,
  1484. CIP_ACCESS_DENIED = CIP_DISK_FULL + 1,
  1485. CIP_NEWER_VERSION_EXISTS = CIP_ACCESS_DENIED + 1,
  1486. CIP_OLDER_VERSION_EXISTS = CIP_NEWER_VERSION_EXISTS + 1,
  1487. CIP_NAME_CONFLICT = CIP_OLDER_VERSION_EXISTS + 1,
  1488. CIP_TRUST_VERIFICATION_COMPONENT_MISSING = CIP_NAME_CONFLICT + 1,
  1489. CIP_EXE_SELF_REGISTERATION_TIMEOUT = CIP_TRUST_VERIFICATION_COMPONENT_MISSING + 1,
  1490. CIP_UNSAFE_TO_ABORT = CIP_EXE_SELF_REGISTERATION_TIMEOUT + 1,
  1491. CIP_NEED_REBOOT = CIP_UNSAFE_TO_ABORT + 1
  1492. } CIP_STATUS;
  1493. EXTERN_C const IID IID_ICodeInstall;
  1494. #if defined(__cplusplus) && !defined(CINTERFACE)
  1495. MIDL_INTERFACE("79eac9d1-baf9-11ce-8c82-00aa004ba90b")
  1496. ICodeInstall : public IWindowForBindingUI
  1497. {
  1498. public:
  1499. virtual HRESULT STDMETHODCALLTYPE OnCodeInstallProblem(
  1500. /* [in] */ ULONG ulStatusCode,
  1501. /* [unique][in] */ LPCWSTR szDestination,
  1502. /* [unique][in] */ LPCWSTR szSource,
  1503. /* [in] */ DWORD dwReserved) = 0;
  1504. };
  1505. #else /* C style interface */
  1506. typedef struct ICodeInstallVtbl
  1507. {
  1508. BEGIN_INTERFACE
  1509. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1510. ICodeInstall * This,
  1511. /* [in] */ REFIID riid,
  1512. /* [iid_is][out] */ void **ppvObject);
  1513. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1514. ICodeInstall * This);
  1515. ULONG ( STDMETHODCALLTYPE *Release )(
  1516. ICodeInstall * This);
  1517. HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  1518. ICodeInstall * This,
  1519. /* [in] */ REFGUID rguidReason,
  1520. /* [out] */ HWND *phwnd);
  1521. HRESULT ( STDMETHODCALLTYPE *OnCodeInstallProblem )(
  1522. ICodeInstall * This,
  1523. /* [in] */ ULONG ulStatusCode,
  1524. /* [unique][in] */ LPCWSTR szDestination,
  1525. /* [unique][in] */ LPCWSTR szSource,
  1526. /* [in] */ DWORD dwReserved);
  1527. END_INTERFACE
  1528. } ICodeInstallVtbl;
  1529. interface ICodeInstall
  1530. {
  1531. CONST_VTBL struct ICodeInstallVtbl *lpVtbl;
  1532. };
  1533. #ifdef COBJMACROS
  1534. #define ICodeInstall_QueryInterface(This,riid,ppvObject) \
  1535. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1536. #define ICodeInstall_AddRef(This) \
  1537. (This)->lpVtbl -> AddRef(This)
  1538. #define ICodeInstall_Release(This) \
  1539. (This)->lpVtbl -> Release(This)
  1540. #define ICodeInstall_GetWindow(This,rguidReason,phwnd) \
  1541. (This)->lpVtbl -> GetWindow(This,rguidReason,phwnd)
  1542. #define ICodeInstall_OnCodeInstallProblem(This,ulStatusCode,szDestination,szSource,dwReserved) \
  1543. (This)->lpVtbl -> OnCodeInstallProblem(This,ulStatusCode,szDestination,szSource,dwReserved)
  1544. #endif /* COBJMACROS */
  1545. #endif /* C style interface */
  1546. HRESULT STDMETHODCALLTYPE ICodeInstall_OnCodeInstallProblem_Proxy(
  1547. ICodeInstall * This,
  1548. /* [in] */ ULONG ulStatusCode,
  1549. /* [unique][in] */ LPCWSTR szDestination,
  1550. /* [unique][in] */ LPCWSTR szSource,
  1551. /* [in] */ DWORD dwReserved);
  1552. void __RPC_STUB ICodeInstall_OnCodeInstallProblem_Stub(
  1553. IRpcStubBuffer *This,
  1554. IRpcChannelBuffer *_pRpcChannelBuffer,
  1555. PRPC_MESSAGE _pRpcMessage,
  1556. DWORD *_pdwStubPhase);
  1557. #endif /* __ICodeInstall_INTERFACE_DEFINED__ */
  1558. /* interface __MIDL_itf_urlmon_0183 */
  1559. /* [local] */
  1560. #endif
  1561. #ifndef _LPWININETINFO_DEFINED
  1562. #define _LPWININETINFO_DEFINED
  1563. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0183_v0_0_c_ifspec;
  1564. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0183_v0_0_s_ifspec;
  1565. #ifndef __IWinInetInfo_INTERFACE_DEFINED__
  1566. #define __IWinInetInfo_INTERFACE_DEFINED__
  1567. /* interface IWinInetInfo */
  1568. /* [unique][uuid][object] */
  1569. typedef /* [unique] */ IWinInetInfo *LPWININETINFO;
  1570. EXTERN_C const IID IID_IWinInetInfo;
  1571. #if defined(__cplusplus) && !defined(CINTERFACE)
  1572. MIDL_INTERFACE("79eac9d6-bafa-11ce-8c82-00aa004ba90b")
  1573. IWinInetInfo : public IUnknown
  1574. {
  1575. public:
  1576. virtual /* [local] */ HRESULT STDMETHODCALLTYPE QueryOption(
  1577. /* [in] */ DWORD dwOption,
  1578. /* [size_is][out][in] */ LPVOID pBuffer,
  1579. /* [out][in] */ DWORD *pcbBuf) = 0;
  1580. };
  1581. #else /* C style interface */
  1582. typedef struct IWinInetInfoVtbl
  1583. {
  1584. BEGIN_INTERFACE
  1585. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1586. IWinInetInfo * This,
  1587. /* [in] */ REFIID riid,
  1588. /* [iid_is][out] */ void **ppvObject);
  1589. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1590. IWinInetInfo * This);
  1591. ULONG ( STDMETHODCALLTYPE *Release )(
  1592. IWinInetInfo * This);
  1593. /* [local] */ HRESULT ( STDMETHODCALLTYPE *QueryOption )(
  1594. IWinInetInfo * This,
  1595. /* [in] */ DWORD dwOption,
  1596. /* [size_is][out][in] */ LPVOID pBuffer,
  1597. /* [out][in] */ DWORD *pcbBuf);
  1598. END_INTERFACE
  1599. } IWinInetInfoVtbl;
  1600. interface IWinInetInfo
  1601. {
  1602. CONST_VTBL struct IWinInetInfoVtbl *lpVtbl;
  1603. };
  1604. #ifdef COBJMACROS
  1605. #define IWinInetInfo_QueryInterface(This,riid,ppvObject) \
  1606. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1607. #define IWinInetInfo_AddRef(This) \
  1608. (This)->lpVtbl -> AddRef(This)
  1609. #define IWinInetInfo_Release(This) \
  1610. (This)->lpVtbl -> Release(This)
  1611. #define IWinInetInfo_QueryOption(This,dwOption,pBuffer,pcbBuf) \
  1612. (This)->lpVtbl -> QueryOption(This,dwOption,pBuffer,pcbBuf)
  1613. #endif /* COBJMACROS */
  1614. #endif /* C style interface */
  1615. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_RemoteQueryOption_Proxy(
  1616. IWinInetInfo * This,
  1617. /* [in] */ DWORD dwOption,
  1618. /* [size_is][out][in] */ BYTE *pBuffer,
  1619. /* [out][in] */ DWORD *pcbBuf);
  1620. void __RPC_STUB IWinInetInfo_RemoteQueryOption_Stub(
  1621. IRpcStubBuffer *This,
  1622. IRpcChannelBuffer *_pRpcChannelBuffer,
  1623. PRPC_MESSAGE _pRpcMessage,
  1624. DWORD *_pdwStubPhase);
  1625. #endif /* __IWinInetInfo_INTERFACE_DEFINED__ */
  1626. /* interface __MIDL_itf_urlmon_0184 */
  1627. /* [local] */
  1628. #endif
  1629. #define WININETINFO_OPTION_LOCK_HANDLE 65534
  1630. #ifndef _LPHTTPSECURITY_DEFINED
  1631. #define _LPHTTPSECURITY_DEFINED
  1632. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0184_v0_0_c_ifspec;
  1633. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0184_v0_0_s_ifspec;
  1634. #ifndef __IHttpSecurity_INTERFACE_DEFINED__
  1635. #define __IHttpSecurity_INTERFACE_DEFINED__
  1636. /* interface IHttpSecurity */
  1637. /* [unique][uuid][object][local] */
  1638. typedef /* [unique] */ IHttpSecurity *LPHTTPSECURITY;
  1639. EXTERN_C const IID IID_IHttpSecurity;
  1640. #if defined(__cplusplus) && !defined(CINTERFACE)
  1641. MIDL_INTERFACE("79eac9d7-bafa-11ce-8c82-00aa004ba90b")
  1642. IHttpSecurity : public IWindowForBindingUI
  1643. {
  1644. public:
  1645. virtual HRESULT STDMETHODCALLTYPE OnSecurityProblem(
  1646. /* [in] */ DWORD dwProblem) = 0;
  1647. };
  1648. #else /* C style interface */
  1649. typedef struct IHttpSecurityVtbl
  1650. {
  1651. BEGIN_INTERFACE
  1652. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1653. IHttpSecurity * This,
  1654. /* [in] */ REFIID riid,
  1655. /* [iid_is][out] */ void **ppvObject);
  1656. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1657. IHttpSecurity * This);
  1658. ULONG ( STDMETHODCALLTYPE *Release )(
  1659. IHttpSecurity * This);
  1660. HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  1661. IHttpSecurity * This,
  1662. /* [in] */ REFGUID rguidReason,
  1663. /* [out] */ HWND *phwnd);
  1664. HRESULT ( STDMETHODCALLTYPE *OnSecurityProblem )(
  1665. IHttpSecurity * This,
  1666. /* [in] */ DWORD dwProblem);
  1667. END_INTERFACE
  1668. } IHttpSecurityVtbl;
  1669. interface IHttpSecurity
  1670. {
  1671. CONST_VTBL struct IHttpSecurityVtbl *lpVtbl;
  1672. };
  1673. #ifdef COBJMACROS
  1674. #define IHttpSecurity_QueryInterface(This,riid,ppvObject) \
  1675. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1676. #define IHttpSecurity_AddRef(This) \
  1677. (This)->lpVtbl -> AddRef(This)
  1678. #define IHttpSecurity_Release(This) \
  1679. (This)->lpVtbl -> Release(This)
  1680. #define IHttpSecurity_GetWindow(This,rguidReason,phwnd) \
  1681. (This)->lpVtbl -> GetWindow(This,rguidReason,phwnd)
  1682. #define IHttpSecurity_OnSecurityProblem(This,dwProblem) \
  1683. (This)->lpVtbl -> OnSecurityProblem(This,dwProblem)
  1684. #endif /* COBJMACROS */
  1685. #endif /* C style interface */
  1686. HRESULT STDMETHODCALLTYPE IHttpSecurity_OnSecurityProblem_Proxy(
  1687. IHttpSecurity * This,
  1688. /* [in] */ DWORD dwProblem);
  1689. void __RPC_STUB IHttpSecurity_OnSecurityProblem_Stub(
  1690. IRpcStubBuffer *This,
  1691. IRpcChannelBuffer *_pRpcChannelBuffer,
  1692. PRPC_MESSAGE _pRpcMessage,
  1693. DWORD *_pdwStubPhase);
  1694. #endif /* __IHttpSecurity_INTERFACE_DEFINED__ */
  1695. /* interface __MIDL_itf_urlmon_0185 */
  1696. /* [local] */
  1697. #endif
  1698. #ifndef _LPWININETHTTPINFO_DEFINED
  1699. #define _LPWININETHTTPINFO_DEFINED
  1700. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0185_v0_0_c_ifspec;
  1701. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0185_v0_0_s_ifspec;
  1702. #ifndef __IWinInetHttpInfo_INTERFACE_DEFINED__
  1703. #define __IWinInetHttpInfo_INTERFACE_DEFINED__
  1704. /* interface IWinInetHttpInfo */
  1705. /* [unique][uuid][object] */
  1706. typedef /* [unique] */ IWinInetHttpInfo *LPWININETHTTPINFO;
  1707. EXTERN_C const IID IID_IWinInetHttpInfo;
  1708. #if defined(__cplusplus) && !defined(CINTERFACE)
  1709. MIDL_INTERFACE("79eac9d8-bafa-11ce-8c82-00aa004ba90b")
  1710. IWinInetHttpInfo : public IWinInetInfo
  1711. {
  1712. public:
  1713. virtual /* [local] */ HRESULT STDMETHODCALLTYPE QueryInfo(
  1714. /* [in] */ DWORD dwOption,
  1715. /* [size_is][out][in] */ LPVOID pBuffer,
  1716. /* [out][in] */ DWORD *pcbBuf,
  1717. /* [out][in] */ DWORD *pdwFlags,
  1718. /* [out][in] */ DWORD *pdwReserved) = 0;
  1719. };
  1720. #else /* C style interface */
  1721. typedef struct IWinInetHttpInfoVtbl
  1722. {
  1723. BEGIN_INTERFACE
  1724. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1725. IWinInetHttpInfo * This,
  1726. /* [in] */ REFIID riid,
  1727. /* [iid_is][out] */ void **ppvObject);
  1728. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1729. IWinInetHttpInfo * This);
  1730. ULONG ( STDMETHODCALLTYPE *Release )(
  1731. IWinInetHttpInfo * This);
  1732. /* [local] */ HRESULT ( STDMETHODCALLTYPE *QueryOption )(
  1733. IWinInetHttpInfo * This,
  1734. /* [in] */ DWORD dwOption,
  1735. /* [size_is][out][in] */ LPVOID pBuffer,
  1736. /* [out][in] */ DWORD *pcbBuf);
  1737. /* [local] */ HRESULT ( STDMETHODCALLTYPE *QueryInfo )(
  1738. IWinInetHttpInfo * This,
  1739. /* [in] */ DWORD dwOption,
  1740. /* [size_is][out][in] */ LPVOID pBuffer,
  1741. /* [out][in] */ DWORD *pcbBuf,
  1742. /* [out][in] */ DWORD *pdwFlags,
  1743. /* [out][in] */ DWORD *pdwReserved);
  1744. END_INTERFACE
  1745. } IWinInetHttpInfoVtbl;
  1746. interface IWinInetHttpInfo
  1747. {
  1748. CONST_VTBL struct IWinInetHttpInfoVtbl *lpVtbl;
  1749. };
  1750. #ifdef COBJMACROS
  1751. #define IWinInetHttpInfo_QueryInterface(This,riid,ppvObject) \
  1752. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1753. #define IWinInetHttpInfo_AddRef(This) \
  1754. (This)->lpVtbl -> AddRef(This)
  1755. #define IWinInetHttpInfo_Release(This) \
  1756. (This)->lpVtbl -> Release(This)
  1757. #define IWinInetHttpInfo_QueryOption(This,dwOption,pBuffer,pcbBuf) \
  1758. (This)->lpVtbl -> QueryOption(This,dwOption,pBuffer,pcbBuf)
  1759. #define IWinInetHttpInfo_QueryInfo(This,dwOption,pBuffer,pcbBuf,pdwFlags,pdwReserved) \
  1760. (This)->lpVtbl -> QueryInfo(This,dwOption,pBuffer,pcbBuf,pdwFlags,pdwReserved)
  1761. #endif /* COBJMACROS */
  1762. #endif /* C style interface */
  1763. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_RemoteQueryInfo_Proxy(
  1764. IWinInetHttpInfo * This,
  1765. /* [in] */ DWORD dwOption,
  1766. /* [size_is][out][in] */ BYTE *pBuffer,
  1767. /* [out][in] */ DWORD *pcbBuf,
  1768. /* [out][in] */ DWORD *pdwFlags,
  1769. /* [out][in] */ DWORD *pdwReserved);
  1770. void __RPC_STUB IWinInetHttpInfo_RemoteQueryInfo_Stub(
  1771. IRpcStubBuffer *This,
  1772. IRpcChannelBuffer *_pRpcChannelBuffer,
  1773. PRPC_MESSAGE _pRpcMessage,
  1774. DWORD *_pdwStubPhase);
  1775. #endif /* __IWinInetHttpInfo_INTERFACE_DEFINED__ */
  1776. /* interface __MIDL_itf_urlmon_0186 */
  1777. /* [local] */
  1778. #endif
  1779. #define SID_IBindHost IID_IBindHost
  1780. #define SID_SBindHost IID_IBindHost
  1781. #ifndef _LPBINDHOST_DEFINED
  1782. #define _LPBINDHOST_DEFINED
  1783. EXTERN_C const GUID SID_BindHost;
  1784. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0186_v0_0_c_ifspec;
  1785. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0186_v0_0_s_ifspec;
  1786. #ifndef __IBindHost_INTERFACE_DEFINED__
  1787. #define __IBindHost_INTERFACE_DEFINED__
  1788. /* interface IBindHost */
  1789. /* [unique][uuid][object] */
  1790. typedef /* [unique] */ IBindHost *LPBINDHOST;
  1791. EXTERN_C const IID IID_IBindHost;
  1792. #if defined(__cplusplus) && !defined(CINTERFACE)
  1793. MIDL_INTERFACE("fc4801a1-2ba9-11cf-a229-00aa003d7352")
  1794. IBindHost : public IUnknown
  1795. {
  1796. public:
  1797. virtual HRESULT STDMETHODCALLTYPE CreateMoniker(
  1798. /* [in] */ LPOLESTR szName,
  1799. /* [in] */ IBindCtx *pBC,
  1800. /* [out] */ IMoniker **ppmk,
  1801. /* [in] */ DWORD dwReserved) = 0;
  1802. virtual /* [local] */ HRESULT STDMETHODCALLTYPE MonikerBindToStorage(
  1803. /* [in] */ IMoniker *pMk,
  1804. /* [in] */ IBindCtx *pBC,
  1805. /* [in] */ IBindStatusCallback *pBSC,
  1806. /* [in] */ REFIID riid,
  1807. /* [out] */ void **ppvObj) = 0;
  1808. virtual /* [local] */ HRESULT STDMETHODCALLTYPE MonikerBindToObject(
  1809. /* [in] */ IMoniker *pMk,
  1810. /* [in] */ IBindCtx *pBC,
  1811. /* [in] */ IBindStatusCallback *pBSC,
  1812. /* [in] */ REFIID riid,
  1813. /* [out] */ void **ppvObj) = 0;
  1814. };
  1815. #else /* C style interface */
  1816. typedef struct IBindHostVtbl
  1817. {
  1818. BEGIN_INTERFACE
  1819. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1820. IBindHost * This,
  1821. /* [in] */ REFIID riid,
  1822. /* [iid_is][out] */ void **ppvObject);
  1823. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1824. IBindHost * This);
  1825. ULONG ( STDMETHODCALLTYPE *Release )(
  1826. IBindHost * This);
  1827. HRESULT ( STDMETHODCALLTYPE *CreateMoniker )(
  1828. IBindHost * This,
  1829. /* [in] */ LPOLESTR szName,
  1830. /* [in] */ IBindCtx *pBC,
  1831. /* [out] */ IMoniker **ppmk,
  1832. /* [in] */ DWORD dwReserved);
  1833. /* [local] */ HRESULT ( STDMETHODCALLTYPE *MonikerBindToStorage )(
  1834. IBindHost * This,
  1835. /* [in] */ IMoniker *pMk,
  1836. /* [in] */ IBindCtx *pBC,
  1837. /* [in] */ IBindStatusCallback *pBSC,
  1838. /* [in] */ REFIID riid,
  1839. /* [out] */ void **ppvObj);
  1840. /* [local] */ HRESULT ( STDMETHODCALLTYPE *MonikerBindToObject )(
  1841. IBindHost * This,
  1842. /* [in] */ IMoniker *pMk,
  1843. /* [in] */ IBindCtx *pBC,
  1844. /* [in] */ IBindStatusCallback *pBSC,
  1845. /* [in] */ REFIID riid,
  1846. /* [out] */ void **ppvObj);
  1847. END_INTERFACE
  1848. } IBindHostVtbl;
  1849. interface IBindHost
  1850. {
  1851. CONST_VTBL struct IBindHostVtbl *lpVtbl;
  1852. };
  1853. #ifdef COBJMACROS
  1854. #define IBindHost_QueryInterface(This,riid,ppvObject) \
  1855. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1856. #define IBindHost_AddRef(This) \
  1857. (This)->lpVtbl -> AddRef(This)
  1858. #define IBindHost_Release(This) \
  1859. (This)->lpVtbl -> Release(This)
  1860. #define IBindHost_CreateMoniker(This,szName,pBC,ppmk,dwReserved) \
  1861. (This)->lpVtbl -> CreateMoniker(This,szName,pBC,ppmk,dwReserved)
  1862. #define IBindHost_MonikerBindToStorage(This,pMk,pBC,pBSC,riid,ppvObj) \
  1863. (This)->lpVtbl -> MonikerBindToStorage(This,pMk,pBC,pBSC,riid,ppvObj)
  1864. #define IBindHost_MonikerBindToObject(This,pMk,pBC,pBSC,riid,ppvObj) \
  1865. (This)->lpVtbl -> MonikerBindToObject(This,pMk,pBC,pBSC,riid,ppvObj)
  1866. #endif /* COBJMACROS */
  1867. #endif /* C style interface */
  1868. HRESULT STDMETHODCALLTYPE IBindHost_CreateMoniker_Proxy(
  1869. IBindHost * This,
  1870. /* [in] */ LPOLESTR szName,
  1871. /* [in] */ IBindCtx *pBC,
  1872. /* [out] */ IMoniker **ppmk,
  1873. /* [in] */ DWORD dwReserved);
  1874. void __RPC_STUB IBindHost_CreateMoniker_Stub(
  1875. IRpcStubBuffer *This,
  1876. IRpcChannelBuffer *_pRpcChannelBuffer,
  1877. PRPC_MESSAGE _pRpcMessage,
  1878. DWORD *_pdwStubPhase);
  1879. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToStorage_Proxy(
  1880. IBindHost * This,
  1881. /* [unique][in] */ IMoniker *pMk,
  1882. /* [unique][in] */ IBindCtx *pBC,
  1883. /* [unique][in] */ IBindStatusCallback *pBSC,
  1884. /* [in] */ REFIID riid,
  1885. /* [iid_is][out] */ IUnknown **ppvObj);
  1886. void __RPC_STUB IBindHost_RemoteMonikerBindToStorage_Stub(
  1887. IRpcStubBuffer *This,
  1888. IRpcChannelBuffer *_pRpcChannelBuffer,
  1889. PRPC_MESSAGE _pRpcMessage,
  1890. DWORD *_pdwStubPhase);
  1891. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_RemoteMonikerBindToObject_Proxy(
  1892. IBindHost * This,
  1893. /* [unique][in] */ IMoniker *pMk,
  1894. /* [unique][in] */ IBindCtx *pBC,
  1895. /* [unique][in] */ IBindStatusCallback *pBSC,
  1896. /* [in] */ REFIID riid,
  1897. /* [iid_is][out] */ IUnknown **ppvObj);
  1898. void __RPC_STUB IBindHost_RemoteMonikerBindToObject_Stub(
  1899. IRpcStubBuffer *This,
  1900. IRpcChannelBuffer *_pRpcChannelBuffer,
  1901. PRPC_MESSAGE _pRpcMessage,
  1902. DWORD *_pdwStubPhase);
  1903. #endif /* __IBindHost_INTERFACE_DEFINED__ */
  1904. /* interface __MIDL_itf_urlmon_0187 */
  1905. /* [local] */
  1906. #endif
  1907. // These are for backwards compatibility with previous URLMON versions
  1908. // Flags for the UrlDownloadToCacheFile
  1909. #define URLOSTRM_USECACHEDCOPY_ONLY 0x1 // Only get from cache
  1910. #define URLOSTRM_USECACHEDCOPY 0x2 // Get from cache if available else download
  1911. #define URLOSTRM_GETNEWESTVERSION 0x3 // Get new version only. But put it in cache too
  1912. struct IBindStatusCallback;
  1913. STDAPI HlinkSimpleNavigateToString(
  1914. /* [in] */ LPCWSTR szTarget, // required - target document - null if local jump w/in doc
  1915. /* [in] */ LPCWSTR szLocation, // optional, for navigation into middle of a doc
  1916. /* [in] */ LPCWSTR szTargetFrameName,// optional, for targeting frame-sets
  1917. /* [in] */ IUnknown *pUnk, // required - we'll search this for other necessary interfaces
  1918. /* [in] */ IBindCtx *pbc, // optional. caller may register an IBSC in this
  1919. /* [in] */ IBindStatusCallback *,
  1920. /* [in] */ DWORD grfHLNF, // flags
  1921. /* [in] */ DWORD dwReserved // for future use, must be NULL
  1922. );
  1923. STDAPI HlinkSimpleNavigateToMoniker(
  1924. /* [in] */ IMoniker *pmkTarget, // required - target document - (may be null
  1925. /* [in] */ LPCWSTR szLocation, // optional, for navigation into middle of a doc
  1926. /* [in] */ LPCWSTR szTargetFrameName,// optional, for targeting frame-sets
  1927. /* [in] */ IUnknown *pUnk, // required - we'll search this for other necessary interfaces
  1928. /* [in] */ IBindCtx *pbc, // optional. caller may register an IBSC in this
  1929. /* [in] */ IBindStatusCallback *,
  1930. /* [in] */ DWORD grfHLNF, // flags
  1931. /* [in] */ DWORD dwReserved // for future use, must be NULL
  1932. );
  1933. STDAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);
  1934. STDAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);
  1935. STDAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);
  1936. STDAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);
  1937. STDAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);
  1938. STDAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);
  1939. STDAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPTSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);
  1940. STDAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);
  1941. STDAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);
  1942. STDAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);
  1943. #ifdef UNICODE
  1944. #define URLOpenStream URLOpenStreamW
  1945. #define URLOpenPullStream URLOpenPullStreamW
  1946. #define URLDownloadToFile URLDownloadToFileW
  1947. #define URLDownloadToCacheFile URLDownloadToCacheFileW
  1948. #define URLOpenBlockingStream URLOpenBlockingStreamW
  1949. #else
  1950. #define URLOpenStream URLOpenStreamA
  1951. #define URLOpenPullStream URLOpenPullStreamA
  1952. #define URLDownloadToFile URLDownloadToFileA
  1953. #define URLDownloadToCacheFile URLDownloadToCacheFileA
  1954. #define URLOpenBlockingStream URLOpenBlockingStreamA
  1955. #endif // !UNICODE
  1956. STDAPI HlinkGoBack(IUnknown *pUnk);
  1957. STDAPI HlinkGoForward(IUnknown *pUnk);
  1958. STDAPI HlinkNavigateString(IUnknown *pUnk, LPCWSTR szTarget);
  1959. STDAPI HlinkNavigateMoniker(IUnknown *pUnk, IMoniker *pmkTarget);
  1960. #ifndef _URLMON_NO_ASYNC_PLUGABLE_PROTOCOLS_
  1961. #ifndef _LPIINTERNET
  1962. #define _LPIINTERNET
  1963. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0187_v0_0_c_ifspec;
  1964. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0187_v0_0_s_ifspec;
  1965. #ifndef __IInternet_INTERFACE_DEFINED__
  1966. #define __IInternet_INTERFACE_DEFINED__
  1967. /* interface IInternet */
  1968. /* [unique][uuid][object][local] */
  1969. typedef /* [unique] */ IInternet *LPIINTERNET;
  1970. EXTERN_C const IID IID_IInternet;
  1971. #if defined(__cplusplus) && !defined(CINTERFACE)
  1972. MIDL_INTERFACE("79eac9e0-baf9-11ce-8c82-00aa004ba90b")
  1973. IInternet : public IUnknown
  1974. {
  1975. public:
  1976. };
  1977. #else /* C style interface */
  1978. typedef struct IInternetVtbl
  1979. {
  1980. BEGIN_INTERFACE
  1981. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1982. IInternet * This,
  1983. /* [in] */ REFIID riid,
  1984. /* [iid_is][out] */ void **ppvObject);
  1985. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1986. IInternet * This);
  1987. ULONG ( STDMETHODCALLTYPE *Release )(
  1988. IInternet * This);
  1989. END_INTERFACE
  1990. } IInternetVtbl;
  1991. interface IInternet
  1992. {
  1993. CONST_VTBL struct IInternetVtbl *lpVtbl;
  1994. };
  1995. #ifdef COBJMACROS
  1996. #define IInternet_QueryInterface(This,riid,ppvObject) \
  1997. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1998. #define IInternet_AddRef(This) \
  1999. (This)->lpVtbl -> AddRef(This)
  2000. #define IInternet_Release(This) \
  2001. (This)->lpVtbl -> Release(This)
  2002. #endif /* COBJMACROS */
  2003. #endif /* C style interface */
  2004. #endif /* __IInternet_INTERFACE_DEFINED__ */
  2005. /* interface __MIDL_itf_urlmon_0188 */
  2006. /* [local] */
  2007. #endif
  2008. #ifndef _LPIINTERNETBINDINFO
  2009. #define _LPIINTERNETBINDINFO
  2010. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0188_v0_0_c_ifspec;
  2011. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0188_v0_0_s_ifspec;
  2012. #ifndef __IInternetBindInfo_INTERFACE_DEFINED__
  2013. #define __IInternetBindInfo_INTERFACE_DEFINED__
  2014. /* interface IInternetBindInfo */
  2015. /* [unique][uuid][object][local] */
  2016. typedef /* [unique] */ IInternetBindInfo *LPIINTERNETBINDINFO;
  2017. typedef
  2018. enum tagBINDSTRING
  2019. { BINDSTRING_HEADERS = 1,
  2020. BINDSTRING_ACCEPT_MIMES = BINDSTRING_HEADERS + 1,
  2021. BINDSTRING_EXTRA_URL = BINDSTRING_ACCEPT_MIMES + 1,
  2022. BINDSTRING_LANGUAGE = BINDSTRING_EXTRA_URL + 1,
  2023. BINDSTRING_USERNAME = BINDSTRING_LANGUAGE + 1,
  2024. BINDSTRING_PASSWORD = BINDSTRING_USERNAME + 1,
  2025. BINDSTRING_UA_PIXELS = BINDSTRING_PASSWORD + 1,
  2026. BINDSTRING_UA_COLOR = BINDSTRING_UA_PIXELS + 1,
  2027. BINDSTRING_OS = BINDSTRING_UA_COLOR + 1,
  2028. BINDSTRING_USER_AGENT = BINDSTRING_OS + 1,
  2029. BINDSTRING_ACCEPT_ENCODINGS = BINDSTRING_USER_AGENT + 1,
  2030. BINDSTRING_POST_COOKIE = BINDSTRING_ACCEPT_ENCODINGS + 1,
  2031. BINDSTRING_POST_DATA_MIME = BINDSTRING_POST_COOKIE + 1,
  2032. BINDSTRING_URL = BINDSTRING_POST_DATA_MIME + 1,
  2033. BINDSTRING_IID = BINDSTRING_URL + 1,
  2034. BINDSTRING_FLAG_BIND_TO_OBJECT = BINDSTRING_IID + 1,
  2035. BINDSTRING_PTR_BIND_CONTEXT = BINDSTRING_FLAG_BIND_TO_OBJECT + 1
  2036. } BINDSTRING;
  2037. EXTERN_C const IID IID_IInternetBindInfo;
  2038. #if defined(__cplusplus) && !defined(CINTERFACE)
  2039. MIDL_INTERFACE("79eac9e1-baf9-11ce-8c82-00aa004ba90b")
  2040. IInternetBindInfo : public IUnknown
  2041. {
  2042. public:
  2043. virtual HRESULT STDMETHODCALLTYPE GetBindInfo(
  2044. /* [out] */ DWORD *grfBINDF,
  2045. /* [unique][out][in] */ BINDINFO *pbindinfo) = 0;
  2046. virtual HRESULT STDMETHODCALLTYPE GetBindString(
  2047. /* [in] */ ULONG ulStringType,
  2048. /* [out][in] */ LPOLESTR *ppwzStr,
  2049. /* [in] */ ULONG cEl,
  2050. /* [out][in] */ ULONG *pcElFetched) = 0;
  2051. };
  2052. #else /* C style interface */
  2053. typedef struct IInternetBindInfoVtbl
  2054. {
  2055. BEGIN_INTERFACE
  2056. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2057. IInternetBindInfo * This,
  2058. /* [in] */ REFIID riid,
  2059. /* [iid_is][out] */ void **ppvObject);
  2060. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2061. IInternetBindInfo * This);
  2062. ULONG ( STDMETHODCALLTYPE *Release )(
  2063. IInternetBindInfo * This);
  2064. HRESULT ( STDMETHODCALLTYPE *GetBindInfo )(
  2065. IInternetBindInfo * This,
  2066. /* [out] */ DWORD *grfBINDF,
  2067. /* [unique][out][in] */ BINDINFO *pbindinfo);
  2068. HRESULT ( STDMETHODCALLTYPE *GetBindString )(
  2069. IInternetBindInfo * This,
  2070. /* [in] */ ULONG ulStringType,
  2071. /* [out][in] */ LPOLESTR *ppwzStr,
  2072. /* [in] */ ULONG cEl,
  2073. /* [out][in] */ ULONG *pcElFetched);
  2074. END_INTERFACE
  2075. } IInternetBindInfoVtbl;
  2076. interface IInternetBindInfo
  2077. {
  2078. CONST_VTBL struct IInternetBindInfoVtbl *lpVtbl;
  2079. };
  2080. #ifdef COBJMACROS
  2081. #define IInternetBindInfo_QueryInterface(This,riid,ppvObject) \
  2082. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2083. #define IInternetBindInfo_AddRef(This) \
  2084. (This)->lpVtbl -> AddRef(This)
  2085. #define IInternetBindInfo_Release(This) \
  2086. (This)->lpVtbl -> Release(This)
  2087. #define IInternetBindInfo_GetBindInfo(This,grfBINDF,pbindinfo) \
  2088. (This)->lpVtbl -> GetBindInfo(This,grfBINDF,pbindinfo)
  2089. #define IInternetBindInfo_GetBindString(This,ulStringType,ppwzStr,cEl,pcElFetched) \
  2090. (This)->lpVtbl -> GetBindString(This,ulStringType,ppwzStr,cEl,pcElFetched)
  2091. #endif /* COBJMACROS */
  2092. #endif /* C style interface */
  2093. HRESULT STDMETHODCALLTYPE IInternetBindInfo_GetBindInfo_Proxy(
  2094. IInternetBindInfo * This,
  2095. /* [out] */ DWORD *grfBINDF,
  2096. /* [unique][out][in] */ BINDINFO *pbindinfo);
  2097. void __RPC_STUB IInternetBindInfo_GetBindInfo_Stub(
  2098. IRpcStubBuffer *This,
  2099. IRpcChannelBuffer *_pRpcChannelBuffer,
  2100. PRPC_MESSAGE _pRpcMessage,
  2101. DWORD *_pdwStubPhase);
  2102. HRESULT STDMETHODCALLTYPE IInternetBindInfo_GetBindString_Proxy(
  2103. IInternetBindInfo * This,
  2104. /* [in] */ ULONG ulStringType,
  2105. /* [out][in] */ LPOLESTR *ppwzStr,
  2106. /* [in] */ ULONG cEl,
  2107. /* [out][in] */ ULONG *pcElFetched);
  2108. void __RPC_STUB IInternetBindInfo_GetBindString_Stub(
  2109. IRpcStubBuffer *This,
  2110. IRpcChannelBuffer *_pRpcChannelBuffer,
  2111. PRPC_MESSAGE _pRpcMessage,
  2112. DWORD *_pdwStubPhase);
  2113. #endif /* __IInternetBindInfo_INTERFACE_DEFINED__ */
  2114. /* interface __MIDL_itf_urlmon_0189 */
  2115. /* [local] */
  2116. #endif
  2117. #ifndef _LPIINTERNETPROTOCOLROOT_DEFINED
  2118. #define _LPIINTERNETPROTOCOLROOT_DEFINED
  2119. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0189_v0_0_c_ifspec;
  2120. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0189_v0_0_s_ifspec;
  2121. #ifndef __IInternetProtocolRoot_INTERFACE_DEFINED__
  2122. #define __IInternetProtocolRoot_INTERFACE_DEFINED__
  2123. /* interface IInternetProtocolRoot */
  2124. /* [unique][uuid][object][local] */
  2125. typedef /* [unique] */ IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
  2126. typedef
  2127. enum _tagPI_FLAGS
  2128. { PI_PARSE_URL = 0x1,
  2129. PI_FILTER_MODE = 0x2,
  2130. PI_FORCE_ASYNC = 0x4,
  2131. PI_USE_WORKERTHREAD = 0x8,
  2132. PI_MIMEVERIFICATION = 0x10,
  2133. PI_CLSIDLOOKUP = 0x20,
  2134. PI_DATAPROGRESS = 0x40,
  2135. PI_SYNCHRONOUS = 0x80,
  2136. PI_APARTMENTTHREADED = 0x100,
  2137. PI_CLASSINSTALL = 0x200,
  2138. PI_PASSONBINDCTX = 0x2000,
  2139. PI_NOMIMEHANDLER = 0x8000,
  2140. PI_LOADAPPDIRECT = 0x4000,
  2141. PD_FORCE_SWITCH = 0x10000,
  2142. PI_PREFERDEFAULTHANDLER = 0x20000
  2143. } PI_FLAGS;
  2144. typedef struct _tagPROTOCOLDATA
  2145. {
  2146. DWORD grfFlags;
  2147. DWORD dwState;
  2148. LPVOID pData;
  2149. ULONG cbData;
  2150. } PROTOCOLDATA;
  2151. typedef struct _tagStartParam
  2152. {
  2153. IID iid;
  2154. IBindCtx *pIBindCtx;
  2155. IUnknown *pItf;
  2156. } StartParam;
  2157. EXTERN_C const IID IID_IInternetProtocolRoot;
  2158. #if defined(__cplusplus) && !defined(CINTERFACE)
  2159. MIDL_INTERFACE("79eac9e3-baf9-11ce-8c82-00aa004ba90b")
  2160. IInternetProtocolRoot : public IUnknown
  2161. {
  2162. public:
  2163. virtual HRESULT STDMETHODCALLTYPE Start(
  2164. /* [in] */ LPCWSTR szUrl,
  2165. /* [in] */ IInternetProtocolSink *pOIProtSink,
  2166. /* [in] */ IInternetBindInfo *pOIBindInfo,
  2167. /* [in] */ DWORD grfPI,
  2168. /* [in] */ HANDLE_PTR dwReserved) = 0;
  2169. virtual HRESULT STDMETHODCALLTYPE Continue(
  2170. /* [in] */ PROTOCOLDATA *pProtocolData) = 0;
  2171. virtual HRESULT STDMETHODCALLTYPE Abort(
  2172. /* [in] */ HRESULT hrReason,
  2173. /* [in] */ DWORD dwOptions) = 0;
  2174. virtual HRESULT STDMETHODCALLTYPE Terminate(
  2175. /* [in] */ DWORD dwOptions) = 0;
  2176. virtual HRESULT STDMETHODCALLTYPE Suspend( void) = 0;
  2177. virtual HRESULT STDMETHODCALLTYPE Resume( void) = 0;
  2178. };
  2179. #else /* C style interface */
  2180. typedef struct IInternetProtocolRootVtbl
  2181. {
  2182. BEGIN_INTERFACE
  2183. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2184. IInternetProtocolRoot * This,
  2185. /* [in] */ REFIID riid,
  2186. /* [iid_is][out] */ void **ppvObject);
  2187. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2188. IInternetProtocolRoot * This);
  2189. ULONG ( STDMETHODCALLTYPE *Release )(
  2190. IInternetProtocolRoot * This);
  2191. HRESULT ( STDMETHODCALLTYPE *Start )(
  2192. IInternetProtocolRoot * This,
  2193. /* [in] */ LPCWSTR szUrl,
  2194. /* [in] */ IInternetProtocolSink *pOIProtSink,
  2195. /* [in] */ IInternetBindInfo *pOIBindInfo,
  2196. /* [in] */ DWORD grfPI,
  2197. /* [in] */ HANDLE_PTR dwReserved);
  2198. HRESULT ( STDMETHODCALLTYPE *Continue )(
  2199. IInternetProtocolRoot * This,
  2200. /* [in] */ PROTOCOLDATA *pProtocolData);
  2201. HRESULT ( STDMETHODCALLTYPE *Abort )(
  2202. IInternetProtocolRoot * This,
  2203. /* [in] */ HRESULT hrReason,
  2204. /* [in] */ DWORD dwOptions);
  2205. HRESULT ( STDMETHODCALLTYPE *Terminate )(
  2206. IInternetProtocolRoot * This,
  2207. /* [in] */ DWORD dwOptions);
  2208. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  2209. IInternetProtocolRoot * This);
  2210. HRESULT ( STDMETHODCALLTYPE *Resume )(
  2211. IInternetProtocolRoot * This);
  2212. END_INTERFACE
  2213. } IInternetProtocolRootVtbl;
  2214. interface IInternetProtocolRoot
  2215. {
  2216. CONST_VTBL struct IInternetProtocolRootVtbl *lpVtbl;
  2217. };
  2218. #ifdef COBJMACROS
  2219. #define IInternetProtocolRoot_QueryInterface(This,riid,ppvObject) \
  2220. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2221. #define IInternetProtocolRoot_AddRef(This) \
  2222. (This)->lpVtbl -> AddRef(This)
  2223. #define IInternetProtocolRoot_Release(This) \
  2224. (This)->lpVtbl -> Release(This)
  2225. #define IInternetProtocolRoot_Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) \
  2226. (This)->lpVtbl -> Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved)
  2227. #define IInternetProtocolRoot_Continue(This,pProtocolData) \
  2228. (This)->lpVtbl -> Continue(This,pProtocolData)
  2229. #define IInternetProtocolRoot_Abort(This,hrReason,dwOptions) \
  2230. (This)->lpVtbl -> Abort(This,hrReason,dwOptions)
  2231. #define IInternetProtocolRoot_Terminate(This,dwOptions) \
  2232. (This)->lpVtbl -> Terminate(This,dwOptions)
  2233. #define IInternetProtocolRoot_Suspend(This) \
  2234. (This)->lpVtbl -> Suspend(This)
  2235. #define IInternetProtocolRoot_Resume(This) \
  2236. (This)->lpVtbl -> Resume(This)
  2237. #endif /* COBJMACROS */
  2238. #endif /* C style interface */
  2239. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Start_Proxy(
  2240. IInternetProtocolRoot * This,
  2241. /* [in] */ LPCWSTR szUrl,
  2242. /* [in] */ IInternetProtocolSink *pOIProtSink,
  2243. /* [in] */ IInternetBindInfo *pOIBindInfo,
  2244. /* [in] */ DWORD grfPI,
  2245. /* [in] */ HANDLE_PTR dwReserved);
  2246. void __RPC_STUB IInternetProtocolRoot_Start_Stub(
  2247. IRpcStubBuffer *This,
  2248. IRpcChannelBuffer *_pRpcChannelBuffer,
  2249. PRPC_MESSAGE _pRpcMessage,
  2250. DWORD *_pdwStubPhase);
  2251. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Continue_Proxy(
  2252. IInternetProtocolRoot * This,
  2253. /* [in] */ PROTOCOLDATA *pProtocolData);
  2254. void __RPC_STUB IInternetProtocolRoot_Continue_Stub(
  2255. IRpcStubBuffer *This,
  2256. IRpcChannelBuffer *_pRpcChannelBuffer,
  2257. PRPC_MESSAGE _pRpcMessage,
  2258. DWORD *_pdwStubPhase);
  2259. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Abort_Proxy(
  2260. IInternetProtocolRoot * This,
  2261. /* [in] */ HRESULT hrReason,
  2262. /* [in] */ DWORD dwOptions);
  2263. void __RPC_STUB IInternetProtocolRoot_Abort_Stub(
  2264. IRpcStubBuffer *This,
  2265. IRpcChannelBuffer *_pRpcChannelBuffer,
  2266. PRPC_MESSAGE _pRpcMessage,
  2267. DWORD *_pdwStubPhase);
  2268. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Terminate_Proxy(
  2269. IInternetProtocolRoot * This,
  2270. /* [in] */ DWORD dwOptions);
  2271. void __RPC_STUB IInternetProtocolRoot_Terminate_Stub(
  2272. IRpcStubBuffer *This,
  2273. IRpcChannelBuffer *_pRpcChannelBuffer,
  2274. PRPC_MESSAGE _pRpcMessage,
  2275. DWORD *_pdwStubPhase);
  2276. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Suspend_Proxy(
  2277. IInternetProtocolRoot * This);
  2278. void __RPC_STUB IInternetProtocolRoot_Suspend_Stub(
  2279. IRpcStubBuffer *This,
  2280. IRpcChannelBuffer *_pRpcChannelBuffer,
  2281. PRPC_MESSAGE _pRpcMessage,
  2282. DWORD *_pdwStubPhase);
  2283. HRESULT STDMETHODCALLTYPE IInternetProtocolRoot_Resume_Proxy(
  2284. IInternetProtocolRoot * This);
  2285. void __RPC_STUB IInternetProtocolRoot_Resume_Stub(
  2286. IRpcStubBuffer *This,
  2287. IRpcChannelBuffer *_pRpcChannelBuffer,
  2288. PRPC_MESSAGE _pRpcMessage,
  2289. DWORD *_pdwStubPhase);
  2290. #endif /* __IInternetProtocolRoot_INTERFACE_DEFINED__ */
  2291. /* interface __MIDL_itf_urlmon_0190 */
  2292. /* [local] */
  2293. #endif
  2294. #ifndef _LPIINTERNETPROTOCOL_DEFINED
  2295. #define _LPIINTERNETPROTOCOL_DEFINED
  2296. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0190_v0_0_c_ifspec;
  2297. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0190_v0_0_s_ifspec;
  2298. #ifndef __IInternetProtocol_INTERFACE_DEFINED__
  2299. #define __IInternetProtocol_INTERFACE_DEFINED__
  2300. /* interface IInternetProtocol */
  2301. /* [unique][uuid][object][local] */
  2302. typedef /* [unique] */ IInternetProtocol *LPIINTERNETPROTOCOL;
  2303. EXTERN_C const IID IID_IInternetProtocol;
  2304. #if defined(__cplusplus) && !defined(CINTERFACE)
  2305. MIDL_INTERFACE("79eac9e4-baf9-11ce-8c82-00aa004ba90b")
  2306. IInternetProtocol : public IInternetProtocolRoot
  2307. {
  2308. public:
  2309. virtual HRESULT STDMETHODCALLTYPE Read(
  2310. /* [length_is][size_is][out][in] */ void *pv,
  2311. /* [in] */ ULONG cb,
  2312. /* [out] */ ULONG *pcbRead) = 0;
  2313. virtual HRESULT STDMETHODCALLTYPE Seek(
  2314. /* [in] */ LARGE_INTEGER dlibMove,
  2315. /* [in] */ DWORD dwOrigin,
  2316. /* [out] */ ULARGE_INTEGER *plibNewPosition) = 0;
  2317. virtual HRESULT STDMETHODCALLTYPE LockRequest(
  2318. /* [in] */ DWORD dwOptions) = 0;
  2319. virtual HRESULT STDMETHODCALLTYPE UnlockRequest( void) = 0;
  2320. };
  2321. #else /* C style interface */
  2322. typedef struct IInternetProtocolVtbl
  2323. {
  2324. BEGIN_INTERFACE
  2325. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2326. IInternetProtocol * This,
  2327. /* [in] */ REFIID riid,
  2328. /* [iid_is][out] */ void **ppvObject);
  2329. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2330. IInternetProtocol * This);
  2331. ULONG ( STDMETHODCALLTYPE *Release )(
  2332. IInternetProtocol * This);
  2333. HRESULT ( STDMETHODCALLTYPE *Start )(
  2334. IInternetProtocol * This,
  2335. /* [in] */ LPCWSTR szUrl,
  2336. /* [in] */ IInternetProtocolSink *pOIProtSink,
  2337. /* [in] */ IInternetBindInfo *pOIBindInfo,
  2338. /* [in] */ DWORD grfPI,
  2339. /* [in] */ HANDLE_PTR dwReserved);
  2340. HRESULT ( STDMETHODCALLTYPE *Continue )(
  2341. IInternetProtocol * This,
  2342. /* [in] */ PROTOCOLDATA *pProtocolData);
  2343. HRESULT ( STDMETHODCALLTYPE *Abort )(
  2344. IInternetProtocol * This,
  2345. /* [in] */ HRESULT hrReason,
  2346. /* [in] */ DWORD dwOptions);
  2347. HRESULT ( STDMETHODCALLTYPE *Terminate )(
  2348. IInternetProtocol * This,
  2349. /* [in] */ DWORD dwOptions);
  2350. HRESULT ( STDMETHODCALLTYPE *Suspend )(
  2351. IInternetProtocol * This);
  2352. HRESULT ( STDMETHODCALLTYPE *Resume )(
  2353. IInternetProtocol * This);
  2354. HRESULT ( STDMETHODCALLTYPE *Read )(
  2355. IInternetProtocol * This,
  2356. /* [length_is][size_is][out][in] */ void *pv,
  2357. /* [in] */ ULONG cb,
  2358. /* [out] */ ULONG *pcbRead);
  2359. HRESULT ( STDMETHODCALLTYPE *Seek )(
  2360. IInternetProtocol * This,
  2361. /* [in] */ LARGE_INTEGER dlibMove,
  2362. /* [in] */ DWORD dwOrigin,
  2363. /* [out] */ ULARGE_INTEGER *plibNewPosition);
  2364. HRESULT ( STDMETHODCALLTYPE *LockRequest )(
  2365. IInternetProtocol * This,
  2366. /* [in] */ DWORD dwOptions);
  2367. HRESULT ( STDMETHODCALLTYPE *UnlockRequest )(
  2368. IInternetProtocol * This);
  2369. END_INTERFACE
  2370. } IInternetProtocolVtbl;
  2371. interface IInternetProtocol
  2372. {
  2373. CONST_VTBL struct IInternetProtocolVtbl *lpVtbl;
  2374. };
  2375. #ifdef COBJMACROS
  2376. #define IInternetProtocol_QueryInterface(This,riid,ppvObject) \
  2377. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2378. #define IInternetProtocol_AddRef(This) \
  2379. (This)->lpVtbl -> AddRef(This)
  2380. #define IInternetProtocol_Release(This) \
  2381. (This)->lpVtbl -> Release(This)
  2382. #define IInternetProtocol_Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved) \
  2383. (This)->lpVtbl -> Start(This,szUrl,pOIProtSink,pOIBindInfo,grfPI,dwReserved)
  2384. #define IInternetProtocol_Continue(This,pProtocolData) \
  2385. (This)->lpVtbl -> Continue(This,pProtocolData)
  2386. #define IInternetProtocol_Abort(This,hrReason,dwOptions) \
  2387. (This)->lpVtbl -> Abort(This,hrReason,dwOptions)
  2388. #define IInternetProtocol_Terminate(This,dwOptions) \
  2389. (This)->lpVtbl -> Terminate(This,dwOptions)
  2390. #define IInternetProtocol_Suspend(This) \
  2391. (This)->lpVtbl -> Suspend(This)
  2392. #define IInternetProtocol_Resume(This) \
  2393. (This)->lpVtbl -> Resume(This)
  2394. #define IInternetProtocol_Read(This,pv,cb,pcbRead) \
  2395. (This)->lpVtbl -> Read(This,pv,cb,pcbRead)
  2396. #define IInternetProtocol_Seek(This,dlibMove,dwOrigin,plibNewPosition) \
  2397. (This)->lpVtbl -> Seek(This,dlibMove,dwOrigin,plibNewPosition)
  2398. #define IInternetProtocol_LockRequest(This,dwOptions) \
  2399. (This)->lpVtbl -> LockRequest(This,dwOptions)
  2400. #define IInternetProtocol_UnlockRequest(This) \
  2401. (This)->lpVtbl -> UnlockRequest(This)
  2402. #endif /* COBJMACROS */
  2403. #endif /* C style interface */
  2404. HRESULT STDMETHODCALLTYPE IInternetProtocol_Read_Proxy(
  2405. IInternetProtocol * This,
  2406. /* [length_is][size_is][out][in] */ void *pv,
  2407. /* [in] */ ULONG cb,
  2408. /* [out] */ ULONG *pcbRead);
  2409. void __RPC_STUB IInternetProtocol_Read_Stub(
  2410. IRpcStubBuffer *This,
  2411. IRpcChannelBuffer *_pRpcChannelBuffer,
  2412. PRPC_MESSAGE _pRpcMessage,
  2413. DWORD *_pdwStubPhase);
  2414. HRESULT STDMETHODCALLTYPE IInternetProtocol_Seek_Proxy(
  2415. IInternetProtocol * This,
  2416. /* [in] */ LARGE_INTEGER dlibMove,
  2417. /* [in] */ DWORD dwOrigin,
  2418. /* [out] */ ULARGE_INTEGER *plibNewPosition);
  2419. void __RPC_STUB IInternetProtocol_Seek_Stub(
  2420. IRpcStubBuffer *This,
  2421. IRpcChannelBuffer *_pRpcChannelBuffer,
  2422. PRPC_MESSAGE _pRpcMessage,
  2423. DWORD *_pdwStubPhase);
  2424. HRESULT STDMETHODCALLTYPE IInternetProtocol_LockRequest_Proxy(
  2425. IInternetProtocol * This,
  2426. /* [in] */ DWORD dwOptions);
  2427. void __RPC_STUB IInternetProtocol_LockRequest_Stub(
  2428. IRpcStubBuffer *This,
  2429. IRpcChannelBuffer *_pRpcChannelBuffer,
  2430. PRPC_MESSAGE _pRpcMessage,
  2431. DWORD *_pdwStubPhase);
  2432. HRESULT STDMETHODCALLTYPE IInternetProtocol_UnlockRequest_Proxy(
  2433. IInternetProtocol * This);
  2434. void __RPC_STUB IInternetProtocol_UnlockRequest_Stub(
  2435. IRpcStubBuffer *This,
  2436. IRpcChannelBuffer *_pRpcChannelBuffer,
  2437. PRPC_MESSAGE _pRpcMessage,
  2438. DWORD *_pdwStubPhase);
  2439. #endif /* __IInternetProtocol_INTERFACE_DEFINED__ */
  2440. /* interface __MIDL_itf_urlmon_0191 */
  2441. /* [local] */
  2442. #endif
  2443. #ifndef _LPIINTERNETPROTOCOLSINK_DEFINED
  2444. #define _LPIINTERNETPROTOCOLSINK_DEFINED
  2445. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0191_v0_0_c_ifspec;
  2446. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0191_v0_0_s_ifspec;
  2447. #ifndef __IInternetProtocolSink_INTERFACE_DEFINED__
  2448. #define __IInternetProtocolSink_INTERFACE_DEFINED__
  2449. /* interface IInternetProtocolSink */
  2450. /* [unique][uuid][object][local] */
  2451. typedef /* [unique] */ IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
  2452. EXTERN_C const IID IID_IInternetProtocolSink;
  2453. #if defined(__cplusplus) && !defined(CINTERFACE)
  2454. MIDL_INTERFACE("79eac9e5-baf9-11ce-8c82-00aa004ba90b")
  2455. IInternetProtocolSink : public IUnknown
  2456. {
  2457. public:
  2458. virtual HRESULT STDMETHODCALLTYPE Switch(
  2459. /* [in] */ PROTOCOLDATA *pProtocolData) = 0;
  2460. virtual HRESULT STDMETHODCALLTYPE ReportProgress(
  2461. /* [in] */ ULONG ulStatusCode,
  2462. /* [in] */ LPCWSTR szStatusText) = 0;
  2463. virtual HRESULT STDMETHODCALLTYPE ReportData(
  2464. /* [in] */ DWORD grfBSCF,
  2465. /* [in] */ ULONG ulProgress,
  2466. /* [in] */ ULONG ulProgressMax) = 0;
  2467. virtual HRESULT STDMETHODCALLTYPE ReportResult(
  2468. /* [in] */ HRESULT hrResult,
  2469. /* [in] */ DWORD dwError,
  2470. /* [in] */ LPCWSTR szResult) = 0;
  2471. };
  2472. #else /* C style interface */
  2473. typedef struct IInternetProtocolSinkVtbl
  2474. {
  2475. BEGIN_INTERFACE
  2476. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2477. IInternetProtocolSink * This,
  2478. /* [in] */ REFIID riid,
  2479. /* [iid_is][out] */ void **ppvObject);
  2480. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2481. IInternetProtocolSink * This);
  2482. ULONG ( STDMETHODCALLTYPE *Release )(
  2483. IInternetProtocolSink * This);
  2484. HRESULT ( STDMETHODCALLTYPE *Switch )(
  2485. IInternetProtocolSink * This,
  2486. /* [in] */ PROTOCOLDATA *pProtocolData);
  2487. HRESULT ( STDMETHODCALLTYPE *ReportProgress )(
  2488. IInternetProtocolSink * This,
  2489. /* [in] */ ULONG ulStatusCode,
  2490. /* [in] */ LPCWSTR szStatusText);
  2491. HRESULT ( STDMETHODCALLTYPE *ReportData )(
  2492. IInternetProtocolSink * This,
  2493. /* [in] */ DWORD grfBSCF,
  2494. /* [in] */ ULONG ulProgress,
  2495. /* [in] */ ULONG ulProgressMax);
  2496. HRESULT ( STDMETHODCALLTYPE *ReportResult )(
  2497. IInternetProtocolSink * This,
  2498. /* [in] */ HRESULT hrResult,
  2499. /* [in] */ DWORD dwError,
  2500. /* [in] */ LPCWSTR szResult);
  2501. END_INTERFACE
  2502. } IInternetProtocolSinkVtbl;
  2503. interface IInternetProtocolSink
  2504. {
  2505. CONST_VTBL struct IInternetProtocolSinkVtbl *lpVtbl;
  2506. };
  2507. #ifdef COBJMACROS
  2508. #define IInternetProtocolSink_QueryInterface(This,riid,ppvObject) \
  2509. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2510. #define IInternetProtocolSink_AddRef(This) \
  2511. (This)->lpVtbl -> AddRef(This)
  2512. #define IInternetProtocolSink_Release(This) \
  2513. (This)->lpVtbl -> Release(This)
  2514. #define IInternetProtocolSink_Switch(This,pProtocolData) \
  2515. (This)->lpVtbl -> Switch(This,pProtocolData)
  2516. #define IInternetProtocolSink_ReportProgress(This,ulStatusCode,szStatusText) \
  2517. (This)->lpVtbl -> ReportProgress(This,ulStatusCode,szStatusText)
  2518. #define IInternetProtocolSink_ReportData(This,grfBSCF,ulProgress,ulProgressMax) \
  2519. (This)->lpVtbl -> ReportData(This,grfBSCF,ulProgress,ulProgressMax)
  2520. #define IInternetProtocolSink_ReportResult(This,hrResult,dwError,szResult) \
  2521. (This)->lpVtbl -> ReportResult(This,hrResult,dwError,szResult)
  2522. #endif /* COBJMACROS */
  2523. #endif /* C style interface */
  2524. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_Switch_Proxy(
  2525. IInternetProtocolSink * This,
  2526. /* [in] */ PROTOCOLDATA *pProtocolData);
  2527. void __RPC_STUB IInternetProtocolSink_Switch_Stub(
  2528. IRpcStubBuffer *This,
  2529. IRpcChannelBuffer *_pRpcChannelBuffer,
  2530. PRPC_MESSAGE _pRpcMessage,
  2531. DWORD *_pdwStubPhase);
  2532. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportProgress_Proxy(
  2533. IInternetProtocolSink * This,
  2534. /* [in] */ ULONG ulStatusCode,
  2535. /* [in] */ LPCWSTR szStatusText);
  2536. void __RPC_STUB IInternetProtocolSink_ReportProgress_Stub(
  2537. IRpcStubBuffer *This,
  2538. IRpcChannelBuffer *_pRpcChannelBuffer,
  2539. PRPC_MESSAGE _pRpcMessage,
  2540. DWORD *_pdwStubPhase);
  2541. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportData_Proxy(
  2542. IInternetProtocolSink * This,
  2543. /* [in] */ DWORD grfBSCF,
  2544. /* [in] */ ULONG ulProgress,
  2545. /* [in] */ ULONG ulProgressMax);
  2546. void __RPC_STUB IInternetProtocolSink_ReportData_Stub(
  2547. IRpcStubBuffer *This,
  2548. IRpcChannelBuffer *_pRpcChannelBuffer,
  2549. PRPC_MESSAGE _pRpcMessage,
  2550. DWORD *_pdwStubPhase);
  2551. HRESULT STDMETHODCALLTYPE IInternetProtocolSink_ReportResult_Proxy(
  2552. IInternetProtocolSink * This,
  2553. /* [in] */ HRESULT hrResult,
  2554. /* [in] */ DWORD dwError,
  2555. /* [in] */ LPCWSTR szResult);
  2556. void __RPC_STUB IInternetProtocolSink_ReportResult_Stub(
  2557. IRpcStubBuffer *This,
  2558. IRpcChannelBuffer *_pRpcChannelBuffer,
  2559. PRPC_MESSAGE _pRpcMessage,
  2560. DWORD *_pdwStubPhase);
  2561. #endif /* __IInternetProtocolSink_INTERFACE_DEFINED__ */
  2562. /* interface __MIDL_itf_urlmon_0192 */
  2563. /* [local] */
  2564. #endif
  2565. #ifndef _LPIINTERNETPROTOCOLSINKSTACKABLE_DEFINED
  2566. #define _LPIINTERNETPROTOCOLSINKSTACKABLE_DEFINED
  2567. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0192_v0_0_c_ifspec;
  2568. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0192_v0_0_s_ifspec;
  2569. #ifndef __IInternetProtocolSinkStackable_INTERFACE_DEFINED__
  2570. #define __IInternetProtocolSinkStackable_INTERFACE_DEFINED__
  2571. /* interface IInternetProtocolSinkStackable */
  2572. /* [unique][uuid][object][local] */
  2573. typedef /* [unique] */ IInternetProtocolSinkStackable *LPIINTERNETPROTOCOLSINKStackable;
  2574. EXTERN_C const IID IID_IInternetProtocolSinkStackable;
  2575. #if defined(__cplusplus) && !defined(CINTERFACE)
  2576. MIDL_INTERFACE("79eac9f0-baf9-11ce-8c82-00aa004ba90b")
  2577. IInternetProtocolSinkStackable : public IUnknown
  2578. {
  2579. public:
  2580. virtual HRESULT STDMETHODCALLTYPE SwitchSink(
  2581. /* [in] */ IInternetProtocolSink *pOIProtSink) = 0;
  2582. virtual HRESULT STDMETHODCALLTYPE CommitSwitch( void) = 0;
  2583. virtual HRESULT STDMETHODCALLTYPE RollbackSwitch( void) = 0;
  2584. };
  2585. #else /* C style interface */
  2586. typedef struct IInternetProtocolSinkStackableVtbl
  2587. {
  2588. BEGIN_INTERFACE
  2589. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2590. IInternetProtocolSinkStackable * This,
  2591. /* [in] */ REFIID riid,
  2592. /* [iid_is][out] */ void **ppvObject);
  2593. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2594. IInternetProtocolSinkStackable * This);
  2595. ULONG ( STDMETHODCALLTYPE *Release )(
  2596. IInternetProtocolSinkStackable * This);
  2597. HRESULT ( STDMETHODCALLTYPE *SwitchSink )(
  2598. IInternetProtocolSinkStackable * This,
  2599. /* [in] */ IInternetProtocolSink *pOIProtSink);
  2600. HRESULT ( STDMETHODCALLTYPE *CommitSwitch )(
  2601. IInternetProtocolSinkStackable * This);
  2602. HRESULT ( STDMETHODCALLTYPE *RollbackSwitch )(
  2603. IInternetProtocolSinkStackable * This);
  2604. END_INTERFACE
  2605. } IInternetProtocolSinkStackableVtbl;
  2606. interface IInternetProtocolSinkStackable
  2607. {
  2608. CONST_VTBL struct IInternetProtocolSinkStackableVtbl *lpVtbl;
  2609. };
  2610. #ifdef COBJMACROS
  2611. #define IInternetProtocolSinkStackable_QueryInterface(This,riid,ppvObject) \
  2612. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2613. #define IInternetProtocolSinkStackable_AddRef(This) \
  2614. (This)->lpVtbl -> AddRef(This)
  2615. #define IInternetProtocolSinkStackable_Release(This) \
  2616. (This)->lpVtbl -> Release(This)
  2617. #define IInternetProtocolSinkStackable_SwitchSink(This,pOIProtSink) \
  2618. (This)->lpVtbl -> SwitchSink(This,pOIProtSink)
  2619. #define IInternetProtocolSinkStackable_CommitSwitch(This) \
  2620. (This)->lpVtbl -> CommitSwitch(This)
  2621. #define IInternetProtocolSinkStackable_RollbackSwitch(This) \
  2622. (This)->lpVtbl -> RollbackSwitch(This)
  2623. #endif /* COBJMACROS */
  2624. #endif /* C style interface */
  2625. HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_SwitchSink_Proxy(
  2626. IInternetProtocolSinkStackable * This,
  2627. /* [in] */ IInternetProtocolSink *pOIProtSink);
  2628. void __RPC_STUB IInternetProtocolSinkStackable_SwitchSink_Stub(
  2629. IRpcStubBuffer *This,
  2630. IRpcChannelBuffer *_pRpcChannelBuffer,
  2631. PRPC_MESSAGE _pRpcMessage,
  2632. DWORD *_pdwStubPhase);
  2633. HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_CommitSwitch_Proxy(
  2634. IInternetProtocolSinkStackable * This);
  2635. void __RPC_STUB IInternetProtocolSinkStackable_CommitSwitch_Stub(
  2636. IRpcStubBuffer *This,
  2637. IRpcChannelBuffer *_pRpcChannelBuffer,
  2638. PRPC_MESSAGE _pRpcMessage,
  2639. DWORD *_pdwStubPhase);
  2640. HRESULT STDMETHODCALLTYPE IInternetProtocolSinkStackable_RollbackSwitch_Proxy(
  2641. IInternetProtocolSinkStackable * This);
  2642. void __RPC_STUB IInternetProtocolSinkStackable_RollbackSwitch_Stub(
  2643. IRpcStubBuffer *This,
  2644. IRpcChannelBuffer *_pRpcChannelBuffer,
  2645. PRPC_MESSAGE _pRpcMessage,
  2646. DWORD *_pdwStubPhase);
  2647. #endif /* __IInternetProtocolSinkStackable_INTERFACE_DEFINED__ */
  2648. /* interface __MIDL_itf_urlmon_0193 */
  2649. /* [local] */
  2650. #endif
  2651. #ifndef _LPIINTERNETSESSION_DEFINED
  2652. #define _LPIINTERNETSESSION_DEFINED
  2653. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0193_v0_0_c_ifspec;
  2654. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0193_v0_0_s_ifspec;
  2655. #ifndef __IInternetSession_INTERFACE_DEFINED__
  2656. #define __IInternetSession_INTERFACE_DEFINED__
  2657. /* interface IInternetSession */
  2658. /* [unique][uuid][object][local] */
  2659. typedef /* [unique] */ IInternetSession *LPIINTERNETSESSION;
  2660. typedef
  2661. enum _tagOIBDG_FLAGS
  2662. { OIBDG_APARTMENTTHREADED = 0x100,
  2663. OIBDG_DATAONLY = 0x1000
  2664. } OIBDG_FLAGS;
  2665. EXTERN_C const IID IID_IInternetSession;
  2666. #if defined(__cplusplus) && !defined(CINTERFACE)
  2667. MIDL_INTERFACE("79eac9e7-baf9-11ce-8c82-00aa004ba90b")
  2668. IInternetSession : public IUnknown
  2669. {
  2670. public:
  2671. virtual HRESULT STDMETHODCALLTYPE RegisterNameSpace(
  2672. /* [in] */ IClassFactory *pCF,
  2673. /* [in] */ REFCLSID rclsid,
  2674. /* [in] */ LPCWSTR pwzProtocol,
  2675. /* [in] */ ULONG cPatterns,
  2676. /* [in] */ const LPCWSTR *ppwzPatterns,
  2677. /* [in] */ DWORD dwReserved) = 0;
  2678. virtual HRESULT STDMETHODCALLTYPE UnregisterNameSpace(
  2679. /* [in] */ IClassFactory *pCF,
  2680. /* [in] */ LPCWSTR pszProtocol) = 0;
  2681. virtual HRESULT STDMETHODCALLTYPE RegisterMimeFilter(
  2682. /* [in] */ IClassFactory *pCF,
  2683. /* [in] */ REFCLSID rclsid,
  2684. /* [in] */ LPCWSTR pwzType) = 0;
  2685. virtual HRESULT STDMETHODCALLTYPE UnregisterMimeFilter(
  2686. /* [in] */ IClassFactory *pCF,
  2687. /* [in] */ LPCWSTR pwzType) = 0;
  2688. virtual HRESULT STDMETHODCALLTYPE CreateBinding(
  2689. /* [in] */ LPBC pBC,
  2690. /* [in] */ LPCWSTR szUrl,
  2691. /* [in] */ IUnknown *pUnkOuter,
  2692. /* [unique][out] */ IUnknown **ppUnk,
  2693. /* [unique][out] */ IInternetProtocol **ppOInetProt,
  2694. /* [in] */ DWORD dwOption) = 0;
  2695. virtual HRESULT STDMETHODCALLTYPE SetSessionOption(
  2696. /* [in] */ DWORD dwOption,
  2697. /* [in] */ LPVOID pBuffer,
  2698. /* [in] */ DWORD dwBufferLength,
  2699. /* [in] */ DWORD dwReserved) = 0;
  2700. virtual HRESULT STDMETHODCALLTYPE GetSessionOption(
  2701. /* [in] */ DWORD dwOption,
  2702. /* [out][in] */ LPVOID pBuffer,
  2703. /* [out][in] */ DWORD *pdwBufferLength,
  2704. /* [in] */ DWORD dwReserved) = 0;
  2705. };
  2706. #else /* C style interface */
  2707. typedef struct IInternetSessionVtbl
  2708. {
  2709. BEGIN_INTERFACE
  2710. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2711. IInternetSession * This,
  2712. /* [in] */ REFIID riid,
  2713. /* [iid_is][out] */ void **ppvObject);
  2714. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2715. IInternetSession * This);
  2716. ULONG ( STDMETHODCALLTYPE *Release )(
  2717. IInternetSession * This);
  2718. HRESULT ( STDMETHODCALLTYPE *RegisterNameSpace )(
  2719. IInternetSession * This,
  2720. /* [in] */ IClassFactory *pCF,
  2721. /* [in] */ REFCLSID rclsid,
  2722. /* [in] */ LPCWSTR pwzProtocol,
  2723. /* [in] */ ULONG cPatterns,
  2724. /* [in] */ const LPCWSTR *ppwzPatterns,
  2725. /* [in] */ DWORD dwReserved);
  2726. HRESULT ( STDMETHODCALLTYPE *UnregisterNameSpace )(
  2727. IInternetSession * This,
  2728. /* [in] */ IClassFactory *pCF,
  2729. /* [in] */ LPCWSTR pszProtocol);
  2730. HRESULT ( STDMETHODCALLTYPE *RegisterMimeFilter )(
  2731. IInternetSession * This,
  2732. /* [in] */ IClassFactory *pCF,
  2733. /* [in] */ REFCLSID rclsid,
  2734. /* [in] */ LPCWSTR pwzType);
  2735. HRESULT ( STDMETHODCALLTYPE *UnregisterMimeFilter )(
  2736. IInternetSession * This,
  2737. /* [in] */ IClassFactory *pCF,
  2738. /* [in] */ LPCWSTR pwzType);
  2739. HRESULT ( STDMETHODCALLTYPE *CreateBinding )(
  2740. IInternetSession * This,
  2741. /* [in] */ LPBC pBC,
  2742. /* [in] */ LPCWSTR szUrl,
  2743. /* [in] */ IUnknown *pUnkOuter,
  2744. /* [unique][out] */ IUnknown **ppUnk,
  2745. /* [unique][out] */ IInternetProtocol **ppOInetProt,
  2746. /* [in] */ DWORD dwOption);
  2747. HRESULT ( STDMETHODCALLTYPE *SetSessionOption )(
  2748. IInternetSession * This,
  2749. /* [in] */ DWORD dwOption,
  2750. /* [in] */ LPVOID pBuffer,
  2751. /* [in] */ DWORD dwBufferLength,
  2752. /* [in] */ DWORD dwReserved);
  2753. HRESULT ( STDMETHODCALLTYPE *GetSessionOption )(
  2754. IInternetSession * This,
  2755. /* [in] */ DWORD dwOption,
  2756. /* [out][in] */ LPVOID pBuffer,
  2757. /* [out][in] */ DWORD *pdwBufferLength,
  2758. /* [in] */ DWORD dwReserved);
  2759. END_INTERFACE
  2760. } IInternetSessionVtbl;
  2761. interface IInternetSession
  2762. {
  2763. CONST_VTBL struct IInternetSessionVtbl *lpVtbl;
  2764. };
  2765. #ifdef COBJMACROS
  2766. #define IInternetSession_QueryInterface(This,riid,ppvObject) \
  2767. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2768. #define IInternetSession_AddRef(This) \
  2769. (This)->lpVtbl -> AddRef(This)
  2770. #define IInternetSession_Release(This) \
  2771. (This)->lpVtbl -> Release(This)
  2772. #define IInternetSession_RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved) \
  2773. (This)->lpVtbl -> RegisterNameSpace(This,pCF,rclsid,pwzProtocol,cPatterns,ppwzPatterns,dwReserved)
  2774. #define IInternetSession_UnregisterNameSpace(This,pCF,pszProtocol) \
  2775. (This)->lpVtbl -> UnregisterNameSpace(This,pCF,pszProtocol)
  2776. #define IInternetSession_RegisterMimeFilter(This,pCF,rclsid,pwzType) \
  2777. (This)->lpVtbl -> RegisterMimeFilter(This,pCF,rclsid,pwzType)
  2778. #define IInternetSession_UnregisterMimeFilter(This,pCF,pwzType) \
  2779. (This)->lpVtbl -> UnregisterMimeFilter(This,pCF,pwzType)
  2780. #define IInternetSession_CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption) \
  2781. (This)->lpVtbl -> CreateBinding(This,pBC,szUrl,pUnkOuter,ppUnk,ppOInetProt,dwOption)
  2782. #define IInternetSession_SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved) \
  2783. (This)->lpVtbl -> SetSessionOption(This,dwOption,pBuffer,dwBufferLength,dwReserved)
  2784. #define IInternetSession_GetSessionOption(This,dwOption,pBuffer,pdwBufferLength,dwReserved) \
  2785. (This)->lpVtbl -> GetSessionOption(This,dwOption,pBuffer,pdwBufferLength,dwReserved)
  2786. #endif /* COBJMACROS */
  2787. #endif /* C style interface */
  2788. HRESULT STDMETHODCALLTYPE IInternetSession_RegisterNameSpace_Proxy(
  2789. IInternetSession * This,
  2790. /* [in] */ IClassFactory *pCF,
  2791. /* [in] */ REFCLSID rclsid,
  2792. /* [in] */ LPCWSTR pwzProtocol,
  2793. /* [in] */ ULONG cPatterns,
  2794. /* [in] */ const LPCWSTR *ppwzPatterns,
  2795. /* [in] */ DWORD dwReserved);
  2796. void __RPC_STUB IInternetSession_RegisterNameSpace_Stub(
  2797. IRpcStubBuffer *This,
  2798. IRpcChannelBuffer *_pRpcChannelBuffer,
  2799. PRPC_MESSAGE _pRpcMessage,
  2800. DWORD *_pdwStubPhase);
  2801. HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterNameSpace_Proxy(
  2802. IInternetSession * This,
  2803. /* [in] */ IClassFactory *pCF,
  2804. /* [in] */ LPCWSTR pszProtocol);
  2805. void __RPC_STUB IInternetSession_UnregisterNameSpace_Stub(
  2806. IRpcStubBuffer *This,
  2807. IRpcChannelBuffer *_pRpcChannelBuffer,
  2808. PRPC_MESSAGE _pRpcMessage,
  2809. DWORD *_pdwStubPhase);
  2810. HRESULT STDMETHODCALLTYPE IInternetSession_RegisterMimeFilter_Proxy(
  2811. IInternetSession * This,
  2812. /* [in] */ IClassFactory *pCF,
  2813. /* [in] */ REFCLSID rclsid,
  2814. /* [in] */ LPCWSTR pwzType);
  2815. void __RPC_STUB IInternetSession_RegisterMimeFilter_Stub(
  2816. IRpcStubBuffer *This,
  2817. IRpcChannelBuffer *_pRpcChannelBuffer,
  2818. PRPC_MESSAGE _pRpcMessage,
  2819. DWORD *_pdwStubPhase);
  2820. HRESULT STDMETHODCALLTYPE IInternetSession_UnregisterMimeFilter_Proxy(
  2821. IInternetSession * This,
  2822. /* [in] */ IClassFactory *pCF,
  2823. /* [in] */ LPCWSTR pwzType);
  2824. void __RPC_STUB IInternetSession_UnregisterMimeFilter_Stub(
  2825. IRpcStubBuffer *This,
  2826. IRpcChannelBuffer *_pRpcChannelBuffer,
  2827. PRPC_MESSAGE _pRpcMessage,
  2828. DWORD *_pdwStubPhase);
  2829. HRESULT STDMETHODCALLTYPE IInternetSession_CreateBinding_Proxy(
  2830. IInternetSession * This,
  2831. /* [in] */ LPBC pBC,
  2832. /* [in] */ LPCWSTR szUrl,
  2833. /* [in] */ IUnknown *pUnkOuter,
  2834. /* [unique][out] */ IUnknown **ppUnk,
  2835. /* [unique][out] */ IInternetProtocol **ppOInetProt,
  2836. /* [in] */ DWORD dwOption);
  2837. void __RPC_STUB IInternetSession_CreateBinding_Stub(
  2838. IRpcStubBuffer *This,
  2839. IRpcChannelBuffer *_pRpcChannelBuffer,
  2840. PRPC_MESSAGE _pRpcMessage,
  2841. DWORD *_pdwStubPhase);
  2842. HRESULT STDMETHODCALLTYPE IInternetSession_SetSessionOption_Proxy(
  2843. IInternetSession * This,
  2844. /* [in] */ DWORD dwOption,
  2845. /* [in] */ LPVOID pBuffer,
  2846. /* [in] */ DWORD dwBufferLength,
  2847. /* [in] */ DWORD dwReserved);
  2848. void __RPC_STUB IInternetSession_SetSessionOption_Stub(
  2849. IRpcStubBuffer *This,
  2850. IRpcChannelBuffer *_pRpcChannelBuffer,
  2851. PRPC_MESSAGE _pRpcMessage,
  2852. DWORD *_pdwStubPhase);
  2853. HRESULT STDMETHODCALLTYPE IInternetSession_GetSessionOption_Proxy(
  2854. IInternetSession * This,
  2855. /* [in] */ DWORD dwOption,
  2856. /* [out][in] */ LPVOID pBuffer,
  2857. /* [out][in] */ DWORD *pdwBufferLength,
  2858. /* [in] */ DWORD dwReserved);
  2859. void __RPC_STUB IInternetSession_GetSessionOption_Stub(
  2860. IRpcStubBuffer *This,
  2861. IRpcChannelBuffer *_pRpcChannelBuffer,
  2862. PRPC_MESSAGE _pRpcMessage,
  2863. DWORD *_pdwStubPhase);
  2864. #endif /* __IInternetSession_INTERFACE_DEFINED__ */
  2865. /* interface __MIDL_itf_urlmon_0194 */
  2866. /* [local] */
  2867. #endif
  2868. #ifndef _LPIINTERNETTHREADSWITCH_DEFINED
  2869. #define _LPIINTERNETTHREADSWITCH_DEFINED
  2870. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0194_v0_0_c_ifspec;
  2871. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0194_v0_0_s_ifspec;
  2872. #ifndef __IInternetThreadSwitch_INTERFACE_DEFINED__
  2873. #define __IInternetThreadSwitch_INTERFACE_DEFINED__
  2874. /* interface IInternetThreadSwitch */
  2875. /* [unique][uuid][object][local] */
  2876. typedef /* [unique] */ IInternetThreadSwitch *LPIINTERNETTHREADSWITCH;
  2877. EXTERN_C const IID IID_IInternetThreadSwitch;
  2878. #if defined(__cplusplus) && !defined(CINTERFACE)
  2879. MIDL_INTERFACE("79eac9e8-baf9-11ce-8c82-00aa004ba90b")
  2880. IInternetThreadSwitch : public IUnknown
  2881. {
  2882. public:
  2883. virtual HRESULT STDMETHODCALLTYPE Prepare( void) = 0;
  2884. virtual HRESULT STDMETHODCALLTYPE Continue( void) = 0;
  2885. };
  2886. #else /* C style interface */
  2887. typedef struct IInternetThreadSwitchVtbl
  2888. {
  2889. BEGIN_INTERFACE
  2890. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2891. IInternetThreadSwitch * This,
  2892. /* [in] */ REFIID riid,
  2893. /* [iid_is][out] */ void **ppvObject);
  2894. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2895. IInternetThreadSwitch * This);
  2896. ULONG ( STDMETHODCALLTYPE *Release )(
  2897. IInternetThreadSwitch * This);
  2898. HRESULT ( STDMETHODCALLTYPE *Prepare )(
  2899. IInternetThreadSwitch * This);
  2900. HRESULT ( STDMETHODCALLTYPE *Continue )(
  2901. IInternetThreadSwitch * This);
  2902. END_INTERFACE
  2903. } IInternetThreadSwitchVtbl;
  2904. interface IInternetThreadSwitch
  2905. {
  2906. CONST_VTBL struct IInternetThreadSwitchVtbl *lpVtbl;
  2907. };
  2908. #ifdef COBJMACROS
  2909. #define IInternetThreadSwitch_QueryInterface(This,riid,ppvObject) \
  2910. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2911. #define IInternetThreadSwitch_AddRef(This) \
  2912. (This)->lpVtbl -> AddRef(This)
  2913. #define IInternetThreadSwitch_Release(This) \
  2914. (This)->lpVtbl -> Release(This)
  2915. #define IInternetThreadSwitch_Prepare(This) \
  2916. (This)->lpVtbl -> Prepare(This)
  2917. #define IInternetThreadSwitch_Continue(This) \
  2918. (This)->lpVtbl -> Continue(This)
  2919. #endif /* COBJMACROS */
  2920. #endif /* C style interface */
  2921. HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Prepare_Proxy(
  2922. IInternetThreadSwitch * This);
  2923. void __RPC_STUB IInternetThreadSwitch_Prepare_Stub(
  2924. IRpcStubBuffer *This,
  2925. IRpcChannelBuffer *_pRpcChannelBuffer,
  2926. PRPC_MESSAGE _pRpcMessage,
  2927. DWORD *_pdwStubPhase);
  2928. HRESULT STDMETHODCALLTYPE IInternetThreadSwitch_Continue_Proxy(
  2929. IInternetThreadSwitch * This);
  2930. void __RPC_STUB IInternetThreadSwitch_Continue_Stub(
  2931. IRpcStubBuffer *This,
  2932. IRpcChannelBuffer *_pRpcChannelBuffer,
  2933. PRPC_MESSAGE _pRpcMessage,
  2934. DWORD *_pdwStubPhase);
  2935. #endif /* __IInternetThreadSwitch_INTERFACE_DEFINED__ */
  2936. /* interface __MIDL_itf_urlmon_0195 */
  2937. /* [local] */
  2938. #endif
  2939. #ifndef _LPIINTERNETPRIORITY_DEFINED
  2940. #define _LPIINTERNETPRIORITY_DEFINED
  2941. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0195_v0_0_c_ifspec;
  2942. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0195_v0_0_s_ifspec;
  2943. #ifndef __IInternetPriority_INTERFACE_DEFINED__
  2944. #define __IInternetPriority_INTERFACE_DEFINED__
  2945. /* interface IInternetPriority */
  2946. /* [unique][uuid][object][local] */
  2947. typedef /* [unique] */ IInternetPriority *LPIINTERNETPRIORITY;
  2948. EXTERN_C const IID IID_IInternetPriority;
  2949. #if defined(__cplusplus) && !defined(CINTERFACE)
  2950. MIDL_INTERFACE("79eac9eb-baf9-11ce-8c82-00aa004ba90b")
  2951. IInternetPriority : public IUnknown
  2952. {
  2953. public:
  2954. virtual HRESULT STDMETHODCALLTYPE SetPriority(
  2955. /* [in] */ LONG nPriority) = 0;
  2956. virtual HRESULT STDMETHODCALLTYPE GetPriority(
  2957. /* [out] */ LONG *pnPriority) = 0;
  2958. };
  2959. #else /* C style interface */
  2960. typedef struct IInternetPriorityVtbl
  2961. {
  2962. BEGIN_INTERFACE
  2963. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2964. IInternetPriority * This,
  2965. /* [in] */ REFIID riid,
  2966. /* [iid_is][out] */ void **ppvObject);
  2967. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2968. IInternetPriority * This);
  2969. ULONG ( STDMETHODCALLTYPE *Release )(
  2970. IInternetPriority * This);
  2971. HRESULT ( STDMETHODCALLTYPE *SetPriority )(
  2972. IInternetPriority * This,
  2973. /* [in] */ LONG nPriority);
  2974. HRESULT ( STDMETHODCALLTYPE *GetPriority )(
  2975. IInternetPriority * This,
  2976. /* [out] */ LONG *pnPriority);
  2977. END_INTERFACE
  2978. } IInternetPriorityVtbl;
  2979. interface IInternetPriority
  2980. {
  2981. CONST_VTBL struct IInternetPriorityVtbl *lpVtbl;
  2982. };
  2983. #ifdef COBJMACROS
  2984. #define IInternetPriority_QueryInterface(This,riid,ppvObject) \
  2985. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2986. #define IInternetPriority_AddRef(This) \
  2987. (This)->lpVtbl -> AddRef(This)
  2988. #define IInternetPriority_Release(This) \
  2989. (This)->lpVtbl -> Release(This)
  2990. #define IInternetPriority_SetPriority(This,nPriority) \
  2991. (This)->lpVtbl -> SetPriority(This,nPriority)
  2992. #define IInternetPriority_GetPriority(This,pnPriority) \
  2993. (This)->lpVtbl -> GetPriority(This,pnPriority)
  2994. #endif /* COBJMACROS */
  2995. #endif /* C style interface */
  2996. HRESULT STDMETHODCALLTYPE IInternetPriority_SetPriority_Proxy(
  2997. IInternetPriority * This,
  2998. /* [in] */ LONG nPriority);
  2999. void __RPC_STUB IInternetPriority_SetPriority_Stub(
  3000. IRpcStubBuffer *This,
  3001. IRpcChannelBuffer *_pRpcChannelBuffer,
  3002. PRPC_MESSAGE _pRpcMessage,
  3003. DWORD *_pdwStubPhase);
  3004. HRESULT STDMETHODCALLTYPE IInternetPriority_GetPriority_Proxy(
  3005. IInternetPriority * This,
  3006. /* [out] */ LONG *pnPriority);
  3007. void __RPC_STUB IInternetPriority_GetPriority_Stub(
  3008. IRpcStubBuffer *This,
  3009. IRpcChannelBuffer *_pRpcChannelBuffer,
  3010. PRPC_MESSAGE _pRpcMessage,
  3011. DWORD *_pdwStubPhase);
  3012. #endif /* __IInternetPriority_INTERFACE_DEFINED__ */
  3013. /* interface __MIDL_itf_urlmon_0196 */
  3014. /* [local] */
  3015. #endif
  3016. #ifndef _LPIINTERNETPROTOCOLINFO_DEFINED
  3017. #define _LPIINTERNETPROTOCOLINFO_DEFINED
  3018. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0196_v0_0_c_ifspec;
  3019. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0196_v0_0_s_ifspec;
  3020. #ifndef __IInternetProtocolInfo_INTERFACE_DEFINED__
  3021. #define __IInternetProtocolInfo_INTERFACE_DEFINED__
  3022. /* interface IInternetProtocolInfo */
  3023. /* [unique][uuid][object][local] */
  3024. typedef /* [unique] */ IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
  3025. typedef
  3026. enum _tagPARSEACTION
  3027. { PARSE_CANONICALIZE = 1,
  3028. PARSE_FRIENDLY = PARSE_CANONICALIZE + 1,
  3029. PARSE_SECURITY_URL = PARSE_FRIENDLY + 1,
  3030. PARSE_ROOTDOCUMENT = PARSE_SECURITY_URL + 1,
  3031. PARSE_DOCUMENT = PARSE_ROOTDOCUMENT + 1,
  3032. PARSE_ANCHOR = PARSE_DOCUMENT + 1,
  3033. PARSE_ENCODE = PARSE_ANCHOR + 1,
  3034. PARSE_DECODE = PARSE_ENCODE + 1,
  3035. PARSE_PATH_FROM_URL = PARSE_DECODE + 1,
  3036. PARSE_URL_FROM_PATH = PARSE_PATH_FROM_URL + 1,
  3037. PARSE_MIME = PARSE_URL_FROM_PATH + 1,
  3038. PARSE_SERVER = PARSE_MIME + 1,
  3039. PARSE_SCHEMA = PARSE_SERVER + 1,
  3040. PARSE_SITE = PARSE_SCHEMA + 1,
  3041. PARSE_DOMAIN = PARSE_SITE + 1,
  3042. PARSE_LOCATION = PARSE_DOMAIN + 1,
  3043. PARSE_SECURITY_DOMAIN = PARSE_LOCATION + 1,
  3044. PARSE_ESCAPE = PARSE_SECURITY_DOMAIN + 1,
  3045. PARSE_UNESCAPE = PARSE_ESCAPE + 1
  3046. } PARSEACTION;
  3047. typedef
  3048. enum _tagPSUACTION
  3049. { PSU_DEFAULT = 1,
  3050. PSU_SECURITY_URL_ONLY = PSU_DEFAULT + 1
  3051. } PSUACTION;
  3052. typedef
  3053. enum _tagQUERYOPTION
  3054. { QUERY_EXPIRATION_DATE = 1,
  3055. QUERY_TIME_OF_LAST_CHANGE = QUERY_EXPIRATION_DATE + 1,
  3056. QUERY_CONTENT_ENCODING = QUERY_TIME_OF_LAST_CHANGE + 1,
  3057. QUERY_CONTENT_TYPE = QUERY_CONTENT_ENCODING + 1,
  3058. QUERY_REFRESH = QUERY_CONTENT_TYPE + 1,
  3059. QUERY_RECOMBINE = QUERY_REFRESH + 1,
  3060. QUERY_CAN_NAVIGATE = QUERY_RECOMBINE + 1,
  3061. QUERY_USES_NETWORK = QUERY_CAN_NAVIGATE + 1,
  3062. QUERY_IS_CACHED = QUERY_USES_NETWORK + 1,
  3063. QUERY_IS_INSTALLEDENTRY = QUERY_IS_CACHED + 1,
  3064. QUERY_IS_CACHED_OR_MAPPED = QUERY_IS_INSTALLEDENTRY + 1,
  3065. QUERY_USES_CACHE = QUERY_IS_CACHED_OR_MAPPED + 1,
  3066. QUERY_IS_SECURE = QUERY_USES_CACHE + 1,
  3067. QUERY_IS_SAFE = QUERY_IS_SECURE + 1
  3068. } QUERYOPTION;
  3069. EXTERN_C const IID IID_IInternetProtocolInfo;
  3070. #if defined(__cplusplus) && !defined(CINTERFACE)
  3071. MIDL_INTERFACE("79eac9ec-baf9-11ce-8c82-00aa004ba90b")
  3072. IInternetProtocolInfo : public IUnknown
  3073. {
  3074. public:
  3075. virtual HRESULT STDMETHODCALLTYPE ParseUrl(
  3076. /* [in] */ LPCWSTR pwzUrl,
  3077. /* [in] */ PARSEACTION ParseAction,
  3078. /* [in] */ DWORD dwParseFlags,
  3079. /* [out] */ LPWSTR pwzResult,
  3080. /* [in] */ DWORD cchResult,
  3081. /* [out] */ DWORD *pcchResult,
  3082. /* [in] */ DWORD dwReserved) = 0;
  3083. virtual HRESULT STDMETHODCALLTYPE CombineUrl(
  3084. /* [in] */ LPCWSTR pwzBaseUrl,
  3085. /* [in] */ LPCWSTR pwzRelativeUrl,
  3086. /* [in] */ DWORD dwCombineFlags,
  3087. /* [out] */ LPWSTR pwzResult,
  3088. /* [in] */ DWORD cchResult,
  3089. /* [out] */ DWORD *pcchResult,
  3090. /* [in] */ DWORD dwReserved) = 0;
  3091. virtual HRESULT STDMETHODCALLTYPE CompareUrl(
  3092. /* [in] */ LPCWSTR pwzUrl1,
  3093. /* [in] */ LPCWSTR pwzUrl2,
  3094. /* [in] */ DWORD dwCompareFlags) = 0;
  3095. virtual HRESULT STDMETHODCALLTYPE QueryInfo(
  3096. /* [in] */ LPCWSTR pwzUrl,
  3097. /* [in] */ QUERYOPTION OueryOption,
  3098. /* [in] */ DWORD dwQueryFlags,
  3099. /* [size_is][out][in] */ LPVOID pBuffer,
  3100. /* [in] */ DWORD cbBuffer,
  3101. /* [out][in] */ DWORD *pcbBuf,
  3102. /* [in] */ DWORD dwReserved) = 0;
  3103. };
  3104. #else /* C style interface */
  3105. typedef struct IInternetProtocolInfoVtbl
  3106. {
  3107. BEGIN_INTERFACE
  3108. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3109. IInternetProtocolInfo * This,
  3110. /* [in] */ REFIID riid,
  3111. /* [iid_is][out] */ void **ppvObject);
  3112. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3113. IInternetProtocolInfo * This);
  3114. ULONG ( STDMETHODCALLTYPE *Release )(
  3115. IInternetProtocolInfo * This);
  3116. HRESULT ( STDMETHODCALLTYPE *ParseUrl )(
  3117. IInternetProtocolInfo * This,
  3118. /* [in] */ LPCWSTR pwzUrl,
  3119. /* [in] */ PARSEACTION ParseAction,
  3120. /* [in] */ DWORD dwParseFlags,
  3121. /* [out] */ LPWSTR pwzResult,
  3122. /* [in] */ DWORD cchResult,
  3123. /* [out] */ DWORD *pcchResult,
  3124. /* [in] */ DWORD dwReserved);
  3125. HRESULT ( STDMETHODCALLTYPE *CombineUrl )(
  3126. IInternetProtocolInfo * This,
  3127. /* [in] */ LPCWSTR pwzBaseUrl,
  3128. /* [in] */ LPCWSTR pwzRelativeUrl,
  3129. /* [in] */ DWORD dwCombineFlags,
  3130. /* [out] */ LPWSTR pwzResult,
  3131. /* [in] */ DWORD cchResult,
  3132. /* [out] */ DWORD *pcchResult,
  3133. /* [in] */ DWORD dwReserved);
  3134. HRESULT ( STDMETHODCALLTYPE *CompareUrl )(
  3135. IInternetProtocolInfo * This,
  3136. /* [in] */ LPCWSTR pwzUrl1,
  3137. /* [in] */ LPCWSTR pwzUrl2,
  3138. /* [in] */ DWORD dwCompareFlags);
  3139. HRESULT ( STDMETHODCALLTYPE *QueryInfo )(
  3140. IInternetProtocolInfo * This,
  3141. /* [in] */ LPCWSTR pwzUrl,
  3142. /* [in] */ QUERYOPTION OueryOption,
  3143. /* [in] */ DWORD dwQueryFlags,
  3144. /* [size_is][out][in] */ LPVOID pBuffer,
  3145. /* [in] */ DWORD cbBuffer,
  3146. /* [out][in] */ DWORD *pcbBuf,
  3147. /* [in] */ DWORD dwReserved);
  3148. END_INTERFACE
  3149. } IInternetProtocolInfoVtbl;
  3150. interface IInternetProtocolInfo
  3151. {
  3152. CONST_VTBL struct IInternetProtocolInfoVtbl *lpVtbl;
  3153. };
  3154. #ifdef COBJMACROS
  3155. #define IInternetProtocolInfo_QueryInterface(This,riid,ppvObject) \
  3156. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3157. #define IInternetProtocolInfo_AddRef(This) \
  3158. (This)->lpVtbl -> AddRef(This)
  3159. #define IInternetProtocolInfo_Release(This) \
  3160. (This)->lpVtbl -> Release(This)
  3161. #define IInternetProtocolInfo_ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved) \
  3162. (This)->lpVtbl -> ParseUrl(This,pwzUrl,ParseAction,dwParseFlags,pwzResult,cchResult,pcchResult,dwReserved)
  3163. #define IInternetProtocolInfo_CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved) \
  3164. (This)->lpVtbl -> CombineUrl(This,pwzBaseUrl,pwzRelativeUrl,dwCombineFlags,pwzResult,cchResult,pcchResult,dwReserved)
  3165. #define IInternetProtocolInfo_CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags) \
  3166. (This)->lpVtbl -> CompareUrl(This,pwzUrl1,pwzUrl2,dwCompareFlags)
  3167. #define IInternetProtocolInfo_QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved) \
  3168. (This)->lpVtbl -> QueryInfo(This,pwzUrl,OueryOption,dwQueryFlags,pBuffer,cbBuffer,pcbBuf,dwReserved)
  3169. #endif /* COBJMACROS */
  3170. #endif /* C style interface */
  3171. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_ParseUrl_Proxy(
  3172. IInternetProtocolInfo * This,
  3173. /* [in] */ LPCWSTR pwzUrl,
  3174. /* [in] */ PARSEACTION ParseAction,
  3175. /* [in] */ DWORD dwParseFlags,
  3176. /* [out] */ LPWSTR pwzResult,
  3177. /* [in] */ DWORD cchResult,
  3178. /* [out] */ DWORD *pcchResult,
  3179. /* [in] */ DWORD dwReserved);
  3180. void __RPC_STUB IInternetProtocolInfo_ParseUrl_Stub(
  3181. IRpcStubBuffer *This,
  3182. IRpcChannelBuffer *_pRpcChannelBuffer,
  3183. PRPC_MESSAGE _pRpcMessage,
  3184. DWORD *_pdwStubPhase);
  3185. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CombineUrl_Proxy(
  3186. IInternetProtocolInfo * This,
  3187. /* [in] */ LPCWSTR pwzBaseUrl,
  3188. /* [in] */ LPCWSTR pwzRelativeUrl,
  3189. /* [in] */ DWORD dwCombineFlags,
  3190. /* [out] */ LPWSTR pwzResult,
  3191. /* [in] */ DWORD cchResult,
  3192. /* [out] */ DWORD *pcchResult,
  3193. /* [in] */ DWORD dwReserved);
  3194. void __RPC_STUB IInternetProtocolInfo_CombineUrl_Stub(
  3195. IRpcStubBuffer *This,
  3196. IRpcChannelBuffer *_pRpcChannelBuffer,
  3197. PRPC_MESSAGE _pRpcMessage,
  3198. DWORD *_pdwStubPhase);
  3199. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_CompareUrl_Proxy(
  3200. IInternetProtocolInfo * This,
  3201. /* [in] */ LPCWSTR pwzUrl1,
  3202. /* [in] */ LPCWSTR pwzUrl2,
  3203. /* [in] */ DWORD dwCompareFlags);
  3204. void __RPC_STUB IInternetProtocolInfo_CompareUrl_Stub(
  3205. IRpcStubBuffer *This,
  3206. IRpcChannelBuffer *_pRpcChannelBuffer,
  3207. PRPC_MESSAGE _pRpcMessage,
  3208. DWORD *_pdwStubPhase);
  3209. HRESULT STDMETHODCALLTYPE IInternetProtocolInfo_QueryInfo_Proxy(
  3210. IInternetProtocolInfo * This,
  3211. /* [in] */ LPCWSTR pwzUrl,
  3212. /* [in] */ QUERYOPTION OueryOption,
  3213. /* [in] */ DWORD dwQueryFlags,
  3214. /* [size_is][out][in] */ LPVOID pBuffer,
  3215. /* [in] */ DWORD cbBuffer,
  3216. /* [out][in] */ DWORD *pcbBuf,
  3217. /* [in] */ DWORD dwReserved);
  3218. void __RPC_STUB IInternetProtocolInfo_QueryInfo_Stub(
  3219. IRpcStubBuffer *This,
  3220. IRpcChannelBuffer *_pRpcChannelBuffer,
  3221. PRPC_MESSAGE _pRpcMessage,
  3222. DWORD *_pdwStubPhase);
  3223. #endif /* __IInternetProtocolInfo_INTERFACE_DEFINED__ */
  3224. /* interface __MIDL_itf_urlmon_0197 */
  3225. /* [local] */
  3226. #endif
  3227. #define IOInet IInternet
  3228. #define IOInetBindInfo IInternetBindInfo
  3229. #define IOInetProtocolRoot IInternetProtocolRoot
  3230. #define IOInetProtocol IInternetProtocol
  3231. #define IOInetProtocolSink IInternetProtocolSink
  3232. #define IOInetProtocolInfo IInternetProtocolInfo
  3233. #define IOInetSession IInternetSession
  3234. #define IOInetPriority IInternetPriority
  3235. #define IOInetThreadSwitch IInternetThreadSwitch
  3236. #define IOInetProtocolSinkStackable IInternetProtocolSinkStackable
  3237. #define LPOINET LPIINTERNET
  3238. #define LPOINETPROTOCOLINFO LPIINTERNETPROTOCOLINFO
  3239. #define LPOINETBINDINFO LPIINTERNETBINDINFO
  3240. #define LPOINETPROTOCOLROOT LPIINTERNETPROTOCOLROOT
  3241. #define LPOINETPROTOCOL LPIINTERNETPROTOCOL
  3242. #define LPOINETPROTOCOLSINK LPIINTERNETPROTOCOLSINK
  3243. #define LPOINETSESSION LPIINTERNETSESSION
  3244. #define LPOINETTHREADSWITCH LPIINTERNETTHREADSWITCH
  3245. #define LPOINETPRIORITY LPIINTERNETPRIORITY
  3246. #define LPOINETPROTOCOLINFO LPIINTERNETPROTOCOLINFO
  3247. #define LPOINETPROTOCOLSINKSTACKABLE LPIINTERNETPROTOCOLSINKSTACKABLE
  3248. #define IID_IOInet IID_IInternet
  3249. #define IID_IOInetBindInfo IID_IInternetBindInfo
  3250. #define IID_IOInetProtocolRoot IID_IInternetProtocolRoot
  3251. #define IID_IOInetProtocol IID_IInternetProtocol
  3252. #define IID_IOInetProtocolSink IID_IInternetProtocolSink
  3253. #define IID_IOInetProtocolInfo IID_IInternetProtocolInfo
  3254. #define IID_IOInetSession IID_IInternetSession
  3255. #define IID_IOInetPriority IID_IInternetPriority
  3256. #define IID_IOInetThreadSwitch IID_IInternetThreadSwitch
  3257. #define IID_IOInetProtocolSinkStackable IID_IInternetProtocolSinkStackable
  3258. STDAPI CoInternetParseUrl(
  3259. LPCWSTR pwzUrl,
  3260. PARSEACTION ParseAction,
  3261. DWORD dwFlags,
  3262. LPWSTR pszResult,
  3263. DWORD cchResult,
  3264. DWORD *pcchResult,
  3265. DWORD dwReserved
  3266. );
  3267. STDAPI CoInternetCombineUrl(
  3268. LPCWSTR pwzBaseUrl,
  3269. LPCWSTR pwzRelativeUrl,
  3270. DWORD dwCombineFlags,
  3271. LPWSTR pszResult,
  3272. DWORD cchResult,
  3273. DWORD *pcchResult,
  3274. DWORD dwReserved
  3275. );
  3276. STDAPI CoInternetCompareUrl(
  3277. LPCWSTR pwzUrl1,
  3278. LPCWSTR pwzUrl2,
  3279. DWORD dwFlags
  3280. );
  3281. STDAPI CoInternetGetProtocolFlags(
  3282. LPCWSTR pwzUrl,
  3283. DWORD *pdwFlags,
  3284. DWORD dwReserved
  3285. );
  3286. STDAPI CoInternetQueryInfo(
  3287. LPCWSTR pwzUrl,
  3288. QUERYOPTION QueryOptions,
  3289. DWORD dwQueryFlags,
  3290. LPVOID pvBuffer,
  3291. DWORD cbBuffer,
  3292. DWORD *pcbBuffer,
  3293. DWORD dwReserved
  3294. );
  3295. STDAPI CoInternetGetSession(
  3296. DWORD dwSessionMode,
  3297. IInternetSession **ppIInternetSession,
  3298. DWORD dwReserved
  3299. );
  3300. STDAPI CoInternetGetSecurityUrl(
  3301. LPCWSTR pwzUrl,
  3302. LPWSTR *ppwzSecUrl,
  3303. PSUACTION psuAction,
  3304. DWORD dwReserved
  3305. );
  3306. STDAPI AsyncInstallDistributionUnit(
  3307. LPCWSTR szDistUnit,
  3308. LPCWSTR szTYPE,
  3309. LPCWSTR szExt,
  3310. DWORD dwFileVersionMS,
  3311. DWORD dwFileVersionLS,
  3312. LPCWSTR szURL,
  3313. IBindCtx *pbc,
  3314. LPVOID pvReserved,
  3315. DWORD flags
  3316. );
  3317. STDAPI CopyStgMedium(const STGMEDIUM * pcstgmedSrc,
  3318. STGMEDIUM * pstgmedDest);
  3319. STDAPI CopyBindInfo( const BINDINFO * pcbiSrc,
  3320. BINDINFO * pbiDest );
  3321. STDAPI_(void) ReleaseBindInfo( BINDINFO * pbindinfo );
  3322. #define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011L)
  3323. #define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)
  3324. #define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER
  3325. #define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013L)
  3326. #define INET_E_REDIRECTING _HRESULT_TYPEDEF_(0x800C0014L)
  3327. #define OInetParseUrl CoInternetParseUrl
  3328. #define OInetCombineUrl CoInternetCombineUrl
  3329. #define OInetCompareUrl CoInternetCompareUrl
  3330. #define OInetQueryInfo CoInternetQueryInfo
  3331. #define OInetGetSession CoInternetGetSession
  3332. #endif // !_URLMON_NO_ASYNC_PLUGABLE_PROTOCOLS_
  3333. //
  3334. // Static Protocol flags
  3335. //
  3336. #define PROTOCOLFLAG_NO_PICS_CHECK 0x00000001
  3337. // Creates the security manager object. The first argument is the Service provider
  3338. // to allow for delegation
  3339. STDAPI CoInternetCreateSecurityManager(IServiceProvider *pSP, IInternetSecurityManager **ppSM, DWORD dwReserved);
  3340. STDAPI CoInternetCreateZoneManager(IServiceProvider *pSP, IInternetZoneManager **ppZM, DWORD dwReserved);
  3341. // Security manager CLSID's
  3342. EXTERN_C const IID CLSID_InternetSecurityManager;
  3343. EXTERN_C const IID CLSID_InternetZoneManager;
  3344. // This service is used for delegation support on the Security Manager interface
  3345. #define SID_SInternetSecurityManager IID_IInternetSecurityManager
  3346. #define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager
  3347. #ifndef _LPINTERNETSECURITYMGRSITE_DEFINED
  3348. #define _LPINTERNETSECURITYMGRSITE_DEFINED
  3349. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0197_v0_0_c_ifspec;
  3350. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0197_v0_0_s_ifspec;
  3351. #ifndef __IInternetSecurityMgrSite_INTERFACE_DEFINED__
  3352. #define __IInternetSecurityMgrSite_INTERFACE_DEFINED__
  3353. /* interface IInternetSecurityMgrSite */
  3354. /* [unique][helpstring][uuid][object][local] */
  3355. EXTERN_C const IID IID_IInternetSecurityMgrSite;
  3356. #if defined(__cplusplus) && !defined(CINTERFACE)
  3357. MIDL_INTERFACE("79eac9ed-baf9-11ce-8c82-00aa004ba90b")
  3358. IInternetSecurityMgrSite : public IUnknown
  3359. {
  3360. public:
  3361. virtual HRESULT STDMETHODCALLTYPE GetWindow(
  3362. /* [out] */ HWND *phwnd) = 0;
  3363. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  3364. /* [in] */ BOOL fEnable) = 0;
  3365. };
  3366. #else /* C style interface */
  3367. typedef struct IInternetSecurityMgrSiteVtbl
  3368. {
  3369. BEGIN_INTERFACE
  3370. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3371. IInternetSecurityMgrSite * This,
  3372. /* [in] */ REFIID riid,
  3373. /* [iid_is][out] */ void **ppvObject);
  3374. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3375. IInternetSecurityMgrSite * This);
  3376. ULONG ( STDMETHODCALLTYPE *Release )(
  3377. IInternetSecurityMgrSite * This);
  3378. HRESULT ( STDMETHODCALLTYPE *GetWindow )(
  3379. IInternetSecurityMgrSite * This,
  3380. /* [out] */ HWND *phwnd);
  3381. HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
  3382. IInternetSecurityMgrSite * This,
  3383. /* [in] */ BOOL fEnable);
  3384. END_INTERFACE
  3385. } IInternetSecurityMgrSiteVtbl;
  3386. interface IInternetSecurityMgrSite
  3387. {
  3388. CONST_VTBL struct IInternetSecurityMgrSiteVtbl *lpVtbl;
  3389. };
  3390. #ifdef COBJMACROS
  3391. #define IInternetSecurityMgrSite_QueryInterface(This,riid,ppvObject) \
  3392. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3393. #define IInternetSecurityMgrSite_AddRef(This) \
  3394. (This)->lpVtbl -> AddRef(This)
  3395. #define IInternetSecurityMgrSite_Release(This) \
  3396. (This)->lpVtbl -> Release(This)
  3397. #define IInternetSecurityMgrSite_GetWindow(This,phwnd) \
  3398. (This)->lpVtbl -> GetWindow(This,phwnd)
  3399. #define IInternetSecurityMgrSite_EnableModeless(This,fEnable) \
  3400. (This)->lpVtbl -> EnableModeless(This,fEnable)
  3401. #endif /* COBJMACROS */
  3402. #endif /* C style interface */
  3403. HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_GetWindow_Proxy(
  3404. IInternetSecurityMgrSite * This,
  3405. /* [out] */ HWND *phwnd);
  3406. void __RPC_STUB IInternetSecurityMgrSite_GetWindow_Stub(
  3407. IRpcStubBuffer *This,
  3408. IRpcChannelBuffer *_pRpcChannelBuffer,
  3409. PRPC_MESSAGE _pRpcMessage,
  3410. DWORD *_pdwStubPhase);
  3411. HRESULT STDMETHODCALLTYPE IInternetSecurityMgrSite_EnableModeless_Proxy(
  3412. IInternetSecurityMgrSite * This,
  3413. /* [in] */ BOOL fEnable);
  3414. void __RPC_STUB IInternetSecurityMgrSite_EnableModeless_Stub(
  3415. IRpcStubBuffer *This,
  3416. IRpcChannelBuffer *_pRpcChannelBuffer,
  3417. PRPC_MESSAGE _pRpcMessage,
  3418. DWORD *_pdwStubPhase);
  3419. #endif /* __IInternetSecurityMgrSite_INTERFACE_DEFINED__ */
  3420. /* interface __MIDL_itf_urlmon_0198 */
  3421. /* [local] */
  3422. #endif
  3423. #ifndef _LPINTERNETSECURITYMANANGER_DEFINED
  3424. #define _LPINTERNETSECURITYMANANGER_DEFINED
  3425. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0198_v0_0_c_ifspec;
  3426. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0198_v0_0_s_ifspec;
  3427. #ifndef __IInternetSecurityManager_INTERFACE_DEFINED__
  3428. #define __IInternetSecurityManager_INTERFACE_DEFINED__
  3429. /* interface IInternetSecurityManager */
  3430. /* [object][unique][helpstring][uuid] */
  3431. #define MUTZ_NOSAVEDFILECHECK 0x00000001 // don't check file: for saved file comment
  3432. #define MUTZ_ENFORCERESTRICTED 0x00000100 // enforce restricted zone independent of URL
  3433. // MapUrlToZone returns the zone index given a URL
  3434. #define MAX_SIZE_SECURITY_ID 512 // bytes
  3435. typedef /* [public] */
  3436. enum __MIDL_IInternetSecurityManager_0001
  3437. { PUAF_DEFAULT = 0,
  3438. PUAF_NOUI = 0x1,
  3439. PUAF_ISFILE = 0x2,
  3440. PUAF_WARN_IF_DENIED = 0x4,
  3441. PUAF_FORCEUI_FOREGROUND = 0x8,
  3442. PUAF_CHECK_TIFS = 0x10,
  3443. PUAF_DONTCHECKBOXINDIALOG = 0x20,
  3444. PUAF_TRUSTED = 0x40,
  3445. PUAF_ACCEPT_WILDCARD_SCHEME = 0x80,
  3446. PUAF_ENFORCERESTRICTED = 0x100
  3447. } PUAF;
  3448. // This is the wrapper function that most clients will use.
  3449. // It figures out the current Policy for the passed in Action,
  3450. // and puts up UI if the current Policy indicates that the user
  3451. // should be queried. It returns back the Policy which the caller
  3452. // will use to determine if the action should be allowed
  3453. // This is the wrapper function to conveniently read a custom policy.
  3454. typedef /* [public] */
  3455. enum __MIDL_IInternetSecurityManager_0002
  3456. { SZM_CREATE = 0,
  3457. SZM_DELETE = 0x1
  3458. } SZM_FLAGS;
  3459. // SetZoneMapping
  3460. // lpszPattern: string denoting a URL pattern
  3461. // Examples of valid patterns:
  3462. // *://*.msn.com
  3463. // http://*.sony.co.jp
  3464. // *://et.msn.com
  3465. // ftp://157.54.23.41/
  3466. // https://localsvr
  3467. // file:\localsvr\share
  3468. // *://157.54.100-200.*
  3469. // Examples of invalid patterns:
  3470. // http://*.lcs.mit.edu
  3471. // ftp://*
  3472. // dwFlags: SZM_FLAGS values
  3473. EXTERN_C const IID IID_IInternetSecurityManager;
  3474. #if defined(__cplusplus) && !defined(CINTERFACE)
  3475. MIDL_INTERFACE("79eac9ee-baf9-11ce-8c82-00aa004ba90b")
  3476. IInternetSecurityManager : public IUnknown
  3477. {
  3478. public:
  3479. virtual HRESULT STDMETHODCALLTYPE SetSecuritySite(
  3480. /* [unique][in] */ IInternetSecurityMgrSite *pSite) = 0;
  3481. virtual HRESULT STDMETHODCALLTYPE GetSecuritySite(
  3482. /* [out] */ IInternetSecurityMgrSite **ppSite) = 0;
  3483. virtual HRESULT STDMETHODCALLTYPE MapUrlToZone(
  3484. /* [in] */ LPCWSTR pwszUrl,
  3485. /* [out] */ DWORD *pdwZone,
  3486. /* [in] */ DWORD dwFlags) = 0;
  3487. virtual HRESULT STDMETHODCALLTYPE GetSecurityId(
  3488. /* [in] */ LPCWSTR pwszUrl,
  3489. /* [size_is][out] */ BYTE *pbSecurityId,
  3490. /* [out][in] */ DWORD *pcbSecurityId,
  3491. /* [in] */ DWORD_PTR dwReserved) = 0;
  3492. virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction(
  3493. /* [in] */ LPCWSTR pwszUrl,
  3494. /* [in] */ DWORD dwAction,
  3495. /* [size_is][out] */ BYTE *pPolicy,
  3496. /* [in] */ DWORD cbPolicy,
  3497. /* [in] */ BYTE *pContext,
  3498. /* [in] */ DWORD cbContext,
  3499. /* [in] */ DWORD dwFlags,
  3500. /* [in] */ DWORD dwReserved) = 0;
  3501. virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy(
  3502. /* [in] */ LPCWSTR pwszUrl,
  3503. /* [in] */ REFGUID guidKey,
  3504. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  3505. /* [out] */ DWORD *pcbPolicy,
  3506. /* [in] */ BYTE *pContext,
  3507. /* [in] */ DWORD cbContext,
  3508. /* [in] */ DWORD dwReserved) = 0;
  3509. virtual HRESULT STDMETHODCALLTYPE SetZoneMapping(
  3510. /* [in] */ DWORD dwZone,
  3511. /* [in] */ LPCWSTR lpszPattern,
  3512. /* [in] */ DWORD dwFlags) = 0;
  3513. virtual HRESULT STDMETHODCALLTYPE GetZoneMappings(
  3514. /* [in] */ DWORD dwZone,
  3515. /* [out] */ IEnumString **ppenumString,
  3516. /* [in] */ DWORD dwFlags) = 0;
  3517. };
  3518. #else /* C style interface */
  3519. typedef struct IInternetSecurityManagerVtbl
  3520. {
  3521. BEGIN_INTERFACE
  3522. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3523. IInternetSecurityManager * This,
  3524. /* [in] */ REFIID riid,
  3525. /* [iid_is][out] */ void **ppvObject);
  3526. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3527. IInternetSecurityManager * This);
  3528. ULONG ( STDMETHODCALLTYPE *Release )(
  3529. IInternetSecurityManager * This);
  3530. HRESULT ( STDMETHODCALLTYPE *SetSecuritySite )(
  3531. IInternetSecurityManager * This,
  3532. /* [unique][in] */ IInternetSecurityMgrSite *pSite);
  3533. HRESULT ( STDMETHODCALLTYPE *GetSecuritySite )(
  3534. IInternetSecurityManager * This,
  3535. /* [out] */ IInternetSecurityMgrSite **ppSite);
  3536. HRESULT ( STDMETHODCALLTYPE *MapUrlToZone )(
  3537. IInternetSecurityManager * This,
  3538. /* [in] */ LPCWSTR pwszUrl,
  3539. /* [out] */ DWORD *pdwZone,
  3540. /* [in] */ DWORD dwFlags);
  3541. HRESULT ( STDMETHODCALLTYPE *GetSecurityId )(
  3542. IInternetSecurityManager * This,
  3543. /* [in] */ LPCWSTR pwszUrl,
  3544. /* [size_is][out] */ BYTE *pbSecurityId,
  3545. /* [out][in] */ DWORD *pcbSecurityId,
  3546. /* [in] */ DWORD_PTR dwReserved);
  3547. HRESULT ( STDMETHODCALLTYPE *ProcessUrlAction )(
  3548. IInternetSecurityManager * This,
  3549. /* [in] */ LPCWSTR pwszUrl,
  3550. /* [in] */ DWORD dwAction,
  3551. /* [size_is][out] */ BYTE *pPolicy,
  3552. /* [in] */ DWORD cbPolicy,
  3553. /* [in] */ BYTE *pContext,
  3554. /* [in] */ DWORD cbContext,
  3555. /* [in] */ DWORD dwFlags,
  3556. /* [in] */ DWORD dwReserved);
  3557. HRESULT ( STDMETHODCALLTYPE *QueryCustomPolicy )(
  3558. IInternetSecurityManager * This,
  3559. /* [in] */ LPCWSTR pwszUrl,
  3560. /* [in] */ REFGUID guidKey,
  3561. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  3562. /* [out] */ DWORD *pcbPolicy,
  3563. /* [in] */ BYTE *pContext,
  3564. /* [in] */ DWORD cbContext,
  3565. /* [in] */ DWORD dwReserved);
  3566. HRESULT ( STDMETHODCALLTYPE *SetZoneMapping )(
  3567. IInternetSecurityManager * This,
  3568. /* [in] */ DWORD dwZone,
  3569. /* [in] */ LPCWSTR lpszPattern,
  3570. /* [in] */ DWORD dwFlags);
  3571. HRESULT ( STDMETHODCALLTYPE *GetZoneMappings )(
  3572. IInternetSecurityManager * This,
  3573. /* [in] */ DWORD dwZone,
  3574. /* [out] */ IEnumString **ppenumString,
  3575. /* [in] */ DWORD dwFlags);
  3576. END_INTERFACE
  3577. } IInternetSecurityManagerVtbl;
  3578. interface IInternetSecurityManager
  3579. {
  3580. CONST_VTBL struct IInternetSecurityManagerVtbl *lpVtbl;
  3581. };
  3582. #ifdef COBJMACROS
  3583. #define IInternetSecurityManager_QueryInterface(This,riid,ppvObject) \
  3584. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3585. #define IInternetSecurityManager_AddRef(This) \
  3586. (This)->lpVtbl -> AddRef(This)
  3587. #define IInternetSecurityManager_Release(This) \
  3588. (This)->lpVtbl -> Release(This)
  3589. #define IInternetSecurityManager_SetSecuritySite(This,pSite) \
  3590. (This)->lpVtbl -> SetSecuritySite(This,pSite)
  3591. #define IInternetSecurityManager_GetSecuritySite(This,ppSite) \
  3592. (This)->lpVtbl -> GetSecuritySite(This,ppSite)
  3593. #define IInternetSecurityManager_MapUrlToZone(This,pwszUrl,pdwZone,dwFlags) \
  3594. (This)->lpVtbl -> MapUrlToZone(This,pwszUrl,pdwZone,dwFlags)
  3595. #define IInternetSecurityManager_GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved) \
  3596. (This)->lpVtbl -> GetSecurityId(This,pwszUrl,pbSecurityId,pcbSecurityId,dwReserved)
  3597. #define IInternetSecurityManager_ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) \
  3598. (This)->lpVtbl -> ProcessUrlAction(This,pwszUrl,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
  3599. #define IInternetSecurityManager_QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) \
  3600. (This)->lpVtbl -> QueryCustomPolicy(This,pwszUrl,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
  3601. #define IInternetSecurityManager_SetZoneMapping(This,dwZone,lpszPattern,dwFlags) \
  3602. (This)->lpVtbl -> SetZoneMapping(This,dwZone,lpszPattern,dwFlags)
  3603. #define IInternetSecurityManager_GetZoneMappings(This,dwZone,ppenumString,dwFlags) \
  3604. (This)->lpVtbl -> GetZoneMappings(This,dwZone,ppenumString,dwFlags)
  3605. #endif /* COBJMACROS */
  3606. #endif /* C style interface */
  3607. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetSecuritySite_Proxy(
  3608. IInternetSecurityManager * This,
  3609. /* [unique][in] */ IInternetSecurityMgrSite *pSite);
  3610. void __RPC_STUB IInternetSecurityManager_SetSecuritySite_Stub(
  3611. IRpcStubBuffer *This,
  3612. IRpcChannelBuffer *_pRpcChannelBuffer,
  3613. PRPC_MESSAGE _pRpcMessage,
  3614. DWORD *_pdwStubPhase);
  3615. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecuritySite_Proxy(
  3616. IInternetSecurityManager * This,
  3617. /* [out] */ IInternetSecurityMgrSite **ppSite);
  3618. void __RPC_STUB IInternetSecurityManager_GetSecuritySite_Stub(
  3619. IRpcStubBuffer *This,
  3620. IRpcChannelBuffer *_pRpcChannelBuffer,
  3621. PRPC_MESSAGE _pRpcMessage,
  3622. DWORD *_pdwStubPhase);
  3623. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_MapUrlToZone_Proxy(
  3624. IInternetSecurityManager * This,
  3625. /* [in] */ LPCWSTR pwszUrl,
  3626. /* [out] */ DWORD *pdwZone,
  3627. /* [in] */ DWORD dwFlags);
  3628. void __RPC_STUB IInternetSecurityManager_MapUrlToZone_Stub(
  3629. IRpcStubBuffer *This,
  3630. IRpcChannelBuffer *_pRpcChannelBuffer,
  3631. PRPC_MESSAGE _pRpcMessage,
  3632. DWORD *_pdwStubPhase);
  3633. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetSecurityId_Proxy(
  3634. IInternetSecurityManager * This,
  3635. /* [in] */ LPCWSTR pwszUrl,
  3636. /* [size_is][out] */ BYTE *pbSecurityId,
  3637. /* [out][in] */ DWORD *pcbSecurityId,
  3638. /* [in] */ DWORD_PTR dwReserved);
  3639. void __RPC_STUB IInternetSecurityManager_GetSecurityId_Stub(
  3640. IRpcStubBuffer *This,
  3641. IRpcChannelBuffer *_pRpcChannelBuffer,
  3642. PRPC_MESSAGE _pRpcMessage,
  3643. DWORD *_pdwStubPhase);
  3644. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_ProcessUrlAction_Proxy(
  3645. IInternetSecurityManager * This,
  3646. /* [in] */ LPCWSTR pwszUrl,
  3647. /* [in] */ DWORD dwAction,
  3648. /* [size_is][out] */ BYTE *pPolicy,
  3649. /* [in] */ DWORD cbPolicy,
  3650. /* [in] */ BYTE *pContext,
  3651. /* [in] */ DWORD cbContext,
  3652. /* [in] */ DWORD dwFlags,
  3653. /* [in] */ DWORD dwReserved);
  3654. void __RPC_STUB IInternetSecurityManager_ProcessUrlAction_Stub(
  3655. IRpcStubBuffer *This,
  3656. IRpcChannelBuffer *_pRpcChannelBuffer,
  3657. PRPC_MESSAGE _pRpcMessage,
  3658. DWORD *_pdwStubPhase);
  3659. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_QueryCustomPolicy_Proxy(
  3660. IInternetSecurityManager * This,
  3661. /* [in] */ LPCWSTR pwszUrl,
  3662. /* [in] */ REFGUID guidKey,
  3663. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  3664. /* [out] */ DWORD *pcbPolicy,
  3665. /* [in] */ BYTE *pContext,
  3666. /* [in] */ DWORD cbContext,
  3667. /* [in] */ DWORD dwReserved);
  3668. void __RPC_STUB IInternetSecurityManager_QueryCustomPolicy_Stub(
  3669. IRpcStubBuffer *This,
  3670. IRpcChannelBuffer *_pRpcChannelBuffer,
  3671. PRPC_MESSAGE _pRpcMessage,
  3672. DWORD *_pdwStubPhase);
  3673. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_SetZoneMapping_Proxy(
  3674. IInternetSecurityManager * This,
  3675. /* [in] */ DWORD dwZone,
  3676. /* [in] */ LPCWSTR lpszPattern,
  3677. /* [in] */ DWORD dwFlags);
  3678. void __RPC_STUB IInternetSecurityManager_SetZoneMapping_Stub(
  3679. IRpcStubBuffer *This,
  3680. IRpcChannelBuffer *_pRpcChannelBuffer,
  3681. PRPC_MESSAGE _pRpcMessage,
  3682. DWORD *_pdwStubPhase);
  3683. HRESULT STDMETHODCALLTYPE IInternetSecurityManager_GetZoneMappings_Proxy(
  3684. IInternetSecurityManager * This,
  3685. /* [in] */ DWORD dwZone,
  3686. /* [out] */ IEnumString **ppenumString,
  3687. /* [in] */ DWORD dwFlags);
  3688. void __RPC_STUB IInternetSecurityManager_GetZoneMappings_Stub(
  3689. IRpcStubBuffer *This,
  3690. IRpcChannelBuffer *_pRpcChannelBuffer,
  3691. PRPC_MESSAGE _pRpcMessage,
  3692. DWORD *_pdwStubPhase);
  3693. #endif /* __IInternetSecurityManager_INTERFACE_DEFINED__ */
  3694. /* interface __MIDL_itf_urlmon_0199 */
  3695. /* [local] */
  3696. #endif
  3697. #ifndef _LPINTERNETHOSTSECURITYMANANGER_DEFINED
  3698. #define _LPINTERNETHOSTSECURITYMANANGER_DEFINED
  3699. //This is the interface MSHTML exposes to its clients
  3700. //The clients need not pass in a URL to these functions
  3701. //since MSHTML maintains the notion of the current URL
  3702. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0199_v0_0_c_ifspec;
  3703. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0199_v0_0_s_ifspec;
  3704. #ifndef __IInternetHostSecurityManager_INTERFACE_DEFINED__
  3705. #define __IInternetHostSecurityManager_INTERFACE_DEFINED__
  3706. /* interface IInternetHostSecurityManager */
  3707. /* [unique][helpstring][uuid][object][local] */
  3708. EXTERN_C const IID IID_IInternetHostSecurityManager;
  3709. #if defined(__cplusplus) && !defined(CINTERFACE)
  3710. MIDL_INTERFACE("3af280b6-cb3f-11d0-891e-00c04fb6bfc4")
  3711. IInternetHostSecurityManager : public IUnknown
  3712. {
  3713. public:
  3714. virtual HRESULT STDMETHODCALLTYPE GetSecurityId(
  3715. /* [size_is][out] */ BYTE *pbSecurityId,
  3716. /* [out][in] */ DWORD *pcbSecurityId,
  3717. /* [in] */ DWORD_PTR dwReserved) = 0;
  3718. virtual HRESULT STDMETHODCALLTYPE ProcessUrlAction(
  3719. /* [in] */ DWORD dwAction,
  3720. /* [size_is][out] */ BYTE *pPolicy,
  3721. /* [in] */ DWORD cbPolicy,
  3722. /* [in] */ BYTE *pContext,
  3723. /* [in] */ DWORD cbContext,
  3724. /* [in] */ DWORD dwFlags,
  3725. /* [in] */ DWORD dwReserved) = 0;
  3726. virtual HRESULT STDMETHODCALLTYPE QueryCustomPolicy(
  3727. /* [in] */ REFGUID guidKey,
  3728. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  3729. /* [out] */ DWORD *pcbPolicy,
  3730. /* [in] */ BYTE *pContext,
  3731. /* [in] */ DWORD cbContext,
  3732. /* [in] */ DWORD dwReserved) = 0;
  3733. };
  3734. #else /* C style interface */
  3735. typedef struct IInternetHostSecurityManagerVtbl
  3736. {
  3737. BEGIN_INTERFACE
  3738. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3739. IInternetHostSecurityManager * This,
  3740. /* [in] */ REFIID riid,
  3741. /* [iid_is][out] */ void **ppvObject);
  3742. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3743. IInternetHostSecurityManager * This);
  3744. ULONG ( STDMETHODCALLTYPE *Release )(
  3745. IInternetHostSecurityManager * This);
  3746. HRESULT ( STDMETHODCALLTYPE *GetSecurityId )(
  3747. IInternetHostSecurityManager * This,
  3748. /* [size_is][out] */ BYTE *pbSecurityId,
  3749. /* [out][in] */ DWORD *pcbSecurityId,
  3750. /* [in] */ DWORD_PTR dwReserved);
  3751. HRESULT ( STDMETHODCALLTYPE *ProcessUrlAction )(
  3752. IInternetHostSecurityManager * This,
  3753. /* [in] */ DWORD dwAction,
  3754. /* [size_is][out] */ BYTE *pPolicy,
  3755. /* [in] */ DWORD cbPolicy,
  3756. /* [in] */ BYTE *pContext,
  3757. /* [in] */ DWORD cbContext,
  3758. /* [in] */ DWORD dwFlags,
  3759. /* [in] */ DWORD dwReserved);
  3760. HRESULT ( STDMETHODCALLTYPE *QueryCustomPolicy )(
  3761. IInternetHostSecurityManager * This,
  3762. /* [in] */ REFGUID guidKey,
  3763. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  3764. /* [out] */ DWORD *pcbPolicy,
  3765. /* [in] */ BYTE *pContext,
  3766. /* [in] */ DWORD cbContext,
  3767. /* [in] */ DWORD dwReserved);
  3768. END_INTERFACE
  3769. } IInternetHostSecurityManagerVtbl;
  3770. interface IInternetHostSecurityManager
  3771. {
  3772. CONST_VTBL struct IInternetHostSecurityManagerVtbl *lpVtbl;
  3773. };
  3774. #ifdef COBJMACROS
  3775. #define IInternetHostSecurityManager_QueryInterface(This,riid,ppvObject) \
  3776. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3777. #define IInternetHostSecurityManager_AddRef(This) \
  3778. (This)->lpVtbl -> AddRef(This)
  3779. #define IInternetHostSecurityManager_Release(This) \
  3780. (This)->lpVtbl -> Release(This)
  3781. #define IInternetHostSecurityManager_GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved) \
  3782. (This)->lpVtbl -> GetSecurityId(This,pbSecurityId,pcbSecurityId,dwReserved)
  3783. #define IInternetHostSecurityManager_ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved) \
  3784. (This)->lpVtbl -> ProcessUrlAction(This,dwAction,pPolicy,cbPolicy,pContext,cbContext,dwFlags,dwReserved)
  3785. #define IInternetHostSecurityManager_QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved) \
  3786. (This)->lpVtbl -> QueryCustomPolicy(This,guidKey,ppPolicy,pcbPolicy,pContext,cbContext,dwReserved)
  3787. #endif /* COBJMACROS */
  3788. #endif /* C style interface */
  3789. HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_GetSecurityId_Proxy(
  3790. IInternetHostSecurityManager * This,
  3791. /* [size_is][out] */ BYTE *pbSecurityId,
  3792. /* [out][in] */ DWORD *pcbSecurityId,
  3793. /* [in] */ DWORD_PTR dwReserved);
  3794. void __RPC_STUB IInternetHostSecurityManager_GetSecurityId_Stub(
  3795. IRpcStubBuffer *This,
  3796. IRpcChannelBuffer *_pRpcChannelBuffer,
  3797. PRPC_MESSAGE _pRpcMessage,
  3798. DWORD *_pdwStubPhase);
  3799. HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_ProcessUrlAction_Proxy(
  3800. IInternetHostSecurityManager * This,
  3801. /* [in] */ DWORD dwAction,
  3802. /* [size_is][out] */ BYTE *pPolicy,
  3803. /* [in] */ DWORD cbPolicy,
  3804. /* [in] */ BYTE *pContext,
  3805. /* [in] */ DWORD cbContext,
  3806. /* [in] */ DWORD dwFlags,
  3807. /* [in] */ DWORD dwReserved);
  3808. void __RPC_STUB IInternetHostSecurityManager_ProcessUrlAction_Stub(
  3809. IRpcStubBuffer *This,
  3810. IRpcChannelBuffer *_pRpcChannelBuffer,
  3811. PRPC_MESSAGE _pRpcMessage,
  3812. DWORD *_pdwStubPhase);
  3813. HRESULT STDMETHODCALLTYPE IInternetHostSecurityManager_QueryCustomPolicy_Proxy(
  3814. IInternetHostSecurityManager * This,
  3815. /* [in] */ REFGUID guidKey,
  3816. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  3817. /* [out] */ DWORD *pcbPolicy,
  3818. /* [in] */ BYTE *pContext,
  3819. /* [in] */ DWORD cbContext,
  3820. /* [in] */ DWORD dwReserved);
  3821. void __RPC_STUB IInternetHostSecurityManager_QueryCustomPolicy_Stub(
  3822. IRpcStubBuffer *This,
  3823. IRpcChannelBuffer *_pRpcChannelBuffer,
  3824. PRPC_MESSAGE _pRpcMessage,
  3825. DWORD *_pdwStubPhase);
  3826. #endif /* __IInternetHostSecurityManager_INTERFACE_DEFINED__ */
  3827. /* interface __MIDL_itf_urlmon_0200 */
  3828. /* [local] */
  3829. #endif
  3830. // The zone manager maintains policies for a set of standard actions.
  3831. // These actions are identified by integral values (called action indexes)
  3832. // specified below.
  3833. // Minimum legal value for an action
  3834. #define URLACTION_MIN 0x00001000
  3835. #define URLACTION_DOWNLOAD_MIN 0x00001000
  3836. #define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001
  3837. #define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004
  3838. #define URLACTION_DOWNLOAD_CURR_MAX 0x00001004
  3839. #define URLACTION_DOWNLOAD_MAX 0x000011FF
  3840. #define URLACTION_ACTIVEX_MIN 0x00001200
  3841. #define URLACTION_ACTIVEX_RUN 0x00001200
  3842. #define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000
  3843. #define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201 // aggregate next four
  3844. #define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202 //
  3845. #define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203 //
  3846. #define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401 //
  3847. #define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204 //
  3848. #define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205
  3849. #define URLACTION_ACTIVEX_NO_WEBOC_SCRIPT 0x00001206
  3850. #define URLACTION_ACTIVEX_CURR_MAX 0x00001206
  3851. #define URLACTION_ACTIVEX_MAX 0x000013ff
  3852. #define URLACTION_SCRIPT_MIN 0x00001400
  3853. #define URLACTION_SCRIPT_RUN 0x00001400
  3854. #define URLACTION_SCRIPT_JAVA_USE 0x00001402
  3855. #define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405
  3856. #define URLACTION_CROSS_DOMAIN_DATA 0x00001406
  3857. #define URLACTION_SCRIPT_PASTE 0x00001407
  3858. #define URLACTION_SCRIPT_CURR_MAX 0x00001407
  3859. #define URLACTION_SCRIPT_MAX 0x000015ff
  3860. #define URLACTION_HTML_MIN 0x00001600
  3861. #define URLACTION_HTML_SUBMIT_FORMS 0x00001601 // aggregate next two
  3862. #define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602 //
  3863. #define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603 //
  3864. #define URLACTION_HTML_FONT_DOWNLOAD 0x00001604
  3865. #define URLACTION_HTML_JAVA_RUN 0x00001605 // derive from Java custom policy
  3866. #define URLACTION_HTML_USERDATA_SAVE 0x00001606
  3867. #define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607
  3868. #define URLACTION_HTML_META_REFRESH 0x00001608
  3869. #define URLACTION_HTML_MIXED_CONTENT 0x00001609
  3870. #define URLACTION_HTML_MAX 0x000017ff
  3871. #define URLACTION_SHELL_MIN 0x00001800
  3872. #define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800
  3873. #define URLACTION_SHELL_MOVE_OR_COPY 0x00001802
  3874. #define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803
  3875. #define URLACTION_SHELL_VERB 0x00001804
  3876. #define URLACTION_SHELL_WEBVIEW_VERB 0x00001805
  3877. #define URLACTION_SHELL_SHELLEXECUTE 0x00001806
  3878. #define URLACTION_SHELL_CURR_MAX 0x00001806
  3879. #define URLACTION_SHELL_MAX 0x000019ff
  3880. #define URLACTION_NETWORK_MIN 0x00001A00
  3881. #define URLACTION_CREDENTIALS_USE 0x00001A00
  3882. #define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000
  3883. #define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000
  3884. #define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000
  3885. #define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000
  3886. #define URLACTION_AUTHENTICATE_CLIENT 0x00001A01
  3887. #define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000
  3888. #define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000
  3889. #define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000
  3890. #define URLACTION_COOKIES 0x00001A02
  3891. #define URLACTION_COOKIES_SESSION 0x00001A03
  3892. #define URLACTION_CLIENT_CERT_PROMPT 0x00001A04
  3893. #define URLACTION_COOKIES_THIRD_PARTY 0x00001A05
  3894. #define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001A06
  3895. #define URLACTION_COOKIES_ENABLED 0x00001A10
  3896. #define URLACTION_NETWORK_CURR_MAX 0x00001A10
  3897. #define URLACTION_NETWORK_MAX 0x00001Bff
  3898. #define URLACTION_JAVA_MIN 0x00001C00
  3899. #define URLACTION_JAVA_PERMISSIONS 0x00001C00
  3900. #define URLPOLICY_JAVA_PROHIBIT 0x00000000
  3901. #define URLPOLICY_JAVA_HIGH 0x00010000
  3902. #define URLPOLICY_JAVA_MEDIUM 0x00020000
  3903. #define URLPOLICY_JAVA_LOW 0x00030000
  3904. #define URLPOLICY_JAVA_CUSTOM 0x00800000
  3905. #define URLACTION_JAVA_CURR_MAX 0x00001C00
  3906. #define URLACTION_JAVA_MAX 0x00001Cff
  3907. // The following Infodelivery actions should have no default policies
  3908. // in the registry. They assume that no default policy means fall
  3909. // back to the global restriction. If an admin sets a policy per
  3910. // zone, then it overrides the global restriction.
  3911. #define URLACTION_INFODELIVERY_MIN 0x00001D00
  3912. #define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001D00
  3913. #define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001D01
  3914. #define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001D02
  3915. #define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001D03
  3916. #define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001D04
  3917. #define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001D05
  3918. #define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001D06
  3919. #define URLACTION_INFODELIVERY_CURR_MAX 0x00001D06
  3920. #define URLACTION_INFODELIVERY_MAX 0x00001Dff
  3921. #define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001E00
  3922. #define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001E05
  3923. #define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000
  3924. #define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000
  3925. #define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000
  3926. #define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001Eff
  3927. // For each action specified above the system maintains
  3928. // a set of policies for the action.
  3929. // The only policies supported currently are permissions (i.e. is something allowed)
  3930. // and logging status.
  3931. // IMPORTANT: If you are defining your own policies don't overload the meaning of the
  3932. // loword of the policy. You can use the hiword to store any policy bits which are only
  3933. // meaningful to your action.
  3934. // For an example of how to do this look at the URLPOLICY_JAVA above
  3935. // Permissions
  3936. #define URLPOLICY_ALLOW 0x00
  3937. #define URLPOLICY_QUERY 0x01
  3938. #define URLPOLICY_DISALLOW 0x03
  3939. // Notifications are not done when user already queried.
  3940. #define URLPOLICY_NOTIFY_ON_ALLOW 0x10
  3941. #define URLPOLICY_NOTIFY_ON_DISALLOW 0x20
  3942. // Logging is done regardless of whether user was queried.
  3943. #define URLPOLICY_LOG_ON_ALLOW 0x40
  3944. #define URLPOLICY_LOG_ON_DISALLOW 0x80
  3945. #define URLPOLICY_MASK_PERMISSIONS 0x0f
  3946. #define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)
  3947. #define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~(URLPOLICY_MASK_PERMISSIONS)) | (dw2))
  3948. #define URLPOLICY_DONTCHECKDLGBOX 0x100
  3949. // The ordinal #'s that define the predefined zones internet explorer knows about.
  3950. // When we support user-defined zones their zone numbers should be between
  3951. // URLZONE_USER_MIN and URLZONE_USER_MAX
  3952. #ifndef _LPINTERNETZONEMANAGER_DEFINED
  3953. #define _LPINTERNETZONEMANAGER_DEFINED
  3954. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0200_v0_0_c_ifspec;
  3955. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0200_v0_0_s_ifspec;
  3956. #ifndef __IInternetZoneManager_INTERFACE_DEFINED__
  3957. #define __IInternetZoneManager_INTERFACE_DEFINED__
  3958. /* interface IInternetZoneManager */
  3959. /* [unique][helpstring][uuid][object][local] */
  3960. typedef /* [unique] */ IInternetZoneManager *LPURLZONEMANAGER;
  3961. typedef
  3962. enum tagURLZONE
  3963. { URLZONE_PREDEFINED_MIN = 0,
  3964. URLZONE_LOCAL_MACHINE = 0,
  3965. URLZONE_INTRANET = URLZONE_LOCAL_MACHINE + 1,
  3966. URLZONE_TRUSTED = URLZONE_INTRANET + 1,
  3967. URLZONE_INTERNET = URLZONE_TRUSTED + 1,
  3968. URLZONE_UNTRUSTED = URLZONE_INTERNET + 1,
  3969. URLZONE_PREDEFINED_MAX = 999,
  3970. URLZONE_USER_MIN = 1000,
  3971. URLZONE_USER_MAX = 10000
  3972. } URLZONE;
  3973. typedef
  3974. enum tagURLTEMPLATE
  3975. { URLTEMPLATE_CUSTOM = 0,
  3976. URLTEMPLATE_PREDEFINED_MIN = 0x10000,
  3977. URLTEMPLATE_LOW = 0x10000,
  3978. URLTEMPLATE_MEDLOW = 0x10500,
  3979. URLTEMPLATE_MEDIUM = 0x11000,
  3980. URLTEMPLATE_HIGH = 0x12000,
  3981. URLTEMPLATE_PREDEFINED_MAX = 0x20000
  3982. } URLTEMPLATE;
  3983. enum __MIDL_IInternetZoneManager_0001
  3984. { MAX_ZONE_PATH = 260,
  3985. MAX_ZONE_DESCRIPTION = 200
  3986. } ;
  3987. typedef /* [public] */
  3988. enum __MIDL_IInternetZoneManager_0002
  3989. { ZAFLAGS_CUSTOM_EDIT = 0x1,
  3990. ZAFLAGS_ADD_SITES = 0x2,
  3991. ZAFLAGS_REQUIRE_VERIFICATION = 0x4,
  3992. ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x8,
  3993. ZAFLAGS_INCLUDE_INTRANET_SITES = 0x10,
  3994. ZAFLAGS_NO_UI = 0x20,
  3995. ZAFLAGS_SUPPORTS_VERIFICATION = 0x40,
  3996. ZAFLAGS_UNC_AS_INTRANET = 0x80
  3997. } ZAFLAGS;
  3998. typedef struct _ZONEATTRIBUTES
  3999. {
  4000. ULONG cbSize;
  4001. WCHAR szDisplayName[ 260 ];
  4002. WCHAR szDescription[ 200 ];
  4003. WCHAR szIconPath[ 260 ];
  4004. DWORD dwTemplateMinLevel;
  4005. DWORD dwTemplateRecommended;
  4006. DWORD dwTemplateCurrentLevel;
  4007. DWORD dwFlags;
  4008. } ZONEATTRIBUTES;
  4009. typedef struct _ZONEATTRIBUTES *LPZONEATTRIBUTES;
  4010. // Gets the zone attributes (information in registry other than actual security
  4011. // policies associated with the zone). Zone attributes are fixed as:
  4012. // Sets the zone attributes (information in registry other than actual security
  4013. // policies associated with the zone). Zone attributes as above.
  4014. // Returns S_OK or ??? if failed to write the zone attributes.
  4015. /* Registry Flags
  4016. When reading, default behavior is:
  4017. If HKLM allows override and HKCU value exists
  4018. Then use HKCU value
  4019. Else use HKLM value
  4020. When writing, default behavior is same as HKCU
  4021. If HKLM allows override
  4022. Then Write to HKCU
  4023. Else Fail
  4024. */
  4025. typedef
  4026. enum _URLZONEREG
  4027. { URLZONEREG_DEFAULT = 0,
  4028. URLZONEREG_HKLM = URLZONEREG_DEFAULT + 1,
  4029. URLZONEREG_HKCU = URLZONEREG_HKLM + 1
  4030. } URLZONEREG;
  4031. // Gets a named custom policy associated with a zone;
  4032. // e.g. the Java VM settings can be defined with a unique key such as 'Java'.
  4033. // Custom policy support is intended to allow extensibility from the predefined
  4034. // set of policies that IE4 has built in.
  4035. //
  4036. // pwszKey is the string name designating the custom policy. Components are
  4037. // responsible for having unique names.
  4038. // ppPolicy is the callee allocated buffer for the policy byte blob; caller is
  4039. // responsible for freeing this buffer eventually.
  4040. // pcbPolicy is the size of the byte blob returned.
  4041. // dwRegFlags determines how registry is accessed (see above).
  4042. // Returns S_OK if key is found and buffer allocated; ??? if key is not found (no buffer alloced).
  4043. // Sets a named custom policy associated with a zone;
  4044. // e.g. the Java VM settings can be defined with a unique key such as 'Java'.
  4045. // Custom policy support is intended to allow extensibility from the predefined
  4046. // set of policies that IE4 has built in.
  4047. //
  4048. // pwszKey is the string name designating the custom policy. Components are
  4049. // responsible for having unique names.
  4050. // ppPolicy is the caller allocated buffer for the policy byte blob.
  4051. // pcbPolicy is the size of the byte blob to be set.
  4052. // dwRegFlags determines if HTCU or HKLM is set.
  4053. // Returns S_OK or ??? if failed to write the zone custom policy.
  4054. // Gets action policy associated with a zone, the builtin, fixed-length policies info.
  4055. // dwAction is the action code for the action as defined above.
  4056. // pPolicy is the caller allocated buffer for the policy data.
  4057. // cbPolicy is the size of the caller allocated buffer.
  4058. // dwRegFlags determines how registry is accessed (see above).
  4059. // Returns S_OK if action is valid; ??? if action is not valid.
  4060. EXTERN_C const IID IID_IInternetZoneManager;
  4061. #if defined(__cplusplus) && !defined(CINTERFACE)
  4062. MIDL_INTERFACE("79eac9ef-baf9-11ce-8c82-00aa004ba90b")
  4063. IInternetZoneManager : public IUnknown
  4064. {
  4065. public:
  4066. virtual HRESULT STDMETHODCALLTYPE GetZoneAttributes(
  4067. /* [in] */ DWORD dwZone,
  4068. /* [unique][out][in] */ ZONEATTRIBUTES *pZoneAttributes) = 0;
  4069. virtual HRESULT STDMETHODCALLTYPE SetZoneAttributes(
  4070. /* [in] */ DWORD dwZone,
  4071. /* [in] */ ZONEATTRIBUTES *pZoneAttributes) = 0;
  4072. virtual HRESULT STDMETHODCALLTYPE GetZoneCustomPolicy(
  4073. /* [in] */ DWORD dwZone,
  4074. /* [in] */ REFGUID guidKey,
  4075. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  4076. /* [out] */ DWORD *pcbPolicy,
  4077. /* [in] */ URLZONEREG urlZoneReg) = 0;
  4078. virtual HRESULT STDMETHODCALLTYPE SetZoneCustomPolicy(
  4079. /* [in] */ DWORD dwZone,
  4080. /* [in] */ REFGUID guidKey,
  4081. /* [size_is][in] */ BYTE *pPolicy,
  4082. /* [in] */ DWORD cbPolicy,
  4083. /* [in] */ URLZONEREG urlZoneReg) = 0;
  4084. virtual HRESULT STDMETHODCALLTYPE GetZoneActionPolicy(
  4085. /* [in] */ DWORD dwZone,
  4086. /* [in] */ DWORD dwAction,
  4087. /* [size_is][out] */ BYTE *pPolicy,
  4088. /* [in] */ DWORD cbPolicy,
  4089. /* [in] */ URLZONEREG urlZoneReg) = 0;
  4090. virtual HRESULT STDMETHODCALLTYPE SetZoneActionPolicy(
  4091. /* [in] */ DWORD dwZone,
  4092. /* [in] */ DWORD dwAction,
  4093. /* [size_is][in] */ BYTE *pPolicy,
  4094. /* [in] */ DWORD cbPolicy,
  4095. /* [in] */ URLZONEREG urlZoneReg) = 0;
  4096. virtual HRESULT STDMETHODCALLTYPE PromptAction(
  4097. /* [in] */ DWORD dwAction,
  4098. /* [in] */ HWND hwndParent,
  4099. /* [in] */ LPCWSTR pwszUrl,
  4100. /* [in] */ LPCWSTR pwszText,
  4101. /* [in] */ DWORD dwPromptFlags) = 0;
  4102. virtual HRESULT STDMETHODCALLTYPE LogAction(
  4103. /* [in] */ DWORD dwAction,
  4104. /* [in] */ LPCWSTR pwszUrl,
  4105. /* [in] */ LPCWSTR pwszText,
  4106. /* [in] */ DWORD dwLogFlags) = 0;
  4107. virtual HRESULT STDMETHODCALLTYPE CreateZoneEnumerator(
  4108. /* [out] */ DWORD *pdwEnum,
  4109. /* [out] */ DWORD *pdwCount,
  4110. /* [in] */ DWORD dwFlags) = 0;
  4111. virtual HRESULT STDMETHODCALLTYPE GetZoneAt(
  4112. /* [in] */ DWORD dwEnum,
  4113. /* [in] */ DWORD dwIndex,
  4114. /* [out] */ DWORD *pdwZone) = 0;
  4115. virtual HRESULT STDMETHODCALLTYPE DestroyZoneEnumerator(
  4116. /* [in] */ DWORD dwEnum) = 0;
  4117. virtual HRESULT STDMETHODCALLTYPE CopyTemplatePoliciesToZone(
  4118. /* [in] */ DWORD dwTemplate,
  4119. /* [in] */ DWORD dwZone,
  4120. /* [in] */ DWORD dwReserved) = 0;
  4121. };
  4122. #else /* C style interface */
  4123. typedef struct IInternetZoneManagerVtbl
  4124. {
  4125. BEGIN_INTERFACE
  4126. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4127. IInternetZoneManager * This,
  4128. /* [in] */ REFIID riid,
  4129. /* [iid_is][out] */ void **ppvObject);
  4130. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4131. IInternetZoneManager * This);
  4132. ULONG ( STDMETHODCALLTYPE *Release )(
  4133. IInternetZoneManager * This);
  4134. HRESULT ( STDMETHODCALLTYPE *GetZoneAttributes )(
  4135. IInternetZoneManager * This,
  4136. /* [in] */ DWORD dwZone,
  4137. /* [unique][out][in] */ ZONEATTRIBUTES *pZoneAttributes);
  4138. HRESULT ( STDMETHODCALLTYPE *SetZoneAttributes )(
  4139. IInternetZoneManager * This,
  4140. /* [in] */ DWORD dwZone,
  4141. /* [in] */ ZONEATTRIBUTES *pZoneAttributes);
  4142. HRESULT ( STDMETHODCALLTYPE *GetZoneCustomPolicy )(
  4143. IInternetZoneManager * This,
  4144. /* [in] */ DWORD dwZone,
  4145. /* [in] */ REFGUID guidKey,
  4146. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  4147. /* [out] */ DWORD *pcbPolicy,
  4148. /* [in] */ URLZONEREG urlZoneReg);
  4149. HRESULT ( STDMETHODCALLTYPE *SetZoneCustomPolicy )(
  4150. IInternetZoneManager * This,
  4151. /* [in] */ DWORD dwZone,
  4152. /* [in] */ REFGUID guidKey,
  4153. /* [size_is][in] */ BYTE *pPolicy,
  4154. /* [in] */ DWORD cbPolicy,
  4155. /* [in] */ URLZONEREG urlZoneReg);
  4156. HRESULT ( STDMETHODCALLTYPE *GetZoneActionPolicy )(
  4157. IInternetZoneManager * This,
  4158. /* [in] */ DWORD dwZone,
  4159. /* [in] */ DWORD dwAction,
  4160. /* [size_is][out] */ BYTE *pPolicy,
  4161. /* [in] */ DWORD cbPolicy,
  4162. /* [in] */ URLZONEREG urlZoneReg);
  4163. HRESULT ( STDMETHODCALLTYPE *SetZoneActionPolicy )(
  4164. IInternetZoneManager * This,
  4165. /* [in] */ DWORD dwZone,
  4166. /* [in] */ DWORD dwAction,
  4167. /* [size_is][in] */ BYTE *pPolicy,
  4168. /* [in] */ DWORD cbPolicy,
  4169. /* [in] */ URLZONEREG urlZoneReg);
  4170. HRESULT ( STDMETHODCALLTYPE *PromptAction )(
  4171. IInternetZoneManager * This,
  4172. /* [in] */ DWORD dwAction,
  4173. /* [in] */ HWND hwndParent,
  4174. /* [in] */ LPCWSTR pwszUrl,
  4175. /* [in] */ LPCWSTR pwszText,
  4176. /* [in] */ DWORD dwPromptFlags);
  4177. HRESULT ( STDMETHODCALLTYPE *LogAction )(
  4178. IInternetZoneManager * This,
  4179. /* [in] */ DWORD dwAction,
  4180. /* [in] */ LPCWSTR pwszUrl,
  4181. /* [in] */ LPCWSTR pwszText,
  4182. /* [in] */ DWORD dwLogFlags);
  4183. HRESULT ( STDMETHODCALLTYPE *CreateZoneEnumerator )(
  4184. IInternetZoneManager * This,
  4185. /* [out] */ DWORD *pdwEnum,
  4186. /* [out] */ DWORD *pdwCount,
  4187. /* [in] */ DWORD dwFlags);
  4188. HRESULT ( STDMETHODCALLTYPE *GetZoneAt )(
  4189. IInternetZoneManager * This,
  4190. /* [in] */ DWORD dwEnum,
  4191. /* [in] */ DWORD dwIndex,
  4192. /* [out] */ DWORD *pdwZone);
  4193. HRESULT ( STDMETHODCALLTYPE *DestroyZoneEnumerator )(
  4194. IInternetZoneManager * This,
  4195. /* [in] */ DWORD dwEnum);
  4196. HRESULT ( STDMETHODCALLTYPE *CopyTemplatePoliciesToZone )(
  4197. IInternetZoneManager * This,
  4198. /* [in] */ DWORD dwTemplate,
  4199. /* [in] */ DWORD dwZone,
  4200. /* [in] */ DWORD dwReserved);
  4201. END_INTERFACE
  4202. } IInternetZoneManagerVtbl;
  4203. interface IInternetZoneManager
  4204. {
  4205. CONST_VTBL struct IInternetZoneManagerVtbl *lpVtbl;
  4206. };
  4207. #ifdef COBJMACROS
  4208. #define IInternetZoneManager_QueryInterface(This,riid,ppvObject) \
  4209. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4210. #define IInternetZoneManager_AddRef(This) \
  4211. (This)->lpVtbl -> AddRef(This)
  4212. #define IInternetZoneManager_Release(This) \
  4213. (This)->lpVtbl -> Release(This)
  4214. #define IInternetZoneManager_GetZoneAttributes(This,dwZone,pZoneAttributes) \
  4215. (This)->lpVtbl -> GetZoneAttributes(This,dwZone,pZoneAttributes)
  4216. #define IInternetZoneManager_SetZoneAttributes(This,dwZone,pZoneAttributes) \
  4217. (This)->lpVtbl -> SetZoneAttributes(This,dwZone,pZoneAttributes)
  4218. #define IInternetZoneManager_GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,urlZoneReg) \
  4219. (This)->lpVtbl -> GetZoneCustomPolicy(This,dwZone,guidKey,ppPolicy,pcbPolicy,urlZoneReg)
  4220. #define IInternetZoneManager_SetZoneCustomPolicy(This,dwZone,guidKey,pPolicy,cbPolicy,urlZoneReg) \
  4221. (This)->lpVtbl -> SetZoneCustomPolicy(This,dwZone,guidKey,pPolicy,cbPolicy,urlZoneReg)
  4222. #define IInternetZoneManager_GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) \
  4223. (This)->lpVtbl -> GetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
  4224. #define IInternetZoneManager_SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg) \
  4225. (This)->lpVtbl -> SetZoneActionPolicy(This,dwZone,dwAction,pPolicy,cbPolicy,urlZoneReg)
  4226. #define IInternetZoneManager_PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags) \
  4227. (This)->lpVtbl -> PromptAction(This,dwAction,hwndParent,pwszUrl,pwszText,dwPromptFlags)
  4228. #define IInternetZoneManager_LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags) \
  4229. (This)->lpVtbl -> LogAction(This,dwAction,pwszUrl,pwszText,dwLogFlags)
  4230. #define IInternetZoneManager_CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags) \
  4231. (This)->lpVtbl -> CreateZoneEnumerator(This,pdwEnum,pdwCount,dwFlags)
  4232. #define IInternetZoneManager_GetZoneAt(This,dwEnum,dwIndex,pdwZone) \
  4233. (This)->lpVtbl -> GetZoneAt(This,dwEnum,dwIndex,pdwZone)
  4234. #define IInternetZoneManager_DestroyZoneEnumerator(This,dwEnum) \
  4235. (This)->lpVtbl -> DestroyZoneEnumerator(This,dwEnum)
  4236. #define IInternetZoneManager_CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved) \
  4237. (This)->lpVtbl -> CopyTemplatePoliciesToZone(This,dwTemplate,dwZone,dwReserved)
  4238. #endif /* COBJMACROS */
  4239. #endif /* C style interface */
  4240. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAttributes_Proxy(
  4241. IInternetZoneManager * This,
  4242. /* [in] */ DWORD dwZone,
  4243. /* [unique][out][in] */ ZONEATTRIBUTES *pZoneAttributes);
  4244. void __RPC_STUB IInternetZoneManager_GetZoneAttributes_Stub(
  4245. IRpcStubBuffer *This,
  4246. IRpcChannelBuffer *_pRpcChannelBuffer,
  4247. PRPC_MESSAGE _pRpcMessage,
  4248. DWORD *_pdwStubPhase);
  4249. HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneAttributes_Proxy(
  4250. IInternetZoneManager * This,
  4251. /* [in] */ DWORD dwZone,
  4252. /* [in] */ ZONEATTRIBUTES *pZoneAttributes);
  4253. void __RPC_STUB IInternetZoneManager_SetZoneAttributes_Stub(
  4254. IRpcStubBuffer *This,
  4255. IRpcChannelBuffer *_pRpcChannelBuffer,
  4256. PRPC_MESSAGE _pRpcMessage,
  4257. DWORD *_pdwStubPhase);
  4258. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneCustomPolicy_Proxy(
  4259. IInternetZoneManager * This,
  4260. /* [in] */ DWORD dwZone,
  4261. /* [in] */ REFGUID guidKey,
  4262. /* [size_is][size_is][out] */ BYTE **ppPolicy,
  4263. /* [out] */ DWORD *pcbPolicy,
  4264. /* [in] */ URLZONEREG urlZoneReg);
  4265. void __RPC_STUB IInternetZoneManager_GetZoneCustomPolicy_Stub(
  4266. IRpcStubBuffer *This,
  4267. IRpcChannelBuffer *_pRpcChannelBuffer,
  4268. PRPC_MESSAGE _pRpcMessage,
  4269. DWORD *_pdwStubPhase);
  4270. HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneCustomPolicy_Proxy(
  4271. IInternetZoneManager * This,
  4272. /* [in] */ DWORD dwZone,
  4273. /* [in] */ REFGUID guidKey,
  4274. /* [size_is][in] */ BYTE *pPolicy,
  4275. /* [in] */ DWORD cbPolicy,
  4276. /* [in] */ URLZONEREG urlZoneReg);
  4277. void __RPC_STUB IInternetZoneManager_SetZoneCustomPolicy_Stub(
  4278. IRpcStubBuffer *This,
  4279. IRpcChannelBuffer *_pRpcChannelBuffer,
  4280. PRPC_MESSAGE _pRpcMessage,
  4281. DWORD *_pdwStubPhase);
  4282. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneActionPolicy_Proxy(
  4283. IInternetZoneManager * This,
  4284. /* [in] */ DWORD dwZone,
  4285. /* [in] */ DWORD dwAction,
  4286. /* [size_is][out] */ BYTE *pPolicy,
  4287. /* [in] */ DWORD cbPolicy,
  4288. /* [in] */ URLZONEREG urlZoneReg);
  4289. void __RPC_STUB IInternetZoneManager_GetZoneActionPolicy_Stub(
  4290. IRpcStubBuffer *This,
  4291. IRpcChannelBuffer *_pRpcChannelBuffer,
  4292. PRPC_MESSAGE _pRpcMessage,
  4293. DWORD *_pdwStubPhase);
  4294. HRESULT STDMETHODCALLTYPE IInternetZoneManager_SetZoneActionPolicy_Proxy(
  4295. IInternetZoneManager * This,
  4296. /* [in] */ DWORD dwZone,
  4297. /* [in] */ DWORD dwAction,
  4298. /* [size_is][in] */ BYTE *pPolicy,
  4299. /* [in] */ DWORD cbPolicy,
  4300. /* [in] */ URLZONEREG urlZoneReg);
  4301. void __RPC_STUB IInternetZoneManager_SetZoneActionPolicy_Stub(
  4302. IRpcStubBuffer *This,
  4303. IRpcChannelBuffer *_pRpcChannelBuffer,
  4304. PRPC_MESSAGE _pRpcMessage,
  4305. DWORD *_pdwStubPhase);
  4306. HRESULT STDMETHODCALLTYPE IInternetZoneManager_PromptAction_Proxy(
  4307. IInternetZoneManager * This,
  4308. /* [in] */ DWORD dwAction,
  4309. /* [in] */ HWND hwndParent,
  4310. /* [in] */ LPCWSTR pwszUrl,
  4311. /* [in] */ LPCWSTR pwszText,
  4312. /* [in] */ DWORD dwPromptFlags);
  4313. void __RPC_STUB IInternetZoneManager_PromptAction_Stub(
  4314. IRpcStubBuffer *This,
  4315. IRpcChannelBuffer *_pRpcChannelBuffer,
  4316. PRPC_MESSAGE _pRpcMessage,
  4317. DWORD *_pdwStubPhase);
  4318. HRESULT STDMETHODCALLTYPE IInternetZoneManager_LogAction_Proxy(
  4319. IInternetZoneManager * This,
  4320. /* [in] */ DWORD dwAction,
  4321. /* [in] */ LPCWSTR pwszUrl,
  4322. /* [in] */ LPCWSTR pwszText,
  4323. /* [in] */ DWORD dwLogFlags);
  4324. void __RPC_STUB IInternetZoneManager_LogAction_Stub(
  4325. IRpcStubBuffer *This,
  4326. IRpcChannelBuffer *_pRpcChannelBuffer,
  4327. PRPC_MESSAGE _pRpcMessage,
  4328. DWORD *_pdwStubPhase);
  4329. HRESULT STDMETHODCALLTYPE IInternetZoneManager_CreateZoneEnumerator_Proxy(
  4330. IInternetZoneManager * This,
  4331. /* [out] */ DWORD *pdwEnum,
  4332. /* [out] */ DWORD *pdwCount,
  4333. /* [in] */ DWORD dwFlags);
  4334. void __RPC_STUB IInternetZoneManager_CreateZoneEnumerator_Stub(
  4335. IRpcStubBuffer *This,
  4336. IRpcChannelBuffer *_pRpcChannelBuffer,
  4337. PRPC_MESSAGE _pRpcMessage,
  4338. DWORD *_pdwStubPhase);
  4339. HRESULT STDMETHODCALLTYPE IInternetZoneManager_GetZoneAt_Proxy(
  4340. IInternetZoneManager * This,
  4341. /* [in] */ DWORD dwEnum,
  4342. /* [in] */ DWORD dwIndex,
  4343. /* [out] */ DWORD *pdwZone);
  4344. void __RPC_STUB IInternetZoneManager_GetZoneAt_Stub(
  4345. IRpcStubBuffer *This,
  4346. IRpcChannelBuffer *_pRpcChannelBuffer,
  4347. PRPC_MESSAGE _pRpcMessage,
  4348. DWORD *_pdwStubPhase);
  4349. HRESULT STDMETHODCALLTYPE IInternetZoneManager_DestroyZoneEnumerator_Proxy(
  4350. IInternetZoneManager * This,
  4351. /* [in] */ DWORD dwEnum);
  4352. void __RPC_STUB IInternetZoneManager_DestroyZoneEnumerator_Stub(
  4353. IRpcStubBuffer *This,
  4354. IRpcChannelBuffer *_pRpcChannelBuffer,
  4355. PRPC_MESSAGE _pRpcMessage,
  4356. DWORD *_pdwStubPhase);
  4357. HRESULT STDMETHODCALLTYPE IInternetZoneManager_CopyTemplatePoliciesToZone_Proxy(
  4358. IInternetZoneManager * This,
  4359. /* [in] */ DWORD dwTemplate,
  4360. /* [in] */ DWORD dwZone,
  4361. /* [in] */ DWORD dwReserved);
  4362. void __RPC_STUB IInternetZoneManager_CopyTemplatePoliciesToZone_Stub(
  4363. IRpcStubBuffer *This,
  4364. IRpcChannelBuffer *_pRpcChannelBuffer,
  4365. PRPC_MESSAGE _pRpcMessage,
  4366. DWORD *_pdwStubPhase);
  4367. #endif /* __IInternetZoneManager_INTERFACE_DEFINED__ */
  4368. /* interface __MIDL_itf_urlmon_0201 */
  4369. /* [local] */
  4370. #endif
  4371. EXTERN_C const IID CLSID_SoftDistExt;
  4372. #ifndef _LPSOFTDISTEXT_DEFINED
  4373. #define _LPSOFTDISTEXT_DEFINED
  4374. #define SOFTDIST_FLAG_USAGE_EMAIL 0x00000001
  4375. #define SOFTDIST_FLAG_USAGE_PRECACHE 0x00000002
  4376. #define SOFTDIST_FLAG_USAGE_AUTOINSTALL 0x00000004
  4377. #define SOFTDIST_FLAG_DELETE_SUBSCRIPTION 0x00000008
  4378. #define SOFTDIST_ADSTATE_NONE 0x00000000
  4379. #define SOFTDIST_ADSTATE_AVAILABLE 0x00000001
  4380. #define SOFTDIST_ADSTATE_DOWNLOADED 0x00000002
  4381. #define SOFTDIST_ADSTATE_INSTALLED 0x00000003
  4382. typedef struct _tagCODEBASEHOLD
  4383. {
  4384. ULONG cbSize;
  4385. LPWSTR szDistUnit;
  4386. LPWSTR szCodeBase;
  4387. DWORD dwVersionMS;
  4388. DWORD dwVersionLS;
  4389. DWORD dwStyle;
  4390. } CODEBASEHOLD;
  4391. typedef struct _tagCODEBASEHOLD *LPCODEBASEHOLD;
  4392. typedef struct _tagSOFTDISTINFO
  4393. {
  4394. ULONG cbSize;
  4395. DWORD dwFlags;
  4396. DWORD dwAdState;
  4397. LPWSTR szTitle;
  4398. LPWSTR szAbstract;
  4399. LPWSTR szHREF;
  4400. DWORD dwInstalledVersionMS;
  4401. DWORD dwInstalledVersionLS;
  4402. DWORD dwUpdateVersionMS;
  4403. DWORD dwUpdateVersionLS;
  4404. DWORD dwAdvertisedVersionMS;
  4405. DWORD dwAdvertisedVersionLS;
  4406. DWORD dwReserved;
  4407. } SOFTDISTINFO;
  4408. typedef struct _tagSOFTDISTINFO *LPSOFTDISTINFO;
  4409. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0201_v0_0_c_ifspec;
  4410. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0201_v0_0_s_ifspec;
  4411. #ifndef __ISoftDistExt_INTERFACE_DEFINED__
  4412. #define __ISoftDistExt_INTERFACE_DEFINED__
  4413. /* interface ISoftDistExt */
  4414. /* [unique][helpstring][uuid][object][local] */
  4415. EXTERN_C const IID IID_ISoftDistExt;
  4416. #if defined(__cplusplus) && !defined(CINTERFACE)
  4417. MIDL_INTERFACE("B15B8DC1-C7E1-11d0-8680-00AA00BDCB71")
  4418. ISoftDistExt : public IUnknown
  4419. {
  4420. public:
  4421. virtual HRESULT STDMETHODCALLTYPE ProcessSoftDist(
  4422. /* [in] */ LPCWSTR szCDFURL,
  4423. /* [in] */ IXMLElement *pSoftDistElement,
  4424. /* [out][in] */ LPSOFTDISTINFO lpsdi) = 0;
  4425. virtual HRESULT STDMETHODCALLTYPE GetFirstCodeBase(
  4426. /* [in] */ LPWSTR *szCodeBase,
  4427. /* [in] */ LPDWORD dwMaxSize) = 0;
  4428. virtual HRESULT STDMETHODCALLTYPE GetNextCodeBase(
  4429. /* [in] */ LPWSTR *szCodeBase,
  4430. /* [in] */ LPDWORD dwMaxSize) = 0;
  4431. virtual HRESULT STDMETHODCALLTYPE AsyncInstallDistributionUnit(
  4432. /* [in] */ IBindCtx *pbc,
  4433. /* [in] */ LPVOID pvReserved,
  4434. /* [in] */ DWORD flags,
  4435. /* [in] */ LPCODEBASEHOLD lpcbh) = 0;
  4436. };
  4437. #else /* C style interface */
  4438. typedef struct ISoftDistExtVtbl
  4439. {
  4440. BEGIN_INTERFACE
  4441. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4442. ISoftDistExt * This,
  4443. /* [in] */ REFIID riid,
  4444. /* [iid_is][out] */ void **ppvObject);
  4445. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4446. ISoftDistExt * This);
  4447. ULONG ( STDMETHODCALLTYPE *Release )(
  4448. ISoftDistExt * This);
  4449. HRESULT ( STDMETHODCALLTYPE *ProcessSoftDist )(
  4450. ISoftDistExt * This,
  4451. /* [in] */ LPCWSTR szCDFURL,
  4452. /* [in] */ IXMLElement *pSoftDistElement,
  4453. /* [out][in] */ LPSOFTDISTINFO lpsdi);
  4454. HRESULT ( STDMETHODCALLTYPE *GetFirstCodeBase )(
  4455. ISoftDistExt * This,
  4456. /* [in] */ LPWSTR *szCodeBase,
  4457. /* [in] */ LPDWORD dwMaxSize);
  4458. HRESULT ( STDMETHODCALLTYPE *GetNextCodeBase )(
  4459. ISoftDistExt * This,
  4460. /* [in] */ LPWSTR *szCodeBase,
  4461. /* [in] */ LPDWORD dwMaxSize);
  4462. HRESULT ( STDMETHODCALLTYPE *AsyncInstallDistributionUnit )(
  4463. ISoftDistExt * This,
  4464. /* [in] */ IBindCtx *pbc,
  4465. /* [in] */ LPVOID pvReserved,
  4466. /* [in] */ DWORD flags,
  4467. /* [in] */ LPCODEBASEHOLD lpcbh);
  4468. END_INTERFACE
  4469. } ISoftDistExtVtbl;
  4470. interface ISoftDistExt
  4471. {
  4472. CONST_VTBL struct ISoftDistExtVtbl *lpVtbl;
  4473. };
  4474. #ifdef COBJMACROS
  4475. #define ISoftDistExt_QueryInterface(This,riid,ppvObject) \
  4476. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4477. #define ISoftDistExt_AddRef(This) \
  4478. (This)->lpVtbl -> AddRef(This)
  4479. #define ISoftDistExt_Release(This) \
  4480. (This)->lpVtbl -> Release(This)
  4481. #define ISoftDistExt_ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi) \
  4482. (This)->lpVtbl -> ProcessSoftDist(This,szCDFURL,pSoftDistElement,lpsdi)
  4483. #define ISoftDistExt_GetFirstCodeBase(This,szCodeBase,dwMaxSize) \
  4484. (This)->lpVtbl -> GetFirstCodeBase(This,szCodeBase,dwMaxSize)
  4485. #define ISoftDistExt_GetNextCodeBase(This,szCodeBase,dwMaxSize) \
  4486. (This)->lpVtbl -> GetNextCodeBase(This,szCodeBase,dwMaxSize)
  4487. #define ISoftDistExt_AsyncInstallDistributionUnit(This,pbc,pvReserved,flags,lpcbh) \
  4488. (This)->lpVtbl -> AsyncInstallDistributionUnit(This,pbc,pvReserved,flags,lpcbh)
  4489. #endif /* COBJMACROS */
  4490. #endif /* C style interface */
  4491. HRESULT STDMETHODCALLTYPE ISoftDistExt_ProcessSoftDist_Proxy(
  4492. ISoftDistExt * This,
  4493. /* [in] */ LPCWSTR szCDFURL,
  4494. /* [in] */ IXMLElement *pSoftDistElement,
  4495. /* [out][in] */ LPSOFTDISTINFO lpsdi);
  4496. void __RPC_STUB ISoftDistExt_ProcessSoftDist_Stub(
  4497. IRpcStubBuffer *This,
  4498. IRpcChannelBuffer *_pRpcChannelBuffer,
  4499. PRPC_MESSAGE _pRpcMessage,
  4500. DWORD *_pdwStubPhase);
  4501. HRESULT STDMETHODCALLTYPE ISoftDistExt_GetFirstCodeBase_Proxy(
  4502. ISoftDistExt * This,
  4503. /* [in] */ LPWSTR *szCodeBase,
  4504. /* [in] */ LPDWORD dwMaxSize);
  4505. void __RPC_STUB ISoftDistExt_GetFirstCodeBase_Stub(
  4506. IRpcStubBuffer *This,
  4507. IRpcChannelBuffer *_pRpcChannelBuffer,
  4508. PRPC_MESSAGE _pRpcMessage,
  4509. DWORD *_pdwStubPhase);
  4510. HRESULT STDMETHODCALLTYPE ISoftDistExt_GetNextCodeBase_Proxy(
  4511. ISoftDistExt * This,
  4512. /* [in] */ LPWSTR *szCodeBase,
  4513. /* [in] */ LPDWORD dwMaxSize);
  4514. void __RPC_STUB ISoftDistExt_GetNextCodeBase_Stub(
  4515. IRpcStubBuffer *This,
  4516. IRpcChannelBuffer *_pRpcChannelBuffer,
  4517. PRPC_MESSAGE _pRpcMessage,
  4518. DWORD *_pdwStubPhase);
  4519. HRESULT STDMETHODCALLTYPE ISoftDistExt_AsyncInstallDistributionUnit_Proxy(
  4520. ISoftDistExt * This,
  4521. /* [in] */ IBindCtx *pbc,
  4522. /* [in] */ LPVOID pvReserved,
  4523. /* [in] */ DWORD flags,
  4524. /* [in] */ LPCODEBASEHOLD lpcbh);
  4525. void __RPC_STUB ISoftDistExt_AsyncInstallDistributionUnit_Stub(
  4526. IRpcStubBuffer *This,
  4527. IRpcChannelBuffer *_pRpcChannelBuffer,
  4528. PRPC_MESSAGE _pRpcMessage,
  4529. DWORD *_pdwStubPhase);
  4530. #endif /* __ISoftDistExt_INTERFACE_DEFINED__ */
  4531. /* interface __MIDL_itf_urlmon_0202 */
  4532. /* [local] */
  4533. STDAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi );
  4534. STDAPI SetSoftwareUpdateAdvertisementState( LPCWSTR szDistUnit, DWORD dwAdState, DWORD dwAdvertisedVersionMS, DWORD dwAdvertisedVersionLS );
  4535. #endif
  4536. #ifndef _LPCATALOGFILEINFO_DEFINED
  4537. #define _LPCATALOGFILEINFO_DEFINED
  4538. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0202_v0_0_c_ifspec;
  4539. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0202_v0_0_s_ifspec;
  4540. #ifndef __ICatalogFileInfo_INTERFACE_DEFINED__
  4541. #define __ICatalogFileInfo_INTERFACE_DEFINED__
  4542. /* interface ICatalogFileInfo */
  4543. /* [unique][uuid][object][local] */
  4544. typedef /* [unique] */ ICatalogFileInfo *LPCATALOGFILEINFO;
  4545. EXTERN_C const IID IID_ICatalogFileInfo;
  4546. #if defined(__cplusplus) && !defined(CINTERFACE)
  4547. MIDL_INTERFACE("711C7600-6B48-11d1-B403-00AA00B92AF1")
  4548. ICatalogFileInfo : public IUnknown
  4549. {
  4550. public:
  4551. virtual HRESULT STDMETHODCALLTYPE GetCatalogFile(
  4552. /* [out] */ LPSTR *ppszCatalogFile) = 0;
  4553. virtual HRESULT STDMETHODCALLTYPE GetJavaTrust(
  4554. /* [out] */ void **ppJavaTrust) = 0;
  4555. };
  4556. #else /* C style interface */
  4557. typedef struct ICatalogFileInfoVtbl
  4558. {
  4559. BEGIN_INTERFACE
  4560. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4561. ICatalogFileInfo * This,
  4562. /* [in] */ REFIID riid,
  4563. /* [iid_is][out] */ void **ppvObject);
  4564. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4565. ICatalogFileInfo * This);
  4566. ULONG ( STDMETHODCALLTYPE *Release )(
  4567. ICatalogFileInfo * This);
  4568. HRESULT ( STDMETHODCALLTYPE *GetCatalogFile )(
  4569. ICatalogFileInfo * This,
  4570. /* [out] */ LPSTR *ppszCatalogFile);
  4571. HRESULT ( STDMETHODCALLTYPE *GetJavaTrust )(
  4572. ICatalogFileInfo * This,
  4573. /* [out] */ void **ppJavaTrust);
  4574. END_INTERFACE
  4575. } ICatalogFileInfoVtbl;
  4576. interface ICatalogFileInfo
  4577. {
  4578. CONST_VTBL struct ICatalogFileInfoVtbl *lpVtbl;
  4579. };
  4580. #ifdef COBJMACROS
  4581. #define ICatalogFileInfo_QueryInterface(This,riid,ppvObject) \
  4582. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4583. #define ICatalogFileInfo_AddRef(This) \
  4584. (This)->lpVtbl -> AddRef(This)
  4585. #define ICatalogFileInfo_Release(This) \
  4586. (This)->lpVtbl -> Release(This)
  4587. #define ICatalogFileInfo_GetCatalogFile(This,ppszCatalogFile) \
  4588. (This)->lpVtbl -> GetCatalogFile(This,ppszCatalogFile)
  4589. #define ICatalogFileInfo_GetJavaTrust(This,ppJavaTrust) \
  4590. (This)->lpVtbl -> GetJavaTrust(This,ppJavaTrust)
  4591. #endif /* COBJMACROS */
  4592. #endif /* C style interface */
  4593. HRESULT STDMETHODCALLTYPE ICatalogFileInfo_GetCatalogFile_Proxy(
  4594. ICatalogFileInfo * This,
  4595. /* [out] */ LPSTR *ppszCatalogFile);
  4596. void __RPC_STUB ICatalogFileInfo_GetCatalogFile_Stub(
  4597. IRpcStubBuffer *This,
  4598. IRpcChannelBuffer *_pRpcChannelBuffer,
  4599. PRPC_MESSAGE _pRpcMessage,
  4600. DWORD *_pdwStubPhase);
  4601. HRESULT STDMETHODCALLTYPE ICatalogFileInfo_GetJavaTrust_Proxy(
  4602. ICatalogFileInfo * This,
  4603. /* [out] */ void **ppJavaTrust);
  4604. void __RPC_STUB ICatalogFileInfo_GetJavaTrust_Stub(
  4605. IRpcStubBuffer *This,
  4606. IRpcChannelBuffer *_pRpcChannelBuffer,
  4607. PRPC_MESSAGE _pRpcMessage,
  4608. DWORD *_pdwStubPhase);
  4609. #endif /* __ICatalogFileInfo_INTERFACE_DEFINED__ */
  4610. /* interface __MIDL_itf_urlmon_0203 */
  4611. /* [local] */
  4612. #endif
  4613. #ifndef _LPDATAFILTER_DEFINED
  4614. #define _LPDATAFILTER_DEFINED
  4615. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0203_v0_0_c_ifspec;
  4616. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0203_v0_0_s_ifspec;
  4617. #ifndef __IDataFilter_INTERFACE_DEFINED__
  4618. #define __IDataFilter_INTERFACE_DEFINED__
  4619. /* interface IDataFilter */
  4620. /* [unique][uuid][object] */
  4621. typedef /* [unique] */ IDataFilter *LPDATAFILTER;
  4622. EXTERN_C const IID IID_IDataFilter;
  4623. #if defined(__cplusplus) && !defined(CINTERFACE)
  4624. MIDL_INTERFACE("69d14c80-c18e-11d0-a9ce-006097942311")
  4625. IDataFilter : public IUnknown
  4626. {
  4627. public:
  4628. virtual HRESULT STDMETHODCALLTYPE DoEncode(
  4629. /* [in] */ DWORD dwFlags,
  4630. /* [in] */ LONG lInBufferSize,
  4631. /* [size_is][in] */ BYTE *pbInBuffer,
  4632. /* [in] */ LONG lOutBufferSize,
  4633. /* [size_is][out] */ BYTE *pbOutBuffer,
  4634. /* [in] */ LONG lInBytesAvailable,
  4635. /* [out] */ LONG *plInBytesRead,
  4636. /* [out] */ LONG *plOutBytesWritten,
  4637. /* [in] */ DWORD dwReserved) = 0;
  4638. virtual HRESULT STDMETHODCALLTYPE DoDecode(
  4639. /* [in] */ DWORD dwFlags,
  4640. /* [in] */ LONG lInBufferSize,
  4641. /* [size_is][in] */ BYTE *pbInBuffer,
  4642. /* [in] */ LONG lOutBufferSize,
  4643. /* [size_is][out] */ BYTE *pbOutBuffer,
  4644. /* [in] */ LONG lInBytesAvailable,
  4645. /* [out] */ LONG *plInBytesRead,
  4646. /* [out] */ LONG *plOutBytesWritten,
  4647. /* [in] */ DWORD dwReserved) = 0;
  4648. virtual HRESULT STDMETHODCALLTYPE SetEncodingLevel(
  4649. /* [in] */ DWORD dwEncLevel) = 0;
  4650. };
  4651. #else /* C style interface */
  4652. typedef struct IDataFilterVtbl
  4653. {
  4654. BEGIN_INTERFACE
  4655. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4656. IDataFilter * This,
  4657. /* [in] */ REFIID riid,
  4658. /* [iid_is][out] */ void **ppvObject);
  4659. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4660. IDataFilter * This);
  4661. ULONG ( STDMETHODCALLTYPE *Release )(
  4662. IDataFilter * This);
  4663. HRESULT ( STDMETHODCALLTYPE *DoEncode )(
  4664. IDataFilter * This,
  4665. /* [in] */ DWORD dwFlags,
  4666. /* [in] */ LONG lInBufferSize,
  4667. /* [size_is][in] */ BYTE *pbInBuffer,
  4668. /* [in] */ LONG lOutBufferSize,
  4669. /* [size_is][out] */ BYTE *pbOutBuffer,
  4670. /* [in] */ LONG lInBytesAvailable,
  4671. /* [out] */ LONG *plInBytesRead,
  4672. /* [out] */ LONG *plOutBytesWritten,
  4673. /* [in] */ DWORD dwReserved);
  4674. HRESULT ( STDMETHODCALLTYPE *DoDecode )(
  4675. IDataFilter * This,
  4676. /* [in] */ DWORD dwFlags,
  4677. /* [in] */ LONG lInBufferSize,
  4678. /* [size_is][in] */ BYTE *pbInBuffer,
  4679. /* [in] */ LONG lOutBufferSize,
  4680. /* [size_is][out] */ BYTE *pbOutBuffer,
  4681. /* [in] */ LONG lInBytesAvailable,
  4682. /* [out] */ LONG *plInBytesRead,
  4683. /* [out] */ LONG *plOutBytesWritten,
  4684. /* [in] */ DWORD dwReserved);
  4685. HRESULT ( STDMETHODCALLTYPE *SetEncodingLevel )(
  4686. IDataFilter * This,
  4687. /* [in] */ DWORD dwEncLevel);
  4688. END_INTERFACE
  4689. } IDataFilterVtbl;
  4690. interface IDataFilter
  4691. {
  4692. CONST_VTBL struct IDataFilterVtbl *lpVtbl;
  4693. };
  4694. #ifdef COBJMACROS
  4695. #define IDataFilter_QueryInterface(This,riid,ppvObject) \
  4696. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4697. #define IDataFilter_AddRef(This) \
  4698. (This)->lpVtbl -> AddRef(This)
  4699. #define IDataFilter_Release(This) \
  4700. (This)->lpVtbl -> Release(This)
  4701. #define IDataFilter_DoEncode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved) \
  4702. (This)->lpVtbl -> DoEncode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
  4703. #define IDataFilter_DoDecode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved) \
  4704. (This)->lpVtbl -> DoDecode(This,dwFlags,lInBufferSize,pbInBuffer,lOutBufferSize,pbOutBuffer,lInBytesAvailable,plInBytesRead,plOutBytesWritten,dwReserved)
  4705. #define IDataFilter_SetEncodingLevel(This,dwEncLevel) \
  4706. (This)->lpVtbl -> SetEncodingLevel(This,dwEncLevel)
  4707. #endif /* COBJMACROS */
  4708. #endif /* C style interface */
  4709. HRESULT STDMETHODCALLTYPE IDataFilter_DoEncode_Proxy(
  4710. IDataFilter * This,
  4711. /* [in] */ DWORD dwFlags,
  4712. /* [in] */ LONG lInBufferSize,
  4713. /* [size_is][in] */ BYTE *pbInBuffer,
  4714. /* [in] */ LONG lOutBufferSize,
  4715. /* [size_is][out] */ BYTE *pbOutBuffer,
  4716. /* [in] */ LONG lInBytesAvailable,
  4717. /* [out] */ LONG *plInBytesRead,
  4718. /* [out] */ LONG *plOutBytesWritten,
  4719. /* [in] */ DWORD dwReserved);
  4720. void __RPC_STUB IDataFilter_DoEncode_Stub(
  4721. IRpcStubBuffer *This,
  4722. IRpcChannelBuffer *_pRpcChannelBuffer,
  4723. PRPC_MESSAGE _pRpcMessage,
  4724. DWORD *_pdwStubPhase);
  4725. HRESULT STDMETHODCALLTYPE IDataFilter_DoDecode_Proxy(
  4726. IDataFilter * This,
  4727. /* [in] */ DWORD dwFlags,
  4728. /* [in] */ LONG lInBufferSize,
  4729. /* [size_is][in] */ BYTE *pbInBuffer,
  4730. /* [in] */ LONG lOutBufferSize,
  4731. /* [size_is][out] */ BYTE *pbOutBuffer,
  4732. /* [in] */ LONG lInBytesAvailable,
  4733. /* [out] */ LONG *plInBytesRead,
  4734. /* [out] */ LONG *plOutBytesWritten,
  4735. /* [in] */ DWORD dwReserved);
  4736. void __RPC_STUB IDataFilter_DoDecode_Stub(
  4737. IRpcStubBuffer *This,
  4738. IRpcChannelBuffer *_pRpcChannelBuffer,
  4739. PRPC_MESSAGE _pRpcMessage,
  4740. DWORD *_pdwStubPhase);
  4741. HRESULT STDMETHODCALLTYPE IDataFilter_SetEncodingLevel_Proxy(
  4742. IDataFilter * This,
  4743. /* [in] */ DWORD dwEncLevel);
  4744. void __RPC_STUB IDataFilter_SetEncodingLevel_Stub(
  4745. IRpcStubBuffer *This,
  4746. IRpcChannelBuffer *_pRpcChannelBuffer,
  4747. PRPC_MESSAGE _pRpcMessage,
  4748. DWORD *_pdwStubPhase);
  4749. #endif /* __IDataFilter_INTERFACE_DEFINED__ */
  4750. /* interface __MIDL_itf_urlmon_0204 */
  4751. /* [local] */
  4752. #endif
  4753. #ifndef _LPENCODINGFILTERFACTORY_DEFINED
  4754. #define _LPENCODINGFILTERFACTORY_DEFINED
  4755. typedef struct _tagPROTOCOLFILTERDATA
  4756. {
  4757. DWORD cbSize;
  4758. IInternetProtocolSink *pProtocolSink;
  4759. IInternetProtocol *pProtocol;
  4760. IUnknown *pUnk;
  4761. DWORD dwFilterFlags;
  4762. } PROTOCOLFILTERDATA;
  4763. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0204_v0_0_c_ifspec;
  4764. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0204_v0_0_s_ifspec;
  4765. #ifndef __IEncodingFilterFactory_INTERFACE_DEFINED__
  4766. #define __IEncodingFilterFactory_INTERFACE_DEFINED__
  4767. /* interface IEncodingFilterFactory */
  4768. /* [unique][uuid][object][local] */
  4769. typedef /* [unique] */ IEncodingFilterFactory *LPENCODINGFILTERFACTORY;
  4770. typedef struct _tagDATAINFO
  4771. {
  4772. ULONG ulTotalSize;
  4773. ULONG ulavrPacketSize;
  4774. ULONG ulConnectSpeed;
  4775. ULONG ulProcessorSpeed;
  4776. } DATAINFO;
  4777. EXTERN_C const IID IID_IEncodingFilterFactory;
  4778. #if defined(__cplusplus) && !defined(CINTERFACE)
  4779. MIDL_INTERFACE("70bdde00-c18e-11d0-a9ce-006097942311")
  4780. IEncodingFilterFactory : public IUnknown
  4781. {
  4782. public:
  4783. virtual HRESULT STDMETHODCALLTYPE FindBestFilter(
  4784. /* [in] */ LPCWSTR pwzCodeIn,
  4785. /* [in] */ LPCWSTR pwzCodeOut,
  4786. /* [in] */ DATAINFO info,
  4787. /* [out] */ IDataFilter **ppDF) = 0;
  4788. virtual HRESULT STDMETHODCALLTYPE GetDefaultFilter(
  4789. /* [in] */ LPCWSTR pwzCodeIn,
  4790. /* [in] */ LPCWSTR pwzCodeOut,
  4791. /* [out] */ IDataFilter **ppDF) = 0;
  4792. };
  4793. #else /* C style interface */
  4794. typedef struct IEncodingFilterFactoryVtbl
  4795. {
  4796. BEGIN_INTERFACE
  4797. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4798. IEncodingFilterFactory * This,
  4799. /* [in] */ REFIID riid,
  4800. /* [iid_is][out] */ void **ppvObject);
  4801. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4802. IEncodingFilterFactory * This);
  4803. ULONG ( STDMETHODCALLTYPE *Release )(
  4804. IEncodingFilterFactory * This);
  4805. HRESULT ( STDMETHODCALLTYPE *FindBestFilter )(
  4806. IEncodingFilterFactory * This,
  4807. /* [in] */ LPCWSTR pwzCodeIn,
  4808. /* [in] */ LPCWSTR pwzCodeOut,
  4809. /* [in] */ DATAINFO info,
  4810. /* [out] */ IDataFilter **ppDF);
  4811. HRESULT ( STDMETHODCALLTYPE *GetDefaultFilter )(
  4812. IEncodingFilterFactory * This,
  4813. /* [in] */ LPCWSTR pwzCodeIn,
  4814. /* [in] */ LPCWSTR pwzCodeOut,
  4815. /* [out] */ IDataFilter **ppDF);
  4816. END_INTERFACE
  4817. } IEncodingFilterFactoryVtbl;
  4818. interface IEncodingFilterFactory
  4819. {
  4820. CONST_VTBL struct IEncodingFilterFactoryVtbl *lpVtbl;
  4821. };
  4822. #ifdef COBJMACROS
  4823. #define IEncodingFilterFactory_QueryInterface(This,riid,ppvObject) \
  4824. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4825. #define IEncodingFilterFactory_AddRef(This) \
  4826. (This)->lpVtbl -> AddRef(This)
  4827. #define IEncodingFilterFactory_Release(This) \
  4828. (This)->lpVtbl -> Release(This)
  4829. #define IEncodingFilterFactory_FindBestFilter(This,pwzCodeIn,pwzCodeOut,info,ppDF) \
  4830. (This)->lpVtbl -> FindBestFilter(This,pwzCodeIn,pwzCodeOut,info,ppDF)
  4831. #define IEncodingFilterFactory_GetDefaultFilter(This,pwzCodeIn,pwzCodeOut,ppDF) \
  4832. (This)->lpVtbl -> GetDefaultFilter(This,pwzCodeIn,pwzCodeOut,ppDF)
  4833. #endif /* COBJMACROS */
  4834. #endif /* C style interface */
  4835. HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_FindBestFilter_Proxy(
  4836. IEncodingFilterFactory * This,
  4837. /* [in] */ LPCWSTR pwzCodeIn,
  4838. /* [in] */ LPCWSTR pwzCodeOut,
  4839. /* [in] */ DATAINFO info,
  4840. /* [out] */ IDataFilter **ppDF);
  4841. void __RPC_STUB IEncodingFilterFactory_FindBestFilter_Stub(
  4842. IRpcStubBuffer *This,
  4843. IRpcChannelBuffer *_pRpcChannelBuffer,
  4844. PRPC_MESSAGE _pRpcMessage,
  4845. DWORD *_pdwStubPhase);
  4846. HRESULT STDMETHODCALLTYPE IEncodingFilterFactory_GetDefaultFilter_Proxy(
  4847. IEncodingFilterFactory * This,
  4848. /* [in] */ LPCWSTR pwzCodeIn,
  4849. /* [in] */ LPCWSTR pwzCodeOut,
  4850. /* [out] */ IDataFilter **ppDF);
  4851. void __RPC_STUB IEncodingFilterFactory_GetDefaultFilter_Stub(
  4852. IRpcStubBuffer *This,
  4853. IRpcChannelBuffer *_pRpcChannelBuffer,
  4854. PRPC_MESSAGE _pRpcMessage,
  4855. DWORD *_pdwStubPhase);
  4856. #endif /* __IEncodingFilterFactory_INTERFACE_DEFINED__ */
  4857. /* interface __MIDL_itf_urlmon_0205 */
  4858. /* [local] */
  4859. #endif
  4860. #ifndef _HITLOGGING_DEFINED
  4861. #define _HITLOGGING_DEFINED
  4862. // Logging-specific apis
  4863. BOOL WINAPI IsLoggingEnabledA(IN LPCSTR pszUrl);
  4864. BOOL WINAPI IsLoggingEnabledW(IN LPCWSTR pwszUrl);
  4865. #ifdef UNICODE
  4866. #define IsLoggingEnabled IsLoggingEnabledW
  4867. #else
  4868. #define IsLoggingEnabled IsLoggingEnabledA
  4869. #endif // !UNICODE
  4870. typedef struct _tagHIT_LOGGING_INFO
  4871. {
  4872. DWORD dwStructSize;
  4873. LPSTR lpszLoggedUrlName;
  4874. SYSTEMTIME StartTime;
  4875. SYSTEMTIME EndTime;
  4876. LPSTR lpszExtendedInfo;
  4877. } HIT_LOGGING_INFO;
  4878. typedef struct _tagHIT_LOGGING_INFO *LPHIT_LOGGING_INFO;
  4879. BOOL WINAPI WriteHitLogging(IN LPHIT_LOGGING_INFO lpLogginginfo);
  4880. #define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001
  4881. struct CONFIRMSAFETY
  4882. {
  4883. CLSID clsid;
  4884. IUnknown *pUnk;
  4885. DWORD dwFlags;
  4886. } ;
  4887. EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;
  4888. #endif
  4889. #ifndef _LPIWRAPPEDPROTOCOL_DEFINED
  4890. #define _LPIWRAPPEDPROTOCOL_DEFINED
  4891. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0205_v0_0_c_ifspec;
  4892. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0205_v0_0_s_ifspec;
  4893. #ifndef __IWrappedProtocol_INTERFACE_DEFINED__
  4894. #define __IWrappedProtocol_INTERFACE_DEFINED__
  4895. /* interface IWrappedProtocol */
  4896. /* [unique][uuid][object][local] */
  4897. typedef /* [unique] */ IWrappedProtocol *LPIWRAPPEDPROTOCOL;
  4898. EXTERN_C const IID IID_IWrappedProtocol;
  4899. #if defined(__cplusplus) && !defined(CINTERFACE)
  4900. MIDL_INTERFACE("53c84785-8425-4dc5-971b-e58d9c19f9b6")
  4901. IWrappedProtocol : public IUnknown
  4902. {
  4903. public:
  4904. virtual HRESULT STDMETHODCALLTYPE GetWrapperCode(
  4905. /* [out] */ LONG *pnCode,
  4906. /* [in] */ DWORD_PTR dwReserved) = 0;
  4907. };
  4908. #else /* C style interface */
  4909. typedef struct IWrappedProtocolVtbl
  4910. {
  4911. BEGIN_INTERFACE
  4912. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  4913. IWrappedProtocol * This,
  4914. /* [in] */ REFIID riid,
  4915. /* [iid_is][out] */ void **ppvObject);
  4916. ULONG ( STDMETHODCALLTYPE *AddRef )(
  4917. IWrappedProtocol * This);
  4918. ULONG ( STDMETHODCALLTYPE *Release )(
  4919. IWrappedProtocol * This);
  4920. HRESULT ( STDMETHODCALLTYPE *GetWrapperCode )(
  4921. IWrappedProtocol * This,
  4922. /* [out] */ LONG *pnCode,
  4923. /* [in] */ DWORD_PTR dwReserved);
  4924. END_INTERFACE
  4925. } IWrappedProtocolVtbl;
  4926. interface IWrappedProtocol
  4927. {
  4928. CONST_VTBL struct IWrappedProtocolVtbl *lpVtbl;
  4929. };
  4930. #ifdef COBJMACROS
  4931. #define IWrappedProtocol_QueryInterface(This,riid,ppvObject) \
  4932. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4933. #define IWrappedProtocol_AddRef(This) \
  4934. (This)->lpVtbl -> AddRef(This)
  4935. #define IWrappedProtocol_Release(This) \
  4936. (This)->lpVtbl -> Release(This)
  4937. #define IWrappedProtocol_GetWrapperCode(This,pnCode,dwReserved) \
  4938. (This)->lpVtbl -> GetWrapperCode(This,pnCode,dwReserved)
  4939. #endif /* COBJMACROS */
  4940. #endif /* C style interface */
  4941. HRESULT STDMETHODCALLTYPE IWrappedProtocol_GetWrapperCode_Proxy(
  4942. IWrappedProtocol * This,
  4943. /* [out] */ LONG *pnCode,
  4944. /* [in] */ DWORD_PTR dwReserved);
  4945. void __RPC_STUB IWrappedProtocol_GetWrapperCode_Stub(
  4946. IRpcStubBuffer *This,
  4947. IRpcChannelBuffer *_pRpcChannelBuffer,
  4948. PRPC_MESSAGE _pRpcMessage,
  4949. DWORD *_pdwStubPhase);
  4950. #endif /* __IWrappedProtocol_INTERFACE_DEFINED__ */
  4951. /* interface __MIDL_itf_urlmon_0206 */
  4952. /* [local] */
  4953. #endif
  4954. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0206_v0_0_c_ifspec;
  4955. extern RPC_IF_HANDLE __MIDL_itf_urlmon_0206_v0_0_s_ifspec;
  4956. /* Additional Prototypes for ALL interfaces */
  4957. unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
  4958. unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
  4959. unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
  4960. void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
  4961. /* [local] */ HRESULT STDMETHODCALLTYPE IBinding_GetBindResult_Proxy(
  4962. IBinding * This,
  4963. /* [out] */ CLSID *pclsidProtocol,
  4964. /* [out] */ DWORD *pdwResult,
  4965. /* [out] */ LPOLESTR *pszResult,
  4966. /* [out][in] */ DWORD *pdwReserved);
  4967. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBinding_GetBindResult_Stub(
  4968. IBinding * This,
  4969. /* [out] */ CLSID *pclsidProtocol,
  4970. /* [out] */ DWORD *pdwResult,
  4971. /* [out] */ LPOLESTR *pszResult,
  4972. /* [in] */ DWORD dwReserved);
  4973. /* [local] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetBindInfo_Proxy(
  4974. IBindStatusCallback * This,
  4975. /* [out] */ DWORD *grfBINDF,
  4976. /* [unique][out][in] */ BINDINFO *pbindinfo);
  4977. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_GetBindInfo_Stub(
  4978. IBindStatusCallback * This,
  4979. /* [out] */ DWORD *grfBINDF,
  4980. /* [unique][out][in] */ RemBINDINFO *pbindinfo,
  4981. /* [unique][out][in] */ RemSTGMEDIUM *pstgmed);
  4982. /* [local] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnDataAvailable_Proxy(
  4983. IBindStatusCallback * This,
  4984. /* [in] */ DWORD grfBSCF,
  4985. /* [in] */ DWORD dwSize,
  4986. /* [in] */ FORMATETC *pformatetc,
  4987. /* [in] */ STGMEDIUM *pstgmed);
  4988. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindStatusCallback_OnDataAvailable_Stub(
  4989. IBindStatusCallback * This,
  4990. /* [in] */ DWORD grfBSCF,
  4991. /* [in] */ DWORD dwSize,
  4992. /* [in] */ RemFORMATETC *pformatetc,
  4993. /* [in] */ RemSTGMEDIUM *pstgmed);
  4994. /* [local] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_QueryOption_Proxy(
  4995. IWinInetInfo * This,
  4996. /* [in] */ DWORD dwOption,
  4997. /* [size_is][out][in] */ LPVOID pBuffer,
  4998. /* [out][in] */ DWORD *pcbBuf);
  4999. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetInfo_QueryOption_Stub(
  5000. IWinInetInfo * This,
  5001. /* [in] */ DWORD dwOption,
  5002. /* [size_is][out][in] */ BYTE *pBuffer,
  5003. /* [out][in] */ DWORD *pcbBuf);
  5004. /* [local] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_QueryInfo_Proxy(
  5005. IWinInetHttpInfo * This,
  5006. /* [in] */ DWORD dwOption,
  5007. /* [size_is][out][in] */ LPVOID pBuffer,
  5008. /* [out][in] */ DWORD *pcbBuf,
  5009. /* [out][in] */ DWORD *pdwFlags,
  5010. /* [out][in] */ DWORD *pdwReserved);
  5011. /* [call_as] */ HRESULT STDMETHODCALLTYPE IWinInetHttpInfo_QueryInfo_Stub(
  5012. IWinInetHttpInfo * This,
  5013. /* [in] */ DWORD dwOption,
  5014. /* [size_is][out][in] */ BYTE *pBuffer,
  5015. /* [out][in] */ DWORD *pcbBuf,
  5016. /* [out][in] */ DWORD *pdwFlags,
  5017. /* [out][in] */ DWORD *pdwReserved);
  5018. /* [local] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToStorage_Proxy(
  5019. IBindHost * This,
  5020. /* [in] */ IMoniker *pMk,
  5021. /* [in] */ IBindCtx *pBC,
  5022. /* [in] */ IBindStatusCallback *pBSC,
  5023. /* [in] */ REFIID riid,
  5024. /* [out] */ void **ppvObj);
  5025. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToStorage_Stub(
  5026. IBindHost * This,
  5027. /* [unique][in] */ IMoniker *pMk,
  5028. /* [unique][in] */ IBindCtx *pBC,
  5029. /* [unique][in] */ IBindStatusCallback *pBSC,
  5030. /* [in] */ REFIID riid,
  5031. /* [iid_is][out] */ IUnknown **ppvObj);
  5032. /* [local] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToObject_Proxy(
  5033. IBindHost * This,
  5034. /* [in] */ IMoniker *pMk,
  5035. /* [in] */ IBindCtx *pBC,
  5036. /* [in] */ IBindStatusCallback *pBSC,
  5037. /* [in] */ REFIID riid,
  5038. /* [out] */ void **ppvObj);
  5039. /* [call_as] */ HRESULT STDMETHODCALLTYPE IBindHost_MonikerBindToObject_Stub(
  5040. IBindHost * This,
  5041. /* [unique][in] */ IMoniker *pMk,
  5042. /* [unique][in] */ IBindCtx *pBC,
  5043. /* [unique][in] */ IBindStatusCallback *pBSC,
  5044. /* [in] */ REFIID riid,
  5045. /* [iid_is][out] */ IUnknown **ppvObj);
  5046. /* end of Additional Prototypes */
  5047. #ifdef __cplusplus
  5048. }
  5049. #endif
  5050. #endif