ws2_32: Also check the FQDN when injecting the local IP.
[wine.git] / include / urlmon.idl
blobd7e97adc5280f1d4feb1e39c0393b66af80ac256
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 * IHttpNegotiate interface
411 object,
412 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
413 pointer_default(unique)
415 interface IHttpNegotiate : IUnknown
417 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
419 HRESULT BeginningTransaction(
420 [in] LPCWSTR szURL,
421 [in, unique] LPCWSTR szHeaders,
422 [in] DWORD dwReserved,
423 [out] LPWSTR *pszAdditionalHeaders);
425 HRESULT OnResponse(
426 [in] DWORD dwResponseCode,
427 [in, unique] LPCWSTR szResponseHeaders,
428 [in, unique] LPCWSTR szRequestHeaders,
429 [out] LPWSTR *pszAdditionalRequestHeaders);
432 /*****************************************************************************
433 * IHttpNegotiate2 interface
436 object,
437 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
438 pointer_default(unique)
440 interface IHttpNegotiate2 : IHttpNegotiate
442 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
444 HRESULT GetRootSecurityId(
445 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
446 [in, out] DWORD *pcbSecurityId,
447 [in] DWORD_PTR dwReserved);
450 /*****************************************************************************
451 * IBindHost interface
453 cpp_quote("#define SID_IBindHost IID_IBindHost")
454 cpp_quote("#define SID_SBindHost IID_IBindHost")
456 object,
457 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
458 pointer_default(unique)
460 interface IBindHost : IUnknown
462 typedef [unique] IBindHost *LPBINDHOST;
464 HRESULT CreateMoniker(
465 [in] LPOLESTR szName,
466 [in] IBindCtx *pBC,
467 [out] IMoniker** ppmk,
468 [in] DWORD dwReserved);
470 [local]
471 HRESULT MonikerBindToStorage(
472 [in] IMoniker *pMk,
473 [in] IBindCtx *pBC,
474 [in] IBindStatusCallback *pBSC,
475 [in] REFIID riid,
476 [out] void **ppvObj);
478 [call_as(MonikerBindToStorage)]
479 HRESULT RemoteMonikerBindToStorage(
480 [in, unique] IMoniker *pMk,
481 [in, unique] IBindCtx *pBC,
482 [in, unique] IBindStatusCallback *pBSC,
483 [in] REFIID riid,
484 [out, iid_is(riid)] IUnknown **ppvObj);
486 [local]
487 HRESULT MonikerBindToObject(
488 [in] IMoniker *pMk,
489 [in] IBindCtx *pBC,
490 [in] IBindStatusCallback *pBSC,
491 [in] REFIID riid,
492 [out] void **ppvObj);
494 [call_as(MonikerBindToObject)]
495 HRESULT RemoteMonikerBindToObject(
496 [in, unique] IMoniker *pMk,
497 [in, unique] IBindCtx *pBC,
498 [in, unique] IBindStatusCallback *pBSC,
499 [in] REFIID riid,
500 [out, iid_is(riid)] IUnknown **ppvObj);
504 /*****************************************************************************
505 * IWinInetInfo interface
508 object,
509 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
510 pointer_default(unique)
512 interface IWinInetInfo : IUnknown
514 typedef [unique] IWinInetInfo *LPWININETINFO;
516 [local]
517 HRESULT QueryOption(
518 [in] DWORD dwOption,
519 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
520 [in, out] DWORD *pcbBuf);
522 [call_as(QueryOption)]
523 HRESULT RemoteQueryOption(
524 [in] DWORD dwOption,
525 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
526 [in, out] DWORD *pcbBuf);
531 /*****************************************************************************
532 * IWinInetHttpInfo interface
535 object,
536 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
537 pointer_default(unique)
539 interface IWinInetHttpInfo : IWinInetInfo
541 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
543 [local]
544 HRESULT QueryInfo(
545 [in] DWORD dwOption,
546 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
547 [in, out] DWORD *pcbBuf,
548 [in, out] DWORD *pdwFlags,
549 [in, out] DWORD *pdwReserved);
551 [call_as(QueryInfo)]
552 HRESULT RemoteQueryInfo(
553 [in] DWORD dwOption,
554 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
555 [in, out] DWORD *pcbBuf,
556 [in, out] DWORD *pdwFlags,
557 [in, out] DWORD *pdwReserved);
560 /*****************************************************************************
561 * IWindowForBindingUI interface
564 local,
565 object,
566 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
567 pointer_default(unique)
569 interface IWindowForBindingUI : IUnknown
571 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
573 HRESULT GetWindow(
574 [in] REFGUID rguidReason,
575 [out] HWND *phwnd);
578 /*****************************************************************************
579 * ICodeInstall interface
582 local,
583 object,
584 uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
585 pointer_default(unique)
587 interface ICodeInstall : IWindowForBindingUI
589 typedef [unique] ICodeInstall *LPCODEINSTALL;
591 typedef enum {
592 CIP_DISK_FULL,
593 CIP_ACCESS_DENIED,
594 CIP_NEWER_VERSION_EXISTS,
595 CIP_OLDER_VERSION_EXISTS,
596 CIP_NAME_CONFLICT,
597 CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
598 CIP_EXE_SELF_REGISTERATION_TIMEOUT,
599 CIP_UNSAFE_TO_ABORT,
600 CIP_NEED_REBOOT,
601 CIP_NEED_REBOOT_UI_PERMISSION
602 } CIP_STATUS;
604 HRESULT OnCodeInstallProblem(
605 [in] ULONG ulStatusCode,
606 [in, unique] LPCWSTR szDestination,
607 [in, unique] LPCWSTR szSource,
608 [in] DWORD dwReserved);
611 /*****************************************************************************
612 * IHttpSecurity interface
615 local,
616 object,
617 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
618 pointer_default(unique)
620 interface IHttpSecurity : IWindowForBindingUI
622 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
624 HRESULT OnSecurityProblem(
625 [in] DWORD dwProblem);
629 /*****************************************************************************
630 * IPersistMoniker interface
633 object,
634 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
635 pointer_default(unique)
637 interface IPersistMoniker : IUnknown
639 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
641 HRESULT GetClassID(
642 [out] CLSID *pClassID);
644 HRESULT IsDirty();
646 HRESULT Load(
647 [in] BOOL fFullyAvailable,
648 [in] IMoniker *pimkName,
649 [in] LPBC pibc,
650 [in] DWORD grfMode);
652 HRESULT Save(
653 [in] IMoniker *pimkName,
654 [in] LPBC pbc,
655 [in] BOOL fRemember);
657 HRESULT SaveCompleted(
658 [in] IMoniker *pimkName,
659 [in] LPBC pibc);
661 HRESULT GetCurMoniker(
662 [out] IMoniker **ppimkName);
665 /*****************************************************************************
666 * IMonikerProp interface
669 object,
670 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
671 pointer_default(unique)
673 interface IMonikerProp : IUnknown
675 typedef [unique] IMonikerProp *LPMONIKERPROP;
677 typedef enum {
678 MIMETYPEPROP = 0,
679 USE_SRC_URL = 1,
680 CLASSIDPROP = 2,
681 TRUSTEDDOWNLOADPROP = 3,
682 POPUPLEVELPROP = 4
683 } MONIKERPROPERTY;
685 HRESULT PutProperty(
686 [in] MONIKERPROPERTY mkp,
687 [in] LPCWSTR val);
690 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
691 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
693 /*****************************************************************************
694 * IBindProtocol interface
697 local,
698 object,
699 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
700 pointer_default(unique)
702 interface IBindProtocol : IUnknown
704 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
706 HRESULT CreateBinding(
707 [in] LPCWSTR szUrl,
708 [in] IBindCtx *pbc,
709 [out] IBinding **ppb);
712 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
714 /*****************************************************************************
715 * IInternetBindInfo interface
718 local,
719 object,
720 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
721 pointer_default(unique)
723 interface IInternetBindInfo : IUnknown
725 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
727 typedef enum tagBINDSTRING
729 BINDSTRING_HEADERS = 1,
730 BINDSTRING_ACCEPT_MIMES,
731 BINDSTRING_EXTRA_URL,
732 BINDSTRING_LANGUAGE,
733 BINDSTRING_USERNAME,
734 BINDSTRING_PASSWORD,
735 BINDSTRING_UA_PIXELS,
736 BINDSTRING_UA_COLOR,
737 BINDSTRING_OS,
738 BINDSTRING_USER_AGENT,
739 BINDSTRING_ACCEPT_ENCODINGS,
740 BINDSTRING_POST_COOKIE,
741 BINDSTRING_POST_DATA_MIME,
742 BINDSTRING_URL,
743 BINDSTRING_IID,
744 BINDSTRING_FLAG_BIND_TO_OBJECT,
745 BINDSTRING_PTR_BIND_CONTEXT,
746 BINDSTRING_XDR_ORIGIN,
747 BINDSTRING_DOWNLOADPATH,
748 BINDSTRING_ROOTDOC_URL,
749 BINDSTRING_INITIAL_FILENAME,
750 BINDSTRING_PROXY_USERNAME,
751 BINDSTRING_PROXY_PASSWORD,
752 BINDSTRING_ENTERPRISE_ID
753 } BINDSTRING;
755 HRESULT GetBindInfo(
756 [out] DWORD *grfBINDF,
757 [in, out, unique] BINDINFO *pbindinfo);
759 HRESULT GetBindString(
760 [in] ULONG ulStringType,
761 [in, out] LPOLESTR *ppwzStr,
762 [in] ULONG cEl,
763 [in, out] ULONG *pcElFetched);
766 /*****************************************************************************
767 * IInternetPriority interface
770 local,
771 object,
772 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
773 pointer_default(unique)
775 interface IInternetPriority : IUnknown
777 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
779 HRESULT SetPriority([in] LONG nPriority);
780 HRESULT GetPriority([out] LONG *pnPriority);
783 /*****************************************************************************
784 * IInternetProtocolRoot interface
787 local,
788 object,
789 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
790 pointer_default(unique)
792 interface IInternetProtocolRoot : IUnknown
794 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
796 typedef enum _tagPI_FLAGS
798 PI_PARSE_URL = 0x00000001,
799 PI_FILTER_MODE = 0x00000002,
800 PI_FORCE_ASYNC = 0x00000004,
801 PI_USE_WORKERTHREAD = 0x00000008,
802 PI_MIMEVERIFICATION = 0x00000010,
803 PI_CLSIDLOOKUP = 0x00000020,
804 PI_DATAPROGRESS = 0x00000040,
805 PI_SYNCHRONOUS = 0x00000080,
806 PI_APARTMENTTHREADED = 0x00000100,
807 PI_CLASSINSTALL = 0x00000200,
808 PD_FORCE_SWITCH = 0x00010000
809 } PI_FLAGS;
811 typedef struct _tagPROTOCOLDATA
813 DWORD grfFlags;
814 DWORD dwState;
815 LPVOID pData;
816 ULONG cbData;
817 } PROTOCOLDATA;
819 HRESULT Start(
820 [in] LPCWSTR szUrl,
821 [in] IInternetProtocolSink *pOIProtSink,
822 [in] IInternetBindInfo *pOIBindInfo,
823 [in] DWORD grfPI,
824 [in] HANDLE_PTR dwReserved);
826 HRESULT Continue(
827 [in] PROTOCOLDATA *pProtocolData);
829 HRESULT Abort(
830 [in] HRESULT hrReason,
831 [in] DWORD dwOptions);
833 HRESULT Terminate(
834 [in] DWORD dwOptions);
836 HRESULT Suspend();
838 HRESULT Resume();
841 /*****************************************************************************
842 * IInternetProtocolSink interface
845 local,
846 object,
847 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
848 pointer_default(unique)
850 interface IInternetProtocolSink : IUnknown
852 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
854 HRESULT Switch(
855 [in] PROTOCOLDATA *pProtocolData);
857 HRESULT ReportProgress(
858 [in] ULONG ulStatusCode,
859 [in] LPCWSTR szStatusText);
861 HRESULT ReportData(
862 [in] DWORD grfBSCF,
863 [in] ULONG ulProgress,
864 [in] ULONG ulProgressMax);
866 HRESULT ReportResult(
867 [in] HRESULT hrResult,
868 [in] DWORD dwError,
869 [in] LPCWSTR szResult);
872 /*****************************************************************************
873 * IInternetProtocol interface
876 local,
877 object,
878 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
879 pointer_default(unique)
881 interface IInternetProtocol : IInternetProtocolRoot
883 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
885 HRESULT Read(
886 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
887 [in] ULONG cb,
888 [out] ULONG *pcbRead);
890 HRESULT Seek(
891 [in] LARGE_INTEGER dlibMove,
892 [in] DWORD dwOrigin,
893 [out] ULARGE_INTEGER *plibNewPosition);
895 HRESULT LockRequest(
896 [in] DWORD dwOptions);
898 HRESULT UnlockRequest();
901 /*****************************************************************************
902 * IInternetProtocolInfo interface
905 local,
906 object,
907 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
908 pointer_default(unique)
910 interface IInternetProtocolInfo : IUnknown
912 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
914 typedef enum _tagPARSEACTION
916 PARSE_CANONICALIZE = 1,
917 PARSE_FRIENDLY,
918 PARSE_SECURITY_URL,
919 PARSE_ROOTDOCUMENT,
920 PARSE_DOCUMENT,
921 PARSE_ANCHOR,
922 PARSE_ENCODE,
923 PARSE_DECODE,
924 PARSE_PATH_FROM_URL,
925 PARSE_URL_FROM_PATH,
926 PARSE_MIME,
927 PARSE_SERVER,
928 PARSE_SCHEMA,
929 PARSE_SITE,
930 PARSE_DOMAIN,
931 PARSE_LOCATION,
932 PARSE_SECURITY_DOMAIN,
933 PARSE_ESCAPE,
934 PARSE_UNESCAPE
935 } PARSEACTION;
937 typedef enum _tagPSUACTION
939 PSU_DEFAULT = 1,
940 PSU_SECURITY_URL_ONLY
941 } PSUACTION;
943 typedef enum _tagQUERYOPTION
945 QUERY_EXPIRATION_DATE = 1,
946 QUERY_TIME_OF_LAST_CHANGE,
947 QUERY_CONTENT_ENCODING,
948 QUERY_CONTENT_TYPE,
949 QUERY_REFRESH,
950 QUERY_RECOMBINE,
951 QUERY_CAN_NAVIGATE,
952 QUERY_USES_NETWORK,
953 QUERY_IS_CACHED,
954 QUERY_IS_INSTALLEDENTRY,
955 QUERY_IS_CACHED_OR_MAPPED,
956 QUERY_USES_CACHE,
957 QUERY_IS_SECURE,
958 QUERY_IS_SAFE,
959 QUERY_USES_HISTORYFOLDER,
960 QUERY_IS_CACHED_AND_USABLE_OFFLINE
961 } QUERYOPTION;
963 HRESULT ParseUrl(
964 [in] LPCWSTR pwzUrl,
965 [in] PARSEACTION ParseAction,
966 [in] DWORD dwParseFlags,
967 [out] LPWSTR pwzResult,
968 [in] DWORD cchResult,
969 [out] DWORD *pcchResult,
970 [in] DWORD dwReserved);
972 HRESULT CombineUrl(
973 [in] LPCWSTR pwzBaseUrl,
974 [in] LPCWSTR pwzRelativeUrl,
975 [in] DWORD dwCombineFlags,
976 [out] LPWSTR pwzResult,
977 [in] DWORD cchResult,
978 [out] DWORD *pcchResult,
979 [in] DWORD dwReserved);
981 HRESULT CompareUrl(
982 [in] LPCWSTR pwzUrl1,
983 [in] LPCWSTR pwzUrl2,
984 [in] DWORD dwCompareFlags);
986 HRESULT QueryInfo(
987 [in] LPCWSTR pwzUrl,
988 [in] QUERYOPTION OueryOption,
989 [in] DWORD dwQueryFlags,
990 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
991 [in] DWORD cbBuffer,
992 [in, out] DWORD *pcbBuf,
993 [in] DWORD dwReserved);
996 /*****************************************************************************
997 * IInternetSession interface
1000 local,
1001 object,
1002 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
1003 pointer_default(unique)
1005 interface IInternetSession : IUnknown
1007 typedef [unique] IInternetSession *LPIINTERNETSESSION;
1009 typedef enum _tagOIBDG_FLAGS
1011 OIBDG_APARTMENTTHREADED = 0x0100,
1012 OIBDG_DATAONLY = 0x1000
1013 } OIBDG_FLAGS;
1015 HRESULT RegisterNameSpace(
1016 [in] IClassFactory *pCF,
1017 [in] REFCLSID rclsid,
1018 [in] LPCWSTR pwzProtocol,
1019 [in] ULONG cPatterns,
1020 [in] const LPCWSTR *ppwzPatterns,
1021 [in] DWORD dwReserved);
1023 HRESULT UnregisterNameSpace(
1024 [in] IClassFactory *pCF,
1025 [in] LPCWSTR pszProtocol);
1027 HRESULT RegisterMimeFilter(
1028 [in] IClassFactory *pCF,
1029 [in] REFCLSID rclsid,
1030 [in] LPCWSTR pwzType);
1032 HRESULT UnregisterMimeFilter(
1033 [in] IClassFactory *pCF,
1034 [in] LPCWSTR pwzType);
1036 HRESULT CreateBinding(
1037 [in] LPBC pBC,
1038 [in] LPCWSTR szUrl,
1039 [in] IUnknown *pUnkOuter,
1040 [out, unique] IUnknown **ppUnk,
1041 [out, unique] IInternetProtocol **ppOInetProt,
1042 [in] DWORD dwOption);
1044 HRESULT SetSessionOption(
1045 [in] DWORD dwOption,
1046 [in] LPVOID pBuffer,
1047 [in] DWORD dwBufferLength,
1048 [in] DWORD dwReserved);
1051 /*****************************************************************************
1052 * IInternetSecurityMgrSite interface
1055 local,
1056 object,
1057 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1058 pointer_default(unique)
1060 interface IInternetSecurityMgrSite : IUnknown
1062 HRESULT GetWindow(
1063 [out] HWND *phwnd);
1065 HRESULT EnableModeless(
1066 [in] BOOL fEnable);
1070 /*****************************************************************************
1071 * IInternetSecurityManager interface
1073 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1076 object,
1077 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1078 pointer_default(unique)
1080 interface IInternetSecurityManager : IUnknown
1082 HRESULT SetSecuritySite(
1083 [in, unique] IInternetSecurityMgrSite *pSite);
1085 HRESULT GetSecuritySite(
1086 [out] IInternetSecurityMgrSite **ppSite);
1088 HRESULT MapUrlToZone(
1089 [in] LPCWSTR pwszUrl,
1090 [out] DWORD *pdwZone,
1091 [in] DWORD dwFlags);
1093 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1095 HRESULT GetSecurityId(
1096 [in] LPCWSTR pwszUrl,
1097 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1098 [in, out] DWORD *pcbSecurityId,
1099 [in] DWORD_PTR dwReserved);
1102 typedef enum {
1103 PUAF_DEFAULT = 0x00,
1104 PUAF_NOUI = 0x01,
1105 PUAF_ISFILE = 0x02,
1106 PUAF_WARN_IF_DENIED = 0x04,
1107 PUAF_FORCEUI_FOREGROUND = 0x08,
1108 PUAF_CHECK_TIPS = 0x10
1109 } PUAF;
1111 HRESULT ProcessUrlAction(
1112 [in] LPCWSTR pwszUrl,
1113 [in] DWORD dwAction,
1114 [out, size_is(cbPolicy)] BYTE *pPolicy,
1115 [in] DWORD cbPolicy,
1116 [in, unique] BYTE *pContext,
1117 [in] DWORD cbContext,
1118 [in] DWORD dwFlags,
1119 [in] DWORD dwReserved);
1121 HRESULT QueryCustomPolicy(
1122 [in] LPCWSTR pwszUrl,
1123 [in] REFGUID guidKey,
1124 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1125 [out] DWORD *pcbPolicy,
1126 [in] BYTE *pContext,
1127 [in] DWORD cbContext,
1128 [in] DWORD dwReserved);
1130 typedef enum {
1131 SZM_CREATE = 0x0,
1132 SZM_DELETE = 0x1
1133 } SZM_FLAGS;
1135 HRESULT SetZoneMapping(
1136 [in] DWORD dwZone,
1137 [in] LPCWSTR lpszPattern,
1138 [in] DWORD dwFlags);
1140 HRESULT GetZoneMappings(
1141 [in] DWORD dwZone,
1142 [out] IEnumString **ppenumString,
1143 [in] DWORD dwFlags);
1146 /*****************************************************************************
1147 * IInternetSecurityManagerEx interface
1149 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1152 object,
1153 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1154 pointer_default(unique)
1156 interface IInternetSecurityManagerEx : IInternetSecurityManager
1158 HRESULT ProcessUrlActionEx(
1159 [in] LPCWSTR pwszUrl,
1160 [in] DWORD dwAction,
1161 [out, size_is(cbPolicy)] BYTE *pPolicy,
1162 [in] DWORD cbPolicy,
1163 [in] BYTE *pContext,
1164 [in] DWORD cbContext,
1165 [in] DWORD dwFlags,
1166 [in] DWORD dwReserved,
1167 [out] DWORD *pdwOutFlags);
1170 /*****************************************************************************
1171 * IInternetSecurityManagerEx2 interface
1173 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1176 object,
1177 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1178 pointer_default(unique)
1180 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1182 HRESULT MapUrlToZoneEx2(
1183 [in] IUri *pUri,
1184 [out] DWORD *pdwZone,
1185 [in] DWORD dwFlags,
1186 [out] LPWSTR *ppwszMappedUrl,
1187 [out] DWORD *pdwOutFlags);
1189 HRESULT ProcessUrlActionEx2(
1190 [in] IUri *pUri,
1191 [in] DWORD dwAction,
1192 [out, size_is(cbPolicy)] BYTE *pPolicy,
1193 [in] DWORD cbPolicy,
1194 [in, unique] BYTE *pContext,
1195 [in] DWORD cbContext,
1196 [in] DWORD dwFlags,
1197 [in] DWORD_PTR dwReserved,
1198 [out] DWORD *pdwOutFlags);
1200 HRESULT GetSecurityIdEx2(
1201 [in] IUri *pUri,
1202 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1203 [in, out] DWORD *pcbSecurityId,
1204 [in] DWORD_PTR dwReserved);
1206 HRESULT QueryCustomPolicyEx2(
1207 [in] IUri *pUri,
1208 [in] REFGUID guidKey,
1209 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1210 [out] DWORD *pcbPolicy,
1211 [in] BYTE *pContext,
1212 [in] DWORD cbContext,
1213 [in] DWORD_PTR dwReserved);
1216 /*****************************************************************************
1217 * IInternetHostSecurityManager interface
1219 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1222 local,
1223 object,
1224 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1225 pointer_default(unique)
1227 interface IInternetHostSecurityManager : IUnknown
1229 HRESULT GetSecurityId(
1230 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1231 [in, out] DWORD *pcbSecurityId,
1232 [in] DWORD_PTR dwReserved);
1234 HRESULT ProcessUrlAction(
1235 [in] DWORD dwAction,
1236 [out, size_is(cbPolicy)] BYTE *pPolicy,
1237 [in] DWORD cbPolicy,
1238 [in] BYTE *pContext,
1239 [in] DWORD cbContext,
1240 [in] DWORD dwFlags,
1241 [in] DWORD dwReserved);
1243 HRESULT QueryCustomPolicy(
1244 [in] REFGUID guidKey,
1245 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1246 [out] DWORD *pcbPolicy,
1247 [in] BYTE *pContext,
1248 [in] DWORD cbContext,
1249 [in] DWORD dwReserved);
1252 cpp_quote("#define URLACTION_MIN 0x00001000")
1253 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1254 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1255 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1256 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1257 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1259 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1260 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1261 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1262 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1263 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1264 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1265 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1266 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1267 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1268 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1269 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1271 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1272 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1273 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1274 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1275 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1276 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1277 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1278 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1280 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1281 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1282 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1283 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1284 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1285 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1286 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1287 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1288 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1289 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1290 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1292 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1293 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1294 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1295 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1296 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1297 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1298 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1299 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1301 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1302 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1303 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1304 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1305 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1306 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1307 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1308 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1309 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1310 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1311 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1313 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1314 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1315 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1316 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1317 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1318 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1319 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1320 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1321 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1323 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1324 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1325 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1326 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1327 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1328 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1329 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1330 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1331 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1332 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1334 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1335 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1336 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1337 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1338 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1339 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1341 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1342 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1343 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1345 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1346 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1347 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1348 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1349 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1350 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1351 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1353 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1354 cpp_quote("#define URLPOLICY_QUERY 0x01")
1355 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1357 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1358 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1360 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1361 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1363 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1365 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1366 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1367 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1368 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1370 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1371 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1372 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1374 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1375 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1376 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1378 /*****************************************************************************
1379 * IInternetZoneManager interface
1382 local,
1383 object,
1384 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1385 pointer_default(unique)
1387 interface IInternetZoneManager : IUnknown
1389 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1391 typedef enum tagURLZONE
1393 URLZONE_INVALID = -1,
1394 URLZONE_PREDEFINED_MIN = 0,
1395 URLZONE_LOCAL_MACHINE = 0,
1396 URLZONE_INTRANET = 1,
1397 URLZONE_TRUSTED = 2,
1398 URLZONE_INTERNET = 3,
1399 URLZONE_UNTRUSTED = 4,
1400 URLZONE_PREDEFINED_MAX = 999,
1401 URLZONE_USER_MIN = 1000,
1402 URLZONE_USER_MAX = 10000,
1403 } URLZONE;
1405 typedef enum tagURLTEMPLATE
1407 URLTEMPLATE_CUSTOM = 0x00000,
1408 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1409 URLTEMPLATE_LOW = 0x10000,
1410 URLTEMPLATE_MEDLOW = 0x10500,
1411 URLTEMPLATE_MEDIUM = 0x11000,
1412 URLTEMPLATE_MEDHIGH = 0x11500,
1413 URLTEMPLATE_HIGH = 0x12000,
1414 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1415 } URLTEMPLATE ;
1417 typedef enum {
1418 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1419 ZAFLAGS_ADD_SITES = 0x00000002,
1420 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1421 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1422 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1423 ZAFLAGS_NO_UI = 0x00000020,
1424 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1425 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1426 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1427 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1428 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1429 ZAFLAGS_NO_CACHE = 0x00040000,
1430 } ZAFLAGS ;
1432 enum {
1433 MAX_ZONE_PATH = 260,
1434 MAX_ZONE_DESCRIPTION = 200
1437 typedef struct _ZONEATTRIBUTES {
1438 ULONG cbSize;
1439 WCHAR szDisplayName[MAX_ZONE_PATH];
1440 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1441 WCHAR szIconPath[MAX_ZONE_PATH];
1442 DWORD dwTemplateMinLevel;
1443 DWORD dwTemplateRecommended;
1444 DWORD dwTemplateCurrentLevel;
1445 DWORD dwFlags;
1446 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1448 typedef enum _URLZONEREG {
1449 URLZONEREG_DEFAULT,
1450 URLZONEREG_HKLM,
1451 URLZONEREG_HKCU
1452 } URLZONEREG;
1454 HRESULT GetZoneAttributes(
1455 [in] DWORD dwZone,
1456 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1458 HRESULT SetZoneAttributes(
1459 [in] DWORD dwZone,
1460 [in] ZONEATTRIBUTES* pZoneAttributes);
1462 HRESULT GetZoneCustomPolicy(
1463 [in] DWORD dwZone,
1464 [in] REFGUID guidKey,
1465 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1466 [out] DWORD* pcbPolicy,
1467 [in] URLZONEREG ulrZoneReg);
1469 HRESULT SetZoneCustomPolicy(
1470 [in] DWORD dwZone,
1471 [in] REFGUID guidKey,
1472 [in, size_is(pcbPolicy)] BYTE *ppPolicy,
1473 [in] DWORD pcbPolicy,
1474 [in] URLZONEREG ulrZoneReg);
1476 HRESULT GetZoneActionPolicy(
1477 [in] DWORD dwZone,
1478 [in] DWORD dwAction,
1479 [out, size_is(cbPolicy)] BYTE* pPolicy,
1480 [in] DWORD cbPolicy,
1481 [in] URLZONEREG urlZoneReg);
1483 HRESULT SetZoneActionPolicy(
1484 [in] DWORD dwZone,
1485 [in] DWORD dwAction,
1486 [in, size_is(cbPolicy)] BYTE* pPolicy,
1487 [in] DWORD cbPolicy,
1488 [in] URLZONEREG urlZoneReg);
1490 HRESULT PromptAction(
1491 [in] DWORD dwAction,
1492 [in] HWND hwndParent,
1493 [in] LPCWSTR pwszUrl,
1494 [in] LPCWSTR pwszText,
1495 [in] DWORD dwPromptFlags );
1497 HRESULT LogAction(
1498 [in] DWORD dwAction,
1499 [in] LPCWSTR pwszUrl,
1500 [in] LPCWSTR pwszText,
1501 [in] DWORD dwLogFlags);
1503 HRESULT CreateZoneEnumerator(
1504 [out] DWORD* pdwEnum,
1505 [out] DWORD* pdwCount,
1506 [in] DWORD dwFlags);
1508 HRESULT GetZoneAt(
1509 [in] DWORD dwEnum,
1510 [in] DWORD dwIndex,
1511 [out] DWORD* pdwZone);
1513 HRESULT DestroyZoneEnumerator(
1514 [in] DWORD dwEnum);
1516 HRESULT CopyTemplatePoliciesToZone(
1517 [in] DWORD dwTemplate,
1518 [in] DWORD dwZone,
1519 [in] DWORD dwReserved);
1522 /*****************************************************************************
1523 * IInternetZoneManagerEx interface
1526 local,
1527 object,
1528 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1529 pointer_default(unique)
1531 interface IInternetZoneManagerEx : IInternetZoneManager
1533 HRESULT GetZoneActionPolicyEx(
1534 [in] DWORD dwZone,
1535 [in] DWORD dwAction,
1536 [out, size_is(cbPolicy)] BYTE *pPolicy,
1537 [in] DWORD cbPolicy,
1538 [in] URLZONEREG urlZoneReg,
1539 [in] DWORD dwFlags);
1541 HRESULT SetZoneActionPolicyEx(
1542 [in] DWORD dwZone,
1543 [in] DWORD dwAction,
1544 [in, size_is(cbPolicy)] BYTE *pPolicy,
1545 [in] DWORD cbPolicy,
1546 [in] URLZONEREG urlZoneReg,
1547 [in] DWORD dwFlags);
1551 /*****************************************************************************
1552 * IInternetZoneManagerEx2 interface
1555 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1556 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1559 local,
1560 object,
1561 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1562 pointer_default(unique)
1564 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1566 HRESULT GetZoneAttributesEx(
1567 [in] DWORD dwZone,
1568 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1569 [in] DWORD dwFlags);
1571 HRESULT GetZoneSecurityState(
1572 [in] DWORD dwZoneIndex,
1573 [in] BOOL fRespectPolicy,
1574 [in, out] LPDWORD pdwState,
1575 [in, out] BOOL *pfPolicyEncountered);
1577 HRESULT GetIESecurityState(
1578 [in] BOOL fRespectPolicy,
1579 [in, out] LPDWORD pdwState,
1580 [in, out] BOOL *pfPolicyEncountered,
1581 [in] BOOL fNoCache);
1583 HRESULT FixInsecureSettings(void);
1588 typedef struct _tagSOFTDISTINFO
1590 ULONG cbSize;
1591 DWORD dwFlags;
1592 DWORD dwAdState;
1593 LPWSTR szTitle;
1594 LPWSTR szAbstract;
1595 LPWSTR szHREF;
1596 DWORD dwInstalledVersionMS;
1597 DWORD dwInstalledVersionLS;
1598 DWORD dwUpdateVersionMS;
1599 DWORD dwUpdateVersionLS;
1600 DWORD dwAdvertisedVersionMS;
1601 DWORD dwAdvertisedVersionLS;
1602 DWORD dwReserved;
1603 } SOFTDISTINFO, *LPSOFTDISTINFO;
1605 typedef struct _tagCODEBASEHOLD
1607 DWORD cbSize;
1608 LPWSTR szDistUnit;
1609 LPWSTR szCodeBase;
1610 DWORD dwVersionMS;
1611 DWORD dwVersionLS;
1612 DWORD dwStyle;
1613 } CODEBASEHOLD, *LPCODEBASEHOLD;
1616 local,
1617 object,
1618 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1619 pointer_default(unique)
1621 interface ISoftDistExt : IUnknown
1623 HRESULT ProcessSoftDist(
1624 [in] LPCWSTR szCDFURL,
1625 [in] IXMLElement *pSoftDistElement,
1626 [in, out] LPSOFTDISTINFO lpsdi );
1628 HRESULT GetFirstCodeBase(
1629 [in] LPWSTR *szCodeBase,
1630 [in] LPDWORD dwMaxSize );
1632 HRESULT GetNextCodeBase(
1633 [in] LPWSTR *szCodeBase,
1634 [in] LPDWORD dwMaxSize );
1636 HRESULT AsyncInstallDistributionUnit(
1637 [in] IBindCtx *pbc,
1638 [in] LPVOID lpReserved,
1639 [in] DWORD flags,
1640 [in] LPCODEBASEHOLD lpcbh);
1643 typedef enum _tagINTERNETFEATURELIST
1645 FEATURE_OBJECT_CACHING,
1646 FEATURE_ZONE_ELEVATION,
1647 FEATURE_MIME_HANDLING,
1648 FEATURE_MIME_SNIFFING,
1649 FEATURE_WINDOW_RESTRICTIONS,
1650 FEATURE_WEBOC_POPUPMANAGEMENT,
1651 FEATURE_BEHAVIORS,
1652 FEATURE_DISABLE_MK_PROTOCOL,
1653 FEATURE_LOCALMACHINE_LOCKDOWN,
1654 FEATURE_SECURITYBAND,
1655 FEATURE_RESTRICT_ACTIVEXINSTALL,
1656 FEATURE_VALIDATE_NAVIGATE_URL,
1657 FEATURE_RESTRICT_FILEDOWNLOAD,
1658 FEATURE_ADDON_MANAGEMENT,
1659 FEATURE_PROTOCOL_LOCKDOWN,
1660 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1661 FEATURE_SAFE_BINDTOOBJECT,
1662 FEATURE_UNC_SAVEDFILECHECK,
1663 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1664 FEATURE_TABBED_BROWSING,
1665 FEATURE_SSLUX,
1666 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1667 FEATURE_DISABLE_LEGACY_COMPRESSION,
1668 FEATURE_FORCE_ADDR_AND_STATUS,
1669 FEATURE_XMLHTTP,
1670 FEATURE_DISABLE_TELNET_PROTOCOL,
1671 FEATURE_FEEDS,
1672 FEATURE_BLOCK_INPUT_PROMPTS,
1673 FEATURE_ENTRY_COUNT
1674 } INTERNETFEATURELIST;
1676 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1677 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1678 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1679 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1680 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1681 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1682 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1683 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1685 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1686 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1687 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1688 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1689 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1690 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1691 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1692 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1694 typedef struct _tagPROTOCOLFILTERDATA {
1695 DWORD cbSize;
1696 IInternetProtocolSink *pProtocolSink;
1697 IInternetProtocol *pProtocol;
1698 IUnknown *pUnk;
1699 DWORD dwFilterFlags;
1700 } PROTOCOLFILTERDATA;
1702 /*****************************************************************************
1703 * IUri interface
1706 object,
1707 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1708 pointer_default(unique)
1710 interface IUri : IUnknown
1712 typedef enum
1714 Uri_PROPERTY_ABSOLUTE_URI = 0,
1715 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1716 Uri_PROPERTY_AUTHORITY = 1,
1717 Uri_PROPERTY_DISPLAY_URI = 2,
1718 Uri_PROPERTY_DOMAIN = 3,
1719 Uri_PROPERTY_EXTENSION = 4,
1720 Uri_PROPERTY_FRAGMENT = 5,
1721 Uri_PROPERTY_HOST = 6,
1722 Uri_PROPERTY_PASSWORD = 7,
1723 Uri_PROPERTY_PATH = 8,
1724 Uri_PROPERTY_PATH_AND_QUERY = 9,
1725 Uri_PROPERTY_QUERY = 10,
1726 Uri_PROPERTY_RAW_URI = 11,
1727 Uri_PROPERTY_SCHEME_NAME = 12,
1728 Uri_PROPERTY_USER_INFO = 13,
1729 Uri_PROPERTY_USER_NAME = 14,
1730 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1731 Uri_PROPERTY_HOST_TYPE = 15,
1732 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1733 Uri_PROPERTY_PORT = 16,
1734 Uri_PROPERTY_SCHEME = 17,
1735 Uri_PROPERTY_ZONE = 18,
1736 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1737 } Uri_PROPERTY;
1739 typedef enum
1741 Uri_HOST_UNKNOWN = 0,
1742 Uri_HOST_DNS = 1,
1743 Uri_HOST_IPV4 = 2,
1744 Uri_HOST_IPV6 = 3,
1745 Uri_HOST_IDN = 4
1746 } Uri_HOST_TYPE;
1748 HRESULT GetPropertyBSTR(
1749 [in] Uri_PROPERTY uriProp,
1750 [out] BSTR *pbstrProperty,
1751 [in] DWORD dwFlags);
1753 HRESULT GetPropertyLength(
1754 [in] Uri_PROPERTY uriProp,
1755 [out] DWORD *pcchProperty,
1756 [in] DWORD dwFlags);
1758 HRESULT GetPropertyDWORD(
1759 [in] Uri_PROPERTY uriProp,
1760 [out] DWORD *pdwProperty,
1761 [in] DWORD dwFlags);
1763 HRESULT HasProperty(
1764 [in] Uri_PROPERTY uriProp,
1765 [out] BOOL *pfHasProperty);
1767 HRESULT GetAbsoluteUri(
1768 [out] BSTR *pbstrAbsoluteUri);
1770 HRESULT GetAuthority(
1771 [out] BSTR *pbstrAuthority);
1773 HRESULT GetDisplayUri(
1774 [out] BSTR *pbstrDisplayString);
1776 HRESULT GetDomain(
1777 [out] BSTR *pbstrDomain);
1779 HRESULT GetExtension(
1780 [out] BSTR *pbstrExtension);
1782 HRESULT GetFragment(
1783 [out] BSTR *pbstrFragment);
1785 HRESULT GetHost(
1786 [out] BSTR *pbstrHost);
1788 HRESULT GetPassword(
1789 [out] BSTR *pbstrPassword);
1791 HRESULT GetPath(
1792 [out] BSTR *pbstrPath);
1794 HRESULT GetPathAndQuery(
1795 [out] BSTR *pbstrPathAndQuery);
1797 HRESULT GetQuery(
1798 [out] BSTR *pbstrQuery);
1800 HRESULT GetRawUri(
1801 [out] BSTR *pbstrRawUri);
1803 HRESULT GetSchemeName(
1804 [out] BSTR *pbstrSchemeName);
1806 HRESULT GetUserInfo(
1807 [out] BSTR *pbstrUserInfo);
1809 HRESULT GetUserName(
1810 [out] BSTR *pbstrUserName);
1812 HRESULT GetHostType(
1813 [out] DWORD *pdwHostType);
1815 HRESULT GetPort(
1816 [out] DWORD *pdwPort);
1818 HRESULT GetScheme(
1819 [out] DWORD *pdwScheme);
1821 HRESULT GetZone(
1822 [out] DWORD *pdwZone);
1824 HRESULT GetProperties(
1825 [out] LPDWORD pdwFlags);
1827 HRESULT IsEqual(
1828 [in] IUri *pUri,
1829 [out] BOOL *pfEqual);
1832 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1833 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1834 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1836 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1837 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1838 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1839 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1840 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1841 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1842 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1843 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1844 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1845 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1846 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1847 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1848 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1849 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1850 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1851 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1852 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1853 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1854 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1856 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1857 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1858 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1859 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1860 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1861 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1862 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1863 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1864 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1865 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1866 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1867 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1868 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1869 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1870 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1871 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1872 cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000")
1873 cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000")
1875 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1876 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1877 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1879 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1880 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1881 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1882 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1883 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1884 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1885 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1886 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)")
1888 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1890 /*****************************************************************************
1891 * IUriContainer interface
1894 local,
1895 object,
1896 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1897 pointer_default(unique)
1899 interface IUriContainer : IUnknown
1901 HRESULT GetIUri([out] IUri **ppIUri);
1904 /*****************************************************************************
1905 * IUriBuilder interface
1908 local,
1909 object,
1910 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1911 pointer_default(unique)
1913 interface IUriBuilder: IUnknown
1915 HRESULT CreateUriSimple(
1916 [in] DWORD dwAllowEncodingPropertyMask,
1917 [in] DWORD_PTR dwReserved,
1918 [out] IUri **ppIUri);
1920 HRESULT CreateUri(
1921 [in] DWORD dwCreateFlags,
1922 [in] DWORD dwAllowEncodingPropertyMask,
1923 [in] DWORD_PTR dwReserved,
1924 [out] IUri **ppIUri);
1926 HRESULT CreateUriWithFlags(
1927 [in] DWORD dwCreateFlags,
1928 [in] DWORD dwUriBuilderFlags,
1929 [in] DWORD dwAllowEncodingPropertyMask,
1930 [in] DWORD_PTR dwReserved,
1931 [out] IUri **ppIUri);
1933 HRESULT GetIUri(
1934 [out] IUri **ppIUri);
1936 HRESULT SetIUri(
1937 [in, unique] IUri *pIUri);
1939 HRESULT GetFragment(
1940 [out] DWORD *pcchFragment,
1941 [out] LPCWSTR *ppwzFragment);
1943 HRESULT GetHost(
1944 [out] DWORD *pcchHost,
1945 [out] LPCWSTR *ppwzHost);
1947 HRESULT GetPassword(
1948 [out] DWORD *pcchPassword,
1949 [out] LPCWSTR *ppwzPassword);
1951 HRESULT GetPath(
1952 [out] DWORD *pcchPath,
1953 [out] LPCWSTR *ppwzPath);
1955 HRESULT GetPort(
1956 [out] BOOL *pfHasPort,
1957 [out] DWORD *pdwPort);
1959 HRESULT GetQuery(
1960 [out] DWORD *pcchQuery,
1961 [out] LPCWSTR *ppwzQuery);
1963 HRESULT GetSchemeName(
1964 [out] DWORD *pcchSchemeName,
1965 [out] LPCWSTR *ppwzSchemeName);
1967 HRESULT GetUserName(
1968 [out] DWORD *pcchUserName,
1969 [out] LPCWSTR *ppwzUserName);
1971 HRESULT SetFragment(
1972 [in] LPCWSTR pwzNewValue);
1974 HRESULT SetHost(
1975 [in] LPCWSTR pwzNewValue);
1977 HRESULT SetPassword(
1978 [in] LPCWSTR pwzNewValue);
1980 HRESULT SetPath(
1981 [in] LPCWSTR pwzNewValue);
1983 HRESULT SetPort(
1984 [in] BOOL fHasPort,
1985 [in] DWORD dwNewValue);
1987 HRESULT SetQuery(
1988 [in] LPCWSTR pwzNewValue);
1990 HRESULT SetSchemeName(
1991 [in] LPCWSTR pwzNewValue);
1993 HRESULT SetUserName(
1994 [in] LPCWSTR pwzNewValue);
1996 HRESULT RemoveProperties(
1997 [in] DWORD dwPropertyMask);
1999 HRESULT HasBeenModified(
2000 [out] BOOL *pfModified);
2003 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
2005 /*****************************************************************************
2006 * IUriBuilderFactory interface
2009 local,
2010 object,
2011 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
2012 pointer_default(unique)
2014 interface IUriBuilderFactory : IUnknown
2016 HRESULT CreateIUriBuilder(
2017 [in] DWORD dwFlags,
2018 [in] DWORD_PTR dwReserved,
2019 [out] IUriBuilder **ppIUriBuilder);
2021 HRESULT CreateInitializedIUriBuilder(
2022 [in] DWORD dwFlags,
2023 [in] DWORD_PTR dwReserved,
2024 [out] IUriBuilder **ppIUriBuilder);
2027 /*****************************************************************************
2028 * IInternetProtocolEx interface
2031 local,
2032 object,
2033 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2034 pointer_default(unique)
2036 interface IInternetProtocolEx : IInternetProtocol
2038 HRESULT StartEx(
2039 [in] IUri *pUri,
2040 [in] IInternetProtocolSink *pOIProtSink,
2041 [in] IInternetBindInfo *pOIBindInfo,
2042 [in] DWORD grfPI,
2043 [in] HANDLE *dwReserved);
2046 /*****************************************************************************
2047 * IGetBindHandle interface
2050 local,
2051 object,
2052 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2053 pointer_default(unique)
2055 interface IGetBindHandle : IUnknown
2057 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2059 typedef enum {
2060 BINDHANDLETYPES_APPCACHE = 0x00000000,
2061 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2062 BINDHANDLETYPES_COUNT
2063 } BINDHANDLETYPES;
2065 HRESULT GetBindHandle(
2066 [in] BINDHANDLETYPES enumRequestedHandle,
2067 [out] HANDLE *pRetHandle);
2070 /*****************************************************************************
2071 * IBindCallbackRedirect interface
2074 local,
2075 object,
2076 uuid(11c81bc2-121e-4ed5-b9c4-b430bd54f2c0),
2077 pointer_default(unique)
2079 interface IBindCallbackRedirect : IUnknown
2081 typedef [unique] IBindCallbackRedirect *LPBINDCALLBACKREDIRECT;
2083 HRESULT Redirect(
2084 [in] LPCWSTR lpcUrl,
2085 [out] VARIANT_BOOL *vbCancel);
2088 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2090 struct CONFIRMSAFETY
2092 CLSID clsid;
2093 IUnknown *pUnk;
2094 DWORD dwFlags;
2097 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2099 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2100 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2101 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2102 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2103 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2104 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2106 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2107 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2108 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2109 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2110 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2111 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2112 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2114 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2115 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2116 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2118 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2119 cpp_quote("#ifndef S_ASYNCHRONOUS")
2120 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2121 cpp_quote("#endif")
2123 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2124 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2125 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2126 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2127 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2128 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2129 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2130 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2131 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2132 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2133 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2134 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2135 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2136 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2137 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2138 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2139 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2140 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2141 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2142 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2143 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2144 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2145 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2146 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2147 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2148 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2149 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2150 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2151 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2152 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2153 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2154 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2155 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2157 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2158 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2159 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2160 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2161 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2162 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2163 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2164 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2165 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2166 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2167 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2168 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2169 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2170 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2171 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2172 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2173 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2174 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2175 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2176 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2177 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2178 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2179 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2180 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2181 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2182 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2183 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2184 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2185 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2186 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2187 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2188 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2189 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2190 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2191 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2192 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2193 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2194 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2195 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2196 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2197 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2198 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2199 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2200 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2201 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2202 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2203 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2204 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2205 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2206 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2207 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2208 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2209 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2210 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2211 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2212 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2213 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2215 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2216 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2217 cpp_quote("#define OInetGetSession CoInternetGetSession")
2219 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2220 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2221 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2223 cpp_quote("#define MKSYS_URLMONIKER 6")
2224 cpp_quote("#define URL_MK_LEGACY 0")
2225 cpp_quote("#define URL_MK_UNIFORM 1")
2226 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")