1 | cpp_quote("/**")
|
---|
2 | cpp_quote(" * This file is part of the mingw-w64 runtime package.")
|
---|
3 | cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
|
---|
4 | cpp_quote(" */")
|
---|
5 | cpp_quote("")
|
---|
6 | cpp_quote("#include <winapifamily.h>")
|
---|
7 | cpp_quote("")
|
---|
8 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
9 | cpp_quote("")
|
---|
10 |
|
---|
11 | import "objidl.idl";
|
---|
12 | import "oleidl.idl";
|
---|
13 | import "servprov.idl";
|
---|
14 | import "msxml.idl";
|
---|
15 |
|
---|
16 | cpp_quote("")
|
---|
17 | interface IPersistMoniker;
|
---|
18 | interface IBindProtocol;
|
---|
19 | interface IBinding;
|
---|
20 | interface IBindStatusCallback;
|
---|
21 | interface IBindStatusCallbackEx;
|
---|
22 | interface IBindStatusCallbackMsg;
|
---|
23 | interface IAuthenticate;
|
---|
24 | interface IAuthenticateEx;
|
---|
25 | interface IWindowForBindingUI;
|
---|
26 | interface ICodeInstall;
|
---|
27 | interface IHttpNegotiate;
|
---|
28 | interface IHttpNegotiate2;
|
---|
29 | interface IHttpNegotiate3;
|
---|
30 | interface IWinInetFileStream;
|
---|
31 | interface IXMLElement;
|
---|
32 | cpp_quote("")
|
---|
33 | cpp_quote("EXTERN_C const IID CLSID_SBS_StdURLMoniker;")
|
---|
34 | cpp_quote("EXTERN_C const IID CLSID_SBS_HttpProtocol;")
|
---|
35 | cpp_quote("EXTERN_C const IID CLSID_SBS_FtpProtocol;")
|
---|
36 | cpp_quote("EXTERN_C const IID CLSID_SBS_GopherProtocol;")
|
---|
37 | cpp_quote("EXTERN_C const IID CLSID_SBS_HttpSProtocol;")
|
---|
38 | cpp_quote("EXTERN_C const IID CLSID_SBS_FileProtocol;")
|
---|
39 | cpp_quote("EXTERN_C const IID CLSID_SBS_MkProtocol;")
|
---|
40 | cpp_quote("EXTERN_C const IID CLSID_SBS_UrlMkBindCtx;")
|
---|
41 | cpp_quote("EXTERN_C const IID CLSID_SBS_SoftDistExt;")
|
---|
42 | cpp_quote("EXTERN_C const IID CLSID_SBS_CdlProtocol;")
|
---|
43 | cpp_quote("EXTERN_C const IID CLSID_SBS_ClassInstallFilter;")
|
---|
44 | cpp_quote("EXTERN_C const IID CLSID_SBS_InternetSecurityManager;")
|
---|
45 | cpp_quote("EXTERN_C const IID CLSID_SBS_InternetZoneManager;")
|
---|
46 | cpp_quote("")
|
---|
47 | cpp_quote("#define BINDF_DONTUSECACHE BINDF_GETNEWESTVERSION")
|
---|
48 | cpp_quote("#define BINDF_DONTPUTINCACHE BINDF_NOWRITECACHE")
|
---|
49 | cpp_quote("#define BINDF_NOCOPYDATA BINDF_PULLDATA")
|
---|
50 | cpp_quote("#define INVALID_P_ROOT_SECURITY_ID ((BYTE*)-1)")
|
---|
51 | cpp_quote("")
|
---|
52 | cpp_quote("#define PI_DOCFILECLSIDLOOKUP PI_CLSIDLOOKUP")
|
---|
53 | cpp_quote("")
|
---|
54 | cpp_quote("EXTERN_C const IID IID_IAsyncMoniker;")
|
---|
55 | cpp_quote("EXTERN_C const IID CLSID_StdURLMoniker;")
|
---|
56 | cpp_quote("EXTERN_C const IID CLSID_HttpProtocol;")
|
---|
57 | cpp_quote("EXTERN_C const IID CLSID_FtpProtocol;")
|
---|
58 | cpp_quote("EXTERN_C const IID CLSID_GopherProtocol;")
|
---|
59 | cpp_quote("EXTERN_C const IID CLSID_HttpSProtocol;")
|
---|
60 | cpp_quote("EXTERN_C const IID CLSID_FileProtocol;")
|
---|
61 | cpp_quote("EXTERN_C const IID CLSID_MkProtocol;")
|
---|
62 | cpp_quote("EXTERN_C const IID CLSID_StdURLProtocol;")
|
---|
63 | cpp_quote("EXTERN_C const IID CLSID_UrlMkBindCtx;")
|
---|
64 | cpp_quote("EXTERN_C const IID CLSID_CdlProtocol;")
|
---|
65 | cpp_quote("EXTERN_C const IID CLSID_ClassInstallFilter;")
|
---|
66 | cpp_quote("EXTERN_C const IID IID_IAsyncBindCtx;")
|
---|
67 | cpp_quote("")
|
---|
68 | cpp_quote("#define SZ_URLCONTEXT OLESTR(\"URL Context\")")
|
---|
69 | cpp_quote("#define SZ_ASYNC_CALLEE OLESTR(\"AsyncCallee\")")
|
---|
70 | cpp_quote("")
|
---|
71 | cpp_quote("#define MKSYS_URLMONIKER 6")
|
---|
72 | cpp_quote("#define URL_MK_LEGACY 0")
|
---|
73 | cpp_quote("#define URL_MK_UNIFORM 1")
|
---|
74 | cpp_quote("#define URL_MK_NO_CANONICALIZE 2")
|
---|
75 | cpp_quote("")
|
---|
76 | cpp_quote("STDAPI CreateURLMoniker(LPMONIKER pMkCtx, LPCWSTR szURL, LPMONIKER *ppmk);")
|
---|
77 | cpp_quote("STDAPI CreateURLMonikerEx(LPMONIKER pMkCtx, LPCWSTR szURL, LPMONIKER *ppmk, DWORD dwFlags);")
|
---|
78 | cpp_quote("STDAPI GetClassURL(LPCWSTR szURL, CLSID *pClsID);")
|
---|
79 | cpp_quote("STDAPI CreateAsyncBindCtx(DWORD reserved, IBindStatusCallback *pBSCb, IEnumFORMATETC *pEFetc, IBindCtx **ppBC);")
|
---|
80 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
81 | cpp_quote("STDAPI CreateURLMonikerEx2(LPMONIKER pMkCtx, IUri *pUri, LPMONIKER *ppmk, DWORD dwFlags);")
|
---|
82 | cpp_quote("#endif")
|
---|
83 | cpp_quote("STDAPI CreateAsyncBindCtxEx(IBindCtx *pbc, DWORD dwOptions, IBindStatusCallback *pBSCb, IEnumFORMATETC *pEnum, IBindCtx **ppBC, DWORD reserved);")
|
---|
84 | cpp_quote("STDAPI MkParseDisplayNameEx(IBindCtx *pbc, LPCWSTR szDisplayName, ULONG *pchEaten, LPMONIKER *ppmk);")
|
---|
85 | cpp_quote("STDAPI RegisterBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb, IBindStatusCallback **ppBSCBPrev, DWORD dwReserved);")
|
---|
86 | cpp_quote("STDAPI RevokeBindStatusCallback(LPBC pBC, IBindStatusCallback *pBSCb);")
|
---|
87 | cpp_quote("STDAPI GetClassFileOrMime(LPBC pBC, LPCWSTR szFilename, LPVOID pBuffer, DWORD cbSize, LPCWSTR szMime, DWORD dwReserved, CLSID *pclsid);")
|
---|
88 | cpp_quote("STDAPI IsValidURL(LPBC pBC, LPCWSTR szURL, DWORD dwReserved);")
|
---|
89 | cpp_quote("STDAPI CoGetClassObjectFromURL(REFCLSID rCLASSID, LPCWSTR szCODE, DWORD dwFileVersionMS, DWORD dwFileVersionLS, LPCWSTR szTYPE, LPBINDCTX pBindCtx, DWORD dwClsContext, LPVOID pvReserved, REFIID riid, LPVOID *ppv);")
|
---|
90 | cpp_quote("STDAPI IEInstallScope(LPDWORD pdwScope);")
|
---|
91 | cpp_quote("STDAPI FaultInIEFeature(HWND hWnd, uCLSSPEC *pClassSpec, QUERYCONTEXT *pQuery, DWORD dwFlags);")
|
---|
92 | cpp_quote("STDAPI GetComponentIDFromCLSSPEC(uCLSSPEC *pClassspec, LPSTR *ppszComponentID);")
|
---|
93 | cpp_quote("")
|
---|
94 | cpp_quote("#define FIEF_FLAG_FORCE_JITUI 0x1")
|
---|
95 | cpp_quote("#define FIEF_FLAG_PEEK 0x2")
|
---|
96 | cpp_quote("#define FIEF_FLAG_SKIP_INSTALLED_VERSION_CHECK 0x4")
|
---|
97 | cpp_quote("")
|
---|
98 | cpp_quote("STDAPI IsAsyncMoniker(IMoniker *pmk);")
|
---|
99 | cpp_quote("STDAPI CreateURLBinding(LPCWSTR lpszUrl, IBindCtx *pbc, IBinding **ppBdg);")
|
---|
100 | cpp_quote("STDAPI RegisterMediaTypes(UINT ctypes, const LPCSTR *rgszTypes, CLIPFORMAT *rgcfTypes);")
|
---|
101 | cpp_quote("STDAPI FindMediaType(LPCSTR rgszTypes, CLIPFORMAT *rgcfTypes);")
|
---|
102 | cpp_quote("STDAPI CreateFormatEnumerator(UINT cfmtetc, FORMATETC *rgfmtetc, IEnumFORMATETC **ppenumfmtetc);")
|
---|
103 | cpp_quote("STDAPI RegisterFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc, DWORD reserved);")
|
---|
104 | cpp_quote("STDAPI RevokeFormatEnumerator(LPBC pBC, IEnumFORMATETC *pEFetc);")
|
---|
105 | cpp_quote("STDAPI RegisterMediaTypeClass(LPBC pBC,UINT ctypes, const LPCSTR *rgszTypes, CLSID *rgclsID, DWORD reserved);")
|
---|
106 | cpp_quote("STDAPI FindMediaTypeClass(LPBC pBC, LPCSTR szType, CLSID *pclsID, DWORD reserved);")
|
---|
107 | cpp_quote("STDAPI UrlMkSetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD dwReserved);")
|
---|
108 | cpp_quote("STDAPI UrlMkGetSessionOption(DWORD dwOption, LPVOID pBuffer, DWORD dwBufferLength, DWORD *pdwBufferLengthOut, DWORD dwReserved);")
|
---|
109 | cpp_quote("STDAPI FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer, DWORD cbSize, LPCWSTR pwzMimeProposed, DWORD dwMimeFlags, LPWSTR *ppwzMimeOut, DWORD dwReserved);")
|
---|
110 |
|
---|
111 | cpp_quote("")
|
---|
112 | cpp_quote("#define FMFD_DEFAULT 0x0")
|
---|
113 | cpp_quote("#define FMFD_URLASFILENAME 0x1")
|
---|
114 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
115 | cpp_quote("#define FMFD_ENABLEMIMESNIFFING 0x2")
|
---|
116 | cpp_quote("#define FMFD_IGNOREMIMETEXTPLAIN 0x4")
|
---|
117 | cpp_quote("#endif")
|
---|
118 | cpp_quote("")
|
---|
119 | cpp_quote("#define FMFD_SERVERMIME 0x8")
|
---|
120 | cpp_quote("#define FMFD_RESPECTTEXTPLAIN 0x10")
|
---|
121 | cpp_quote("#define FMFD_RETURNUPDATEDIMGMIMES 0x20")
|
---|
122 | cpp_quote("#define UAS_EXACTLEGACY 0x1000")
|
---|
123 | cpp_quote("")
|
---|
124 | cpp_quote("STDAPI ObtainUserAgentString(DWORD dwOption, LPSTR pszUAOut, DWORD *cbSize);")
|
---|
125 | cpp_quote("STDAPI CompareSecurityIds(BYTE *pbSecurityId1, DWORD dwLen1, BYTE *pbSecurityId2, DWORD dwLen2, DWORD dwReserved);")
|
---|
126 | cpp_quote("STDAPI CompatFlagsFromClsid(CLSID *pclsid, LPDWORD pdwCompatFlags, LPDWORD pdwMiscStatusFlags);")
|
---|
127 |
|
---|
128 | cpp_quote("")
|
---|
129 | cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
|
---|
130 | cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
|
---|
131 | cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
|
---|
132 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
133 | cpp_quote("#define URLMON_OPTION_USE_BINDSTRINGCREDS 0x10000008")
|
---|
134 | cpp_quote("#endif")
|
---|
135 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
136 | cpp_quote("#define URLMON_OPTION_USE_BROWSERAPPSDOCUMENTS 0x10000010")
|
---|
137 | cpp_quote("#endif")
|
---|
138 | cpp_quote("#endif")
|
---|
139 | cpp_quote("")
|
---|
140 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)")
|
---|
141 | cpp_quote("#define CF_NULL 0")
|
---|
142 | cpp_quote("#define CFSTR_MIME_NULL NULL")
|
---|
143 | cpp_quote("")
|
---|
144 | cpp_quote("#define CFSTR_MIME_TEXT (TEXT(\"text/plain\"))")
|
---|
145 | cpp_quote("#define CFSTR_MIME_RICHTEXT (TEXT(\"text/richtext\"))")
|
---|
146 | cpp_quote("#define CFSTR_MIME_MANIFEST (TEXT(\"text/cache-manifest\"))")
|
---|
147 | cpp_quote("#define CFSTR_MIME_WEBVTT (TEXT(\"text/vtt\"))")
|
---|
148 | cpp_quote("#define CFSTR_MIME_X_BITMAP (TEXT(\"image/x-xbitmap\"))")
|
---|
149 | cpp_quote("#define CFSTR_MIME_POSTSCRIPT (TEXT(\"application/postscript\"))")
|
---|
150 |
|
---|
151 | cpp_quote("#define CFSTR_MIME_AIFF (TEXT(\"audio/aiff\"))")
|
---|
152 | cpp_quote("#define CFSTR_MIME_BASICAUDIO (TEXT(\"audio/basic\"))")
|
---|
153 | cpp_quote("#define CFSTR_MIME_WAV (TEXT(\"audio/wav\"))")
|
---|
154 | cpp_quote("#define CFSTR_MIME_X_WAV (TEXT(\"audio/x-wav\"))")
|
---|
155 | cpp_quote("#define CFSTR_MIME_GIF (TEXT(\"image/gif\"))")
|
---|
156 | cpp_quote("#define CFSTR_MIME_PJPEG (TEXT(\"image/pjpeg\"))")
|
---|
157 | cpp_quote("#define CFSTR_MIME_JPEG (TEXT(\"image/jpeg\"))")
|
---|
158 | cpp_quote("#define CFSTR_MIME_TIFF (TEXT(\"image/tiff\"))")
|
---|
159 | cpp_quote("#define CFSTR_MIME_JPEG_XR (TEXT(\"image/vnd.ms-photo\"))")
|
---|
160 | cpp_quote("#define CFSTR_MIME_PNG (TEXT(\"image/png\"))")
|
---|
161 | cpp_quote("#define CFSTR_MIME_X_PNG (TEXT(\"image/x-png\"))")
|
---|
162 | cpp_quote("#define CFSTR_MIME_X_ICON (TEXT(\"image/x-icon\"))")
|
---|
163 | cpp_quote("#define CFSTR_MIME_SVG_XML (TEXT(\"image/svg+xml\"))")
|
---|
164 | cpp_quote("#define CFSTR_MIME_BMP (TEXT(\"image/bmp\"))")
|
---|
165 | cpp_quote("#define CFSTR_MIME_X_EMF (TEXT(\"image/x-emf\"))")
|
---|
166 | cpp_quote("#define CFSTR_MIME_X_WMF (TEXT(\"image/x-wmf\"))")
|
---|
167 | cpp_quote("#define CFSTR_MIME_AVI (TEXT(\"video/avi\"))")
|
---|
168 | cpp_quote("#define CFSTR_MIME_MPEG (TEXT(\"video/mpeg\"))")
|
---|
169 | cpp_quote("#define CFSTR_MIME_FRACTALS (TEXT(\"application/fractals\"))")
|
---|
170 | cpp_quote("#define CFSTR_MIME_RAWDATA (TEXT(\"application/octet-stream\"))")
|
---|
171 | cpp_quote("#define CFSTR_MIME_RAWDATASTRM (TEXT(\"application/octet-stream\"))")
|
---|
172 | cpp_quote("#define CFSTR_MIME_PDF (TEXT(\"application/pdf\"))")
|
---|
173 | cpp_quote("#define CFSTR_MIME_HTA (TEXT(\"application/hta\"))")
|
---|
174 | cpp_quote("#define CFSTR_MIME_APP_XML (TEXT(\"application/xml\"))")
|
---|
175 | cpp_quote("#define CFSTR_MIME_XHTML (TEXT(\"application/xhtml+xml\"))")
|
---|
176 | cpp_quote("#define CFSTR_MIME_X_AIFF (TEXT(\"audio/x-aiff\"))")
|
---|
177 | cpp_quote("#define CFSTR_MIME_X_REALAUDIO (TEXT(\"audio/x-pn-realaudio\"))")
|
---|
178 | cpp_quote("#define CFSTR_MIME_XBM (TEXT(\"image/xbm\"))")
|
---|
179 | cpp_quote("#define CFSTR_MIME_QUICKTIME (TEXT(\"video/quicktime\"))")
|
---|
180 | cpp_quote("#define CFSTR_MIME_X_MSVIDEO (TEXT(\"video/x-msvideo\"))")
|
---|
181 | cpp_quote("#define CFSTR_MIME_X_SGI_MOVIE (TEXT(\"video/x-sgi-movie\"))")
|
---|
182 | cpp_quote("#define CFSTR_MIME_HTML (TEXT(\"text/html\"))")
|
---|
183 | cpp_quote("#define CFSTR_MIME_XML (TEXT(\"text/xml\"))")
|
---|
184 | cpp_quote("#define CFSTR_MIME_TTML (TEXT(\"application/ttml+xml\"))")
|
---|
185 | cpp_quote("#define CFSTR_MIME_TTAF (TEXT(\"application/ttaf+xml\"))")
|
---|
186 | cpp_quote("")
|
---|
187 | cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401E8L)")
|
---|
188 | cpp_quote("#ifndef S_ASYNCHRONOUS")
|
---|
189 | cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
|
---|
190 | cpp_quote("#endif")
|
---|
191 | cpp_quote("")
|
---|
192 | cpp_quote("#ifndef E_PENDING")
|
---|
193 | cpp_quote("#define E_PENDING _HRESULT_TYPEDEF_(__MSABI_LONG(0x8000000a))")
|
---|
194 | cpp_quote("#endif")
|
---|
195 | cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0002))")
|
---|
196 | cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0003))")
|
---|
197 | cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0004))")
|
---|
198 | cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0005))")
|
---|
199 | cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0006))")
|
---|
200 | cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0007))")
|
---|
201 | cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0008))")
|
---|
202 | cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0009))")
|
---|
203 | cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C000A))")
|
---|
204 | cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C000B))")
|
---|
205 | cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C000C))")
|
---|
206 | cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C000D))")
|
---|
207 | cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C000E))")
|
---|
208 | cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C000F))")
|
---|
209 | cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0010))")
|
---|
210 | cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0019))")
|
---|
211 | cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0014))")
|
---|
212 | cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0015))")
|
---|
213 | cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0016))")
|
---|
214 | cpp_quote("#define INET_E_USE_EXTEND_BINDING _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0017))")
|
---|
215 | cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0018))")
|
---|
216 | cpp_quote("#define INET_E_RESERVED_1 _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C001A))")
|
---|
217 | cpp_quote("#define INET_E_BLOCKED_REDIRECT_XSECURITYID _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C001B))")
|
---|
218 | cpp_quote("#define INET_E_DOMINJECTIONVALIDATION _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C001C))")
|
---|
219 | cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0002))")
|
---|
220 | cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0100))")
|
---|
221 | cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0200))")
|
---|
222 | cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0300))")
|
---|
223 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
224 | cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0400))")
|
---|
225 | cpp_quote("#endif")
|
---|
226 | cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0500))")
|
---|
227 | cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0501))")
|
---|
228 | cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_IMMERSIVE _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0502))")
|
---|
229 | cpp_quote("#define INET_E_FORBIDFRAMING _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0503))")
|
---|
230 | cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_ARM _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0504))")
|
---|
231 | cpp_quote("#define INET_E_BLOCKED_PLUGGABLE_PROTOCOL _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0505))")
|
---|
232 | cpp_quote("#define INET_E_ERROR_LAST INET_E_BLOCKED_PLUGGABLE_PROTOCOL")
|
---|
233 | cpp_quote("#endif")
|
---|
234 | cpp_quote("")
|
---|
235 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
236 | cpp_quote("#ifndef _LPPERSISTMONIKER_DEFINED")
|
---|
237 | cpp_quote("#define _LPPERSISTMONIKER_DEFINED")
|
---|
238 | [object, uuid (79eac9c9-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
239 | interface IPersistMoniker : IUnknown {
|
---|
240 | typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
|
---|
241 | cpp_quote("")
|
---|
242 | HRESULT GetClassID ([out] CLSID *pClassID);
|
---|
243 | HRESULT IsDirty (void);
|
---|
244 | HRESULT Load ([in] BOOL fFullyAvailable,[in] IMoniker *pimkName,[in] LPBC pibc,[in] DWORD grfMode);
|
---|
245 | HRESULT Save ([in] IMoniker *pimkName,[in] LPBC pbc,[in] BOOL fRemember);
|
---|
246 | HRESULT SaveCompleted ([in] IMoniker *pimkName,[in] LPBC pibc);
|
---|
247 | HRESULT GetCurMoniker ([out] IMoniker **ppimkName);
|
---|
248 | }
|
---|
249 | cpp_quote("#endif")
|
---|
250 | cpp_quote("")
|
---|
251 | cpp_quote("#ifndef _LPMONIKERPROP_DEFINED")
|
---|
252 | cpp_quote("#define _LPMONIKERPROP_DEFINED")
|
---|
253 | [object, uuid (a5ca5f7f-1847-4d87-9c5b-918509f7511d), pointer_default (unique)]
|
---|
254 | interface IMonikerProp : IUnknown {
|
---|
255 | typedef [unique] IMonikerProp *LPMONIKERPROP;
|
---|
256 | cpp_quote("")
|
---|
257 | typedef enum {
|
---|
258 | MIMETYPEPROP = 0x0,
|
---|
259 | USE_SRC_URL = 0x1,
|
---|
260 | CLASSIDPROP = 0x2,
|
---|
261 | TRUSTEDDOWNLOADPROP = 0x3,
|
---|
262 | POPUPLEVELPROP = 0x4,
|
---|
263 | } MONIKERPROPERTY;
|
---|
264 | cpp_quote("")
|
---|
265 | HRESULT PutProperty ([in] MONIKERPROPERTY mkp,[in] LPCWSTR val);
|
---|
266 | }
|
---|
267 | cpp_quote("#endif")
|
---|
268 |
|
---|
269 | cpp_quote("")
|
---|
270 | cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
|
---|
271 | cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
|
---|
272 | cpp_quote("")
|
---|
273 | [local, object, uuid (79eac9cd-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
274 | interface IBindProtocol : IUnknown {
|
---|
275 | typedef [unique] IBindProtocol *LPBINDPROTOCOL;
|
---|
276 | cpp_quote("")
|
---|
277 | HRESULT CreateBinding ([in] LPCWSTR szUrl,[in] IBindCtx *pbc,[out] IBinding **ppb);
|
---|
278 | }
|
---|
279 | cpp_quote("#endif")
|
---|
280 |
|
---|
281 | cpp_quote("")
|
---|
282 | cpp_quote("#ifndef _LPBINDING_DEFINED")
|
---|
283 | cpp_quote("#define _LPBINDING_DEFINED")
|
---|
284 | cpp_quote("")
|
---|
285 | [object, uuid (79eac9c0-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
286 | interface IBinding: IUnknown {
|
---|
287 | typedef [unique] IBinding *LPBINDING;
|
---|
288 | cpp_quote("")
|
---|
289 | HRESULT Abort ();
|
---|
290 | HRESULT Suspend ();
|
---|
291 | HRESULT Resume ();
|
---|
292 | HRESULT SetPriority ([in] LONG nPriority);
|
---|
293 | HRESULT GetPriority ([out] LONG *pnPriority);
|
---|
294 | [local] HRESULT GetBindResult ([out] CLSID *pclsidProtocol,[out] DWORD *pdwResult,[out] LPOLESTR *pszResult,[in, out] DWORD *pdwReserved);
|
---|
295 | [call_as (GetBindResult)] HRESULT RemoteGetBindResult ([out] CLSID *pclsidProtocol,[out] DWORD *pdwResult,[out] LPOLESTR *pszResult,[in] DWORD dwReserved);
|
---|
296 | }
|
---|
297 | cpp_quote("#endif")
|
---|
298 | cpp_quote("#endif")
|
---|
299 |
|
---|
300 | cpp_quote("")
|
---|
301 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)")
|
---|
302 | cpp_quote("#ifndef _LPBINDSTATUSCALLBACK_DEFINED")
|
---|
303 | cpp_quote("#define _LPBINDSTATUSCALLBACK_DEFINED")
|
---|
304 | cpp_quote("")
|
---|
305 | [object, uuid (79eac9c1-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
306 | interface IBindStatusCallback: IUnknown {
|
---|
307 | typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
|
---|
308 | cpp_quote("")
|
---|
309 | typedef enum {
|
---|
310 | BINDVERB_GET = 0x0,
|
---|
311 | BINDVERB_POST = 0x1,
|
---|
312 | BINDVERB_PUT = 0x2,
|
---|
313 | BINDVERB_CUSTOM = 0x3,
|
---|
314 | BINDVERB_RESERVED1 = 0x4,
|
---|
315 | } BINDVERB;
|
---|
316 | cpp_quote("")
|
---|
317 | typedef enum {
|
---|
318 | BINDINFOF_URLENCODESTGMEDDATA = 0x1,
|
---|
319 | BINDINFOF_URLENCODEDEXTRAINFO = 0x2,
|
---|
320 | } BINDINFOF;
|
---|
321 | cpp_quote("")
|
---|
322 | typedef enum {
|
---|
323 | BINDF_ASYNCHRONOUS = 0x1,
|
---|
324 | BINDF_ASYNCSTORAGE = 0x2,
|
---|
325 | BINDF_NOPROGRESSIVERENDERING = 0x4,
|
---|
326 | BINDF_OFFLINEOPERATION = 0x8,
|
---|
327 | BINDF_GETNEWESTVERSION = 0x10,
|
---|
328 | BINDF_NOWRITECACHE = 0x20,
|
---|
329 | BINDF_NEEDFILE = 0x40,
|
---|
330 | BINDF_PULLDATA = 0x80,
|
---|
331 | BINDF_IGNORESECURITYPROBLEM = 0x100,
|
---|
332 | BINDF_RESYNCHRONIZE = 0x200,
|
---|
333 | BINDF_HYPERLINK = 0x400,
|
---|
334 | BINDF_NO_UI = 0x800,
|
---|
335 | BINDF_SILENTOPERATION = 0x1000,
|
---|
336 | BINDF_PRAGMA_NO_CACHE = 0x2000,
|
---|
337 | BINDF_GETCLASSOBJECT = 0x4000,
|
---|
338 | BINDF_RESERVED_1 = 0x8000,
|
---|
339 | BINDF_FREE_THREADED = 0x10000,
|
---|
340 | BINDF_DIRECT_READ = 0x20000,
|
---|
341 | BINDF_FORMS_SUBMIT = 0x40000,
|
---|
342 | BINDF_GETFROMCACHE_IF_NET_FAIL = 0x80000,
|
---|
343 | BINDF_FROMURLMON = 0x100000,
|
---|
344 | BINDF_FWD_BACK = 0x200000,
|
---|
345 | BINDF_PREFERDEFAULTHANDLER = 0x400000,
|
---|
346 | BINDF_ENFORCERESTRICTED = 0x800000,
|
---|
347 | BINDF_RESERVED_2 = 0x80000000,
|
---|
348 | BINDF_RESERVED_3 = 0x1000000,
|
---|
349 | BINDF_RESERVED_4 = 0x2000000,
|
---|
350 | BINDF_RESERVED_5 = 0x4000000,
|
---|
351 | BINDF_RESERVED_6 = 0x8000000,
|
---|
352 | BINDF_RESERVED_7 = 0x40000000,
|
---|
353 | BINDF_RESERVED_8 = 0x20000000
|
---|
354 | } BINDF;
|
---|
355 |
|
---|
356 | cpp_quote("")
|
---|
357 | typedef enum {
|
---|
358 | URL_ENCODING_NONE = 0x0,
|
---|
359 | URL_ENCODING_ENABLE_UTF8 = 0x10000000,
|
---|
360 | URL_ENCODING_DISABLE_UTF8 = 0x20000000
|
---|
361 | } URL_ENCODING;
|
---|
362 |
|
---|
363 | cpp_quote("")
|
---|
364 | typedef struct _tagBINDINFO {
|
---|
365 | ULONG cbSize;
|
---|
366 | LPWSTR szExtraInfo;
|
---|
367 | STGMEDIUM stgmedData;
|
---|
368 | DWORD grfBindInfoF;
|
---|
369 | DWORD dwBindVerb;
|
---|
370 | LPWSTR szCustomVerb;
|
---|
371 | DWORD cbstgmedData;
|
---|
372 | DWORD dwOptions;
|
---|
373 | DWORD dwOptionsFlags;
|
---|
374 | DWORD dwCodePage;
|
---|
375 | SECURITY_ATTRIBUTES securityAttributes;
|
---|
376 | IID iid;
|
---|
377 | IUnknown *pUnk;
|
---|
378 | DWORD dwReserved;
|
---|
379 | } BINDINFO;
|
---|
380 |
|
---|
381 | cpp_quote("")
|
---|
382 | typedef struct _REMSECURITY_ATTRIBUTES {
|
---|
383 | DWORD nLength;
|
---|
384 | DWORD lpSecurityDescriptor;
|
---|
385 | BOOL bInheritHandle;
|
---|
386 | } REMSECURITY_ATTRIBUTES,*PREMSECURITY_ATTRIBUTES,*LPREMSECURITY_ATTRIBUTES;
|
---|
387 |
|
---|
388 | cpp_quote("")
|
---|
389 | typedef struct _tagRemBINDINFO {
|
---|
390 | ULONG cbSize;
|
---|
391 | LPWSTR szExtraInfo;
|
---|
392 | DWORD grfBindInfoF;
|
---|
393 | DWORD dwBindVerb;
|
---|
394 | LPWSTR szCustomVerb;
|
---|
395 | DWORD cbstgmedData;
|
---|
396 | DWORD dwOptions;
|
---|
397 | DWORD dwOptionsFlags;
|
---|
398 | DWORD dwCodePage;
|
---|
399 | REMSECURITY_ATTRIBUTES securityAttributes;
|
---|
400 | IID iid;
|
---|
401 | IUnknown *pUnk;
|
---|
402 | DWORD dwReserved;
|
---|
403 | } RemBINDINFO;
|
---|
404 |
|
---|
405 | cpp_quote("")
|
---|
406 | typedef struct tagRemFORMATETC {
|
---|
407 | DWORD cfFormat;
|
---|
408 | DWORD ptd;
|
---|
409 | DWORD dwAspect;
|
---|
410 | LONG lindex;
|
---|
411 | DWORD tymed;
|
---|
412 | } RemFORMATETC,*LPREMFORMATETC;
|
---|
413 |
|
---|
414 | cpp_quote("")
|
---|
415 | typedef enum {
|
---|
416 | BINDINFO_OPTIONS_WININETFLAG = 0x10000,
|
---|
417 | BINDINFO_OPTIONS_ENABLE_UTF8 = 0x20000,
|
---|
418 | BINDINFO_OPTIONS_DISABLE_UTF8 = 0x40000,
|
---|
419 | BINDINFO_OPTIONS_USE_IE_ENCODING = 0x80000,
|
---|
420 | BINDINFO_OPTIONS_BINDTOOBJECT = 0x100000,
|
---|
421 | BINDINFO_OPTIONS_SECURITYOPTOUT = 0x200000,
|
---|
422 | BINDINFO_OPTIONS_IGNOREMIMETEXTPLAIN = 0x400000,
|
---|
423 | BINDINFO_OPTIONS_USEBINDSTRINGCREDS = 0x800000,
|
---|
424 | BINDINFO_OPTIONS_IGNOREHTTPHTTPSREDIRECTS = 0x1000000,
|
---|
425 | BINDINFO_OPTIONS_IGNORE_SSLERRORS_ONCE = 0x2000000,
|
---|
426 | BINDINFO_WPC_DOWNLOADBLOCKED = 0x8000000,
|
---|
427 | BINDINFO_WPC_LOGGING_ENABLED = 0x10000000,
|
---|
428 | BINDINFO_OPTIONS_ALLOWCONNECTDATA = 0x20000000,
|
---|
429 | BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS = 0x40000000,
|
---|
430 | BINDINFO_OPTIONS_SHDOCVW_NAVIGATE = (int) 0x80000000
|
---|
431 | } BINDINFO_OPTIONS;
|
---|
432 |
|
---|
433 | cpp_quote("")
|
---|
434 | typedef enum {
|
---|
435 | BSCF_FIRSTDATANOTIFICATION = 0x1,
|
---|
436 | BSCF_INTERMEDIATEDATANOTIFICATION = 0x2,
|
---|
437 | BSCF_LASTDATANOTIFICATION = 0x4,
|
---|
438 | BSCF_DATAFULLYAVAILABLE = 0x8,
|
---|
439 | BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
|
---|
440 | BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
|
---|
441 | BSCF_64BITLENGTHDOWNLOAD = 0x40
|
---|
442 | } BSCF;
|
---|
443 |
|
---|
444 | cpp_quote("")
|
---|
445 | typedef enum tagBINDSTATUS {
|
---|
446 | BINDSTATUS_FINDINGRESOURCE = 1,
|
---|
447 | BINDSTATUS_CONNECTING,
|
---|
448 | BINDSTATUS_REDIRECTING,
|
---|
449 | BINDSTATUS_BEGINDOWNLOADDATA,
|
---|
450 | BINDSTATUS_DOWNLOADINGDATA,
|
---|
451 | BINDSTATUS_ENDDOWNLOADDATA,
|
---|
452 | BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
|
---|
453 | BINDSTATUS_INSTALLINGCOMPONENTS,
|
---|
454 | BINDSTATUS_ENDDOWNLOADCOMPONENTS,
|
---|
455 | BINDSTATUS_USINGCACHEDCOPY,
|
---|
456 | BINDSTATUS_SENDINGREQUEST,
|
---|
457 | BINDSTATUS_CLASSIDAVAILABLE,
|
---|
458 | BINDSTATUS_MIMETYPEAVAILABLE,
|
---|
459 | BINDSTATUS_CACHEFILENAMEAVAILABLE,
|
---|
460 | BINDSTATUS_BEGINSYNCOPERATION,
|
---|
461 | BINDSTATUS_ENDSYNCOPERATION,
|
---|
462 | BINDSTATUS_BEGINUPLOADDATA,
|
---|
463 | BINDSTATUS_UPLOADINGDATA,
|
---|
464 | BINDSTATUS_ENDUPLOADDATA,
|
---|
465 | BINDSTATUS_PROTOCOLCLASSID,
|
---|
466 | BINDSTATUS_ENCODING,
|
---|
467 | BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
|
---|
468 | BINDSTATUS_CLASSINSTALLLOCATION,
|
---|
469 | BINDSTATUS_DECODING,
|
---|
470 | BINDSTATUS_LOADINGMIMEHANDLER,
|
---|
471 | BINDSTATUS_CONTENTDISPOSITIONATTACH,
|
---|
472 | BINDSTATUS_FILTERREPORTMIMETYPE,
|
---|
473 | BINDSTATUS_CLSIDCANINSTANTIATE,
|
---|
474 | BINDSTATUS_IUNKNOWNAVAILABLE,
|
---|
475 | BINDSTATUS_DIRECTBIND,
|
---|
476 | BINDSTATUS_RAWMIMETYPE,
|
---|
477 | BINDSTATUS_PROXYDETECTING,
|
---|
478 | BINDSTATUS_ACCEPTRANGES,
|
---|
479 | BINDSTATUS_COOKIE_SENT,
|
---|
480 | BINDSTATUS_COMPACT_POLICY_RECEIVED,
|
---|
481 | BINDSTATUS_COOKIE_SUPPRESSED,
|
---|
482 | BINDSTATUS_COOKIE_STATE_UNKNOWN,
|
---|
483 | BINDSTATUS_COOKIE_STATE_ACCEPT,
|
---|
484 | BINDSTATUS_COOKIE_STATE_REJECT,
|
---|
485 | BINDSTATUS_COOKIE_STATE_PROMPT,
|
---|
486 | BINDSTATUS_COOKIE_STATE_LEASH,
|
---|
487 | BINDSTATUS_COOKIE_STATE_DOWNGRADE,
|
---|
488 | BINDSTATUS_POLICY_HREF,
|
---|
489 | BINDSTATUS_P3P_HEADER,
|
---|
490 | BINDSTATUS_SESSION_COOKIE_RECEIVED,
|
---|
491 | BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
|
---|
492 | BINDSTATUS_SESSION_COOKIES_ALLOWED,
|
---|
493 | BINDSTATUS_CACHECONTROL,
|
---|
494 | BINDSTATUS_CONTENTDISPOSITIONFILENAME,
|
---|
495 | BINDSTATUS_MIMETEXTPLAINMISMATCH,
|
---|
496 | BINDSTATUS_PUBLISHERAVAILABLE,
|
---|
497 | BINDSTATUS_DISPLAYNAMEAVAILABLE,
|
---|
498 | BINDSTATUS_SSLUX_NAVBLOCKED,
|
---|
499 | BINDSTATUS_SERVER_MIMETYPEAVAILABLE,
|
---|
500 | BINDSTATUS_SNIFFED_CLASSIDAVAILABLE,
|
---|
501 | BINDSTATUS_64BIT_PROGRESS,
|
---|
502 | BINDSTATUS_LAST = BINDSTATUS_64BIT_PROGRESS,
|
---|
503 | BINDSTATUS_RESERVED_0,
|
---|
504 | BINDSTATUS_RESERVED_1,
|
---|
505 | BINDSTATUS_RESERVED_2,
|
---|
506 | BINDSTATUS_RESERVED_3,
|
---|
507 | BINDSTATUS_RESERVED_4,
|
---|
508 | BINDSTATUS_RESERVED_5,
|
---|
509 | BINDSTATUS_RESERVED_6,
|
---|
510 | BINDSTATUS_RESERVED_7,
|
---|
511 | BINDSTATUS_RESERVED_8,
|
---|
512 | BINDSTATUS_RESERVED_9,
|
---|
513 | BINDSTATUS_LAST_PRIVATE = BINDSTATUS_RESERVED_9
|
---|
514 | } BINDSTATUS;
|
---|
515 | cpp_quote("")
|
---|
516 | HRESULT OnStartBinding ([in] DWORD dwReserved,[in] IBinding *pib);
|
---|
517 | HRESULT GetPriority ([out] LONG *pnPriority);
|
---|
518 | HRESULT OnLowResource ([in] DWORD reserved);
|
---|
519 | HRESULT OnProgress ([in] ULONG ulProgress,[in] ULONG ulProgressMax,[in] ULONG ulStatusCode,[in, unique] LPCWSTR szStatusText);
|
---|
520 | HRESULT OnStopBinding ([in] HRESULT hresult,[in, unique] LPCWSTR szError);
|
---|
521 | [local] HRESULT GetBindInfo ([out] DWORD *grfBINDF,[in, out, unique] BINDINFO *pbindinfo);
|
---|
522 | [call_as (GetBindInfo)] HRESULT RemoteGetBindInfo ([out] DWORD *grfBINDF,[in, out, unique] RemBINDINFO *pbindinfo,[in, out, unique] RemSTGMEDIUM *pstgmed);
|
---|
523 | [local] HRESULT OnDataAvailable ([in] DWORD grfBSCF,[in] DWORD dwSize,[in] FORMATETC *pformatetc,[in] STGMEDIUM *pstgmed);
|
---|
524 | [call_as (OnDataAvailable)] HRESULT RemoteOnDataAvailable ([in] DWORD grfBSCF,[in] DWORD dwSize,[in] RemFORMATETC *pformatetc,[in] RemSTGMEDIUM *pstgmed);
|
---|
525 | HRESULT OnObjectAvailable ([in] REFIID riid,[in, iid_is (riid)] IUnknown *punk);
|
---|
526 | }
|
---|
527 | cpp_quote("#endif")
|
---|
528 | cpp_quote("#endif")
|
---|
529 |
|
---|
530 | cpp_quote("")
|
---|
531 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
532 | cpp_quote("#ifndef _LPBINDSTATUSCALLBACKEX_DEFINED")
|
---|
533 | cpp_quote("#define _LPBINDSTATUSCALLBACKEX_DEFINED")
|
---|
534 | cpp_quote("")
|
---|
535 | [object, uuid (aaa74ef9-8ee7-4659-88d9-f8c504da73cc), pointer_default (unique)]
|
---|
536 | interface IBindStatusCallbackEx: IBindStatusCallback {
|
---|
537 | typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
|
---|
538 | cpp_quote("")
|
---|
539 | typedef enum {
|
---|
540 | BINDF2_DISABLEBASICOVERHTTP = 0x1,
|
---|
541 | BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x2,
|
---|
542 | BINDF2_READ_DATA_GREATER_THAN_4GB = 0x4,
|
---|
543 | BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x8,
|
---|
544 | BINDF2_SETDOWNLOADMODE = 0x20,
|
---|
545 | BINDF2_DISABLE_HTTP_REDIRECT_CACHING = 0x40,
|
---|
546 | BINDF2_KEEP_CALLBACK_MODULE_LOADED = 0x80,
|
---|
547 | BINDF2_ALLOW_PROXY_CRED_PROMPT = 0x100,
|
---|
548 | BINDF2_RESERVED_F = 0x20000,
|
---|
549 | BINDF2_RESERVED_E = 0x40000,
|
---|
550 | BINDF2_RESERVED_D = 0x80000,
|
---|
551 | BINDF2_RESERVED_C = 0x100000,
|
---|
552 | BINDF2_RESERVED_B = 0x200000,
|
---|
553 | BINDF2_RESERVED_A = 0x400000,
|
---|
554 | BINDF2_RESERVED_9 = 0x800000,
|
---|
555 | BINDF2_RESERVED_8 = 0x1000000,
|
---|
556 | BINDF2_RESERVED_7 = 0x2000000,
|
---|
557 | BINDF2_RESERVED_6 = 0x4000000,
|
---|
558 | BINDF2_RESERVED_5 = 0x8000000,
|
---|
559 | BINDF2_RESERVED_4 = 0x10000000,
|
---|
560 | BINDF2_RESERVED_3 = 0x20000000,
|
---|
561 | BINDF2_RESERVED_2 = 0x40000000,
|
---|
562 | BINDF2_RESERVED_1 = 0x80000000,
|
---|
563 | } BINDF2;
|
---|
564 | cpp_quote("")
|
---|
565 | [local] HRESULT GetBindInfoEx ([out] DWORD *grfBINDF,[in, out, unique] BINDINFO *pbindinfo,[out] DWORD *grfBINDF2,[out] DWORD *pdwReserved);
|
---|
566 | [call_as (GetBindInfoEx)] HRESULT RemoteGetBindInfoEx ([out] DWORD *grfBINDF,[in, out, unique] RemBINDINFO *pbindinfo,[in, out, unique] RemSTGMEDIUM *pstgmed,[out] DWORD *grfBINDF2,[out] DWORD *pdwReserved);
|
---|
567 | }
|
---|
568 | cpp_quote("#endif")
|
---|
569 |
|
---|
570 | cpp_quote("")
|
---|
571 | cpp_quote("#ifndef _LPAUTHENTICATION_DEFINED")
|
---|
572 | cpp_quote("#define _LPAUTHENTICATION_DEFINED")
|
---|
573 | cpp_quote("")
|
---|
574 | [object, uuid (79eac9d0-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
575 | interface IAuthenticate : IUnknown {
|
---|
576 | typedef [unique] IAuthenticate *LPAUTHENTICATION;
|
---|
577 | cpp_quote("")
|
---|
578 | HRESULT Authenticate ([out] HWND *phwnd,[out] LPWSTR *pszUsername,[out] LPWSTR *pszPassword);
|
---|
579 | }
|
---|
580 | cpp_quote("#endif")
|
---|
581 |
|
---|
582 | cpp_quote("")
|
---|
583 | cpp_quote("#ifndef _LPAUTHENTICATIONEX_DEFINED")
|
---|
584 | cpp_quote("#define _LPAUTHENTICATIONEX_DEFINED")
|
---|
585 | cpp_quote("")
|
---|
586 | [object, uuid (2ad1edaf-d83d-48b5-9adf-03dbe19f53bd), pointer_default (unique)]
|
---|
587 | interface IAuthenticateEx : IAuthenticate {
|
---|
588 | typedef [unique] IAuthenticateEx *LPAUTHENTICATIONEX;
|
---|
589 | cpp_quote("")
|
---|
590 | typedef enum {
|
---|
591 | AUTHENTICATEF_PROXY = 0x1,
|
---|
592 | AUTHENTICATEF_BASIC = 0x2,
|
---|
593 | AUTHENTICATEF_HTTP = 0x4,
|
---|
594 | } AUTHENTICATEF;
|
---|
595 | cpp_quote("")
|
---|
596 | typedef struct _tagAUTHENTICATEINFO {
|
---|
597 | DWORD dwFlags;
|
---|
598 | DWORD dwReserved;
|
---|
599 | } AUTHENTICATEINFO;
|
---|
600 | cpp_quote("")
|
---|
601 | HRESULT AuthenticateEx ([out] HWND *phwnd,[out] LPWSTR *pszUsername,[out] LPWSTR *pszPassword,[in] AUTHENTICATEINFO *pauthinfo);
|
---|
602 | }
|
---|
603 | cpp_quote("#endif")
|
---|
604 |
|
---|
605 | cpp_quote("")
|
---|
606 | cpp_quote("#ifndef _LPHTTPNEGOTIATE_DEFINED")
|
---|
607 | cpp_quote("#define _LPHTTPNEGOTIATE_DEFINED")
|
---|
608 | cpp_quote("")
|
---|
609 | [object, uuid (79eac9d2-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
610 | interface IHttpNegotiate : IUnknown {
|
---|
611 | typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
|
---|
612 | cpp_quote("")
|
---|
613 | HRESULT BeginningTransaction ([in] LPCWSTR szURL,[in, unique] LPCWSTR szHeaders,[in] DWORD dwReserved,[out] LPWSTR *pszAdditionalHeaders);
|
---|
614 | HRESULT OnResponse ([in] DWORD dwResponseCode,[in, unique] LPCWSTR szResponseHeaders,[in, unique] LPCWSTR szRequestHeaders,[out] LPWSTR *pszAdditionalRequestHeaders);
|
---|
615 | }
|
---|
616 | cpp_quote("#endif")
|
---|
617 |
|
---|
618 | cpp_quote("")
|
---|
619 | cpp_quote("#ifndef _LPHTTPNEGOTIATE2_DEFINED")
|
---|
620 | cpp_quote("#define _LPHTTPNEGOTIATE2_DEFINED")
|
---|
621 | cpp_quote("")
|
---|
622 | [object, uuid (4f9f9fcb-E0F4-48eb-B7AB-FA2EA9365CB4), pointer_default (unique)]
|
---|
623 | interface IHttpNegotiate2 : IHttpNegotiate {
|
---|
624 | typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
|
---|
625 | cpp_quote("")
|
---|
626 | HRESULT GetRootSecurityId ([out, size_is (*pcbSecurityId)]BYTE *pbSecurityId,[in, out]DWORD *pcbSecurityId,[in] DWORD_PTR dwReserved);
|
---|
627 | }
|
---|
628 | cpp_quote("#endif")
|
---|
629 |
|
---|
630 | cpp_quote("")
|
---|
631 | cpp_quote("#ifndef _LPHTTPNEGOTIATE3_DEFINED")
|
---|
632 | cpp_quote("#define _LPHTTPNEGOTIATE3_DEFINED")
|
---|
633 | cpp_quote("")
|
---|
634 | [object, uuid (57b6c80a-34c2-4602-bc26-66a02fc57153), pointer_default (unique)]
|
---|
635 | interface IHttpNegotiate3 : IHttpNegotiate2 {
|
---|
636 | typedef [unique] IHttpNegotiate3 *LPHTTPNEGOTIATE3;
|
---|
637 | cpp_quote("")
|
---|
638 | HRESULT GetSerializedClientCertContext ([out, size_is (,*pcbCert)]BYTE **ppbCert,[out] DWORD *pcbCert);
|
---|
639 | }
|
---|
640 | cpp_quote("#endif")
|
---|
641 |
|
---|
642 | cpp_quote("")
|
---|
643 | cpp_quote("#ifndef _LPWININETFILESTREAM_DEFINED")
|
---|
644 | cpp_quote("#define _LPWININETFILESTREAM_DEFINED")
|
---|
645 | cpp_quote("")
|
---|
646 | [object, uuid (F134C4B7-B1F8-4e75-B886-74b90943becb), pointer_default (unique)]
|
---|
647 | interface IWinInetFileStream : IUnknown {
|
---|
648 | typedef [unique] IWinInetFileStream *LPWININETFILESTREAM;
|
---|
649 | cpp_quote("")
|
---|
650 | HRESULT SetHandleForUnlock ([in] DWORD_PTR hWinInetLockHandle,[in] DWORD_PTR dwReserved);
|
---|
651 | HRESULT SetDeleteFile ([in] DWORD_PTR dwReserved);
|
---|
652 | }
|
---|
653 | cpp_quote("#endif")
|
---|
654 |
|
---|
655 | cpp_quote("")
|
---|
656 | cpp_quote("#ifndef _LPWINDOWFORBINDINGUI_DEFINED")
|
---|
657 | cpp_quote("#define _LPWINDOWFORBINDINGUI_DEFINED")
|
---|
658 | cpp_quote("")
|
---|
659 | [local, object, uuid (79eac9d5-bafa-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
660 | interface IWindowForBindingUI : IUnknown {
|
---|
661 | typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
|
---|
662 | cpp_quote("")
|
---|
663 | HRESULT GetWindow ([in] REFGUID rguidReason,[out] HWND *phwnd);
|
---|
664 | }
|
---|
665 | cpp_quote("#endif")
|
---|
666 |
|
---|
667 | cpp_quote("")
|
---|
668 | cpp_quote("#ifndef _LPCODEINSTALL_DEFINED")
|
---|
669 | cpp_quote("#define _LPCODEINSTALL_DEFINED")
|
---|
670 | cpp_quote("")
|
---|
671 | [local, object, uuid (79eac9d1-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
672 | interface ICodeInstall : IWindowForBindingUI {
|
---|
673 | typedef [unique] ICodeInstall *LPCODEINSTALL;
|
---|
674 | cpp_quote("")
|
---|
675 | typedef enum {
|
---|
676 | CIP_DISK_FULL,
|
---|
677 | CIP_ACCESS_DENIED,
|
---|
678 | CIP_NEWER_VERSION_EXISTS,
|
---|
679 | CIP_OLDER_VERSION_EXISTS,
|
---|
680 | CIP_NAME_CONFLICT,
|
---|
681 | CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
|
---|
682 | CIP_EXE_SELF_REGISTERATION_TIMEOUT,
|
---|
683 | CIP_UNSAFE_TO_ABORT,
|
---|
684 | CIP_NEED_REBOOT,
|
---|
685 | CIP_NEED_REBOOT_UI_PERMISSION
|
---|
686 | } CIP_STATUS;
|
---|
687 | cpp_quote("")
|
---|
688 | HRESULT OnCodeInstallProblem ([in] ULONG ulStatusCode,[in, unique] LPCWSTR szDestination,[in, unique] LPCWSTR szSource,[in] DWORD dwReserved);
|
---|
689 | }
|
---|
690 | cpp_quote("#endif")
|
---|
691 | cpp_quote("#endif")
|
---|
692 |
|
---|
693 | cpp_quote("")
|
---|
694 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
695 | cpp_quote("#ifndef _LPUri_DEFINED")
|
---|
696 | cpp_quote("#define _LPUri_DEFINED")
|
---|
697 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)")
|
---|
698 | [object, uuid (A39EE748-6a27-4817-A6F2-13914bef5890), pointer_default (unique)]
|
---|
699 | interface IUri : IUnknown {
|
---|
700 | typedef enum {
|
---|
701 | Uri_PROPERTY_ABSOLUTE_URI = 0,
|
---|
702 | Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
|
---|
703 | Uri_PROPERTY_AUTHORITY = 1,
|
---|
704 | Uri_PROPERTY_DISPLAY_URI = 2,
|
---|
705 | Uri_PROPERTY_DOMAIN = 3,
|
---|
706 | Uri_PROPERTY_EXTENSION = 4,
|
---|
707 | Uri_PROPERTY_FRAGMENT = 5,
|
---|
708 | Uri_PROPERTY_HOST = 6,
|
---|
709 | Uri_PROPERTY_PASSWORD = 7,
|
---|
710 | Uri_PROPERTY_PATH = 8,
|
---|
711 | Uri_PROPERTY_PATH_AND_QUERY = 9,
|
---|
712 | Uri_PROPERTY_QUERY = 10,
|
---|
713 | Uri_PROPERTY_RAW_URI = 11,
|
---|
714 | Uri_PROPERTY_SCHEME_NAME = 12,
|
---|
715 | Uri_PROPERTY_USER_INFO = 13,
|
---|
716 | Uri_PROPERTY_USER_NAME = 14,
|
---|
717 | Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
|
---|
718 |
|
---|
719 | Uri_PROPERTY_HOST_TYPE = 15,
|
---|
720 | Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
|
---|
721 | Uri_PROPERTY_PORT = 16,
|
---|
722 | Uri_PROPERTY_SCHEME = 17,
|
---|
723 | Uri_PROPERTY_ZONE = 18,
|
---|
724 | Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE,
|
---|
725 | } Uri_PROPERTY;
|
---|
726 | cpp_quote("")
|
---|
727 | typedef enum {
|
---|
728 | Uri_HOST_UNKNOWN,
|
---|
729 | Uri_HOST_DNS,
|
---|
730 | Uri_HOST_IPV4,
|
---|
731 | Uri_HOST_IPV6,
|
---|
732 | Uri_HOST_IDN,
|
---|
733 | } Uri_HOST_TYPE;
|
---|
734 | cpp_quote("")
|
---|
735 | HRESULT GetPropertyBSTR ([in, range (Uri_PROPERTY_STRING_START, Uri_PROPERTY_STRING_LAST)] Uri_PROPERTY uriProp,[out] BSTR *pbstrProperty,[in] DWORD dwFlags);
|
---|
736 | HRESULT GetPropertyLength ([in, range (Uri_PROPERTY_STRING_START, Uri_PROPERTY_STRING_LAST)] Uri_PROPERTY uriProp,[out] DWORD *pcchProperty,[in] DWORD dwFlags);
|
---|
737 | HRESULT GetPropertyDWORD ([in, range (Uri_PROPERTY_DWORD_START, Uri_PROPERTY_DWORD_LAST)] Uri_PROPERTY uriProp,[out] DWORD *pdwProperty,[in] DWORD dwFlags);
|
---|
738 | HRESULT HasProperty ([in, range (Uri_PROPERTY_STRING_START, Uri_PROPERTY_DWORD_LAST)] Uri_PROPERTY uriProp,[out] BOOL *pfHasProperty);
|
---|
739 | HRESULT GetAbsoluteUri ([out] BSTR *pbstrAbsoluteUri);
|
---|
740 | HRESULT GetAuthority ([out] BSTR *pbstrAuthority);
|
---|
741 | HRESULT GetDisplayUri ([out] BSTR *pbstrDisplayString);
|
---|
742 | HRESULT GetDomain ([out] BSTR *pbstrDomain);
|
---|
743 | HRESULT GetExtension ([out] BSTR *pbstrExtension);
|
---|
744 | HRESULT GetFragment ([out] BSTR *pbstrFragment);
|
---|
745 | HRESULT GetHost ([out] BSTR *pbstrHost);
|
---|
746 | HRESULT GetPassword ([out] BSTR *pbstrPassword);
|
---|
747 | HRESULT GetPath ([out] BSTR *pbstrPath);
|
---|
748 | HRESULT GetPathAndQuery ([out] BSTR *pbstrPathAndQuery);
|
---|
749 | HRESULT GetQuery ([out] BSTR *pbstrQuery);
|
---|
750 | HRESULT GetRawUri ([out] BSTR *pbstrRawUri);
|
---|
751 | HRESULT GetSchemeName ([out] BSTR *pbstrSchemeName);
|
---|
752 | HRESULT GetUserInfo ([out] BSTR *pbstrUserInfo);
|
---|
753 | HRESULT GetUserName ([out] BSTR *pbstrUserName);
|
---|
754 | HRESULT GetHostType ([out] DWORD *pdwHostType);
|
---|
755 | HRESULT GetPort ([out] DWORD *pdwPort);
|
---|
756 | HRESULT GetScheme ([out] DWORD *pdwScheme);
|
---|
757 | HRESULT GetZone ([out] DWORD *pdwZone);
|
---|
758 | HRESULT GetProperties ([out] LPDWORD pdwFlags);
|
---|
759 | HRESULT IsEqual ([in] IUri *pUri,[out] BOOL *pfEqual);
|
---|
760 | }
|
---|
761 |
|
---|
762 | cpp_quote("")
|
---|
763 | cpp_quote("STDAPI CreateUri(LPCWSTR pwzURI, DWORD dwFlags, DWORD_PTR dwReserved, IUri **ppURI);")
|
---|
764 | cpp_quote("STDAPI CreateUriWithFragment(")
|
---|
765 | cpp_quote("LPCWSTR pwzURI, LPCWSTR pwzFragment, DWORD dwFlags, DWORD_PTR dwReserved, IUri **ppURI);")
|
---|
766 | cpp_quote("#endif")
|
---|
767 |
|
---|
768 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
769 | cpp_quote("STDAPI CreateUriFromMultiByteString(LPCSTR pszANSIInputUri, DWORD dwEncodingFlags, DWORD dwCodePage, DWORD dwCreateFlags, DWORD_PTR dwReserved, IUri **ppUri);")
|
---|
770 | cpp_quote("#endif")
|
---|
771 | cpp_quote("")
|
---|
772 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)")
|
---|
773 | cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
|
---|
774 | cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
|
---|
775 | cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
|
---|
776 | cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
|
---|
777 | cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
|
---|
778 | cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
|
---|
779 | cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
|
---|
780 | cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
|
---|
781 | cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
|
---|
782 | cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
|
---|
783 | cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
|
---|
784 | cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
|
---|
785 | cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
|
---|
786 | cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
|
---|
787 | cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
|
---|
788 | cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
|
---|
789 | cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
|
---|
790 | cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
|
---|
791 | cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
|
---|
792 | cpp_quote("")
|
---|
793 | cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x1")
|
---|
794 | cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x2")
|
---|
795 | cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x4")
|
---|
796 | cpp_quote("#define Uri_CREATE_NOFRAG 0x8")
|
---|
797 | cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x10")
|
---|
798 | cpp_quote("#define Uri_CREATE_CANONICALIZE 0x100")
|
---|
799 | cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x20")
|
---|
800 | cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x40")
|
---|
801 | cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x80")
|
---|
802 | cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x200")
|
---|
803 | cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x400")
|
---|
804 | cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x800")
|
---|
805 | cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
|
---|
806 | cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
|
---|
807 | cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
|
---|
808 | cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
|
---|
809 | cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x10000")
|
---|
810 | cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x20000")
|
---|
811 | cpp_quote("")
|
---|
812 | cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x1")
|
---|
813 | cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x2")
|
---|
814 | cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x4")
|
---|
815 | cpp_quote("#define Uri_DISPLAY_NO_PUNYCODE 0x8")
|
---|
816 | cpp_quote("")
|
---|
817 | cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x1")
|
---|
818 | cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x2")
|
---|
819 | cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x4")
|
---|
820 | cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x8")
|
---|
821 | cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x10")
|
---|
822 | cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x20")
|
---|
823 | cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x40")
|
---|
824 | cpp_quote("")
|
---|
825 | cpp_quote("#define Uri_ENCODING_RFC (Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 | Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 | Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8)")
|
---|
826 | cpp_quote("")
|
---|
827 | cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x1")
|
---|
828 | cpp_quote("#endif")
|
---|
829 | cpp_quote("#endif")
|
---|
830 |
|
---|
831 | cpp_quote("")
|
---|
832 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
833 | [object, local, uuid (a158a630-ed6f-45fb-b987-f68676f57752), pointer_default (unique)]
|
---|
834 | interface IUriContainer : IUnknown {
|
---|
835 | HRESULT GetIUri ([out] IUri **ppIUri);
|
---|
836 | }
|
---|
837 | cpp_quote("")
|
---|
838 | [local, object, uuid (4221b2e1-8955-46c0-BD5B-DE9897565DE7), pointer_default (unique)]
|
---|
839 | interface IUriBuilder: IUnknown {
|
---|
840 | HRESULT CreateUriSimple ([in] DWORD dwAllowEncodingPropertyMask,[in] DWORD_PTR dwReserved,[out] IUri **ppIUri);
|
---|
841 | HRESULT CreateUri ([in] DWORD dwCreateFlags,[in] DWORD dwAllowEncodingPropertyMask,[in] DWORD_PTR dwReserved,[out] IUri **ppIUri);
|
---|
842 | HRESULT CreateUriWithFlags ([in] DWORD dwCreateFlags,[in] DWORD dwUriBuilderFlags,[in] DWORD dwAllowEncodingPropertyMask,[in] DWORD_PTR dwReserved,[out] IUri **ppIUri);
|
---|
843 | HRESULT GetIUri ([out]IUri **ppIUri);
|
---|
844 | HRESULT SetIUri ([in, unique]IUri *pIUri);
|
---|
845 | HRESULT GetFragment ([out] DWORD *pcchFragment,[out] LPCWSTR *ppwzFragment);
|
---|
846 | HRESULT GetHost ([out] DWORD *pcchHost,[out] LPCWSTR *ppwzHost);
|
---|
847 | HRESULT GetPassword ([out] DWORD *pcchPassword,[out] LPCWSTR *ppwzPassword);
|
---|
848 | HRESULT GetPath ([out] DWORD *pcchPath,[out] LPCWSTR *ppwzPath);
|
---|
849 | HRESULT GetPort ([out] BOOL *pfHasPort,[out]DWORD *pdwPort);
|
---|
850 | HRESULT GetQuery ([out] DWORD *pcchQuery,[out] LPCWSTR *ppwzQuery);
|
---|
851 | HRESULT GetSchemeName ([out] DWORD *pcchSchemeName,[out] LPCWSTR *ppwzSchemeName);
|
---|
852 | HRESULT GetUserName ([out] DWORD *pcchUserName,[out] LPCWSTR *ppwzUserName);
|
---|
853 | HRESULT SetFragment ([in]LPCWSTR pwzNewValue);
|
---|
854 | HRESULT SetHost ([in]LPCWSTR pwzNewValue);
|
---|
855 | HRESULT SetPassword ([in]LPCWSTR pwzNewValue);
|
---|
856 | HRESULT SetPath ([in]LPCWSTR pwzNewValue);
|
---|
857 | HRESULT SetPort ([in]BOOL fHasPort,[in]DWORD dwNewValue);
|
---|
858 | HRESULT SetQuery ([in]LPCWSTR pwzNewValue);
|
---|
859 | HRESULT SetSchemeName ([in]LPCWSTR pwzNewValue);
|
---|
860 | HRESULT SetUserName ([in]LPCWSTR pwzNewValue);
|
---|
861 | HRESULT RemoveProperties ([in]DWORD dwPropertyMask);
|
---|
862 | HRESULT HasBeenModified ([out]BOOL *pfModified);
|
---|
863 | };
|
---|
864 |
|
---|
865 | cpp_quote("")
|
---|
866 | [local, object, uuid (E982CE48-0b96-440c-BC37-0c869b27a29e), pointer_default (unique)]
|
---|
867 | interface IUriBuilderFactory: IUnknown {
|
---|
868 | HRESULT CreateIUriBuilder ([in] DWORD dwFlags,[in] DWORD_PTR dwReserved,[out] IUriBuilder **ppIUriBuilder);
|
---|
869 | HRESULT CreateInitializedIUriBuilder ([in] DWORD dwFlags,[in] DWORD_PTR dwReserved,[out] IUriBuilder **ppIUriBuilder);
|
---|
870 | };
|
---|
871 |
|
---|
872 | cpp_quote("")
|
---|
873 | cpp_quote("STDAPI CreateIUriBuilder(IUri *pIUri, DWORD dwFlags, DWORD_PTR dwReserved, IUriBuilder **ppIUriBuilder);")
|
---|
874 | cpp_quote("#endif")
|
---|
875 | cpp_quote("#endif")
|
---|
876 |
|
---|
877 | cpp_quote("")
|
---|
878 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
|
---|
879 | cpp_quote("#ifndef _LPWININETINFO_DEFINED")
|
---|
880 | cpp_quote("#define _LPWININETINFO_DEFINED")
|
---|
881 | cpp_quote("")
|
---|
882 | [object, uuid (79eac9d6-bafa-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
883 | interface IWinInetInfo : IUnknown {
|
---|
884 | typedef [unique] IWinInetInfo *LPWININETINFO;
|
---|
885 | [local] HRESULT QueryOption ([in] DWORD dwOption,[in, out, size_is (*pcbBuf)] LPVOID pBuffer,[in, out] DWORD *pcbBuf);
|
---|
886 | [call_as (QueryOption)] HRESULT RemoteQueryOption ([in] DWORD dwOption,[in, out, size_is (*pcbBuf)] BYTE *pBuffer,[in, out] DWORD *pcbBuf);
|
---|
887 | }
|
---|
888 | cpp_quote("#endif")
|
---|
889 |
|
---|
890 | cpp_quote("")
|
---|
891 | cpp_quote("#define WININETINFO_OPTION_LOCK_HANDLE 65534")
|
---|
892 |
|
---|
893 | cpp_quote("")
|
---|
894 | cpp_quote("#ifndef _LPHTTPSECURITY_DEFINED")
|
---|
895 | cpp_quote("#define _LPHTTPSECURITY_DEFINED")
|
---|
896 | cpp_quote("")
|
---|
897 | [local, object, uuid (79eac9d7-bafa-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
898 | interface IHttpSecurity : IWindowForBindingUI {
|
---|
899 | typedef [unique] IHttpSecurity *LPHTTPSECURITY;
|
---|
900 | cpp_quote("")
|
---|
901 | HRESULT OnSecurityProblem ([in] DWORD dwProblem);
|
---|
902 | }
|
---|
903 | cpp_quote("#endif")
|
---|
904 |
|
---|
905 | cpp_quote("")
|
---|
906 | cpp_quote("#ifndef _LPWININETHTTPINFO_DEFINED")
|
---|
907 | cpp_quote("#define _LPWININETHTTPINFO_DEFINED")
|
---|
908 | cpp_quote("")
|
---|
909 | [object, uuid (79eac9d8-bafa-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
910 | interface IWinInetHttpInfo : IWinInetInfo {
|
---|
911 | typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
|
---|
912 | cpp_quote("")
|
---|
913 | [local] HRESULT QueryInfo ([in] DWORD dwOption,[in, out, size_is (*pcbBuf)] LPVOID pBuffer,[in, out] DWORD *pcbBuf,[in, out] DWORD *pdwFlags,[in, out] DWORD *pdwReserved);
|
---|
914 | [call_as (QueryInfo)] HRESULT RemoteQueryInfo ([in] DWORD dwOption,[in, out, size_is (*pcbBuf)] BYTE *pBuffer,[in, out] DWORD *pcbBuf,[in, out] DWORD *pdwFlags,[in, out] DWORD *pdwReserved);
|
---|
915 | }
|
---|
916 | cpp_quote("#endif")
|
---|
917 |
|
---|
918 | cpp_quote("")
|
---|
919 | cpp_quote("#ifndef _LPWININETHTTPTIMEOUTS_DEFINED")
|
---|
920 | cpp_quote("#define _LPWININETHTTPTIMEOUTS_DEFINED")
|
---|
921 | [local, object, uuid (F286FA56-C1FD-4270-8e67-B3EB790A81E8), pointer_default (unique)]
|
---|
922 | interface IWinInetHttpTimeouts : IUnknown {
|
---|
923 | HRESULT GetRequestTimeouts ([out] DWORD *pdwConnectTimeout,[out] DWORD *pdwSendTimeout,[out] DWORD *pdwReceiveTimeout);
|
---|
924 | }
|
---|
925 | cpp_quote("#endif")
|
---|
926 |
|
---|
927 | cpp_quote("")
|
---|
928 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
929 | cpp_quote("#ifndef _LPWININETCACHEHINTS_DEFINED")
|
---|
930 | cpp_quote("#define _LPWININETCACHEHINTS_DEFINED")
|
---|
931 | cpp_quote("")
|
---|
932 | [local, object, uuid (DD1EC3B3-8391-4fdb-A9E6-347c3caaa7dd), pointer_default (unique)]
|
---|
933 | interface IWinInetCacheHints : IUnknown {
|
---|
934 | typedef [unique] IWinInetCacheHints *LPWININETCACHEHINTS;
|
---|
935 | cpp_quote("")
|
---|
936 | HRESULT SetCacheExtension ([in] LPCWSTR pwzExt,[in, out, size_is (*pcbCacheFile)] LPVOID pszCacheFile,[in, out] DWORD *pcbCacheFile,[in, out] DWORD *pdwWinInetError,[in, out] DWORD *pdwReserved);
|
---|
937 | }
|
---|
938 | cpp_quote("#endif")
|
---|
939 | cpp_quote("#endif")
|
---|
940 |
|
---|
941 | cpp_quote("")
|
---|
942 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
943 | cpp_quote("#ifndef _LPWININETCACHEHINTS2_DEFINED")
|
---|
944 | cpp_quote("#define _LPWININETCACHEHINTS2_DEFINED")
|
---|
945 | cpp_quote("")
|
---|
946 | [local, object, uuid (7857aeac-D31F-49bf-884e-DD46DF36780A), pointer_default (unique)]
|
---|
947 | interface IWinInetCacheHints2 : IWinInetCacheHints {
|
---|
948 | typedef [unique] IWinInetCacheHints2 *LPWININETCACHEHINTS2;
|
---|
949 | cpp_quote("")
|
---|
950 | HRESULT SetCacheExtension2 ([in] LPCWSTR pwzExt,[out, size_is (sizeof (WCHAR) *(*pcchCacheFile))]WCHAR *pwzCacheFile,[in, out] DWORD *pcchCacheFile,[out] DWORD *pdwWinInetError,[out] DWORD *pdwReserved);
|
---|
951 | }
|
---|
952 | cpp_quote("#endif")
|
---|
953 | cpp_quote("#endif")
|
---|
954 |
|
---|
955 | cpp_quote("")
|
---|
956 | cpp_quote("#define SID_IBindHost IID_IBindHost")
|
---|
957 | cpp_quote("#define SID_SBindHost IID_IBindHost")
|
---|
958 |
|
---|
959 | cpp_quote("")
|
---|
960 | cpp_quote("#ifndef _LPBINDHOST_DEFINED")
|
---|
961 | cpp_quote("#define _LPBINDHOST_DEFINED")
|
---|
962 |
|
---|
963 | cpp_quote("")
|
---|
964 | cpp_quote("EXTERN_C const GUID SID_BindHost;")
|
---|
965 | cpp_quote("")
|
---|
966 | [object, uuid (fc4801a1-2ba9-11cf-a229-00aa003d7352), pointer_default (unique)]
|
---|
967 | interface IBindHost : IUnknown {
|
---|
968 | typedef [unique] IBindHost *LPBINDHOST;
|
---|
969 | cpp_quote("")
|
---|
970 | HRESULT CreateMoniker ([in] LPOLESTR szName,[in] IBindCtx *pBC,[out] IMoniker **ppmk,[in] DWORD dwReserved);
|
---|
971 | [local] HRESULT MonikerBindToStorage ([in] IMoniker *pMk,[in] IBindCtx *pBC,[in] IBindStatusCallback *pBSC,[in] REFIID riid,[out] void **ppvObj);
|
---|
972 | [call_as (MonikerBindToStorage)] HRESULT RemoteMonikerBindToStorage ([in, unique] IMoniker *pMk,[in, unique] IBindCtx *pBC,[in, unique] IBindStatusCallback *pBSC,[in] REFIID riid,[out, iid_is (riid)] IUnknown **ppvObj);
|
---|
973 | [local] HRESULT MonikerBindToObject ([in] IMoniker *pMk,[in] IBindCtx *pBC,[in] IBindStatusCallback *pBSC,[in] REFIID riid,[out] void **ppvObj);
|
---|
974 | [call_as (MonikerBindToObject)] HRESULT RemoteMonikerBindToObject ([in, unique] IMoniker *pMk,[in, unique] IBindCtx *pBC,[in, unique] IBindStatusCallback *pBSC,[in] REFIID riid,[out, iid_is (riid)] IUnknown **ppvObj);
|
---|
975 | }
|
---|
976 | cpp_quote("#endif")
|
---|
977 |
|
---|
978 | cpp_quote("")
|
---|
979 | cpp_quote("#define URLOSTRM_USECACHEDCOPY_ONLY 0x1")
|
---|
980 | cpp_quote("#define URLOSTRM_USECACHEDCOPY 0x2")
|
---|
981 | cpp_quote("#define URLOSTRM_GETNEWESTVERSION 0x3")
|
---|
982 | cpp_quote("")
|
---|
983 | cpp_quote("struct IBindStatusCallback;")
|
---|
984 | cpp_quote("STDAPI HlinkSimpleNavigateToString(LPCWSTR szTarget, LPCWSTR szLocation, LPCWSTR szTargetFrameName, IUnknown *pUnk, IBindCtx *pbc, IBindStatusCallback *, DWORD grfHLNF, DWORD dwReserved);")
|
---|
985 | cpp_quote("STDAPI HlinkSimpleNavigateToMoniker(IMoniker *pmkTarget, LPCWSTR szLocation, LPCWSTR szTargetFrameName, IUnknown *pUnk, IBindCtx *pbc, IBindStatusCallback *, DWORD grfHLNF, DWORD dwReserved);")
|
---|
986 | cpp_quote("STDAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
987 | cpp_quote("STDAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
988 | cpp_quote("STDAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
989 | cpp_quote("STDAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
990 | cpp_quote("STDAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
991 | cpp_quote("STDAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
992 | cpp_quote("STDAPI URLDownloadToCacheFileA(LPUNKNOWN, LPCSTR, LPSTR, DWORD, DWORD, LPBINDSTATUSCALLBACK);")
|
---|
993 | cpp_quote("STDAPI URLDownloadToCacheFileW(LPUNKNOWN, LPCWSTR, LPWSTR, DWORD, DWORD, LPBINDSTATUSCALLBACK);")
|
---|
994 | cpp_quote("STDAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
995 | cpp_quote("STDAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
|
---|
996 | cpp_quote("")
|
---|
997 | cpp_quote("#define URLOpenStream __MINGW_NAME_AW(URLOpenStream)")
|
---|
998 | cpp_quote("#define URLOpenPullStream __MINGW_NAME_AW(URLOpenPullStream)")
|
---|
999 | cpp_quote("#define URLDownloadToFile __MINGW_NAME_AW(URLDownloadToFile)")
|
---|
1000 | cpp_quote("#define URLDownloadToCacheFile __MINGW_NAME_AW(URLDownloadToCacheFile)")
|
---|
1001 | cpp_quote("#define URLOpenBlockingStream __MINGW_NAME_AW(URLOpenBlockingStream)")
|
---|
1002 | cpp_quote("")
|
---|
1003 | cpp_quote("STDAPI HlinkGoBack(IUnknown *pUnk);")
|
---|
1004 | cpp_quote("STDAPI HlinkGoForward(IUnknown *pUnk);")
|
---|
1005 | cpp_quote("STDAPI HlinkNavigateString(IUnknown *pUnk, LPCWSTR szTarget);")
|
---|
1006 | cpp_quote("STDAPI HlinkNavigateMoniker(IUnknown *pUnk, IMoniker *pmkTarget);")
|
---|
1007 |
|
---|
1008 | cpp_quote("")
|
---|
1009 | cpp_quote("#ifndef _URLMON_NO_ASYNC_PLUGABLE_PROTOCOLS_")
|
---|
1010 | interface IInternet;
|
---|
1011 | interface IInternetBindInfo;
|
---|
1012 | interface IInternetBindInfoEx;
|
---|
1013 | interface IInternetProtocolRoot;
|
---|
1014 | interface IInternetProtocol;
|
---|
1015 | interface IInternetProtocolEx;
|
---|
1016 | interface IInternetProtocolSink;
|
---|
1017 | interface IInternetProtocolInfo;
|
---|
1018 | interface IInternetSession;
|
---|
1019 | interface IInternetProtocolSinkStackable;
|
---|
1020 |
|
---|
1021 | cpp_quote("")
|
---|
1022 | cpp_quote("#ifndef _LPIINTERNET")
|
---|
1023 | cpp_quote("#define _LPIINTERNET")
|
---|
1024 | cpp_quote("")
|
---|
1025 | [local, object, uuid (79eac9e0-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1026 | interface IInternet : IUnknown {
|
---|
1027 | typedef [unique] IInternet *LPIINTERNET;
|
---|
1028 | }
|
---|
1029 | cpp_quote("#endif")
|
---|
1030 |
|
---|
1031 | cpp_quote("")
|
---|
1032 | cpp_quote("#ifndef _LPIINTERNETBINDINFO")
|
---|
1033 | cpp_quote("#define _LPIINTERNETBINDINFO")
|
---|
1034 | cpp_quote("")
|
---|
1035 | [local, object, uuid (79eac9e1-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1036 | interface IInternetBindInfo : IUnknown {
|
---|
1037 | typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
|
---|
1038 | cpp_quote("")
|
---|
1039 | typedef enum tagBINDSTRING {
|
---|
1040 | BINDSTRING_HEADERS = 1,
|
---|
1041 | BINDSTRING_ACCEPT_MIMES,
|
---|
1042 | BINDSTRING_EXTRA_URL,
|
---|
1043 | BINDSTRING_LANGUAGE,
|
---|
1044 | BINDSTRING_USERNAME,
|
---|
1045 | BINDSTRING_PASSWORD,
|
---|
1046 | BINDSTRING_UA_PIXELS,
|
---|
1047 | BINDSTRING_UA_COLOR,
|
---|
1048 | BINDSTRING_OS,
|
---|
1049 | BINDSTRING_USER_AGENT,
|
---|
1050 | BINDSTRING_ACCEPT_ENCODINGS,
|
---|
1051 | BINDSTRING_POST_COOKIE,
|
---|
1052 | BINDSTRING_POST_DATA_MIME,
|
---|
1053 | BINDSTRING_URL,BINDSTRING_IID,
|
---|
1054 | BINDSTRING_FLAG_BIND_TO_OBJECT,
|
---|
1055 | BINDSTRING_PTR_BIND_CONTEXT,
|
---|
1056 | BINDSTRING_XDR_ORIGIN,
|
---|
1057 | BINDSTRING_DOWNLOADPATH,
|
---|
1058 | BINDSTRING_ROOTDOC_URL,
|
---|
1059 | BINDSTRING_INITIAL_FILENAME,
|
---|
1060 | BINDSTRING_PROXY_USERNAME,
|
---|
1061 | BINDSTRING_PROXY_PASSWORD
|
---|
1062 | } BINDSTRING;
|
---|
1063 | cpp_quote("")
|
---|
1064 | HRESULT GetBindInfo ([out] DWORD *grfBINDF,[in, out, unique] BINDINFO *pbindinfo);
|
---|
1065 | HRESULT GetBindString ([in] ULONG ulStringType,[in, out] LPOLESTR *ppwzStr,[in] ULONG cEl,[in, out] ULONG *pcElFetched);
|
---|
1066 | }
|
---|
1067 | cpp_quote("#endif")
|
---|
1068 |
|
---|
1069 | cpp_quote("")
|
---|
1070 | cpp_quote("#ifndef _LPIINTERNETBINDINFOEX")
|
---|
1071 | cpp_quote("#define _LPIINTERNETBINDINFOEX")
|
---|
1072 | cpp_quote("")
|
---|
1073 | [local, object, uuid (a3e015b7-a82c-4dcd-a150-569aeeed36ab), pointer_default (unique)]
|
---|
1074 | interface IInternetBindInfoEx : IInternetBindInfo {
|
---|
1075 | typedef [unique] IInternetBindInfoEx *LPIINTERNETBINDINFOEX;
|
---|
1076 | cpp_quote("")
|
---|
1077 | HRESULT GetBindInfoEx ([out] DWORD *grfBINDF,[in, out, unique] BINDINFO *pbindinfo,[out] DWORD *grfBINDF2,[out] DWORD *pdwReserved);
|
---|
1078 | }
|
---|
1079 | cpp_quote("#endif")
|
---|
1080 |
|
---|
1081 | cpp_quote("")
|
---|
1082 | cpp_quote("#ifndef _LPIINTERNETPROTOCOLROOT_DEFINED")
|
---|
1083 | cpp_quote("#define _LPIINTERNETPROTOCOLROOT_DEFINED")
|
---|
1084 | cpp_quote("")
|
---|
1085 | [local, object, uuid (79eac9e3-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1086 | interface IInternetProtocolRoot : IUnknown {
|
---|
1087 | typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
|
---|
1088 | cpp_quote("")
|
---|
1089 | typedef enum _tagPI_FLAGS {
|
---|
1090 | PI_PARSE_URL = 0x1,
|
---|
1091 | PI_FILTER_MODE = 0x2,
|
---|
1092 | PI_FORCE_ASYNC = 0x4,
|
---|
1093 | PI_USE_WORKERTHREAD = 0x8,
|
---|
1094 | PI_MIMEVERIFICATION = 0x10,
|
---|
1095 | PI_CLSIDLOOKUP = 0x20,
|
---|
1096 | PI_DATAPROGRESS = 0x40,
|
---|
1097 | PI_SYNCHRONOUS = 0x80,
|
---|
1098 | PI_APARTMENTTHREADED = 0x100,
|
---|
1099 | PI_CLASSINSTALL = 0x200,
|
---|
1100 | PI_PASSONBINDCTX = 0x2000,
|
---|
1101 | PI_NOMIMEHANDLER = 0x8000,
|
---|
1102 | PI_LOADAPPDIRECT = 0x4000,
|
---|
1103 | PD_FORCE_SWITCH = 0x10000,
|
---|
1104 | PI_PREFERDEFAULTHANDLER = 0x20000
|
---|
1105 | } PI_FLAGS;
|
---|
1106 | typedef struct _tagPROTOCOLDATA {
|
---|
1107 | DWORD grfFlags;
|
---|
1108 | DWORD dwState;
|
---|
1109 | LPVOID pData;
|
---|
1110 | ULONG cbData;
|
---|
1111 | } PROTOCOLDATA;
|
---|
1112 | cpp_quote("")
|
---|
1113 | typedef struct _tagStartParam {
|
---|
1114 | IID iid;
|
---|
1115 | IBindCtx *pIBindCtx;
|
---|
1116 | IUnknown *pItf;
|
---|
1117 | } StartParam;
|
---|
1118 | cpp_quote("")
|
---|
1119 | HRESULT Start ([in] LPCWSTR szUrl,[in] IInternetProtocolSink *pOIProtSink,[in] IInternetBindInfo *pOIBindInfo,[in] DWORD grfPI,[in] HANDLE_PTR dwReserved);
|
---|
1120 | HRESULT Continue ([in] PROTOCOLDATA *pProtocolData);
|
---|
1121 | HRESULT Abort ([in] HRESULT hrReason,[in] DWORD dwOptions);
|
---|
1122 | HRESULT Terminate ([in] DWORD dwOptions);
|
---|
1123 | HRESULT Suspend ();
|
---|
1124 | HRESULT Resume ();
|
---|
1125 | }
|
---|
1126 | cpp_quote("#endif")
|
---|
1127 |
|
---|
1128 | cpp_quote("")
|
---|
1129 | cpp_quote("#ifndef _LPIINTERNETPROTOCOL_DEFINED")
|
---|
1130 | cpp_quote("#define _LPIINTERNETPROTOCOL_DEFINED")
|
---|
1131 | cpp_quote("")
|
---|
1132 | [local, object, uuid (79eac9e4-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1133 | interface IInternetProtocol : IInternetProtocolRoot {
|
---|
1134 | typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
|
---|
1135 | cpp_quote("")
|
---|
1136 | HRESULT Read ([in, out, size_is (cb), length_is (*pcbRead)]void *pv,[in] ULONG cb,[out] ULONG *pcbRead);
|
---|
1137 | HRESULT Seek ([in] LARGE_INTEGER dlibMove,[in] DWORD dwOrigin,[out] ULARGE_INTEGER *plibNewPosition);
|
---|
1138 | HRESULT LockRequest ([in] DWORD dwOptions);
|
---|
1139 | HRESULT UnlockRequest ();
|
---|
1140 | }
|
---|
1141 | cpp_quote("#endif")
|
---|
1142 |
|
---|
1143 | cpp_quote("")
|
---|
1144 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1145 | cpp_quote("#ifndef _LPIINTERNETPROTOCOLEX_DEFINED")
|
---|
1146 | cpp_quote("#define _LPIINTERNETPROTOCOLEX_DEFINED")
|
---|
1147 | cpp_quote("")
|
---|
1148 | [local, object, uuid (C7A98E66-1010-492c-A1C8-C809E1F75905), pointer_default (unique)]
|
---|
1149 | interface IInternetProtocolEx: IInternetProtocol {
|
---|
1150 | HRESULT StartEx ([in] IUri *pUri,[in] IInternetProtocolSink *pOIProtSink,[in] IInternetBindInfo *pOIBindInfo,[in] DWORD grfPI,[in] HANDLE_PTR dwReserved);
|
---|
1151 | }
|
---|
1152 | cpp_quote("#endif")
|
---|
1153 | cpp_quote("#endif")
|
---|
1154 |
|
---|
1155 | cpp_quote("")
|
---|
1156 | cpp_quote("#ifndef _LPIINTERNETPROTOCOLSINK_DEFINED")
|
---|
1157 | cpp_quote("#define _LPIINTERNETPROTOCOLSINK_DEFINED")
|
---|
1158 | [local, object, uuid (79eac9e5-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1159 | interface IInternetProtocolSink : IUnknown {
|
---|
1160 | typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
|
---|
1161 | cpp_quote("")
|
---|
1162 | HRESULT Switch ([in] PROTOCOLDATA *pProtocolData);
|
---|
1163 | HRESULT ReportProgress ([in] ULONG ulStatusCode,[in] LPCWSTR szStatusText);
|
---|
1164 | HRESULT ReportData ([in] DWORD grfBSCF,[in] ULONG ulProgress,[in] ULONG ulProgressMax);
|
---|
1165 | HRESULT ReportResult ([in] HRESULT hrResult,[in] DWORD dwError,[in] LPCWSTR szResult);
|
---|
1166 | }
|
---|
1167 | cpp_quote("#endif")
|
---|
1168 |
|
---|
1169 | cpp_quote("")
|
---|
1170 | cpp_quote("#ifndef _LPIINTERNETPROTOCOLSINKSTACKABLE_DEFINED")
|
---|
1171 | cpp_quote("#define _LPIINTERNETPROTOCOLSINKSTACKABLE_DEFINED")
|
---|
1172 | cpp_quote("")
|
---|
1173 | [local, object, uuid (79eac9f0-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1174 | interface IInternetProtocolSinkStackable : IUnknown {
|
---|
1175 | typedef [unique] IInternetProtocolSinkStackable *LPIINTERNETPROTOCOLSINKStackable;
|
---|
1176 | cpp_quote("")
|
---|
1177 | HRESULT SwitchSink ([in] IInternetProtocolSink *pOIProtSink);
|
---|
1178 | HRESULT CommitSwitch ();
|
---|
1179 | HRESULT RollbackSwitch ();
|
---|
1180 | }
|
---|
1181 | cpp_quote("#endif")
|
---|
1182 |
|
---|
1183 | cpp_quote("")
|
---|
1184 | cpp_quote("#ifndef _LPIINTERNETSESSION_DEFINED")
|
---|
1185 | cpp_quote("#define _LPIINTERNETSESSION_DEFINED")
|
---|
1186 | cpp_quote("")
|
---|
1187 | [local, object, uuid (79eac9e7-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1188 | interface IInternetSession : IUnknown {
|
---|
1189 | typedef [unique] IInternetSession *LPIINTERNETSESSION;
|
---|
1190 | cpp_quote("")
|
---|
1191 | typedef enum _tagOIBDG_FLAGS {
|
---|
1192 | OIBDG_APARTMENTTHREADED = 0x100,
|
---|
1193 | OIBDG_DATAONLY = 0x1000
|
---|
1194 | } OIBDG_FLAGS;
|
---|
1195 | cpp_quote("")
|
---|
1196 | HRESULT RegisterNameSpace ([in] IClassFactory *pCF,[in] REFCLSID rclsid,[in] LPCWSTR pwzProtocol,[in] ULONG cPatterns,[in] const LPCWSTR *ppwzPatterns,[in] DWORD dwReserved);
|
---|
1197 | HRESULT UnregisterNameSpace ([in] IClassFactory *pCF,[in] LPCWSTR pszProtocol);
|
---|
1198 | HRESULT RegisterMimeFilter ([in] IClassFactory *pCF,[in] REFCLSID rclsid,[in] LPCWSTR pwzType);
|
---|
1199 | HRESULT UnregisterMimeFilter ([in] IClassFactory *pCF,[in] LPCWSTR pwzType);
|
---|
1200 | HRESULT CreateBinding ([in] LPBC pBC,[in] LPCWSTR szUrl,[in] IUnknown *pUnkOuter,[out, unique] IUnknown **ppUnk,[out, unique] IInternetProtocol **ppOInetProt,[in] DWORD dwOption);
|
---|
1201 | HRESULT SetSessionOption ([in] DWORD dwOption,[in] LPVOID pBuffer,[in] DWORD dwBufferLength,[in] DWORD dwReserved);
|
---|
1202 | HRESULT GetSessionOption ([in] DWORD dwOption,[in, out] LPVOID pBuffer,[in, out] DWORD *pdwBufferLength,[in] DWORD dwReserved);
|
---|
1203 | }
|
---|
1204 | cpp_quote("#endif")
|
---|
1205 |
|
---|
1206 | cpp_quote("")
|
---|
1207 | cpp_quote("#ifndef _LPIINTERNETTHREADSWITCH_DEFINED")
|
---|
1208 | cpp_quote("#define _LPIINTERNETTHREADSWITCH_DEFINED")
|
---|
1209 | cpp_quote("")
|
---|
1210 | [local, object, uuid (79eac9e8-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1211 | interface IInternetThreadSwitch : IUnknown {
|
---|
1212 | typedef [unique] IInternetThreadSwitch *LPIINTERNETTHREADSWITCH;
|
---|
1213 | cpp_quote("")
|
---|
1214 | HRESULT Prepare ();
|
---|
1215 | HRESULT Continue ();
|
---|
1216 | }
|
---|
1217 | cpp_quote("#endif")
|
---|
1218 |
|
---|
1219 | cpp_quote("")
|
---|
1220 | cpp_quote("#ifndef _LPIINTERNETPRIORITY_DEFINED")
|
---|
1221 | cpp_quote("#define _LPIINTERNETPRIORITY_DEFINED")
|
---|
1222 | cpp_quote("")
|
---|
1223 | [local, object, uuid (79eac9eb-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1224 | interface IInternetPriority : IUnknown {
|
---|
1225 | typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
|
---|
1226 | cpp_quote("")
|
---|
1227 | HRESULT SetPriority ([in] LONG nPriority);
|
---|
1228 | HRESULT GetPriority ([out] LONG *pnPriority);
|
---|
1229 | }
|
---|
1230 | cpp_quote("#endif")
|
---|
1231 |
|
---|
1232 | cpp_quote("")
|
---|
1233 | cpp_quote("#ifndef _LPIINTERNETPROTOCOLINFO_DEFINED")
|
---|
1234 | cpp_quote("#define _LPIINTERNETPROTOCOLINFO_DEFINED")
|
---|
1235 | cpp_quote("")
|
---|
1236 | [local, object, uuid (79eac9ec-baf9-11ce-8c82-00aa004ba90b), pointer_default (unique)]
|
---|
1237 | interface IInternetProtocolInfo : IUnknown {
|
---|
1238 | typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
|
---|
1239 | cpp_quote("")
|
---|
1240 | typedef enum _tagPARSEACTION {
|
---|
1241 | PARSE_CANONICALIZE = 1,
|
---|
1242 | PARSE_FRIENDLY,
|
---|
1243 | PARSE_SECURITY_URL,
|
---|
1244 | PARSE_ROOTDOCUMENT,
|
---|
1245 | PARSE_DOCUMENT,
|
---|
1246 | PARSE_ANCHOR,
|
---|
1247 | PARSE_ENCODE_IS_UNESCAPE,
|
---|
1248 | PARSE_DECODE_IS_ESCAPE,
|
---|
1249 | PARSE_PATH_FROM_URL,
|
---|
1250 | PARSE_URL_FROM_PATH,
|
---|
1251 | PARSE_MIME,
|
---|
1252 | PARSE_SERVER,
|
---|
1253 | PARSE_SCHEMA,
|
---|
1254 | PARSE_SITE,
|
---|
1255 | PARSE_DOMAIN,
|
---|
1256 | PARSE_LOCATION,
|
---|
1257 | PARSE_SECURITY_DOMAIN,
|
---|
1258 | PARSE_ESCAPE,
|
---|
1259 | PARSE_UNESCAPE
|
---|
1260 | } PARSEACTION;
|
---|
1261 | cpp_quote("")
|
---|
1262 | typedef enum _tagPSUACTION {
|
---|
1263 | PSU_DEFAULT = 1,
|
---|
1264 | PSU_SECURITY_URL_ONLY
|
---|
1265 | } PSUACTION;
|
---|
1266 | cpp_quote("")
|
---|
1267 | typedef enum _tagQUERYOPTION {
|
---|
1268 | QUERY_EXPIRATION_DATE = 1,
|
---|
1269 | QUERY_TIME_OF_LAST_CHANGE,
|
---|
1270 | QUERY_CONTENT_ENCODING,
|
---|
1271 | QUERY_CONTENT_TYPE,
|
---|
1272 | QUERY_REFRESH,
|
---|
1273 | QUERY_RECOMBINE,
|
---|
1274 | QUERY_CAN_NAVIGATE,
|
---|
1275 | QUERY_USES_NETWORK,
|
---|
1276 | QUERY_IS_CACHED,
|
---|
1277 | QUERY_IS_INSTALLEDENTRY,
|
---|
1278 | QUERY_IS_CACHED_OR_MAPPED,
|
---|
1279 | QUERY_USES_CACHE,
|
---|
1280 | QUERY_IS_SECURE,
|
---|
1281 | QUERY_IS_SAFE,
|
---|
1282 | QUERY_USES_HISTORYFOLDER,
|
---|
1283 | QUERY_IS_CACHED_AND_USABLE_OFFLINE
|
---|
1284 | } QUERYOPTION;
|
---|
1285 | cpp_quote("")
|
---|
1286 | HRESULT ParseUrl ([in] LPCWSTR pwzUrl,[in] PARSEACTION ParseAction,[in] DWORD dwParseFlags,[out] LPWSTR pwzResult,[in] DWORD cchResult,[out] DWORD *pcchResult,[in] DWORD dwReserved);
|
---|
1287 | HRESULT CombineUrl ([in] LPCWSTR pwzBaseUrl,[in] LPCWSTR pwzRelativeUrl,[in] DWORD dwCombineFlags,[out] LPWSTR pwzResult,[in] DWORD cchResult,[out] DWORD *pcchResult,[in] DWORD dwReserved);
|
---|
1288 | HRESULT CompareUrl ([in] LPCWSTR pwzUrl1,[in] LPCWSTR pwzUrl2,[in] DWORD dwCompareFlags);
|
---|
1289 | HRESULT QueryInfo ([in] LPCWSTR pwzUrl,[in] QUERYOPTION OueryOption,[in] DWORD dwQueryFlags,[in, out, size_is (*pcbBuf)] LPVOID pBuffer,[in] DWORD cbBuffer,[in, out] DWORD *pcbBuf,[in] DWORD dwReserved);
|
---|
1290 | }
|
---|
1291 |
|
---|
1292 | cpp_quote("")
|
---|
1293 | cpp_quote("#ifndef URLMON_STRICT")
|
---|
1294 | cpp_quote("#define PARSE_ENCODE PARSE_ENCODE_IS_UNESCAPE")
|
---|
1295 | cpp_quote("#define PARSE_DECODE PARSE_DECODE_IS_ESCAPE")
|
---|
1296 | cpp_quote("#endif")
|
---|
1297 | cpp_quote("#endif")
|
---|
1298 |
|
---|
1299 | cpp_quote("")
|
---|
1300 | cpp_quote("#define IOInet IInternet")
|
---|
1301 | cpp_quote("#define IOInetBindInfo IInternetBindInfo")
|
---|
1302 | cpp_quote("#define IOInetBindInfoEx IInternetBindInfoEx")
|
---|
1303 | cpp_quote("#define IOInetProtocolRoot IInternetProtocolRoot")
|
---|
1304 | cpp_quote("#define IOInetProtocol IInternetProtocol")
|
---|
1305 | cpp_quote("")
|
---|
1306 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1307 | cpp_quote("#define IOInetProtocolEx IInternetProtocolEx")
|
---|
1308 | cpp_quote("#endif")
|
---|
1309 | cpp_quote("#define IOInetProtocolSink IInternetProtocolSink")
|
---|
1310 | cpp_quote("#define IOInetProtocolInfo IInternetProtocolInfo")
|
---|
1311 | cpp_quote("#define IOInetSession IInternetSession")
|
---|
1312 | cpp_quote("#define IOInetPriority IInternetPriority")
|
---|
1313 | cpp_quote("#define IOInetThreadSwitch IInternetThreadSwitch")
|
---|
1314 | cpp_quote("#define IOInetProtocolSinkStackable IInternetProtocolSinkStackable")
|
---|
1315 | cpp_quote("")
|
---|
1316 | cpp_quote("#define LPOINET LPIINTERNET")
|
---|
1317 | cpp_quote("#define LPOINETPROTOCOLINFO LPIINTERNETPROTOCOLINFO")
|
---|
1318 | cpp_quote("#define LPOINETBINDINFO LPIINTERNETBINDINFO")
|
---|
1319 | cpp_quote("#define LPOINETPROTOCOLROOT LPIINTERNETPROTOCOLROOT")
|
---|
1320 | cpp_quote("#define LPOINETPROTOCOL LPIINTERNETPROTOCOL")
|
---|
1321 | cpp_quote("")
|
---|
1322 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1323 | cpp_quote("#define LPOINETPROTOCOLEX LPIINTERNETPROTOCOLEX")
|
---|
1324 | cpp_quote("#endif")
|
---|
1325 | cpp_quote("#define LPOINETPROTOCOLSINK LPIINTERNETPROTOCOLSINK")
|
---|
1326 | cpp_quote("#define LPOINETSESSION LPIINTERNETSESSION")
|
---|
1327 | cpp_quote("#define LPOINETTHREADSWITCH LPIINTERNETTHREADSWITCH")
|
---|
1328 | cpp_quote("#define LPOINETPRIORITY LPIINTERNETPRIORITY")
|
---|
1329 | cpp_quote("#define LPOINETPROTOCOLINFO LPIINTERNETPROTOCOLINFO")
|
---|
1330 | cpp_quote("#define LPOINETPROTOCOLSINKSTACKABLE LPIINTERNETPROTOCOLSINKSTACKABLE")
|
---|
1331 | cpp_quote("")
|
---|
1332 | cpp_quote("#define IID_IOInet IID_IInternet")
|
---|
1333 | cpp_quote("#define IID_IOInetBindInfo IID_IInternetBindInfo")
|
---|
1334 | cpp_quote("#define IID_IOInetBindInfoEx IID_IInternetBindInfoEx")
|
---|
1335 | cpp_quote("#define IID_IOInetProtocolRoot IID_IInternetProtocolRoot")
|
---|
1336 | cpp_quote("#define IID_IOInetProtocol IID_IInternetProtocol")
|
---|
1337 |
|
---|
1338 | cpp_quote("")
|
---|
1339 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1340 | cpp_quote("#define IID_IOInetProtocolEx IID_IInternetProtocolEx")
|
---|
1341 | cpp_quote("#endif")
|
---|
1342 |
|
---|
1343 | cpp_quote("#define IID_IOInetProtocolSink IID_IInternetProtocolSink")
|
---|
1344 | cpp_quote("#define IID_IOInetProtocolInfo IID_IInternetProtocolInfo")
|
---|
1345 | cpp_quote("#define IID_IOInetSession IID_IInternetSession")
|
---|
1346 | cpp_quote("#define IID_IOInetPriority IID_IInternetPriority")
|
---|
1347 | cpp_quote("#define IID_IOInetThreadSwitch IID_IInternetThreadSwitch")
|
---|
1348 | cpp_quote("#define IID_IOInetProtocolSinkStackable IID_IInternetProtocolSinkStackable")
|
---|
1349 |
|
---|
1350 | cpp_quote("")
|
---|
1351 | cpp_quote("STDAPI CoInternetParseUrl(LPCWSTR pwzUrl, PARSEACTION ParseAction, DWORD dwFlags, LPWSTR pszResult, DWORD cchResult, DWORD *pcchResult, DWORD dwReserved);")
|
---|
1352 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1353 | cpp_quote("STDAPI CoInternetParseIUri(IUri *pIUri, PARSEACTION ParseAction, DWORD dwFlags, LPWSTR pwzResult, DWORD cchResult, DWORD *pcchResult, DWORD_PTR dwReserved);")
|
---|
1354 | cpp_quote("#endif")
|
---|
1355 | cpp_quote("STDAPI CoInternetCombineUrl(LPCWSTR pwzBaseUrl, LPCWSTR pwzRelativeUrl, DWORD dwCombineFlags, LPWSTR pszResult, DWORD cchResult, DWORD *pcchResult, DWORD dwReserved);")
|
---|
1356 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1357 | cpp_quote("STDAPI CoInternetCombineUrlEx(IUri *pBaseUri, LPCWSTR pwzRelativeUrl, DWORD dwCombineFlags, IUri **ppCombinedUri, DWORD_PTR dwReserved);")
|
---|
1358 | cpp_quote("STDAPI CoInternetCombineIUri (IUri *pBaseUri, IUri *pRelativeUri, DWORD dwCombineFlags, IUri **ppCombinedUri, DWORD_PTR dwReserved);")
|
---|
1359 | cpp_quote("#endif")
|
---|
1360 | cpp_quote("STDAPI CoInternetCompareUrl(LPCWSTR pwzUrl1, LPCWSTR pwzUrl2, DWORD dwFlags);")
|
---|
1361 | cpp_quote("STDAPI CoInternetGetProtocolFlags(LPCWSTR pwzUrl, DWORD *pdwFlags, DWORD dwReserved);")
|
---|
1362 | cpp_quote("STDAPI CoInternetQueryInfo(LPCWSTR pwzUrl, QUERYOPTION QueryOptions, DWORD dwQueryFlags, LPVOID pvBuffer, DWORD cbBuffer, DWORD *pcbBuffer, DWORD dwReserved);")
|
---|
1363 | cpp_quote("STDAPI CoInternetGetSession(DWORD dwSessionMode, IInternetSession **ppIInternetSession, DWORD dwReserved);")
|
---|
1364 | cpp_quote("STDAPI CoInternetGetSecurityUrl(LPCWSTR pwszUrl, LPWSTR *ppwszSecUrl, PSUACTION psuAction, DWORD dwReserved);")
|
---|
1365 | cpp_quote("STDAPI AsyncInstallDistributionUnit(LPCWSTR szDistUnit, LPCWSTR szTYPE, LPCWSTR szExt, DWORD dwFileVersionMS, DWORD dwFileVersionLS, LPCWSTR szURL,IBindCtx *pbc, LPVOID pvReserved,DWORD flags);")
|
---|
1366 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1367 | cpp_quote("STDAPI CoInternetGetSecurityUrlEx(IUri *pUri, IUri **ppSecUri, PSUACTION psuAction, DWORD_PTR dwReserved);")
|
---|
1368 | cpp_quote("#endif")
|
---|
1369 |
|
---|
1370 | cpp_quote("")
|
---|
1371 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1372 | cpp_quote("#ifndef _INTERNETFEATURELIST_DEFINED")
|
---|
1373 | cpp_quote("#define _INTERNETFEATURELIST_DEFINED")
|
---|
1374 |
|
---|
1375 | cpp_quote("")
|
---|
1376 | typedef enum _tagINTERNETFEATURELIST {
|
---|
1377 | FEATURE_OBJECT_CACHING = 0,
|
---|
1378 | FEATURE_ZONE_ELEVATION,
|
---|
1379 | FEATURE_MIME_HANDLING,
|
---|
1380 | FEATURE_MIME_SNIFFING,
|
---|
1381 | FEATURE_WINDOW_RESTRICTIONS,
|
---|
1382 | FEATURE_WEBOC_POPUPMANAGEMENT,
|
---|
1383 | FEATURE_BEHAVIORS,
|
---|
1384 | FEATURE_DISABLE_MK_PROTOCOL,
|
---|
1385 | FEATURE_LOCALMACHINE_LOCKDOWN,
|
---|
1386 | FEATURE_SECURITYBAND,
|
---|
1387 | FEATURE_RESTRICT_ACTIVEXINSTALL,
|
---|
1388 | FEATURE_VALIDATE_NAVIGATE_URL,
|
---|
1389 | FEATURE_RESTRICT_FILEDOWNLOAD,
|
---|
1390 | FEATURE_ADDON_MANAGEMENT,
|
---|
1391 | FEATURE_PROTOCOL_LOCKDOWN,
|
---|
1392 | FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
|
---|
1393 | FEATURE_SAFE_BINDTOOBJECT,
|
---|
1394 | FEATURE_UNC_SAVEDFILECHECK,
|
---|
1395 | FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
|
---|
1396 | FEATURE_TABBED_BROWSING,
|
---|
1397 | FEATURE_SSLUX,
|
---|
1398 | FEATURE_DISABLE_NAVIGATION_SOUNDS,
|
---|
1399 | FEATURE_DISABLE_LEGACY_COMPRESSION,
|
---|
1400 | FEATURE_FORCE_ADDR_AND_STATUS,
|
---|
1401 | FEATURE_XMLHTTP,
|
---|
1402 | FEATURE_DISABLE_TELNET_PROTOCOL,
|
---|
1403 | FEATURE_FEEDS,
|
---|
1404 | FEATURE_BLOCK_INPUT_PROMPTS,
|
---|
1405 | FEATURE_ENTRY_COUNT,
|
---|
1406 | } INTERNETFEATURELIST;
|
---|
1407 | cpp_quote("")
|
---|
1408 | cpp_quote("#define SET_FEATURE_ON_THREAD 0x1")
|
---|
1409 | cpp_quote("#define SET_FEATURE_ON_PROCESS 0x2")
|
---|
1410 | cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x4")
|
---|
1411 | cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x8")
|
---|
1412 | cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x10")
|
---|
1413 | cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x20")
|
---|
1414 | cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x40")
|
---|
1415 | cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x80")
|
---|
1416 | cpp_quote("")
|
---|
1417 | cpp_quote("#define GET_FEATURE_FROM_THREAD 0x1")
|
---|
1418 | cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x2")
|
---|
1419 | cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x4")
|
---|
1420 | cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x8")
|
---|
1421 | cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x10")
|
---|
1422 | cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x20")
|
---|
1423 | cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x40")
|
---|
1424 | cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x80")
|
---|
1425 | cpp_quote("#endif")
|
---|
1426 |
|
---|
1427 | cpp_quote("")
|
---|
1428 | cpp_quote("STDAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST FeatureEntry, DWORD dwFlags, WINBOOL fEnable);")
|
---|
1429 | cpp_quote("STDAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST FeatureEntry, DWORD dwFlags);")
|
---|
1430 | cpp_quote("STDAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST FeatureEntry, DWORD dwFlags, LPCWSTR szURL, IInternetSecurityManager *pSecMgr);")
|
---|
1431 | cpp_quote("STDAPI CoInternetIsFeatureEnabledForIUri(INTERNETFEATURELIST FeatureEntry, DWORD dwFlags, IUri *pIUri, IInternetSecurityManagerEx2 *pSecMgr);")
|
---|
1432 | cpp_quote("STDAPI CoInternetIsFeatureZoneElevationEnabled(LPCWSTR szFromURL, LPCWSTR szToURL, IInternetSecurityManager *pSecMgr, DWORD dwFlags);")
|
---|
1433 | cpp_quote("#endif")
|
---|
1434 | cpp_quote("STDAPI CopyStgMedium(const STGMEDIUM *pcstgmedSrc, STGMEDIUM *pstgmedDest);")
|
---|
1435 | cpp_quote("STDAPI CopyBindInfo(const BINDINFO *pcbiSrc, BINDINFO *pbiDest);")
|
---|
1436 | cpp_quote("STDAPI_(void) ReleaseBindInfo(BINDINFO *pbindinfo);")
|
---|
1437 |
|
---|
1438 | cpp_quote("")
|
---|
1439 | cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0011))")
|
---|
1440 | cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0012))")
|
---|
1441 | cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
|
---|
1442 | cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0013))")
|
---|
1443 | cpp_quote("#define INET_E_REDIRECTING _HRESULT_TYPEDEF_(__MSABI_LONG(0x800C0014))")
|
---|
1444 |
|
---|
1445 | cpp_quote("")
|
---|
1446 | cpp_quote("#define OInetParseUrl CoInternetParseUrl")
|
---|
1447 | cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
|
---|
1448 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1449 | cpp_quote("#define OInetCombineUrlEx CoInternetCombineUrlEx")
|
---|
1450 | cpp_quote("#define OInetCombineIUri CoInternetCombineIUri")
|
---|
1451 | cpp_quote("#endif")
|
---|
1452 | cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
|
---|
1453 | cpp_quote("#define OInetQueryInfo CoInternetQueryInfo")
|
---|
1454 | cpp_quote("#define OInetGetSession CoInternetGetSession")
|
---|
1455 | cpp_quote("#endif")
|
---|
1456 |
|
---|
1457 | cpp_quote("")
|
---|
1458 | cpp_quote("#define PROTOCOLFLAG_NO_PICS_CHECK 0x1")
|
---|
1459 | cpp_quote("")
|
---|
1460 | cpp_quote("STDAPI CoInternetCreateSecurityManager(IServiceProvider *pSP, IInternetSecurityManager **ppSM, DWORD dwReserved);")
|
---|
1461 | cpp_quote("STDAPI CoInternetCreateZoneManager(IServiceProvider *pSP, IInternetZoneManager **ppZM, DWORD dwReserved);")
|
---|
1462 | cpp_quote("")
|
---|
1463 | cpp_quote("EXTERN_C const IID CLSID_InternetSecurityManager;")
|
---|
1464 | cpp_quote("EXTERN_C const IID CLSID_InternetZoneManager;")
|
---|
1465 |
|
---|
1466 | cpp_quote("")
|
---|
1467 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1468 | cpp_quote("EXTERN_C const IID CLSID_PersistentZoneIdentifier;")
|
---|
1469 | cpp_quote("#endif")
|
---|
1470 |
|
---|
1471 | cpp_quote("")
|
---|
1472 | cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
|
---|
1473 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1474 | cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
|
---|
1475 | cpp_quote("#endif")
|
---|
1476 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1477 | cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
|
---|
1478 | cpp_quote("#endif")
|
---|
1479 | cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
|
---|
1480 |
|
---|
1481 | cpp_quote("")
|
---|
1482 | cpp_quote("#ifndef _LPINTERNETSECURITYMGRSITE_DEFINED")
|
---|
1483 | cpp_quote("#define _LPINTERNETSECURITYMGRSITE_DEFINED")
|
---|
1484 | cpp_quote("")
|
---|
1485 | [local, object, uuid (79eac9ed-baf9-11ce-8c82-00aa004ba90b), helpstring ("IInternetSecurityMgrSite Interface"), pointer_default (unique)]
|
---|
1486 | interface IInternetSecurityMgrSite : IUnknown {
|
---|
1487 | HRESULT GetWindow ([out] HWND *phwnd);
|
---|
1488 | HRESULT EnableModeless ([in] BOOL fEnable);
|
---|
1489 | };
|
---|
1490 | cpp_quote("#endif")
|
---|
1491 |
|
---|
1492 | cpp_quote("")
|
---|
1493 | cpp_quote("#ifndef _LPINTERNETSECURITYMANANGER_DEFINED")
|
---|
1494 | cpp_quote("#define _LPINTERNETSECURITYMANANGER_DEFINED")
|
---|
1495 | cpp_quote("")
|
---|
1496 | [uuid (79eac9ee-baf9-11ce-8c82-00aa004ba90b), helpstring ("IInternetSecurityManager Interface"), pointer_default (unique)]
|
---|
1497 | interface IInternetSecurityManager : IUnknown {
|
---|
1498 | HRESULT SetSecuritySite ([in, unique] IInternetSecurityMgrSite *pSite);
|
---|
1499 | HRESULT GetSecuritySite ([out] IInternetSecurityMgrSite **ppSite);
|
---|
1500 | cpp_quote("")
|
---|
1501 | cpp_quote("#define MUTZ_NOSAVEDFILECHECK 0x1")
|
---|
1502 | cpp_quote("#define MUTZ_ISFILE 0x2")
|
---|
1503 | cpp_quote("#define MUTZ_ACCEPT_WILDCARD_SCHEME 0x80")
|
---|
1504 | cpp_quote("#define MUTZ_ENFORCERESTRICTED 0x100")
|
---|
1505 | cpp_quote("#define MUTZ_RESERVED 0x200")
|
---|
1506 | cpp_quote("#define MUTZ_REQUIRESAVEDFILECHECK 0x400")
|
---|
1507 | cpp_quote("#define MUTZ_DONT_UNESCAPE 0x800")
|
---|
1508 | cpp_quote("#define MUTZ_DONT_USE_CACHE 0x1000")
|
---|
1509 | cpp_quote("#define MUTZ_FORCE_INTRANET_FLAGS 0x2000")
|
---|
1510 | cpp_quote("#define MUTZ_IGNORE_ZONE_MAPPINGS 0x4000")
|
---|
1511 |
|
---|
1512 | cpp_quote("")
|
---|
1513 | HRESULT MapUrlToZone ([in] LPCWSTR pwszUrl,[out] DWORD *pdwZone,[in] DWORD dwFlags);
|
---|
1514 | cpp_quote("")
|
---|
1515 |
|
---|
1516 | cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
|
---|
1517 |
|
---|
1518 | cpp_quote("")
|
---|
1519 | HRESULT GetSecurityId ([in] LPCWSTR pwszUrl,[out, size_is (*pcbSecurityId)]BYTE *pbSecurityId,[in, out]DWORD *pcbSecurityId,[in] DWORD_PTR dwReserved);
|
---|
1520 | cpp_quote("")
|
---|
1521 | typedef enum {
|
---|
1522 | PUAF_DEFAULT = 0x0,
|
---|
1523 | PUAF_NOUI = 0x1,
|
---|
1524 | PUAF_ISFILE = 0x2,
|
---|
1525 | PUAF_WARN_IF_DENIED = 0x4,
|
---|
1526 | PUAF_FORCEUI_FOREGROUND = 0x8,
|
---|
1527 | PUAF_CHECK_TIFS = 0x10,
|
---|
1528 | PUAF_DONTCHECKBOXINDIALOG = 0x20,
|
---|
1529 | PUAF_TRUSTED = 0x40,
|
---|
1530 | PUAF_ACCEPT_WILDCARD_SCHEME = 0x80,
|
---|
1531 | PUAF_ENFORCERESTRICTED = 0x100,
|
---|
1532 | PUAF_NOSAVEDFILECHECK = 0x200,
|
---|
1533 | PUAF_REQUIRESAVEDFILECHECK = 0x400,
|
---|
1534 | PUAF_DONT_USE_CACHE = 0x1000,
|
---|
1535 | PUAF_RESERVED1 = 0x2000,
|
---|
1536 | PUAF_RESERVED2 = 0x4000,
|
---|
1537 | PUAF_LMZ_UNLOCKED = 0x10000,
|
---|
1538 | PUAF_LMZ_LOCKED = 0x20000,
|
---|
1539 | PUAF_DEFAULTZONEPOL = 0x40000,
|
---|
1540 | PUAF_NPL_USE_LOCKED_IF_RESTRICTED = 0x80000,
|
---|
1541 | PUAF_NOUIIFLOCKED = 0x100000,
|
---|
1542 | PUAF_DRAGPROTOCOLCHECK = 0x200000
|
---|
1543 | } PUAF;
|
---|
1544 | typedef enum {
|
---|
1545 | PUAFOUT_DEFAULT = 0x0,
|
---|
1546 | PUAFOUT_ISLOCKZONEPOLICY = 0x1
|
---|
1547 | } PUAFOUT;
|
---|
1548 |
|
---|
1549 | cpp_quote("")
|
---|
1550 | HRESULT ProcessUrlAction ([in] LPCWSTR pwszUrl,[in] DWORD dwAction,[out, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in, unique]BYTE *pContext,[in] DWORD cbContext,[in] DWORD dwFlags,[in] DWORD dwReserved);
|
---|
1551 | HRESULT QueryCustomPolicy ([in] LPCWSTR pwszUrl,[in] REFGUID guidKey,[out, size_is (,*pcbPolicy)]BYTE **ppPolicy,[out] DWORD *pcbPolicy,[in] BYTE *pContext,[in] DWORD cbContext,[in] DWORD dwReserved);
|
---|
1552 |
|
---|
1553 | cpp_quote("")
|
---|
1554 | typedef enum {
|
---|
1555 | SZM_CREATE = 0x0,
|
---|
1556 | SZM_DELETE = 0x1
|
---|
1557 | } SZM_FLAGS;
|
---|
1558 | cpp_quote("")
|
---|
1559 | HRESULT SetZoneMapping ([in] DWORD dwZone,[in] LPCWSTR lpszPattern,[in] DWORD dwFlags);
|
---|
1560 | HRESULT GetZoneMappings ([in] DWORD dwZone,[out] IEnumString **ppenumString,[in] DWORD dwFlags);
|
---|
1561 | };
|
---|
1562 | cpp_quote("#endif")
|
---|
1563 |
|
---|
1564 | cpp_quote("")
|
---|
1565 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1566 | cpp_quote("#ifndef _LPINTERNETSECURITYMANANGEREX_DEFINED")
|
---|
1567 | cpp_quote("#define _LPINTERNETSECURITYMANANGEREX_DEFINED")
|
---|
1568 | cpp_quote("")
|
---|
1569 | [uuid (F164EDF1-CC7C-4f0d-9a94-34222625c393), helpstring ("IInternetSecurityManagerEx Interface"), pointer_default (unique)]
|
---|
1570 | interface IInternetSecurityManagerEx : IInternetSecurityManager {
|
---|
1571 | HRESULT ProcessUrlActionEx ([in] LPCWSTR pwszUrl,[in] DWORD dwAction,[out, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in] BYTE *pContext,[in] DWORD cbContext,[in] DWORD dwFlags,[in] DWORD dwReserved,[out] DWORD *pdwOutFlags);
|
---|
1572 | }
|
---|
1573 | cpp_quote("#endif")
|
---|
1574 | cpp_quote("#endif")
|
---|
1575 |
|
---|
1576 | cpp_quote("")
|
---|
1577 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1578 | cpp_quote("#ifndef _LPINTERNETSECURITYMANANGEREx2_DEFINED")
|
---|
1579 | cpp_quote("#define _LPINTERNETSECURITYMANANGEREx2_DEFINED")
|
---|
1580 | cpp_quote("")
|
---|
1581 | [uuid (F1E50292-A795-4117-8e09-2b560a72ac60), helpstring ("IInternetSecurityManagerEx2 Interface"), pointer_default (unique)]
|
---|
1582 | interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx {
|
---|
1583 | HRESULT MapUrlToZoneEx2 ([in]IUri *pUri,[out] DWORD *pdwZone,[in] DWORD dwFlags,[out]LPWSTR *ppwszMappedUrl,[out]DWORD *pdwOutFlags);
|
---|
1584 | HRESULT ProcessUrlActionEx2 ([in]IUri *pUri,[in] DWORD dwAction,[out, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in, unique]BYTE *pContext,[in] DWORD cbContext,[in] DWORD dwFlags,[in] DWORD_PTR dwReserved,[out] DWORD *pdwOutFlags);
|
---|
1585 | HRESULT GetSecurityIdEx2 ([in]IUri *pUri,[out, size_is (*pcbSecurityId)]BYTE *pbSecurityId,[in, out]DWORD *pcbSecurityId,[in] DWORD_PTR dwReserved);
|
---|
1586 | HRESULT QueryCustomPolicyEx2 ([in]IUri *pUri,[in] REFGUID guidKey,[out, size_is (,*pcbPolicy)]BYTE **ppPolicy,[out] DWORD *pcbPolicy,[in] BYTE *pContext,[in] DWORD cbContext,[in] DWORD_PTR dwReserved);
|
---|
1587 | }
|
---|
1588 | cpp_quote("#endif")
|
---|
1589 | cpp_quote("#endif")
|
---|
1590 |
|
---|
1591 | cpp_quote("")
|
---|
1592 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1593 | [object, uuid (cd45f185-1b21-48e2-967b-ead743a8914e), pointer_default (unique)]
|
---|
1594 | interface IZoneIdentifier : IUnknown {
|
---|
1595 | HRESULT GetId ([out] DWORD *pdwZone);
|
---|
1596 | HRESULT SetId ([in] DWORD dwZone);
|
---|
1597 | HRESULT Remove ();
|
---|
1598 | };
|
---|
1599 | cpp_quote("#endif")
|
---|
1600 |
|
---|
1601 | cpp_quote("")
|
---|
1602 | cpp_quote("#ifndef _LPINTERNETHOSTSECURITYMANANGER_DEFINED")
|
---|
1603 | cpp_quote("#define _LPINTERNETHOSTSECURITYMANANGER_DEFINED")
|
---|
1604 | cpp_quote("")
|
---|
1605 | [local, object, uuid (3af280b6-cb3f-11d0-891e-00c04fb6bfc4), helpstring ("IInternetHostSecurityManager Interface"), pointer_default (unique)]
|
---|
1606 | interface IInternetHostSecurityManager : IUnknown {
|
---|
1607 | HRESULT GetSecurityId ([out, size_is (*pcbSecurityId)]BYTE *pbSecurityId,[in, out]DWORD *pcbSecurityId,[in] DWORD_PTR dwReserved);
|
---|
1608 | HRESULT ProcessUrlAction ([in] DWORD dwAction,[out, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in] BYTE *pContext,[in] DWORD cbContext,[in] DWORD dwFlags,[in] DWORD dwReserved);
|
---|
1609 | HRESULT QueryCustomPolicy ([in] REFGUID guidKey,[out, size_is (,*pcbPolicy)]BYTE **ppPolicy,[out] DWORD *pcbPolicy,[in] BYTE *pContext,[in] DWORD cbContext,[in] DWORD dwReserved);
|
---|
1610 | };
|
---|
1611 | cpp_quote("#endif")
|
---|
1612 |
|
---|
1613 | cpp_quote("")
|
---|
1614 | cpp_quote("#define URLACTION_MIN 0x1000")
|
---|
1615 | cpp_quote("")
|
---|
1616 | cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x1000")
|
---|
1617 | cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x1001")
|
---|
1618 | cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x1004")
|
---|
1619 | cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x1004")
|
---|
1620 | cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x11FF")
|
---|
1621 | cpp_quote("")
|
---|
1622 | cpp_quote("#define URLACTION_ACTIVEX_MIN 0x1200")
|
---|
1623 | cpp_quote("#define URLACTION_ACTIVEX_RUN 0x1200")
|
---|
1624 | cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x10000")
|
---|
1625 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x1201")
|
---|
1626 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x1202")
|
---|
1627 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x1203")
|
---|
1628 | cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x1401")
|
---|
1629 | cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x1204")
|
---|
1630 | cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x1205")
|
---|
1631 | cpp_quote("#define URLACTION_ACTIVEX_NO_WEBOC_SCRIPT 0x1206")
|
---|
1632 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_REPURPOSEDETECTION 0x1207")
|
---|
1633 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OPTIN 0x1208")
|
---|
1634 | cpp_quote("#define URLACTION_ACTIVEX_SCRIPTLET_RUN 0x1209")
|
---|
1635 | cpp_quote("#define URLACTION_ACTIVEX_DYNSRC_VIDEO_AND_ANIMATION 0x120A")
|
---|
1636 | cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DOMAINLIST 0x120B")
|
---|
1637 | cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x120B")
|
---|
1638 | cpp_quote("#define URLACTION_ACTIVEX_MAX 0x13ff")
|
---|
1639 | cpp_quote("")
|
---|
1640 | cpp_quote("#define URLACTION_SCRIPT_MIN 0x1400")
|
---|
1641 | cpp_quote("#define URLACTION_SCRIPT_RUN 0x1400")
|
---|
1642 | cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x1402")
|
---|
1643 | cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x1405")
|
---|
1644 | cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x1406")
|
---|
1645 | cpp_quote("#define URLACTION_SCRIPT_PASTE 0x1407")
|
---|
1646 | cpp_quote("#define URLACTION_ALLOW_XDOMAIN_SUBFRAME_RESIZE 0x1408")
|
---|
1647 | cpp_quote("#define URLACTION_SCRIPT_XSSFILTER 0x1409")
|
---|
1648 | cpp_quote("#define URLACTION_SCRIPT_NAVIGATE 0x140A")
|
---|
1649 | cpp_quote("#define URLACTION_PLUGGABLE_PROTOCOL_XHR 0x140B")
|
---|
1650 | cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x140B")
|
---|
1651 | cpp_quote("#define URLACTION_SCRIPT_MAX 0x15ff")
|
---|
1652 | cpp_quote("")
|
---|
1653 | cpp_quote("#define URLACTION_HTML_MIN 0x1600")
|
---|
1654 | cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x1601")
|
---|
1655 | cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x1602")
|
---|
1656 | cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x1603")
|
---|
1657 | cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x1604")
|
---|
1658 | cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x1605")
|
---|
1659 | cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x1606")
|
---|
1660 | cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x1607")
|
---|
1661 | cpp_quote("#define URLACTION_HTML_META_REFRESH 0x1608")
|
---|
1662 | cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x1609")
|
---|
1663 | cpp_quote("#define URLACTION_HTML_INCLUDE_FILE_PATH 0x160A")
|
---|
1664 | cpp_quote("#define URLACTION_HTML_ALLOW_INJECTED_DYNAMIC_HTML 0x160B")
|
---|
1665 | cpp_quote("#define URLACTION_HTML_REQUIRE_UTF8_DOCUMENT_CODEPAGE 0x160C")
|
---|
1666 | cpp_quote("#define URLACTION_HTML_ALLOW_CROSS_DOMAIN_CANVAS 0x160D")
|
---|
1667 | cpp_quote("#define URLACTION_HTML_ALLOW_WINDOW_CLOSE 0x160E")
|
---|
1668 | cpp_quote("#define URLACTION_HTML_ALLOW_CROSS_DOMAIN_WEBWORKER 0x160F")
|
---|
1669 | cpp_quote("#define URLACTION_HTML_ALLOW_CROSS_DOMAIN_TEXTTRACK 0x1610")
|
---|
1670 | cpp_quote("#define URLACTION_HTML_ALLOW_INDEXEDDB 0x1611")
|
---|
1671 | cpp_quote("")
|
---|
1672 | cpp_quote("#define URLACTION_HTML_MAX 0x17ff")
|
---|
1673 | cpp_quote("")
|
---|
1674 | cpp_quote("#define URLACTION_SHELL_MIN 0x1800")
|
---|
1675 | cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x1800")
|
---|
1676 | cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x1802")
|
---|
1677 | cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x1803")
|
---|
1678 | cpp_quote("#define URLACTION_SHELL_VERB 0x1804")
|
---|
1679 | cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x1805")
|
---|
1680 | cpp_quote("#define URLACTION_SHELL_SHELLEXECUTE 0x1806")
|
---|
1681 |
|
---|
1682 | cpp_quote("")
|
---|
1683 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1684 | cpp_quote("#define URLACTION_SHELL_EXECUTE_HIGHRISK 0x1806")
|
---|
1685 | cpp_quote("#define URLACTION_SHELL_EXECUTE_MODRISK 0x1807")
|
---|
1686 | cpp_quote("#define URLACTION_SHELL_EXECUTE_LOWRISK 0x1808")
|
---|
1687 | cpp_quote("#define URLACTION_SHELL_POPUPMGR 0x1809")
|
---|
1688 | cpp_quote("#define URLACTION_SHELL_RTF_OBJECTS_LOAD 0x180A")
|
---|
1689 | cpp_quote("#define URLACTION_SHELL_ENHANCED_DRAGDROP_SECURITY 0x180B")
|
---|
1690 | cpp_quote("#define URLACTION_SHELL_EXTENSIONSECURITY 0x180C")
|
---|
1691 | cpp_quote("#define URLACTION_SHELL_SECURE_DRAGSOURCE 0x180D")
|
---|
1692 | cpp_quote("#endif")
|
---|
1693 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_WIN7)")
|
---|
1694 | cpp_quote("#define URLACTION_SHELL_REMOTEQUERY 0x180E")
|
---|
1695 | cpp_quote("#define URLACTION_SHELL_PREVIEW 0x180F")
|
---|
1696 | cpp_quote("#define URLACTION_SHELL_SHARE 0x1810")
|
---|
1697 | cpp_quote("#define URLACTION_SHELL_ALLOW_CROSS_SITE_SHARE 0x1811")
|
---|
1698 | cpp_quote("#endif")
|
---|
1699 | cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x1811")
|
---|
1700 | cpp_quote("#define URLACTION_SHELL_MAX 0x19ff")
|
---|
1701 | cpp_quote("")
|
---|
1702 | cpp_quote("#define URLACTION_NETWORK_MIN 0x1A00")
|
---|
1703 | cpp_quote("")
|
---|
1704 | cpp_quote("#define URLACTION_CREDENTIALS_USE 0x1A00")
|
---|
1705 | cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x0")
|
---|
1706 | cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x10000")
|
---|
1707 | cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x20000")
|
---|
1708 | cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x30000")
|
---|
1709 | cpp_quote("")
|
---|
1710 | cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x1A01")
|
---|
1711 | cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x0")
|
---|
1712 | cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x10000")
|
---|
1713 | cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x30000")
|
---|
1714 | cpp_quote("")
|
---|
1715 | cpp_quote("#define URLACTION_COOKIES 0x1A02")
|
---|
1716 | cpp_quote("#define URLACTION_COOKIES_SESSION 0x1A03")
|
---|
1717 | cpp_quote("")
|
---|
1718 | cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x1A04")
|
---|
1719 | cpp_quote("")
|
---|
1720 | cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x1A05")
|
---|
1721 | cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x1A06")
|
---|
1722 | cpp_quote("")
|
---|
1723 | cpp_quote("#define URLACTION_COOKIES_ENABLED 0x1A10")
|
---|
1724 | cpp_quote("")
|
---|
1725 | cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x1A10")
|
---|
1726 | cpp_quote("#define URLACTION_NETWORK_MAX 0x1Bff")
|
---|
1727 | cpp_quote("")
|
---|
1728 | cpp_quote("#define URLACTION_JAVA_MIN 0x1C00")
|
---|
1729 | cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x1C00")
|
---|
1730 | cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x0")
|
---|
1731 | cpp_quote("#define URLPOLICY_JAVA_HIGH 0x10000")
|
---|
1732 | cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x20000")
|
---|
1733 | cpp_quote("#define URLPOLICY_JAVA_LOW 0x30000")
|
---|
1734 | cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x800000")
|
---|
1735 | cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x1C00")
|
---|
1736 | cpp_quote("#define URLACTION_JAVA_MAX 0x1Cff")
|
---|
1737 | cpp_quote("")
|
---|
1738 | cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x1D00")
|
---|
1739 | cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x1D00")
|
---|
1740 | cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x1D01")
|
---|
1741 | cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x1D02")
|
---|
1742 | cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x1D03")
|
---|
1743 | cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x1D04")
|
---|
1744 | cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x1D05")
|
---|
1745 | cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x1D06")
|
---|
1746 | cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x1D06")
|
---|
1747 | cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x1Dff")
|
---|
1748 | cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x1E00")
|
---|
1749 | cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x1E05")
|
---|
1750 | cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x10000")
|
---|
1751 | cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x20000")
|
---|
1752 | cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x30000")
|
---|
1753 | cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x1Eff")
|
---|
1754 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE80)")
|
---|
1755 | cpp_quote("#define URLACTION_DOTNET_USERCONTROLS 0x2005")
|
---|
1756 | cpp_quote("#endif")
|
---|
1757 | cpp_quote("")
|
---|
1758 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1759 | cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x2000")
|
---|
1760 | cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x2000")
|
---|
1761 | cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x10000")
|
---|
1762 | cpp_quote("")
|
---|
1763 | cpp_quote("#define URLACTION_FEATURE_MIN 0x2100")
|
---|
1764 | cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x2100")
|
---|
1765 | cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x2101")
|
---|
1766 | cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x2102")
|
---|
1767 | cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x2103")
|
---|
1768 | cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x2104")
|
---|
1769 | cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x2105")
|
---|
1770 | cpp_quote("#define URLACTION_FEATURE_DATA_BINDING 0x2106")
|
---|
1771 | cpp_quote("#define URLACTION_FEATURE_CROSSDOMAIN_FOCUS_CHANGE 0x2107")
|
---|
1772 | cpp_quote("")
|
---|
1773 | cpp_quote("#define URLACTION_AUTOMATIC_DOWNLOAD_UI_MIN 0x2200")
|
---|
1774 | cpp_quote("#define URLACTION_AUTOMATIC_DOWNLOAD_UI 0x2200")
|
---|
1775 | cpp_quote("#define URLACTION_AUTOMATIC_ACTIVEX_UI 0x2201")
|
---|
1776 | cpp_quote("")
|
---|
1777 | cpp_quote("#define URLACTION_ALLOW_RESTRICTEDPROTOCOLS 0x2300")
|
---|
1778 | cpp_quote("#endif")
|
---|
1779 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1780 | cpp_quote("#define URLACTION_ALLOW_APEVALUATION 0x2301")
|
---|
1781 | cpp_quote("#define URLACTION_ALLOW_XHR_EVALUATION 0x2302")
|
---|
1782 | cpp_quote("#define URLACTION_WINDOWS_BROWSER_APPLICATIONS 0x2400")
|
---|
1783 | cpp_quote("#define URLACTION_XPS_DOCUMENTS 0x2401")
|
---|
1784 | cpp_quote("#define URLACTION_LOOSE_XAML 0x2402")
|
---|
1785 | cpp_quote("#define URLACTION_LOWRIGHTS 0x2500")
|
---|
1786 | cpp_quote("#define URLACTION_WINFX_SETUP 0x2600")
|
---|
1787 | cpp_quote("#define URLACTION_INPRIVATE_BLOCKING 0x2700")
|
---|
1788 | cpp_quote("#endif")
|
---|
1789 | cpp_quote("#define URLACTION_ALLOW_AUDIO_VIDEO 0x2701")
|
---|
1790 | cpp_quote("#define URLACTION_ALLOW_ACTIVEX_FILTERING 0x2702")
|
---|
1791 | cpp_quote("#define URLACTION_ALLOW_STRUCTURED_STORAGE_SNIFFING 0x2703")
|
---|
1792 | cpp_quote("#define URLACTION_ALLOW_AUDIO_VIDEO_PLUGINS 0x2704")
|
---|
1793 | cpp_quote("#define URLACTION_ALLOW_ZONE_ELEVATION_VIA_OPT_OUT 0x2705")
|
---|
1794 | cpp_quote("#define URLACTION_ALLOW_ZONE_ELEVATION_OPT_OUT_ADDITION 0x2706")
|
---|
1795 | cpp_quote("#define URLACTION_ALLOW_CROSSDOMAIN_DROP_WITHIN_WINDOW 0x2708")
|
---|
1796 | cpp_quote("#define URLACTION_ALLOW_CROSSDOMAIN_DROP_ACROSS_WINDOWS 0x2709")
|
---|
1797 | cpp_quote("#define URLACTION_ALLOW_CROSSDOMAIN_APPCACHE_MANIFEST 0x270A")
|
---|
1798 | cpp_quote("#define URLACTION_ALLOW_RENDER_LEGACY_DXTFILTERS 0x270B")
|
---|
1799 | cpp_quote("")
|
---|
1800 | cpp_quote("#define URLPOLICY_ALLOW 0x0")
|
---|
1801 | cpp_quote("#define URLPOLICY_QUERY 0x1")
|
---|
1802 | cpp_quote("#define URLPOLICY_DISALLOW 0x3")
|
---|
1803 | cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
|
---|
1804 | cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
|
---|
1805 | cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
|
---|
1806 | cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
|
---|
1807 | cpp_quote("")
|
---|
1808 | cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
|
---|
1809 | cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
|
---|
1810 | cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~(URLPOLICY_MASK_PERMISSIONS)) | (dw2))")
|
---|
1811 | cpp_quote("")
|
---|
1812 | cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
|
---|
1813 |
|
---|
1814 | cpp_quote("")
|
---|
1815 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1816 | cpp_quote("EXTERN_C const GUID GUID_CUSTOM_LOCALMACHINEZONEUNLOCKED;")
|
---|
1817 | cpp_quote("#endif")
|
---|
1818 |
|
---|
1819 | cpp_quote("")
|
---|
1820 | cpp_quote("#ifndef _LPINTERNETZONEMANAGER_DEFINED")
|
---|
1821 | cpp_quote("#define _LPINTERNETZONEMANAGER_DEFINED")
|
---|
1822 | cpp_quote("")
|
---|
1823 | [local, object, uuid (79eac9ef-baf9-11ce-8c82-00aa004ba90b), helpstring ("IInternetZoneManager Interface"), pointer_default (unique)]
|
---|
1824 | interface IInternetZoneManager : IUnknown {
|
---|
1825 | typedef [unique] IInternetZoneManager *LPURLZONEMANAGER;
|
---|
1826 | cpp_quote("")
|
---|
1827 | typedef enum tagURLZONE {
|
---|
1828 | URLZONE_INVALID = -1,
|
---|
1829 | URLZONE_PREDEFINED_MIN = 0,
|
---|
1830 | URLZONE_LOCAL_MACHINE = 0,
|
---|
1831 | URLZONE_INTRANET,
|
---|
1832 | URLZONE_TRUSTED,
|
---|
1833 | URLZONE_INTERNET,
|
---|
1834 | URLZONE_UNTRUSTED,
|
---|
1835 | URLZONE_PREDEFINED_MAX = 999,
|
---|
1836 | URLZONE_USER_MIN = 1000,
|
---|
1837 | URLZONE_USER_MAX = 10000,
|
---|
1838 | } URLZONE;
|
---|
1839 | cpp_quote("")
|
---|
1840 | cpp_quote("#define URLZONE_ESC_FLAG 0x100")
|
---|
1841 |
|
---|
1842 | cpp_quote("")
|
---|
1843 | typedef enum tagURLTEMPLATE {
|
---|
1844 | URLTEMPLATE_CUSTOM = 0x0,
|
---|
1845 | URLTEMPLATE_PREDEFINED_MIN = 0x10000,
|
---|
1846 | URLTEMPLATE_LOW = 0x10000,
|
---|
1847 | URLTEMPLATE_MEDLOW = 0x10500,
|
---|
1848 | URLTEMPLATE_MEDIUM = 0x11000,
|
---|
1849 | URLTEMPLATE_MEDHIGH = 0x11500,
|
---|
1850 | URLTEMPLATE_HIGH = 0x12000,
|
---|
1851 | URLTEMPLATE_PREDEFINED_MAX = 0x20000
|
---|
1852 | } URLTEMPLATE;
|
---|
1853 | cpp_quote("")
|
---|
1854 | enum { MAX_ZONE_PATH = 260, MAX_ZONE_DESCRIPTION = 200 };
|
---|
1855 | cpp_quote("")
|
---|
1856 | typedef enum {
|
---|
1857 | ZAFLAGS_CUSTOM_EDIT = 0x1,
|
---|
1858 | ZAFLAGS_ADD_SITES = 0x2,
|
---|
1859 | ZAFLAGS_REQUIRE_VERIFICATION = 0x4,
|
---|
1860 | ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x8,
|
---|
1861 | ZAFLAGS_INCLUDE_INTRANET_SITES = 0x10,
|
---|
1862 | ZAFLAGS_NO_UI = 0x20,
|
---|
1863 | ZAFLAGS_SUPPORTS_VERIFICATION = 0x40,
|
---|
1864 | ZAFLAGS_UNC_AS_INTRANET = 0x80,
|
---|
1865 | ZAFLAGS_DETECT_INTRANET = 0x100,
|
---|
1866 | ZAFLAGS_USE_LOCKED_ZONES = 0x10000,
|
---|
1867 | ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x20000,
|
---|
1868 | ZAFLAGS_NO_CACHE = 0x40000,
|
---|
1869 | } ZAFLAGS;
|
---|
1870 | cpp_quote("")
|
---|
1871 | typedef struct _ZONEATTRIBUTES {
|
---|
1872 | ULONG cbSize;
|
---|
1873 | WCHAR szDisplayName[MAX_ZONE_PATH];
|
---|
1874 | WCHAR szDescription[MAX_ZONE_DESCRIPTION];
|
---|
1875 | WCHAR szIconPath[MAX_ZONE_PATH];
|
---|
1876 | DWORD dwTemplateMinLevel;
|
---|
1877 | DWORD dwTemplateRecommended;
|
---|
1878 | DWORD dwTemplateCurrentLevel;
|
---|
1879 | DWORD dwFlags;
|
---|
1880 | } ZONEATTRIBUTES,*LPZONEATTRIBUTES;
|
---|
1881 | cpp_quote("")
|
---|
1882 | HRESULT GetZoneAttributes ([in] DWORD dwZone,[in, out, unique]ZONEATTRIBUTES *pZoneAttributes);
|
---|
1883 | HRESULT SetZoneAttributes ([in] DWORD dwZone,[in] ZONEATTRIBUTES *pZoneAttributes);
|
---|
1884 |
|
---|
1885 | cpp_quote("")
|
---|
1886 | typedef enum _URLZONEREG {
|
---|
1887 | URLZONEREG_DEFAULT=0,
|
---|
1888 | URLZONEREG_HKLM,
|
---|
1889 | URLZONEREG_HKCU
|
---|
1890 | } URLZONEREG;
|
---|
1891 | cpp_quote("")
|
---|
1892 | HRESULT GetZoneCustomPolicy ([in] DWORD dwZone,[in] REFGUID guidKey,[out, size_is (,*pcbPolicy)]BYTE **ppPolicy,[out] DWORD *pcbPolicy,[in] URLZONEREG urlZoneReg);
|
---|
1893 | HRESULT SetZoneCustomPolicy ([in] DWORD dwZone,[in] REFGUID guidKey,[in, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in] URLZONEREG urlZoneReg);
|
---|
1894 | HRESULT GetZoneActionPolicy ([in] DWORD dwZone,[in] DWORD dwAction,[out, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in] URLZONEREG urlZoneReg);
|
---|
1895 | HRESULT SetZoneActionPolicy ([in] DWORD dwZone,[in] DWORD dwAction,[in, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in] URLZONEREG urlZoneReg);
|
---|
1896 | HRESULT PromptAction ([in] DWORD dwAction,[in] HWND hwndParent,[in] LPCWSTR pwszUrl,[in] LPCWSTR pwszText,[in] DWORD dwPromptFlags);
|
---|
1897 | HRESULT LogAction ([in] DWORD dwAction,[in] LPCWSTR pwszUrl,[in] LPCWSTR pwszText,[in] DWORD dwLogFlags);
|
---|
1898 | HRESULT CreateZoneEnumerator ([out] DWORD *pdwEnum,[out] DWORD *pdwCount,[in] DWORD dwFlags);
|
---|
1899 | HRESULT GetZoneAt ([in] DWORD dwEnum,[in] DWORD dwIndex,[out] DWORD *pdwZone);
|
---|
1900 | HRESULT DestroyZoneEnumerator ([in] DWORD dwEnum);
|
---|
1901 | HRESULT CopyTemplatePoliciesToZone ([in] DWORD dwTemplate,[in] DWORD dwZone,[in] DWORD dwReserved);
|
---|
1902 | }
|
---|
1903 | cpp_quote("#endif")
|
---|
1904 |
|
---|
1905 | cpp_quote("")
|
---|
1906 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE60SP2)")
|
---|
1907 | cpp_quote("#ifndef _LPINTERNETZONEMANAGEREX_DEFINED")
|
---|
1908 | cpp_quote("#define _LPINTERNETZONEMANAGEREX_DEFINED")
|
---|
1909 | cpp_quote("")
|
---|
1910 | [local, object, uuid (A4C23339-8e06-431e-9bf4-7e711c085648), helpstring ("IInternetZoneManagerEx Interface"), pointer_default (unique)]
|
---|
1911 | interface IInternetZoneManagerEx : IInternetZoneManager {
|
---|
1912 | HRESULT GetZoneActionPolicyEx ([in] DWORD dwZone,[in] DWORD dwAction,[out, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in] URLZONEREG urlZoneReg,[in] DWORD dwFlags);
|
---|
1913 | HRESULT SetZoneActionPolicyEx ([in] DWORD dwZone,[in] DWORD dwAction,[in, size_is (cbPolicy)]BYTE *pPolicy,[in] DWORD cbPolicy,[in] URLZONEREG urlZoneReg,[in] DWORD dwFlags);
|
---|
1914 | }
|
---|
1915 | cpp_quote("#endif")
|
---|
1916 | cpp_quote("#endif")
|
---|
1917 |
|
---|
1918 | cpp_quote("")
|
---|
1919 | cpp_quote("#if (_WIN32_IE >= _WIN32_IE_IE70)")
|
---|
1920 | cpp_quote("#ifndef _LPINTERNETZONEMANAGEREX2_DEFINED")
|
---|
1921 | cpp_quote("#define _LPINTERNETZONEMANAGEREX2_DEFINED")
|
---|
1922 | cpp_quote("")
|
---|
1923 | cpp_quote("#define SECURITY_IE_STATE_GREEN 0x0")
|
---|
1924 | cpp_quote("#define SECURITY_IE_STATE_RED 0x1")
|
---|
1925 | cpp_quote("")
|
---|
1926 | [local, object, uuid (EDC17559-DD5D-4846-8eef-8becba5a4abf), helpstring ("IInternetZoneManagerEx2 Interface"), pointer_default (unique)]
|
---|
1927 | interface IInternetZoneManagerEx2 : IInternetZoneManagerEx {
|
---|
1928 | HRESULT GetZoneAttributesEx ([in] DWORD dwZone,[in, out, unique]ZONEATTRIBUTES *pZoneAttributes,[in] DWORD dwFlags);
|
---|
1929 | HRESULT GetZoneSecurityState ([in] DWORD dwZoneIndex,[in] BOOL fRespectPolicy,[in, out] LPDWORD pdwState,[in, out] BOOL *pfPolicyEncountered);
|
---|
1930 | HRESULT GetIESecurityState ([in] BOOL fRespectPolicy,[in, out] LPDWORD pdwState,[in, out] BOOL *pfPolicyEncountered,[in] BOOL fNoCache);
|
---|
1931 | HRESULT FixUnsecureSettings ();
|
---|
1932 | }
|
---|
1933 | cpp_quote("#endif")
|
---|
1934 | cpp_quote("#endif")
|
---|
1935 |
|
---|
1936 | cpp_quote("")
|
---|
1937 | cpp_quote("EXTERN_C const IID CLSID_SoftDistExt;")
|
---|
1938 |
|
---|
1939 | cpp_quote("")
|
---|
1940 | cpp_quote("#ifndef _LPSOFTDISTEXT_DEFINED")
|
---|
1941 | cpp_quote("#define _LPSOFTDISTEXT_DEFINED")
|
---|
1942 | cpp_quote("")
|
---|
1943 | cpp_quote("#define SOFTDIST_FLAG_USAGE_EMAIL 0x1")
|
---|
1944 | cpp_quote("#define SOFTDIST_FLAG_USAGE_PRECACHE 0x2")
|
---|
1945 | cpp_quote("#define SOFTDIST_FLAG_USAGE_AUTOINSTALL 0x4")
|
---|
1946 | cpp_quote("#define SOFTDIST_FLAG_DELETE_SUBSCRIPTION 0x8")
|
---|
1947 | cpp_quote("")
|
---|
1948 | cpp_quote("#define SOFTDIST_ADSTATE_NONE 0x0")
|
---|
1949 | cpp_quote("#define SOFTDIST_ADSTATE_AVAILABLE 0x1")
|
---|
1950 | cpp_quote("#define SOFTDIST_ADSTATE_DOWNLOADED 0x2")
|
---|
1951 | cpp_quote("#define SOFTDIST_ADSTATE_INSTALLED 0x3")
|
---|
1952 | cpp_quote("")
|
---|
1953 | typedef struct _tagCODEBASEHOLD {
|
---|
1954 | ULONG cbSize;
|
---|
1955 | LPWSTR szDistUnit;
|
---|
1956 | LPWSTR szCodeBase;
|
---|
1957 | DWORD dwVersionMS;
|
---|
1958 | DWORD dwVersionLS;
|
---|
1959 | DWORD dwStyle;
|
---|
1960 | } CODEBASEHOLD,*LPCODEBASEHOLD;
|
---|
1961 |
|
---|
1962 | cpp_quote("")
|
---|
1963 | typedef struct _tagSOFTDISTINFO {
|
---|
1964 | ULONG cbSize;
|
---|
1965 | DWORD dwFlags;
|
---|
1966 | DWORD dwAdState;
|
---|
1967 | LPWSTR szTitle;
|
---|
1968 | LPWSTR szAbstract;
|
---|
1969 | LPWSTR szHREF;
|
---|
1970 | DWORD dwInstalledVersionMS;
|
---|
1971 | DWORD dwInstalledVersionLS;
|
---|
1972 | DWORD dwUpdateVersionMS;
|
---|
1973 | DWORD dwUpdateVersionLS;
|
---|
1974 | DWORD dwAdvertisedVersionMS;
|
---|
1975 | DWORD dwAdvertisedVersionLS;
|
---|
1976 | DWORD dwReserved;
|
---|
1977 | } SOFTDISTINFO, *LPSOFTDISTINFO;
|
---|
1978 |
|
---|
1979 | cpp_quote("")
|
---|
1980 | [local, object, uuid (B15B8DC1-C7E1-11d0-8680-00aa00bdcb71), helpstring ("ISoftDistExt Interface"), pointer_default (unique)]
|
---|
1981 | interface ISoftDistExt : IUnknown {
|
---|
1982 | HRESULT ProcessSoftDist ([in] LPCWSTR szCDFURL, [in] IXMLElement *pSoftDistElement, [in, out] LPSOFTDISTINFO lpsdi);
|
---|
1983 | HRESULT GetFirstCodeBase ([in] LPWSTR *szCodeBase,[in] LPDWORD dwMaxSize);
|
---|
1984 | HRESULT GetNextCodeBase ([in] LPWSTR *szCodeBase,[in] LPDWORD dwMaxSize);
|
---|
1985 | HRESULT AsyncInstallDistributionUnit ([in] IBindCtx *pbc,[in] LPVOID pvReserved,[in] DWORD flags,[in] LPCODEBASEHOLD lpcbh);
|
---|
1986 | }
|
---|
1987 |
|
---|
1988 | cpp_quote("")
|
---|
1989 | cpp_quote("STDAPI GetSoftwareUpdateInfo(LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
|
---|
1990 | cpp_quote("STDAPI SetSoftwareUpdateAdvertisementState(LPCWSTR szDistUnit, DWORD dwAdState, DWORD dwAdvertisedVersionMS, DWORD dwAdvertisedVersionLS);")
|
---|
1991 | cpp_quote("#endif")
|
---|
1992 |
|
---|
1993 | cpp_quote("")
|
---|
1994 | cpp_quote("#ifndef _LPCATALOGFILEINFO_DEFINED")
|
---|
1995 | cpp_quote("#define _LPCATALOGFILEINFO_DEFINED")
|
---|
1996 | cpp_quote("")
|
---|
1997 | [local, object, uuid (711c7600-6b48-11d1-B403-00aa00b92af1), pointer_default (unique)]
|
---|
1998 | interface ICatalogFileInfo : IUnknown {
|
---|
1999 | typedef [unique] ICatalogFileInfo *LPCATALOGFILEINFO;
|
---|
2000 | cpp_quote("")
|
---|
2001 | HRESULT GetCatalogFile ([out] LPSTR *ppszCatalogFile);
|
---|
2002 | HRESULT GetJavaTrust ([out] void **ppJavaTrust);
|
---|
2003 | }
|
---|
2004 | cpp_quote("#endif")
|
---|
2005 |
|
---|
2006 | cpp_quote("")
|
---|
2007 | cpp_quote("#ifndef _LPDATAFILTER_DEFINED")
|
---|
2008 | cpp_quote("#define _LPDATAFILTER_DEFINED")
|
---|
2009 | cpp_quote("")
|
---|
2010 | [object, uuid (69d14c80-c18e-11d0-a9ce-006097942311), pointer_default (unique)]
|
---|
2011 | interface IDataFilter: IUnknown {
|
---|
2012 | typedef [unique] IDataFilter *LPDATAFILTER;
|
---|
2013 | cpp_quote("")
|
---|
2014 | HRESULT DoEncode ([in] DWORD dwFlags,[in] LONG lInBufferSize,[in, size_is (lInBufferSize)]BYTE *pbInBuffer,[in] LONG lOutBufferSize,[out, size_is (lOutBufferSize)]BYTE *pbOutBuffer,[in] LONG lInBytesAvailable,[out] LONG *plInBytesRead,[out] LONG *plOutBytesWritten,[in] DWORD dwReserved);
|
---|
2015 | HRESULT DoDecode ([in] DWORD dwFlags,[in] LONG lInBufferSize,[in, size_is (lInBufferSize)]BYTE *pbInBuffer,[in] LONG lOutBufferSize,[out, size_is (lOutBufferSize)]BYTE *pbOutBuffer,[in] LONG lInBytesAvailable,[out] LONG *plInBytesRead,[out] LONG *plOutBytesWritten,[in] DWORD dwReserved);
|
---|
2016 | HRESULT SetEncodingLevel ([in] DWORD dwEncLevel);
|
---|
2017 | }
|
---|
2018 | cpp_quote("#endif")
|
---|
2019 |
|
---|
2020 | cpp_quote("")
|
---|
2021 | cpp_quote("#ifndef _LPENCODINGFILTERFACTORY_DEFINED")
|
---|
2022 | cpp_quote("#define _LPENCODINGFILTERFACTORY_DEFINED")
|
---|
2023 | cpp_quote("")
|
---|
2024 | typedef struct _tagPROTOCOLFILTERDATA {
|
---|
2025 | DWORD cbSize;
|
---|
2026 | IInternetProtocolSink *pProtocolSink;
|
---|
2027 | IInternetProtocol *pProtocol;
|
---|
2028 | IUnknown *pUnk;
|
---|
2029 | DWORD dwFilterFlags;
|
---|
2030 | } PROTOCOLFILTERDATA;
|
---|
2031 |
|
---|
2032 | cpp_quote("")
|
---|
2033 | [local, object, uuid (70bdde00-c18e-11d0-a9ce-006097942311), pointer_default (unique)]
|
---|
2034 | interface IEncodingFilterFactory : IUnknown {
|
---|
2035 | typedef [unique] IEncodingFilterFactory *LPENCODINGFILTERFACTORY;
|
---|
2036 | cpp_quote("")
|
---|
2037 | typedef struct _tagDATAINFO {
|
---|
2038 | ULONG ulTotalSize;
|
---|
2039 | ULONG ulavrPacketSize;
|
---|
2040 | ULONG ulConnectSpeed;
|
---|
2041 | ULONG ulProcessorSpeed;
|
---|
2042 | } DATAINFO;
|
---|
2043 | cpp_quote("")
|
---|
2044 | HRESULT FindBestFilter ([in] LPCWSTR pwzCodeIn,[in] LPCWSTR pwzCodeOut,[in] DATAINFO info,[out] IDataFilter **ppDF);
|
---|
2045 | HRESULT GetDefaultFilter ([in] LPCWSTR pwzCodeIn,[in] LPCWSTR pwzCodeOut,[out] IDataFilter **ppDF);
|
---|
2046 | }
|
---|
2047 | cpp_quote("#endif")
|
---|
2048 |
|
---|
2049 | cpp_quote("")
|
---|
2050 | cpp_quote("#ifndef _HITLOGGING_DEFINED")
|
---|
2051 | cpp_quote("#define _HITLOGGING_DEFINED")
|
---|
2052 |
|
---|
2053 | cpp_quote("")
|
---|
2054 | cpp_quote("WINBOOL WINAPI IsLoggingEnabledA(LPCSTR pszUrl);")
|
---|
2055 | cpp_quote("WINBOOL WINAPI IsLoggingEnabledW(LPCWSTR pwszUrl);")
|
---|
2056 |
|
---|
2057 | cpp_quote("")
|
---|
2058 | cpp_quote("#define IsLoggingEnabled __MINGW_NAME_AW(IsLoggingEnabled)")
|
---|
2059 |
|
---|
2060 | typedef struct _tagHIT_LOGGING_INFO {
|
---|
2061 | DWORD dwStructSize;
|
---|
2062 | LPSTR lpszLoggedUrlName;
|
---|
2063 | SYSTEMTIME StartTime;
|
---|
2064 | SYSTEMTIME EndTime;
|
---|
2065 | LPSTR lpszExtendedInfo;
|
---|
2066 | } HIT_LOGGING_INFO,*LPHIT_LOGGING_INFO;
|
---|
2067 | cpp_quote("")
|
---|
2068 | cpp_quote("WINBOOL WINAPI WriteHitLogging(LPHIT_LOGGING_INFO lpLogginginfo);")
|
---|
2069 |
|
---|
2070 | cpp_quote("")
|
---|
2071 | cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x1")
|
---|
2072 |
|
---|
2073 | cpp_quote("")
|
---|
2074 | struct CONFIRMSAFETY {
|
---|
2075 | CLSID clsid;
|
---|
2076 | IUnknown *pUnk;
|
---|
2077 | DWORD dwFlags;
|
---|
2078 | };
|
---|
2079 | cpp_quote("")
|
---|
2080 | cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
|
---|
2081 | cpp_quote("#endif")
|
---|
2082 |
|
---|
2083 | cpp_quote("")
|
---|
2084 | cpp_quote("#ifndef _LPIWRAPPEDPROTOCOL_DEFINED")
|
---|
2085 | cpp_quote("#define _LPIWRAPPEDPROTOCOL_DEFINED")
|
---|
2086 | cpp_quote("")
|
---|
2087 | [local, object, uuid (53c84785-8425-4dc5-971b-e58d9c19f9b6), pointer_default (unique)]
|
---|
2088 | interface IWrappedProtocol : IUnknown {
|
---|
2089 | typedef [unique] IWrappedProtocol *LPIWRAPPEDPROTOCOL;
|
---|
2090 | cpp_quote("")
|
---|
2091 | HRESULT GetWrapperCode ([out] LONG *pnCode,[in] DWORD_PTR dwReserved);
|
---|
2092 | }
|
---|
2093 | cpp_quote("#endif")
|
---|
2094 |
|
---|
2095 | cpp_quote("")
|
---|
2096 | cpp_quote("#ifndef _LPGETBINDHANDLE_DEFINED")
|
---|
2097 | cpp_quote("#define _LPGETBINDHANDLE_DEFINED")
|
---|
2098 | cpp_quote("")
|
---|
2099 | [local, object, uuid (AF0FF408-129d-4b20-91f0-02bd23d88352), pointer_default (unique)]
|
---|
2100 | interface IGetBindHandle: IUnknown {
|
---|
2101 | typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
|
---|
2102 | cpp_quote("")
|
---|
2103 | typedef enum {
|
---|
2104 | BINDHANDLETYPES_APPCACHE = 0x0,
|
---|
2105 | BINDHANDLETYPES_DEPENDENCY = 0x1,
|
---|
2106 | BINDHANDLETYPES_COUNT
|
---|
2107 | } BINDHANDLETYPES;
|
---|
2108 | cpp_quote("")
|
---|
2109 | HRESULT GetBindHandle ([in] BINDHANDLETYPES enumRequestedHandle,[out] HANDLE *pRetHandle);
|
---|
2110 | }
|
---|
2111 | cpp_quote("#endif")
|
---|
2112 |
|
---|
2113 | cpp_quote("")
|
---|
2114 | cpp_quote("#ifndef _XHRPLUGGABLEPROTOCOL_DEFINED")
|
---|
2115 | cpp_quote("#define _XHRPLUGGABLEPROTOCOL_DEFINED")
|
---|
2116 | cpp_quote("")
|
---|
2117 | typedef struct _tagPROTOCOL_ARGUMENT {
|
---|
2118 | LPCWSTR szMethod;
|
---|
2119 | LPCWSTR szTargetUrl;
|
---|
2120 | } PROTOCOL_ARGUMENT,*LPPROTOCOL_ARGUMENT;
|
---|
2121 | cpp_quote("#endif")
|
---|
2122 |
|
---|
2123 | cpp_quote("")
|
---|
2124 | cpp_quote("#ifndef _LPBINDCALLBACKREDIRECT_DEFINED")
|
---|
2125 | cpp_quote("#define _LPBINDCALLBACKREDIRECT_DEFINED")
|
---|
2126 | cpp_quote("")
|
---|
2127 | [local, object, uuid (11c81bc2-121e-4ed5-B9C4-B430BD54F2C0), pointer_default (unique)]
|
---|
2128 | interface IBindCallbackRedirect : IUnknown {
|
---|
2129 | typedef [unique] IBindCallbackRedirect *LPBINDCALLBACKREDIRECT;
|
---|
2130 | cpp_quote("")
|
---|
2131 | HRESULT Redirect ([in] LPCWSTR lpcUrl,[out] VARIANT_BOOL *vbCancel);
|
---|
2132 | }
|
---|
2133 | cpp_quote("#endif")
|
---|
2134 | cpp_quote("")
|
---|
2135 | cpp_quote("#endif")
|
---|