wintrust: Initialize CRYPT_PROVIDER_SIGSTATE structure in Softpub provider.
[wine.git] / include / urlmon.idl
blob0aab658865877f8f179a9f3adf7a8aab6bba0715
1 /*
2 * Copyright (C) 2000 Ulrich Czekalla
3 * Copyright (C) 2003 Alexandre Julliard
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 import "objidl.idl";
21 import "oleidl.idl";
22 import "servprov.idl";
23 import "msxml.idl";
25 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
26 cpp_quote("#undef GetUserName")
27 cpp_quote("#undef SetPort")
28 cpp_quote("#endif")
30 interface IInternetProtocolSink;
31 interface IUri;
33 /*****************************************************************************
34 * IInternet interface
37 object,
38 uuid(79eac9e0-baf9-11ce-8c82-00aa004ba90b),
39 pointer_default(unique),
40 local
42 interface IInternet : IUnknown
44 typedef [unique] IInternet *LPIINTERNET;
47 /*****************************************************************************
48 * IBinding interface
51 object,
52 uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b),
53 pointer_default(unique)
55 interface IBinding : IUnknown
57 typedef [unique] IBinding *LPBINDING;
59 HRESULT Abort();
60 HRESULT Suspend();
61 HRESULT Resume();
63 HRESULT SetPriority(
64 [in] LONG nPriority);
66 HRESULT GetPriority(
67 [out] LONG * pnPriority);
69 [local]
70 HRESULT GetBindResult(
71 [out] CLSID *pclsidProtocol,
72 [out] DWORD *pdwResult,
73 [out] LPOLESTR *pszResult,
74 [in, out] DWORD *pdwReserved);
76 [call_as(GetBindResult)]
77 HRESULT RemoteGetBindResult(
78 [out] CLSID *pclsidProtocol,
79 [out] DWORD *pdwResult,
80 [out] LPOLESTR *pszResult,
81 [in] DWORD dwReserved);
85 /*****************************************************************************
86 * IBindStatusCallback interface
89 object,
90 uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b),
91 pointer_default(unique)
93 interface IBindStatusCallback : IUnknown
95 typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
97 typedef enum
99 BINDVERB_GET = 0x00000000,
100 BINDVERB_POST = 0x00000001,
101 BINDVERB_PUT = 0x00000002,
102 BINDVERB_CUSTOM = 0x00000003
103 } BINDVERB;
105 typedef enum
107 BINDINFOF_URLENCODESTGMEDDATA = 0x00000001,
108 BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002
109 } BINDINFOF;
111 typedef enum
113 BINDF_ASYNCHRONOUS = 0x00000001,
114 BINDF_ASYNCSTORAGE = 0x00000002,
115 BINDF_NOPROGRESSIVERENDERING = 0x00000004,
116 BINDF_OFFLINEOPERATION = 0x00000008,
117 BINDF_GETNEWESTVERSION = 0x00000010,
118 BINDF_NOWRITECACHE = 0x00000020,
119 BINDF_NEEDFILE = 0x00000040,
120 BINDF_PULLDATA = 0x00000080,
121 BINDF_IGNORESECURITYPROBLEM = 0x00000100,
122 BINDF_RESYNCHRONIZE = 0x00000200,
123 BINDF_HYPERLINK = 0x00000400,
124 BINDF_NO_UI = 0x00000800,
125 BINDF_SILENTOPERATION = 0x00001000,
126 BINDF_PRAGMA_NO_CACHE = 0x00002000,
127 BINDF_GETCLASSOBJECT = 0x00004000,
128 BINDF_RESERVED_1 = 0x00008000,
129 BINDF_FREE_THREADED = 0x00010000,
130 BINDF_DIRECT_READ = 0x00020000,
131 BINDF_FORMS_SUBMIT = 0x00040000,
132 BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
133 BINDF_FROMURLMON = 0x00100000,
134 BINDF_FWD_BACK = 0x00200000,
135 BINDF_PREFERDEFAULTHANDLER = 0x00400000,
136 BINDF_ENFORCERESTRICTED = 0x00800000
137 } BINDF;
139 typedef enum
141 URL_ENCODING_NONE = 0x00000000,
142 URL_ENCODING_ENABLE_UTF8 = 0x10000000,
143 URL_ENCODING_DISABLE_UTF8 = 0x20000000
144 } URL_ENCODING;
146 typedef struct _tagBINDINFO
148 ULONG cbSize;
149 LPWSTR szExtraInfo;
150 STGMEDIUM stgmedData;
151 DWORD grfBindInfoF;
152 DWORD dwBindVerb;
153 LPWSTR szCustomVerb;
154 DWORD cbstgmedData;
155 DWORD dwOptions;
156 DWORD dwOptionsFlags;
157 DWORD dwCodePage;
158 SECURITY_ATTRIBUTES securityAttributes;
159 IID iid;
160 IUnknown *pUnk;
161 DWORD dwReserved;
162 } BINDINFO;
164 typedef struct _REMSECURITY_ATTRIBUTES
166 DWORD nLength;
167 DWORD lpSecurityDescriptor;
168 BOOL bInheritHandle;
169 } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
171 typedef struct _tagRemBINDINFO
173 ULONG cbSize;
174 LPWSTR szExtraInfo;
175 DWORD grfBindInfoF;
176 DWORD dwBindVerb;
177 LPWSTR szCustomVerb;
178 DWORD cbstgmedData;
179 DWORD dwOptions;
180 DWORD dwOptionsFlags;
181 DWORD dwCodePage;
182 REMSECURITY_ATTRIBUTES securityAttributes;
183 IID iid;
184 IUnknown *pUnk;
185 DWORD dwReserved;
186 } RemBINDINFO;
188 typedef struct tagRemFORMATETC
190 DWORD cfFormat;
191 DWORD ptd;
192 DWORD dwAspect;
193 LONG lindex;
194 DWORD tymed;
195 } RemFORMATETC, *LPREMFORMATETC;
197 typedef enum
199 BINDINFO_OPTIONS_WININETFLAG = 0x00010000,
200 BINDINFO_OPTIONS_ENABLE_UTF8 = 0x00020000,
201 BINDINFO_OPTIONS_DISABLE_UTF8 = 0x00040000,
202 BINDINFO_OPTIONS_USE_IE_ENCODING = 0x00080000,
203 BINDINFO_OPTIONS_BINDTOOBJECT = 0x00100000,
204 BINDINFO_OPTIONS_SECURITYOPTOUT = 0x00200000,
205 BINDINFO_OPTIONS_IGNOREMIMETEXTPLAIN = 0x00400000,
206 BINDINFO_OPTIONS_USEBINDSTRINGCREDS = 0x00800000,
207 BINDINFO_OPTIONS_IGNOREHTTPHTTPSREDIRECTS = 0x01000000,
208 BINDINFO_OPTIONS_IGNORE_SSLERRORS_ONCE = 0x02000000,
209 BINDINFO_WPC_DOWNLOADBLOCKED = 0x08000000,
210 BINDINFO_WPC_LOGGING_ENABLED = 0x10000000,
211 BINDINFO_OPTIONS_ALLOWCONNECTDATA = 0x20000000,
212 BINDINFO_OPTIONS_DISABLEAUTOREDIRECTS = 0x40000000,
213 BINDINFO_OPTIONS_SHDOCVW_NAVIGATE = (int)0x80000000
214 } BINDINFO_OPTIONS;
216 typedef enum
218 BSCF_FIRSTDATANOTIFICATION = 0x01,
219 BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
220 BSCF_LASTDATANOTIFICATION = 0x04,
221 BSCF_DATAFULLYAVAILABLE = 0x08,
222 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
223 BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
224 BSCF_64BITLENGTHDOWNLOAD = 0x40
225 } BSCF;
227 typedef enum BINDSTATUS
229 BINDSTATUS_FINDINGRESOURCE = 1,
230 BINDSTATUS_CONNECTING,
231 BINDSTATUS_REDIRECTING,
232 BINDSTATUS_BEGINDOWNLOADDATA,
233 BINDSTATUS_DOWNLOADINGDATA,
234 BINDSTATUS_ENDDOWNLOADDATA,
235 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
236 BINDSTATUS_INSTALLINGCOMPONENTS,
237 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
238 BINDSTATUS_USINGCACHEDCOPY,
239 BINDSTATUS_SENDINGREQUEST,
240 BINDSTATUS_CLASSIDAVAILABLE,
241 BINDSTATUS_MIMETYPEAVAILABLE,
242 BINDSTATUS_CACHEFILENAMEAVAILABLE,
243 BINDSTATUS_BEGINSYNCOPERATION,
244 BINDSTATUS_ENDSYNCOPERATION,
245 BINDSTATUS_BEGINUPLOADDATA,
246 BINDSTATUS_UPLOADINGDATA,
247 BINDSTATUS_ENDUPLOADINGDATA,
248 BINDSTATUS_PROTOCOLCLASSID,
249 BINDSTATUS_ENCODING,
250 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
251 BINDSTATUS_CLASSINSTALLLOCATION,
252 BINDSTATUS_DECODING,
253 BINDSTATUS_LOADINGMIMEHANDLER,
254 BINDSTATUS_CONTENTDISPOSITIONATTACH,
255 BINDSTATUS_FILTERREPORTMIMETYPE,
256 BINDSTATUS_CLSIDCANINSTANTIATE,
257 BINDSTATUS_IUNKNOWNAVAILABLE,
258 BINDSTATUS_DIRECTBIND,
259 BINDSTATUS_RAWMIMETYPE,
260 BINDSTATUS_PROXYDETECTING,
261 BINDSTATUS_ACCEPTRANGES,
262 BINDSTATUS_COOKIE_SENT,
263 BINDSTATUS_COMPACT_POLICY_RECEIVED,
264 BINDSTATUS_COOKIE_SUPPRESSED,
265 BINDSTATUS_COOKIE_STATE_UNKNOWN,
266 BINDSTATUS_COOKIE_STATE_ACCEPT,
267 BINDSTATUS_COOKIE_STATE_REJECT,
268 BINDSTATUS_COOKIE_STATE_PROMPT,
269 BINDSTATUS_COOKIE_STATE_LEASH,
270 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
271 BINDSTATUS_POLICY_HREF,
272 BINDSTATUS_P3P_HEADER,
273 BINDSTATUS_SESSION_COOKIE_RECEIVED,
274 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
275 BINDSTATUS_SESSION_COOKIES_ALLOWED,
276 BINDSTATUS_CACHECONTROL,
277 BINDSTATUS_CONTENTDISPOSITIONFILENAME,
278 BINDSTATUS_MIMETEXTPLAINMISMATCH,
279 BINDSTATUS_PUBLISHERAVAILABLE,
280 BINDSTATUS_DISPLAYNAMEAVAILABLE,
281 BINDSTATUS_SSLUX_NAVBLOCKED,
282 BINDSTATUS_SERVER_MIMETYPEAVAILABLE,
283 BINDSTATUS_SNIFFED_CLASSIDAVAILABLE,
284 BINDSTATUS_64BIT_PROGRESS,
285 BINDSTATUS_LAST = BINDSTATUS_64BIT_PROGRESS,
286 BINDSTATUS_RESERVED_0 = (BINDSTATUS_LAST+1),
287 BINDSTATUS_RESERVED_1 = (BINDSTATUS_RESERVED_0+1),
288 BINDSTATUS_RESERVED_2 = (BINDSTATUS_RESERVED_1+1),
289 BINDSTATUS_RESERVED_3 = (BINDSTATUS_RESERVED_2+1),
290 BINDSTATUS_RESERVED_4 = (BINDSTATUS_RESERVED_3+1),
291 BINDSTATUS_RESERVED_5 = (BINDSTATUS_RESERVED_4+1),
292 BINDSTATUS_RESERVED_6 = (BINDSTATUS_RESERVED_5+1),
293 BINDSTATUS_RESERVED_7 = (BINDSTATUS_RESERVED_6+1),
294 BINDSTATUS_RESERVED_8 = (BINDSTATUS_RESERVED_7+1),
295 BINDSTATUS_RESERVED_9 = (BINDSTATUS_RESERVED_8+1),
296 BINDSTATUS_LAST_PRIVATE = BINDSTATUS_RESERVED_9
297 } BINDSTATUS;
300 HRESULT OnStartBinding(
301 [in] DWORD dwReserved,
302 [in] IBinding * pib);
304 HRESULT GetPriority(
305 [out] LONG * pnPriority);
307 HRESULT OnLowResource(
308 [in] DWORD reserved);
310 HRESULT OnProgress(
311 [in] ULONG ulProgress,
312 [in] ULONG ulProgressMax,
313 [in] ULONG ulStatusCode,
314 [in, unique] LPCWSTR szStatusText);
316 HRESULT OnStopBinding(
317 [in] HRESULT hresult,
318 [in, unique] LPCWSTR szError);
320 [local]
321 HRESULT GetBindInfo(
322 [out] DWORD *grfBINDF,
323 [in, out, unique] BINDINFO * pbindinfo);
325 [call_as(GetBindInfo)]
326 HRESULT RemoteGetBindInfo(
327 [out] DWORD *grfBINDF,
328 [in, out, unique] RemBINDINFO * pbindinfo,
329 [in, out, unique] RemSTGMEDIUM* pstgmed);
331 [local]
332 HRESULT OnDataAvailable(
333 [in] DWORD grfBSCF,
334 [in] DWORD dwSize,
335 [in] FORMATETC* pformatetc,
336 [in] STGMEDIUM* pstgmed);
338 [call_as(OnDataAvailable)]
339 HRESULT RemoteOnDataAvailable(
340 [in] DWORD grfBSCF,
341 [in] DWORD dwSize,
342 [in] RemFORMATETC *pformatetc,
343 [in] RemSTGMEDIUM* pstgmed);
345 HRESULT OnObjectAvailable(
346 [in] REFIID riid,
347 [in, iid_is(riid)] IUnknown* punk);
350 /*****************************************************************************
351 * IBindStatusCallbackEx interface
354 object,
355 uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc),
356 pointer_default(unique)
358 interface IBindStatusCallbackEx : IBindStatusCallback
360 typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
362 typedef enum {
363 BINDF2_DISABLEBASICOVERHTTP = 0x00000001,
364 BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002,
365 BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004,
366 BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008,
367 BINDF2_RESERVED_3 = 0x20000000,
368 BINDF2_RESERVED_2 = 0x40000000,
369 BINDF2_RESERVED_1 = 0x80000000,
370 } BINDF2;
372 [local]
373 HRESULT GetBindInfoEx(
374 [out] DWORD *grfBINDF,
375 [in, out, unique] BINDINFO *pbindinfo,
376 [out] DWORD *grfBINDF2,
377 [out] DWORD *pdwReserved);
379 [call_as(GetBindInfoEx)]
380 HRESULT RemoteGetBindInfoEx(
381 [out] DWORD *grfBINDF,
382 [in, out, unique] RemBINDINFO *pbindinfo,
383 [in, out, unique] RemSTGMEDIUM *pstgmed,
384 [out] DWORD *grfBINDF2,
385 [out] DWORD *pdwReserved);
389 /*****************************************************************************
390 * IAuthenticate interface
393 object,
394 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
395 pointer_default(unique)
397 interface IAuthenticate : IUnknown
399 typedef [unique] IAuthenticate *LPAUTHENTICATION;
401 HRESULT Authenticate(
402 [out] HWND* phwnd,
403 [out] LPWSTR *pszUsername,
404 [out] LPWSTR *pszPassword);
407 /*****************************************************************************
408 * IAuthenticateEx interface
411 object,
412 uuid(2ad1edaf-d83d-48b5-9adf-03dbe19f53bd),
413 pointer_default(unique)
416 interface IAuthenticateEx : IAuthenticate
418 typedef [unique] IAuthenticateEx *LPAUTHENTICATIONEX;
420 typedef enum {
421 AUTHENTICATEF_PROXY = 0x00000001,
422 AUTHENTICATEF_BASIC = 0x00000002,
423 AUTHENTICATEF_HTTP = 0x00000004
424 } AUTHENTICATEF;
426 typedef struct _tagAUTHENTICATEINFO {
427 DWORD dwFlags;
428 DWORD dwReserved;
429 } AUTHENTICATEINFO;
431 HRESULT AuthenticateEx(
432 [out] HWND *phwnd,
433 [out] LPWSTR *pszUsername,
434 [out] LPWSTR *pszPassword,
435 [in] AUTHENTICATEINFO *pauthinfo);
438 /*****************************************************************************
439 * IHttpNegotiate interface
442 object,
443 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
444 pointer_default(unique)
446 interface IHttpNegotiate : IUnknown
448 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
450 HRESULT BeginningTransaction(
451 [in] LPCWSTR szURL,
452 [in, unique] LPCWSTR szHeaders,
453 [in] DWORD dwReserved,
454 [out] LPWSTR *pszAdditionalHeaders);
456 HRESULT OnResponse(
457 [in] DWORD dwResponseCode,
458 [in, unique] LPCWSTR szResponseHeaders,
459 [in, unique] LPCWSTR szRequestHeaders,
460 [out] LPWSTR *pszAdditionalRequestHeaders);
463 /*****************************************************************************
464 * IHttpNegotiate2 interface
467 object,
468 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
469 pointer_default(unique)
471 interface IHttpNegotiate2 : IHttpNegotiate
473 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
475 HRESULT GetRootSecurityId(
476 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
477 [in, out] DWORD *pcbSecurityId,
478 [in] DWORD_PTR dwReserved);
481 /*****************************************************************************
482 * IBindHost interface
484 cpp_quote("#define SID_IBindHost IID_IBindHost")
485 cpp_quote("#define SID_SBindHost IID_IBindHost")
487 object,
488 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
489 pointer_default(unique)
491 interface IBindHost : IUnknown
493 typedef [unique] IBindHost *LPBINDHOST;
495 HRESULT CreateMoniker(
496 [in] LPOLESTR szName,
497 [in] IBindCtx *pBC,
498 [out] IMoniker** ppmk,
499 [in] DWORD dwReserved);
501 [local]
502 HRESULT MonikerBindToStorage(
503 [in] IMoniker *pMk,
504 [in] IBindCtx *pBC,
505 [in] IBindStatusCallback *pBSC,
506 [in] REFIID riid,
507 [out] void **ppvObj);
509 [call_as(MonikerBindToStorage)]
510 HRESULT RemoteMonikerBindToStorage(
511 [in, unique] IMoniker *pMk,
512 [in, unique] IBindCtx *pBC,
513 [in, unique] IBindStatusCallback *pBSC,
514 [in] REFIID riid,
515 [out, iid_is(riid)] IUnknown **ppvObj);
517 [local]
518 HRESULT MonikerBindToObject(
519 [in] IMoniker *pMk,
520 [in] IBindCtx *pBC,
521 [in] IBindStatusCallback *pBSC,
522 [in] REFIID riid,
523 [out] void **ppvObj);
525 [call_as(MonikerBindToObject)]
526 HRESULT RemoteMonikerBindToObject(
527 [in, unique] IMoniker *pMk,
528 [in, unique] IBindCtx *pBC,
529 [in, unique] IBindStatusCallback *pBSC,
530 [in] REFIID riid,
531 [out, iid_is(riid)] IUnknown **ppvObj);
535 /*****************************************************************************
536 * IWinInetInfo interface
539 object,
540 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
541 pointer_default(unique)
543 interface IWinInetInfo : IUnknown
545 typedef [unique] IWinInetInfo *LPWININETINFO;
547 [local]
548 HRESULT QueryOption(
549 [in] DWORD dwOption,
550 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
551 [in, out] DWORD *pcbBuf);
553 [call_as(QueryOption)]
554 HRESULT RemoteQueryOption(
555 [in] DWORD dwOption,
556 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
557 [in, out] DWORD *pcbBuf);
562 /*****************************************************************************
563 * IWinInetHttpInfo interface
566 object,
567 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
568 pointer_default(unique)
570 interface IWinInetHttpInfo : IWinInetInfo
572 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
574 [local]
575 HRESULT QueryInfo(
576 [in] DWORD dwOption,
577 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
578 [in, out] DWORD *pcbBuf,
579 [in, out] DWORD *pdwFlags,
580 [in, out] DWORD *pdwReserved);
582 [call_as(QueryInfo)]
583 HRESULT RemoteQueryInfo(
584 [in] DWORD dwOption,
585 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
586 [in, out] DWORD *pcbBuf,
587 [in, out] DWORD *pdwFlags,
588 [in, out] DWORD *pdwReserved);
591 /*****************************************************************************
592 * IWinInetHttpTimeouts interface
595 local,
596 object,
597 uuid(f286fa56-c1fd-4270-8e67-b3eb790a81e8),
598 pointer_default(unique)
600 interface IWinInetHttpTimeouts : IUnknown
602 HRESULT GetRequestTimeouts(
603 [out] DWORD *connect_timeout,
604 [out] DWORD *send_timeout,
605 [out] DWORD *receive_timeout);
608 /*****************************************************************************
609 * IWindowForBindingUI interface
612 local,
613 object,
614 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
615 pointer_default(unique)
617 interface IWindowForBindingUI : IUnknown
619 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
621 HRESULT GetWindow(
622 [in] REFGUID rguidReason,
623 [out] HWND *phwnd);
626 /*****************************************************************************
627 * ICodeInstall interface
630 local,
631 object,
632 uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
633 pointer_default(unique)
635 interface ICodeInstall : IWindowForBindingUI
637 typedef [unique] ICodeInstall *LPCODEINSTALL;
639 typedef enum {
640 CIP_DISK_FULL,
641 CIP_ACCESS_DENIED,
642 CIP_NEWER_VERSION_EXISTS,
643 CIP_OLDER_VERSION_EXISTS,
644 CIP_NAME_CONFLICT,
645 CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
646 CIP_EXE_SELF_REGISTERATION_TIMEOUT,
647 CIP_UNSAFE_TO_ABORT,
648 CIP_NEED_REBOOT,
649 CIP_NEED_REBOOT_UI_PERMISSION
650 } CIP_STATUS;
652 HRESULT OnCodeInstallProblem(
653 [in] ULONG ulStatusCode,
654 [in, unique] LPCWSTR szDestination,
655 [in, unique] LPCWSTR szSource,
656 [in] DWORD dwReserved);
659 /*****************************************************************************
660 * IHttpSecurity interface
663 local,
664 object,
665 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
666 pointer_default(unique)
668 interface IHttpSecurity : IWindowForBindingUI
670 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
672 HRESULT OnSecurityProblem(
673 [in] DWORD dwProblem);
677 /*****************************************************************************
678 * IPersistMoniker interface
681 object,
682 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
683 pointer_default(unique)
685 interface IPersistMoniker : IUnknown
687 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
689 HRESULT GetClassID(
690 [out] CLSID *pClassID);
692 HRESULT IsDirty();
694 HRESULT Load(
695 [in] BOOL fFullyAvailable,
696 [in] IMoniker *pimkName,
697 [in] LPBC pibc,
698 [in] DWORD grfMode);
700 HRESULT Save(
701 [in] IMoniker *pimkName,
702 [in] LPBC pbc,
703 [in] BOOL fRemember);
705 HRESULT SaveCompleted(
706 [in] IMoniker *pimkName,
707 [in] LPBC pibc);
709 HRESULT GetCurMoniker(
710 [out] IMoniker **ppimkName);
713 /*****************************************************************************
714 * IMonikerProp interface
717 object,
718 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
719 pointer_default(unique)
721 interface IMonikerProp : IUnknown
723 typedef [unique] IMonikerProp *LPMONIKERPROP;
725 typedef enum {
726 MIMETYPEPROP = 0,
727 USE_SRC_URL = 1,
728 CLASSIDPROP = 2,
729 TRUSTEDDOWNLOADPROP = 3,
730 POPUPLEVELPROP = 4
731 } MONIKERPROPERTY;
733 HRESULT PutProperty(
734 [in] MONIKERPROPERTY mkp,
735 [in] LPCWSTR val);
738 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
739 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
741 /*****************************************************************************
742 * IBindProtocol interface
745 local,
746 object,
747 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
748 pointer_default(unique)
750 interface IBindProtocol : IUnknown
752 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
754 HRESULT CreateBinding(
755 [in] LPCWSTR szUrl,
756 [in] IBindCtx *pbc,
757 [out] IBinding **ppb);
760 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
762 /*****************************************************************************
763 * IInternetBindInfo interface
766 local,
767 object,
768 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
769 pointer_default(unique)
771 interface IInternetBindInfo : IUnknown
773 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
775 typedef enum tagBINDSTRING
777 BINDSTRING_HEADERS = 1,
778 BINDSTRING_ACCEPT_MIMES,
779 BINDSTRING_EXTRA_URL,
780 BINDSTRING_LANGUAGE,
781 BINDSTRING_USERNAME,
782 BINDSTRING_PASSWORD,
783 BINDSTRING_UA_PIXELS,
784 BINDSTRING_UA_COLOR,
785 BINDSTRING_OS,
786 BINDSTRING_USER_AGENT,
787 BINDSTRING_ACCEPT_ENCODINGS,
788 BINDSTRING_POST_COOKIE,
789 BINDSTRING_POST_DATA_MIME,
790 BINDSTRING_URL,
791 BINDSTRING_IID,
792 BINDSTRING_FLAG_BIND_TO_OBJECT,
793 BINDSTRING_PTR_BIND_CONTEXT,
794 BINDSTRING_XDR_ORIGIN,
795 BINDSTRING_DOWNLOADPATH,
796 BINDSTRING_ROOTDOC_URL,
797 BINDSTRING_INITIAL_FILENAME,
798 BINDSTRING_PROXY_USERNAME,
799 BINDSTRING_PROXY_PASSWORD,
800 BINDSTRING_ENTERPRISE_ID,
801 BINDSTRING_DOC_URL,
802 BINDSTRING_SAMESITE_COOKIE_LEVEL
803 } BINDSTRING;
805 HRESULT GetBindInfo(
806 [out] DWORD *grfBINDF,
807 [in, out, unique] BINDINFO *pbindinfo);
809 HRESULT GetBindString(
810 [in] ULONG ulStringType,
811 [in, out] LPOLESTR *ppwzStr,
812 [in] ULONG cEl,
813 [in, out] ULONG *pcElFetched);
816 /*****************************************************************************
817 * IInternetPriority interface
820 local,
821 object,
822 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
823 pointer_default(unique)
825 interface IInternetPriority : IUnknown
827 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
829 HRESULT SetPriority([in] LONG nPriority);
830 HRESULT GetPriority([out] LONG *pnPriority);
833 /*****************************************************************************
834 * IInternetProtocolRoot interface
837 local,
838 object,
839 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
840 pointer_default(unique)
842 interface IInternetProtocolRoot : IUnknown
844 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
846 typedef enum _tagPI_FLAGS
848 PI_PARSE_URL = 0x00000001,
849 PI_FILTER_MODE = 0x00000002,
850 PI_FORCE_ASYNC = 0x00000004,
851 PI_USE_WORKERTHREAD = 0x00000008,
852 PI_MIMEVERIFICATION = 0x00000010,
853 PI_CLSIDLOOKUP = 0x00000020,
854 PI_DATAPROGRESS = 0x00000040,
855 PI_SYNCHRONOUS = 0x00000080,
856 PI_APARTMENTTHREADED = 0x00000100,
857 PI_CLASSINSTALL = 0x00000200,
858 PD_FORCE_SWITCH = 0x00010000
859 } PI_FLAGS;
861 typedef struct _tagPROTOCOLDATA
863 DWORD grfFlags;
864 DWORD dwState;
865 LPVOID pData;
866 ULONG cbData;
867 } PROTOCOLDATA;
869 HRESULT Start(
870 [in] LPCWSTR szUrl,
871 [in] IInternetProtocolSink *pOIProtSink,
872 [in] IInternetBindInfo *pOIBindInfo,
873 [in] DWORD grfPI,
874 [in] HANDLE_PTR dwReserved);
876 HRESULT Continue(
877 [in] PROTOCOLDATA *pProtocolData);
879 HRESULT Abort(
880 [in] HRESULT hrReason,
881 [in] DWORD dwOptions);
883 HRESULT Terminate(
884 [in] DWORD dwOptions);
886 HRESULT Suspend();
888 HRESULT Resume();
891 /*****************************************************************************
892 * IInternetProtocolSink interface
895 local,
896 object,
897 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
898 pointer_default(unique)
900 interface IInternetProtocolSink : IUnknown
902 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
904 HRESULT Switch(
905 [in] PROTOCOLDATA *pProtocolData);
907 HRESULT ReportProgress(
908 [in] ULONG ulStatusCode,
909 [in] LPCWSTR szStatusText);
911 HRESULT ReportData(
912 [in] DWORD grfBSCF,
913 [in] ULONG ulProgress,
914 [in] ULONG ulProgressMax);
916 HRESULT ReportResult(
917 [in] HRESULT hrResult,
918 [in] DWORD dwError,
919 [in] LPCWSTR szResult);
922 /*****************************************************************************
923 * IInternetProtocol interface
926 local,
927 object,
928 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
929 pointer_default(unique)
931 interface IInternetProtocol : IInternetProtocolRoot
933 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
935 HRESULT Read(
936 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
937 [in] ULONG cb,
938 [out] ULONG *pcbRead);
940 HRESULT Seek(
941 [in] LARGE_INTEGER dlibMove,
942 [in] DWORD dwOrigin,
943 [out] ULARGE_INTEGER *plibNewPosition);
945 HRESULT LockRequest(
946 [in] DWORD dwOptions);
948 HRESULT UnlockRequest();
951 /*****************************************************************************
952 * IInternetProtocolInfo interface
955 local,
956 object,
957 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
958 pointer_default(unique)
960 interface IInternetProtocolInfo : IUnknown
962 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
964 typedef enum _tagPARSEACTION
966 PARSE_CANONICALIZE = 1,
967 PARSE_FRIENDLY,
968 PARSE_SECURITY_URL,
969 PARSE_ROOTDOCUMENT,
970 PARSE_DOCUMENT,
971 PARSE_ANCHOR,
972 PARSE_ENCODE,
973 PARSE_DECODE,
974 PARSE_PATH_FROM_URL,
975 PARSE_URL_FROM_PATH,
976 PARSE_MIME,
977 PARSE_SERVER,
978 PARSE_SCHEMA,
979 PARSE_SITE,
980 PARSE_DOMAIN,
981 PARSE_LOCATION,
982 PARSE_SECURITY_DOMAIN,
983 PARSE_ESCAPE,
984 PARSE_UNESCAPE
985 } PARSEACTION;
987 typedef enum _tagPSUACTION
989 PSU_DEFAULT = 1,
990 PSU_SECURITY_URL_ONLY
991 } PSUACTION;
993 typedef enum _tagQUERYOPTION
995 QUERY_EXPIRATION_DATE = 1,
996 QUERY_TIME_OF_LAST_CHANGE,
997 QUERY_CONTENT_ENCODING,
998 QUERY_CONTENT_TYPE,
999 QUERY_REFRESH,
1000 QUERY_RECOMBINE,
1001 QUERY_CAN_NAVIGATE,
1002 QUERY_USES_NETWORK,
1003 QUERY_IS_CACHED,
1004 QUERY_IS_INSTALLEDENTRY,
1005 QUERY_IS_CACHED_OR_MAPPED,
1006 QUERY_USES_CACHE,
1007 QUERY_IS_SECURE,
1008 QUERY_IS_SAFE,
1009 QUERY_USES_HISTORYFOLDER,
1010 QUERY_IS_CACHED_AND_USABLE_OFFLINE
1011 } QUERYOPTION;
1013 HRESULT ParseUrl(
1014 [in] LPCWSTR pwzUrl,
1015 [in] PARSEACTION ParseAction,
1016 [in] DWORD dwParseFlags,
1017 [out] LPWSTR pwzResult,
1018 [in] DWORD cchResult,
1019 [out] DWORD *pcchResult,
1020 [in] DWORD dwReserved);
1022 HRESULT CombineUrl(
1023 [in] LPCWSTR pwzBaseUrl,
1024 [in] LPCWSTR pwzRelativeUrl,
1025 [in] DWORD dwCombineFlags,
1026 [out] LPWSTR pwzResult,
1027 [in] DWORD cchResult,
1028 [out] DWORD *pcchResult,
1029 [in] DWORD dwReserved);
1031 HRESULT CompareUrl(
1032 [in] LPCWSTR pwzUrl1,
1033 [in] LPCWSTR pwzUrl2,
1034 [in] DWORD dwCompareFlags);
1036 HRESULT QueryInfo(
1037 [in] LPCWSTR pwzUrl,
1038 [in] QUERYOPTION OueryOption,
1039 [in] DWORD dwQueryFlags,
1040 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
1041 [in] DWORD cbBuffer,
1042 [in, out] DWORD *pcbBuf,
1043 [in] DWORD dwReserved);
1046 /*****************************************************************************
1047 * IInternetSession interface
1050 local,
1051 object,
1052 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
1053 pointer_default(unique)
1055 interface IInternetSession : IUnknown
1057 typedef [unique] IInternetSession *LPIINTERNETSESSION;
1059 typedef enum _tagOIBDG_FLAGS
1061 OIBDG_APARTMENTTHREADED = 0x0100,
1062 OIBDG_DATAONLY = 0x1000
1063 } OIBDG_FLAGS;
1065 HRESULT RegisterNameSpace(
1066 [in] IClassFactory *pCF,
1067 [in] REFCLSID rclsid,
1068 [in] LPCWSTR pwzProtocol,
1069 [in] ULONG cPatterns,
1070 [in] const LPCWSTR *ppwzPatterns,
1071 [in] DWORD dwReserved);
1073 HRESULT UnregisterNameSpace(
1074 [in] IClassFactory *pCF,
1075 [in] LPCWSTR pszProtocol);
1077 HRESULT RegisterMimeFilter(
1078 [in] IClassFactory *pCF,
1079 [in] REFCLSID rclsid,
1080 [in] LPCWSTR pwzType);
1082 HRESULT UnregisterMimeFilter(
1083 [in] IClassFactory *pCF,
1084 [in] LPCWSTR pwzType);
1086 HRESULT CreateBinding(
1087 [in] LPBC pBC,
1088 [in] LPCWSTR szUrl,
1089 [in] IUnknown *pUnkOuter,
1090 [out, unique] IUnknown **ppUnk,
1091 [out, unique] IInternetProtocol **ppOInetProt,
1092 [in] DWORD dwOption);
1094 HRESULT SetSessionOption(
1095 [in] DWORD dwOption,
1096 [in] LPVOID pBuffer,
1097 [in] DWORD dwBufferLength,
1098 [in] DWORD dwReserved);
1101 /*****************************************************************************
1102 * IInternetSecurityMgrSite interface
1105 local,
1106 object,
1107 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1108 pointer_default(unique)
1110 interface IInternetSecurityMgrSite : IUnknown
1112 HRESULT GetWindow(
1113 [out] HWND *phwnd);
1115 HRESULT EnableModeless(
1116 [in] BOOL fEnable);
1120 /*****************************************************************************
1121 * IInternetSecurityManager interface
1123 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1126 object,
1127 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1128 pointer_default(unique)
1130 interface IInternetSecurityManager : IUnknown
1132 HRESULT SetSecuritySite(
1133 [in, unique] IInternetSecurityMgrSite *pSite);
1135 HRESULT GetSecuritySite(
1136 [out] IInternetSecurityMgrSite **ppSite);
1138 HRESULT MapUrlToZone(
1139 [in] LPCWSTR pwszUrl,
1140 [out] DWORD *pdwZone,
1141 [in] DWORD dwFlags);
1143 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1145 HRESULT GetSecurityId(
1146 [in] LPCWSTR pwszUrl,
1147 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1148 [in, out] DWORD *pcbSecurityId,
1149 [in] DWORD_PTR dwReserved);
1152 typedef enum {
1153 PUAF_DEFAULT = 0x00,
1154 PUAF_NOUI = 0x01,
1155 PUAF_ISFILE = 0x02,
1156 PUAF_WARN_IF_DENIED = 0x04,
1157 PUAF_FORCEUI_FOREGROUND = 0x08,
1158 PUAF_CHECK_TIPS = 0x10
1159 } PUAF;
1161 HRESULT ProcessUrlAction(
1162 [in] LPCWSTR pwszUrl,
1163 [in] DWORD dwAction,
1164 [out, size_is(cbPolicy)] BYTE *pPolicy,
1165 [in] DWORD cbPolicy,
1166 [in, unique] BYTE *pContext,
1167 [in] DWORD cbContext,
1168 [in] DWORD dwFlags,
1169 [in] DWORD dwReserved);
1171 HRESULT QueryCustomPolicy(
1172 [in] LPCWSTR pwszUrl,
1173 [in] REFGUID guidKey,
1174 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1175 [out] DWORD *pcbPolicy,
1176 [in] BYTE *pContext,
1177 [in] DWORD cbContext,
1178 [in] DWORD dwReserved);
1180 typedef enum {
1181 SZM_CREATE = 0x0,
1182 SZM_DELETE = 0x1
1183 } SZM_FLAGS;
1185 HRESULT SetZoneMapping(
1186 [in] DWORD dwZone,
1187 [in] LPCWSTR lpszPattern,
1188 [in] DWORD dwFlags);
1190 HRESULT GetZoneMappings(
1191 [in] DWORD dwZone,
1192 [out] IEnumString **ppenumString,
1193 [in] DWORD dwFlags);
1196 /*****************************************************************************
1197 * IInternetSecurityManagerEx interface
1199 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1202 object,
1203 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1204 pointer_default(unique)
1206 interface IInternetSecurityManagerEx : IInternetSecurityManager
1208 HRESULT ProcessUrlActionEx(
1209 [in] LPCWSTR pwszUrl,
1210 [in] DWORD dwAction,
1211 [out, size_is(cbPolicy)] BYTE *pPolicy,
1212 [in] DWORD cbPolicy,
1213 [in] BYTE *pContext,
1214 [in] DWORD cbContext,
1215 [in] DWORD dwFlags,
1216 [in] DWORD dwReserved,
1217 [out] DWORD *pdwOutFlags);
1220 /*****************************************************************************
1221 * IInternetSecurityManagerEx2 interface
1223 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1226 object,
1227 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1228 pointer_default(unique)
1230 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1232 HRESULT MapUrlToZoneEx2(
1233 [in] IUri *pUri,
1234 [out] DWORD *pdwZone,
1235 [in] DWORD dwFlags,
1236 [out] LPWSTR *ppwszMappedUrl,
1237 [out] DWORD *pdwOutFlags);
1239 HRESULT ProcessUrlActionEx2(
1240 [in] IUri *pUri,
1241 [in] DWORD dwAction,
1242 [out, size_is(cbPolicy)] BYTE *pPolicy,
1243 [in] DWORD cbPolicy,
1244 [in, unique] BYTE *pContext,
1245 [in] DWORD cbContext,
1246 [in] DWORD dwFlags,
1247 [in] DWORD_PTR dwReserved,
1248 [out] DWORD *pdwOutFlags);
1250 HRESULT GetSecurityIdEx2(
1251 [in] IUri *pUri,
1252 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1253 [in, out] DWORD *pcbSecurityId,
1254 [in] DWORD_PTR dwReserved);
1256 HRESULT QueryCustomPolicyEx2(
1257 [in] IUri *pUri,
1258 [in] REFGUID guidKey,
1259 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1260 [out] DWORD *pcbPolicy,
1261 [in] BYTE *pContext,
1262 [in] DWORD cbContext,
1263 [in] DWORD_PTR dwReserved);
1266 /*****************************************************************************
1267 * IInternetHostSecurityManager interface
1269 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1272 local,
1273 object,
1274 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1275 pointer_default(unique)
1277 interface IInternetHostSecurityManager : IUnknown
1279 HRESULT GetSecurityId(
1280 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1281 [in, out] DWORD *pcbSecurityId,
1282 [in] DWORD_PTR dwReserved);
1284 HRESULT ProcessUrlAction(
1285 [in] DWORD dwAction,
1286 [out, size_is(cbPolicy)] BYTE *pPolicy,
1287 [in] DWORD cbPolicy,
1288 [in] BYTE *pContext,
1289 [in] DWORD cbContext,
1290 [in] DWORD dwFlags,
1291 [in] DWORD dwReserved);
1293 HRESULT QueryCustomPolicy(
1294 [in] REFGUID guidKey,
1295 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1296 [out] DWORD *pcbPolicy,
1297 [in] BYTE *pContext,
1298 [in] DWORD cbContext,
1299 [in] DWORD dwReserved);
1302 cpp_quote("#define URLACTION_MIN 0x00001000")
1303 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1304 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1305 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1306 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1307 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1309 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1310 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1311 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1312 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1313 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1314 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1315 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1316 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1317 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1318 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1319 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1321 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1322 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1323 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1324 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1325 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1326 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1327 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1328 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1330 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1331 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1332 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1333 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1334 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1335 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1336 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1337 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1338 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1339 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1340 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1342 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1343 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1344 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1345 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1346 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1347 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1348 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1349 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1351 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1352 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1353 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1354 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1355 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1356 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1357 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1358 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1359 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1360 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1361 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1363 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1364 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1365 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1366 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1367 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1368 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1369 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1370 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1371 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1373 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1374 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1375 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1376 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1377 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1378 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1379 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1380 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1381 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1382 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1384 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1385 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1386 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1387 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1388 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1389 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1391 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1392 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1393 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1395 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1396 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1397 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1398 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1399 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1400 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1401 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1403 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1404 cpp_quote("#define URLPOLICY_QUERY 0x01")
1405 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1407 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1408 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1410 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1411 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1413 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1415 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1416 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1417 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1418 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1420 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1421 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1422 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1424 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1425 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1426 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1428 /*****************************************************************************
1429 * IInternetZoneManager interface
1432 local,
1433 object,
1434 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1435 pointer_default(unique)
1437 interface IInternetZoneManager : IUnknown
1439 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1441 typedef enum tagURLZONE
1443 URLZONE_INVALID = -1,
1444 URLZONE_PREDEFINED_MIN = 0,
1445 URLZONE_LOCAL_MACHINE = 0,
1446 URLZONE_INTRANET = 1,
1447 URLZONE_TRUSTED = 2,
1448 URLZONE_INTERNET = 3,
1449 URLZONE_UNTRUSTED = 4,
1450 URLZONE_PREDEFINED_MAX = 999,
1451 URLZONE_USER_MIN = 1000,
1452 URLZONE_USER_MAX = 10000,
1453 } URLZONE;
1455 typedef enum tagURLTEMPLATE
1457 URLTEMPLATE_CUSTOM = 0x00000,
1458 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1459 URLTEMPLATE_LOW = 0x10000,
1460 URLTEMPLATE_MEDLOW = 0x10500,
1461 URLTEMPLATE_MEDIUM = 0x11000,
1462 URLTEMPLATE_MEDHIGH = 0x11500,
1463 URLTEMPLATE_HIGH = 0x12000,
1464 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1465 } URLTEMPLATE ;
1467 typedef enum {
1468 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1469 ZAFLAGS_ADD_SITES = 0x00000002,
1470 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1471 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1472 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1473 ZAFLAGS_NO_UI = 0x00000020,
1474 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1475 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1476 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1477 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1478 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1479 ZAFLAGS_NO_CACHE = 0x00040000,
1480 } ZAFLAGS ;
1482 enum {
1483 MAX_ZONE_PATH = 260,
1484 MAX_ZONE_DESCRIPTION = 200
1487 typedef struct _ZONEATTRIBUTES {
1488 ULONG cbSize;
1489 WCHAR szDisplayName[MAX_ZONE_PATH];
1490 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1491 WCHAR szIconPath[MAX_ZONE_PATH];
1492 DWORD dwTemplateMinLevel;
1493 DWORD dwTemplateRecommended;
1494 DWORD dwTemplateCurrentLevel;
1495 DWORD dwFlags;
1496 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1498 typedef enum _URLZONEREG {
1499 URLZONEREG_DEFAULT,
1500 URLZONEREG_HKLM,
1501 URLZONEREG_HKCU
1502 } URLZONEREG;
1504 HRESULT GetZoneAttributes(
1505 [in] DWORD dwZone,
1506 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1508 HRESULT SetZoneAttributes(
1509 [in] DWORD dwZone,
1510 [in] ZONEATTRIBUTES* pZoneAttributes);
1512 HRESULT GetZoneCustomPolicy(
1513 [in] DWORD dwZone,
1514 [in] REFGUID guidKey,
1515 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1516 [out] DWORD* pcbPolicy,
1517 [in] URLZONEREG ulrZoneReg);
1519 HRESULT SetZoneCustomPolicy(
1520 [in] DWORD dwZone,
1521 [in] REFGUID guidKey,
1522 [in, size_is(pcbPolicy)] BYTE *ppPolicy,
1523 [in] DWORD pcbPolicy,
1524 [in] URLZONEREG ulrZoneReg);
1526 HRESULT GetZoneActionPolicy(
1527 [in] DWORD dwZone,
1528 [in] DWORD dwAction,
1529 [out, size_is(cbPolicy)] BYTE* pPolicy,
1530 [in] DWORD cbPolicy,
1531 [in] URLZONEREG urlZoneReg);
1533 HRESULT SetZoneActionPolicy(
1534 [in] DWORD dwZone,
1535 [in] DWORD dwAction,
1536 [in, size_is(cbPolicy)] BYTE* pPolicy,
1537 [in] DWORD cbPolicy,
1538 [in] URLZONEREG urlZoneReg);
1540 HRESULT PromptAction(
1541 [in] DWORD dwAction,
1542 [in] HWND hwndParent,
1543 [in] LPCWSTR pwszUrl,
1544 [in] LPCWSTR pwszText,
1545 [in] DWORD dwPromptFlags );
1547 HRESULT LogAction(
1548 [in] DWORD dwAction,
1549 [in] LPCWSTR pwszUrl,
1550 [in] LPCWSTR pwszText,
1551 [in] DWORD dwLogFlags);
1553 HRESULT CreateZoneEnumerator(
1554 [out] DWORD* pdwEnum,
1555 [out] DWORD* pdwCount,
1556 [in] DWORD dwFlags);
1558 HRESULT GetZoneAt(
1559 [in] DWORD dwEnum,
1560 [in] DWORD dwIndex,
1561 [out] DWORD* pdwZone);
1563 HRESULT DestroyZoneEnumerator(
1564 [in] DWORD dwEnum);
1566 HRESULT CopyTemplatePoliciesToZone(
1567 [in] DWORD dwTemplate,
1568 [in] DWORD dwZone,
1569 [in] DWORD dwReserved);
1572 /*****************************************************************************
1573 * IInternetZoneManagerEx interface
1576 local,
1577 object,
1578 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1579 pointer_default(unique)
1581 interface IInternetZoneManagerEx : IInternetZoneManager
1583 HRESULT GetZoneActionPolicyEx(
1584 [in] DWORD dwZone,
1585 [in] DWORD dwAction,
1586 [out, size_is(cbPolicy)] BYTE *pPolicy,
1587 [in] DWORD cbPolicy,
1588 [in] URLZONEREG urlZoneReg,
1589 [in] DWORD dwFlags);
1591 HRESULT SetZoneActionPolicyEx(
1592 [in] DWORD dwZone,
1593 [in] DWORD dwAction,
1594 [in, size_is(cbPolicy)] BYTE *pPolicy,
1595 [in] DWORD cbPolicy,
1596 [in] URLZONEREG urlZoneReg,
1597 [in] DWORD dwFlags);
1601 /*****************************************************************************
1602 * IInternetZoneManagerEx2 interface
1605 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1606 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1609 local,
1610 object,
1611 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1612 pointer_default(unique)
1614 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1616 HRESULT GetZoneAttributesEx(
1617 [in] DWORD dwZone,
1618 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1619 [in] DWORD dwFlags);
1621 HRESULT GetZoneSecurityState(
1622 [in] DWORD dwZoneIndex,
1623 [in] BOOL fRespectPolicy,
1624 [in, out] LPDWORD pdwState,
1625 [in, out] BOOL *pfPolicyEncountered);
1627 HRESULT GetIESecurityState(
1628 [in] BOOL fRespectPolicy,
1629 [in, out] LPDWORD pdwState,
1630 [in, out] BOOL *pfPolicyEncountered,
1631 [in] BOOL fNoCache);
1633 HRESULT FixInsecureSettings(void);
1638 typedef struct _tagSOFTDISTINFO
1640 ULONG cbSize;
1641 DWORD dwFlags;
1642 DWORD dwAdState;
1643 LPWSTR szTitle;
1644 LPWSTR szAbstract;
1645 LPWSTR szHREF;
1646 DWORD dwInstalledVersionMS;
1647 DWORD dwInstalledVersionLS;
1648 DWORD dwUpdateVersionMS;
1649 DWORD dwUpdateVersionLS;
1650 DWORD dwAdvertisedVersionMS;
1651 DWORD dwAdvertisedVersionLS;
1652 DWORD dwReserved;
1653 } SOFTDISTINFO, *LPSOFTDISTINFO;
1655 typedef struct _tagCODEBASEHOLD
1657 DWORD cbSize;
1658 LPWSTR szDistUnit;
1659 LPWSTR szCodeBase;
1660 DWORD dwVersionMS;
1661 DWORD dwVersionLS;
1662 DWORD dwStyle;
1663 } CODEBASEHOLD, *LPCODEBASEHOLD;
1666 local,
1667 object,
1668 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1669 pointer_default(unique)
1671 interface ISoftDistExt : IUnknown
1673 HRESULT ProcessSoftDist(
1674 [in] LPCWSTR szCDFURL,
1675 [in] IXMLElement *pSoftDistElement,
1676 [in, out] LPSOFTDISTINFO lpsdi );
1678 HRESULT GetFirstCodeBase(
1679 [in] LPWSTR *szCodeBase,
1680 [in] LPDWORD dwMaxSize );
1682 HRESULT GetNextCodeBase(
1683 [in] LPWSTR *szCodeBase,
1684 [in] LPDWORD dwMaxSize );
1686 HRESULT AsyncInstallDistributionUnit(
1687 [in] IBindCtx *pbc,
1688 [in] LPVOID lpReserved,
1689 [in] DWORD flags,
1690 [in] LPCODEBASEHOLD lpcbh);
1693 typedef enum _tagINTERNETFEATURELIST
1695 FEATURE_OBJECT_CACHING,
1696 FEATURE_ZONE_ELEVATION,
1697 FEATURE_MIME_HANDLING,
1698 FEATURE_MIME_SNIFFING,
1699 FEATURE_WINDOW_RESTRICTIONS,
1700 FEATURE_WEBOC_POPUPMANAGEMENT,
1701 FEATURE_BEHAVIORS,
1702 FEATURE_DISABLE_MK_PROTOCOL,
1703 FEATURE_LOCALMACHINE_LOCKDOWN,
1704 FEATURE_SECURITYBAND,
1705 FEATURE_RESTRICT_ACTIVEXINSTALL,
1706 FEATURE_VALIDATE_NAVIGATE_URL,
1707 FEATURE_RESTRICT_FILEDOWNLOAD,
1708 FEATURE_ADDON_MANAGEMENT,
1709 FEATURE_PROTOCOL_LOCKDOWN,
1710 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1711 FEATURE_SAFE_BINDTOOBJECT,
1712 FEATURE_UNC_SAVEDFILECHECK,
1713 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1714 FEATURE_TABBED_BROWSING,
1715 FEATURE_SSLUX,
1716 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1717 FEATURE_DISABLE_LEGACY_COMPRESSION,
1718 FEATURE_FORCE_ADDR_AND_STATUS,
1719 FEATURE_XMLHTTP,
1720 FEATURE_DISABLE_TELNET_PROTOCOL,
1721 FEATURE_FEEDS,
1722 FEATURE_BLOCK_INPUT_PROMPTS,
1723 FEATURE_ENTRY_COUNT
1724 } INTERNETFEATURELIST;
1726 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1727 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1728 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1729 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1730 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1731 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1732 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1733 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1735 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1736 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1737 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1738 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1739 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1740 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1741 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1742 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1744 typedef struct _tagPROTOCOLFILTERDATA {
1745 DWORD cbSize;
1746 IInternetProtocolSink *pProtocolSink;
1747 IInternetProtocol *pProtocol;
1748 IUnknown *pUnk;
1749 DWORD dwFilterFlags;
1750 } PROTOCOLFILTERDATA;
1752 /*****************************************************************************
1753 * IUri interface
1756 object,
1757 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1758 pointer_default(unique)
1760 interface IUri : IUnknown
1762 typedef enum
1764 Uri_PROPERTY_ABSOLUTE_URI = 0,
1765 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1766 Uri_PROPERTY_AUTHORITY = 1,
1767 Uri_PROPERTY_DISPLAY_URI = 2,
1768 Uri_PROPERTY_DOMAIN = 3,
1769 Uri_PROPERTY_EXTENSION = 4,
1770 Uri_PROPERTY_FRAGMENT = 5,
1771 Uri_PROPERTY_HOST = 6,
1772 Uri_PROPERTY_PASSWORD = 7,
1773 Uri_PROPERTY_PATH = 8,
1774 Uri_PROPERTY_PATH_AND_QUERY = 9,
1775 Uri_PROPERTY_QUERY = 10,
1776 Uri_PROPERTY_RAW_URI = 11,
1777 Uri_PROPERTY_SCHEME_NAME = 12,
1778 Uri_PROPERTY_USER_INFO = 13,
1779 Uri_PROPERTY_USER_NAME = 14,
1780 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1781 Uri_PROPERTY_HOST_TYPE = 15,
1782 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1783 Uri_PROPERTY_PORT = 16,
1784 Uri_PROPERTY_SCHEME = 17,
1785 Uri_PROPERTY_ZONE = 18,
1786 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1787 } Uri_PROPERTY;
1789 typedef enum
1791 Uri_HOST_UNKNOWN = 0,
1792 Uri_HOST_DNS = 1,
1793 Uri_HOST_IPV4 = 2,
1794 Uri_HOST_IPV6 = 3,
1795 Uri_HOST_IDN = 4
1796 } Uri_HOST_TYPE;
1798 HRESULT GetPropertyBSTR(
1799 [in] Uri_PROPERTY uriProp,
1800 [out] BSTR *pbstrProperty,
1801 [in] DWORD dwFlags);
1803 HRESULT GetPropertyLength(
1804 [in] Uri_PROPERTY uriProp,
1805 [out] DWORD *pcchProperty,
1806 [in] DWORD dwFlags);
1808 HRESULT GetPropertyDWORD(
1809 [in] Uri_PROPERTY uriProp,
1810 [out] DWORD *pdwProperty,
1811 [in] DWORD dwFlags);
1813 HRESULT HasProperty(
1814 [in] Uri_PROPERTY uriProp,
1815 [out] BOOL *pfHasProperty);
1817 HRESULT GetAbsoluteUri(
1818 [out] BSTR *pbstrAbsoluteUri);
1820 HRESULT GetAuthority(
1821 [out] BSTR *pbstrAuthority);
1823 HRESULT GetDisplayUri(
1824 [out] BSTR *pbstrDisplayString);
1826 HRESULT GetDomain(
1827 [out] BSTR *pbstrDomain);
1829 HRESULT GetExtension(
1830 [out] BSTR *pbstrExtension);
1832 HRESULT GetFragment(
1833 [out] BSTR *pbstrFragment);
1835 HRESULT GetHost(
1836 [out] BSTR *pbstrHost);
1838 HRESULT GetPassword(
1839 [out] BSTR *pbstrPassword);
1841 HRESULT GetPath(
1842 [out] BSTR *pbstrPath);
1844 HRESULT GetPathAndQuery(
1845 [out] BSTR *pbstrPathAndQuery);
1847 HRESULT GetQuery(
1848 [out] BSTR *pbstrQuery);
1850 HRESULT GetRawUri(
1851 [out] BSTR *pbstrRawUri);
1853 HRESULT GetSchemeName(
1854 [out] BSTR *pbstrSchemeName);
1856 HRESULT GetUserInfo(
1857 [out] BSTR *pbstrUserInfo);
1859 HRESULT GetUserName(
1860 [out] BSTR *pbstrUserName);
1862 HRESULT GetHostType(
1863 [out] DWORD *pdwHostType);
1865 HRESULT GetPort(
1866 [out] DWORD *pdwPort);
1868 HRESULT GetScheme(
1869 [out] DWORD *pdwScheme);
1871 HRESULT GetZone(
1872 [out] DWORD *pdwZone);
1874 HRESULT GetProperties(
1875 [out] LPDWORD pdwFlags);
1877 HRESULT IsEqual(
1878 [in] IUri *pUri,
1879 [out] BOOL *pfEqual);
1882 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1883 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1884 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1886 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1887 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1888 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1889 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1890 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1891 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1892 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1893 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1894 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1895 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1896 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1897 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1898 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1899 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1900 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1901 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1902 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1903 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1904 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1906 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1907 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1908 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1909 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1910 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1911 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1912 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1913 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1914 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1915 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1916 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1917 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1918 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1919 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1920 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1921 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1922 cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000")
1923 cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000")
1925 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1926 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1927 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1929 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1930 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1931 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1932 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1933 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1934 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1935 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1936 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)")
1938 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1940 /*****************************************************************************
1941 * IUriContainer interface
1944 local,
1945 object,
1946 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1947 pointer_default(unique)
1949 interface IUriContainer : IUnknown
1951 HRESULT GetIUri([out] IUri **ppIUri);
1954 /*****************************************************************************
1955 * IUriBuilder interface
1958 local,
1959 object,
1960 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1961 pointer_default(unique)
1963 interface IUriBuilder: IUnknown
1965 HRESULT CreateUriSimple(
1966 [in] DWORD dwAllowEncodingPropertyMask,
1967 [in] DWORD_PTR dwReserved,
1968 [out] IUri **ppIUri);
1970 HRESULT CreateUri(
1971 [in] DWORD dwCreateFlags,
1972 [in] DWORD dwAllowEncodingPropertyMask,
1973 [in] DWORD_PTR dwReserved,
1974 [out] IUri **ppIUri);
1976 HRESULT CreateUriWithFlags(
1977 [in] DWORD dwCreateFlags,
1978 [in] DWORD dwUriBuilderFlags,
1979 [in] DWORD dwAllowEncodingPropertyMask,
1980 [in] DWORD_PTR dwReserved,
1981 [out] IUri **ppIUri);
1983 HRESULT GetIUri(
1984 [out] IUri **ppIUri);
1986 HRESULT SetIUri(
1987 [in, unique] IUri *pIUri);
1989 HRESULT GetFragment(
1990 [out] DWORD *pcchFragment,
1991 [out] LPCWSTR *ppwzFragment);
1993 HRESULT GetHost(
1994 [out] DWORD *pcchHost,
1995 [out] LPCWSTR *ppwzHost);
1997 HRESULT GetPassword(
1998 [out] DWORD *pcchPassword,
1999 [out] LPCWSTR *ppwzPassword);
2001 HRESULT GetPath(
2002 [out] DWORD *pcchPath,
2003 [out] LPCWSTR *ppwzPath);
2005 HRESULT GetPort(
2006 [out] BOOL *pfHasPort,
2007 [out] DWORD *pdwPort);
2009 HRESULT GetQuery(
2010 [out] DWORD *pcchQuery,
2011 [out] LPCWSTR *ppwzQuery);
2013 HRESULT GetSchemeName(
2014 [out] DWORD *pcchSchemeName,
2015 [out] LPCWSTR *ppwzSchemeName);
2017 HRESULT GetUserName(
2018 [out] DWORD *pcchUserName,
2019 [out] LPCWSTR *ppwzUserName);
2021 HRESULT SetFragment(
2022 [in] LPCWSTR pwzNewValue);
2024 HRESULT SetHost(
2025 [in] LPCWSTR pwzNewValue);
2027 HRESULT SetPassword(
2028 [in] LPCWSTR pwzNewValue);
2030 HRESULT SetPath(
2031 [in] LPCWSTR pwzNewValue);
2033 HRESULT SetPort(
2034 [in] BOOL fHasPort,
2035 [in] DWORD dwNewValue);
2037 HRESULT SetQuery(
2038 [in] LPCWSTR pwzNewValue);
2040 HRESULT SetSchemeName(
2041 [in] LPCWSTR pwzNewValue);
2043 HRESULT SetUserName(
2044 [in] LPCWSTR pwzNewValue);
2046 HRESULT RemoveProperties(
2047 [in] DWORD dwPropertyMask);
2049 HRESULT HasBeenModified(
2050 [out] BOOL *pfModified);
2053 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
2055 /*****************************************************************************
2056 * IUriBuilderFactory interface
2059 local,
2060 object,
2061 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
2062 pointer_default(unique)
2064 interface IUriBuilderFactory : IUnknown
2066 HRESULT CreateIUriBuilder(
2067 [in] DWORD dwFlags,
2068 [in] DWORD_PTR dwReserved,
2069 [out] IUriBuilder **ppIUriBuilder);
2071 HRESULT CreateInitializedIUriBuilder(
2072 [in] DWORD dwFlags,
2073 [in] DWORD_PTR dwReserved,
2074 [out] IUriBuilder **ppIUriBuilder);
2077 /*****************************************************************************
2078 * IInternetProtocolEx interface
2081 local,
2082 object,
2083 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2084 pointer_default(unique)
2086 interface IInternetProtocolEx : IInternetProtocol
2088 HRESULT StartEx(
2089 [in] IUri *pUri,
2090 [in] IInternetProtocolSink *pOIProtSink,
2091 [in] IInternetBindInfo *pOIBindInfo,
2092 [in] DWORD grfPI,
2093 [in] HANDLE *dwReserved);
2096 /*****************************************************************************
2097 * IGetBindHandle interface
2100 local,
2101 object,
2102 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2103 pointer_default(unique)
2105 interface IGetBindHandle : IUnknown
2107 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2109 typedef enum {
2110 BINDHANDLETYPES_APPCACHE = 0x00000000,
2111 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2112 BINDHANDLETYPES_COUNT
2113 } BINDHANDLETYPES;
2115 HRESULT GetBindHandle(
2116 [in] BINDHANDLETYPES enumRequestedHandle,
2117 [out] HANDLE *pRetHandle);
2120 /*****************************************************************************
2121 * IBindCallbackRedirect interface
2124 local,
2125 object,
2126 uuid(11c81bc2-121e-4ed5-b9c4-b430bd54f2c0),
2127 pointer_default(unique)
2129 interface IBindCallbackRedirect : IUnknown
2131 typedef [unique] IBindCallbackRedirect *LPBINDCALLBACKREDIRECT;
2133 HRESULT Redirect(
2134 [in] LPCWSTR lpcUrl,
2135 [out] VARIANT_BOOL *vbCancel);
2138 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2140 struct CONFIRMSAFETY
2142 CLSID clsid;
2143 IUnknown *pUnk;
2144 DWORD dwFlags;
2147 cpp_quote("#define UAS_EXACTLEGACY 0x1000")
2149 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2151 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2152 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2153 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2154 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2155 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2156 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2158 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2159 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2160 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2161 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2162 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2163 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2164 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2166 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2167 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2168 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2170 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2171 cpp_quote("#ifndef S_ASYNCHRONOUS")
2172 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2173 cpp_quote("#endif")
2175 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2176 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2177 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2178 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2179 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2180 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2181 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2182 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2183 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2184 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2185 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2186 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2187 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2188 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2189 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2190 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2191 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2192 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2193 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2194 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2195 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2196 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2197 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2198 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2199 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2200 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2201 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2202 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2203 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2204 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2205 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2206 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2207 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2209 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2210 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2211 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2212 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2213 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2214 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2215 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2216 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2217 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2218 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2219 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2220 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2221 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2222 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2223 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2224 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2225 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2226 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2227 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2228 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2229 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2230 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2231 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2232 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2233 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2234 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2235 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2236 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2237 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2238 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2239 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2240 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2241 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2242 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2243 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2244 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2245 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2246 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2247 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2248 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2249 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2250 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2251 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2252 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2253 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2254 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2255 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2256 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2257 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2258 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2259 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2260 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2261 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2262 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2263 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2264 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2265 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2267 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2268 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2269 cpp_quote("#define OInetGetSession CoInternetGetSession")
2271 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2272 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2273 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2275 cpp_quote("#define MKSYS_URLMONIKER 6")
2276 cpp_quote("#define URL_MK_LEGACY 0")
2277 cpp_quote("#define URL_MK_UNIFORM 1")
2278 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")