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.

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