ntdll: Translate signal to trap when trap code is 0 on ARM.
[wine.git] / include / urlmon.idl
blobf1088e7c9971744fd0455649350fd1dd1f696dcf
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 * IWinInetHttpTimeouts interface
564 local,
565 object,
566 uuid(f286fa56-c1fd-4270-8e67-b3eb790a81e8),
567 pointer_default(unique)
569 interface IWinInetHttpTimeouts : IUnknown
571 HRESULT GetRequestTimeouts(
572 [out] DWORD *connect_timeout,
573 [out] DWORD *send_timeout,
574 [out] DWORD *receive_timeout);
577 /*****************************************************************************
578 * IWindowForBindingUI interface
581 local,
582 object,
583 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
584 pointer_default(unique)
586 interface IWindowForBindingUI : IUnknown
588 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
590 HRESULT GetWindow(
591 [in] REFGUID rguidReason,
592 [out] HWND *phwnd);
595 /*****************************************************************************
596 * ICodeInstall interface
599 local,
600 object,
601 uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
602 pointer_default(unique)
604 interface ICodeInstall : IWindowForBindingUI
606 typedef [unique] ICodeInstall *LPCODEINSTALL;
608 typedef enum {
609 CIP_DISK_FULL,
610 CIP_ACCESS_DENIED,
611 CIP_NEWER_VERSION_EXISTS,
612 CIP_OLDER_VERSION_EXISTS,
613 CIP_NAME_CONFLICT,
614 CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
615 CIP_EXE_SELF_REGISTERATION_TIMEOUT,
616 CIP_UNSAFE_TO_ABORT,
617 CIP_NEED_REBOOT,
618 CIP_NEED_REBOOT_UI_PERMISSION
619 } CIP_STATUS;
621 HRESULT OnCodeInstallProblem(
622 [in] ULONG ulStatusCode,
623 [in, unique] LPCWSTR szDestination,
624 [in, unique] LPCWSTR szSource,
625 [in] DWORD dwReserved);
628 /*****************************************************************************
629 * IHttpSecurity interface
632 local,
633 object,
634 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
635 pointer_default(unique)
637 interface IHttpSecurity : IWindowForBindingUI
639 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
641 HRESULT OnSecurityProblem(
642 [in] DWORD dwProblem);
646 /*****************************************************************************
647 * IPersistMoniker interface
650 object,
651 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
652 pointer_default(unique)
654 interface IPersistMoniker : IUnknown
656 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
658 HRESULT GetClassID(
659 [out] CLSID *pClassID);
661 HRESULT IsDirty();
663 HRESULT Load(
664 [in] BOOL fFullyAvailable,
665 [in] IMoniker *pimkName,
666 [in] LPBC pibc,
667 [in] DWORD grfMode);
669 HRESULT Save(
670 [in] IMoniker *pimkName,
671 [in] LPBC pbc,
672 [in] BOOL fRemember);
674 HRESULT SaveCompleted(
675 [in] IMoniker *pimkName,
676 [in] LPBC pibc);
678 HRESULT GetCurMoniker(
679 [out] IMoniker **ppimkName);
682 /*****************************************************************************
683 * IMonikerProp interface
686 object,
687 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
688 pointer_default(unique)
690 interface IMonikerProp : IUnknown
692 typedef [unique] IMonikerProp *LPMONIKERPROP;
694 typedef enum {
695 MIMETYPEPROP = 0,
696 USE_SRC_URL = 1,
697 CLASSIDPROP = 2,
698 TRUSTEDDOWNLOADPROP = 3,
699 POPUPLEVELPROP = 4
700 } MONIKERPROPERTY;
702 HRESULT PutProperty(
703 [in] MONIKERPROPERTY mkp,
704 [in] LPCWSTR val);
707 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
708 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
710 /*****************************************************************************
711 * IBindProtocol interface
714 local,
715 object,
716 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
717 pointer_default(unique)
719 interface IBindProtocol : IUnknown
721 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
723 HRESULT CreateBinding(
724 [in] LPCWSTR szUrl,
725 [in] IBindCtx *pbc,
726 [out] IBinding **ppb);
729 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
731 /*****************************************************************************
732 * IInternetBindInfo interface
735 local,
736 object,
737 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
738 pointer_default(unique)
740 interface IInternetBindInfo : IUnknown
742 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
744 typedef enum tagBINDSTRING
746 BINDSTRING_HEADERS = 1,
747 BINDSTRING_ACCEPT_MIMES,
748 BINDSTRING_EXTRA_URL,
749 BINDSTRING_LANGUAGE,
750 BINDSTRING_USERNAME,
751 BINDSTRING_PASSWORD,
752 BINDSTRING_UA_PIXELS,
753 BINDSTRING_UA_COLOR,
754 BINDSTRING_OS,
755 BINDSTRING_USER_AGENT,
756 BINDSTRING_ACCEPT_ENCODINGS,
757 BINDSTRING_POST_COOKIE,
758 BINDSTRING_POST_DATA_MIME,
759 BINDSTRING_URL,
760 BINDSTRING_IID,
761 BINDSTRING_FLAG_BIND_TO_OBJECT,
762 BINDSTRING_PTR_BIND_CONTEXT,
763 BINDSTRING_XDR_ORIGIN,
764 BINDSTRING_DOWNLOADPATH,
765 BINDSTRING_ROOTDOC_URL,
766 BINDSTRING_INITIAL_FILENAME,
767 BINDSTRING_PROXY_USERNAME,
768 BINDSTRING_PROXY_PASSWORD,
769 BINDSTRING_ENTERPRISE_ID
770 } BINDSTRING;
772 HRESULT GetBindInfo(
773 [out] DWORD *grfBINDF,
774 [in, out, unique] BINDINFO *pbindinfo);
776 HRESULT GetBindString(
777 [in] ULONG ulStringType,
778 [in, out] LPOLESTR *ppwzStr,
779 [in] ULONG cEl,
780 [in, out] ULONG *pcElFetched);
783 /*****************************************************************************
784 * IInternetPriority interface
787 local,
788 object,
789 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
790 pointer_default(unique)
792 interface IInternetPriority : IUnknown
794 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
796 HRESULT SetPriority([in] LONG nPriority);
797 HRESULT GetPriority([out] LONG *pnPriority);
800 /*****************************************************************************
801 * IInternetProtocolRoot interface
804 local,
805 object,
806 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
807 pointer_default(unique)
809 interface IInternetProtocolRoot : IUnknown
811 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
813 typedef enum _tagPI_FLAGS
815 PI_PARSE_URL = 0x00000001,
816 PI_FILTER_MODE = 0x00000002,
817 PI_FORCE_ASYNC = 0x00000004,
818 PI_USE_WORKERTHREAD = 0x00000008,
819 PI_MIMEVERIFICATION = 0x00000010,
820 PI_CLSIDLOOKUP = 0x00000020,
821 PI_DATAPROGRESS = 0x00000040,
822 PI_SYNCHRONOUS = 0x00000080,
823 PI_APARTMENTTHREADED = 0x00000100,
824 PI_CLASSINSTALL = 0x00000200,
825 PD_FORCE_SWITCH = 0x00010000
826 } PI_FLAGS;
828 typedef struct _tagPROTOCOLDATA
830 DWORD grfFlags;
831 DWORD dwState;
832 LPVOID pData;
833 ULONG cbData;
834 } PROTOCOLDATA;
836 HRESULT Start(
837 [in] LPCWSTR szUrl,
838 [in] IInternetProtocolSink *pOIProtSink,
839 [in] IInternetBindInfo *pOIBindInfo,
840 [in] DWORD grfPI,
841 [in] HANDLE_PTR dwReserved);
843 HRESULT Continue(
844 [in] PROTOCOLDATA *pProtocolData);
846 HRESULT Abort(
847 [in] HRESULT hrReason,
848 [in] DWORD dwOptions);
850 HRESULT Terminate(
851 [in] DWORD dwOptions);
853 HRESULT Suspend();
855 HRESULT Resume();
858 /*****************************************************************************
859 * IInternetProtocolSink interface
862 local,
863 object,
864 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
865 pointer_default(unique)
867 interface IInternetProtocolSink : IUnknown
869 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
871 HRESULT Switch(
872 [in] PROTOCOLDATA *pProtocolData);
874 HRESULT ReportProgress(
875 [in] ULONG ulStatusCode,
876 [in] LPCWSTR szStatusText);
878 HRESULT ReportData(
879 [in] DWORD grfBSCF,
880 [in] ULONG ulProgress,
881 [in] ULONG ulProgressMax);
883 HRESULT ReportResult(
884 [in] HRESULT hrResult,
885 [in] DWORD dwError,
886 [in] LPCWSTR szResult);
889 /*****************************************************************************
890 * IInternetProtocol interface
893 local,
894 object,
895 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
896 pointer_default(unique)
898 interface IInternetProtocol : IInternetProtocolRoot
900 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
902 HRESULT Read(
903 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
904 [in] ULONG cb,
905 [out] ULONG *pcbRead);
907 HRESULT Seek(
908 [in] LARGE_INTEGER dlibMove,
909 [in] DWORD dwOrigin,
910 [out] ULARGE_INTEGER *plibNewPosition);
912 HRESULT LockRequest(
913 [in] DWORD dwOptions);
915 HRESULT UnlockRequest();
918 /*****************************************************************************
919 * IInternetProtocolInfo interface
922 local,
923 object,
924 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
925 pointer_default(unique)
927 interface IInternetProtocolInfo : IUnknown
929 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
931 typedef enum _tagPARSEACTION
933 PARSE_CANONICALIZE = 1,
934 PARSE_FRIENDLY,
935 PARSE_SECURITY_URL,
936 PARSE_ROOTDOCUMENT,
937 PARSE_DOCUMENT,
938 PARSE_ANCHOR,
939 PARSE_ENCODE,
940 PARSE_DECODE,
941 PARSE_PATH_FROM_URL,
942 PARSE_URL_FROM_PATH,
943 PARSE_MIME,
944 PARSE_SERVER,
945 PARSE_SCHEMA,
946 PARSE_SITE,
947 PARSE_DOMAIN,
948 PARSE_LOCATION,
949 PARSE_SECURITY_DOMAIN,
950 PARSE_ESCAPE,
951 PARSE_UNESCAPE
952 } PARSEACTION;
954 typedef enum _tagPSUACTION
956 PSU_DEFAULT = 1,
957 PSU_SECURITY_URL_ONLY
958 } PSUACTION;
960 typedef enum _tagQUERYOPTION
962 QUERY_EXPIRATION_DATE = 1,
963 QUERY_TIME_OF_LAST_CHANGE,
964 QUERY_CONTENT_ENCODING,
965 QUERY_CONTENT_TYPE,
966 QUERY_REFRESH,
967 QUERY_RECOMBINE,
968 QUERY_CAN_NAVIGATE,
969 QUERY_USES_NETWORK,
970 QUERY_IS_CACHED,
971 QUERY_IS_INSTALLEDENTRY,
972 QUERY_IS_CACHED_OR_MAPPED,
973 QUERY_USES_CACHE,
974 QUERY_IS_SECURE,
975 QUERY_IS_SAFE,
976 QUERY_USES_HISTORYFOLDER,
977 QUERY_IS_CACHED_AND_USABLE_OFFLINE
978 } QUERYOPTION;
980 HRESULT ParseUrl(
981 [in] LPCWSTR pwzUrl,
982 [in] PARSEACTION ParseAction,
983 [in] DWORD dwParseFlags,
984 [out] LPWSTR pwzResult,
985 [in] DWORD cchResult,
986 [out] DWORD *pcchResult,
987 [in] DWORD dwReserved);
989 HRESULT CombineUrl(
990 [in] LPCWSTR pwzBaseUrl,
991 [in] LPCWSTR pwzRelativeUrl,
992 [in] DWORD dwCombineFlags,
993 [out] LPWSTR pwzResult,
994 [in] DWORD cchResult,
995 [out] DWORD *pcchResult,
996 [in] DWORD dwReserved);
998 HRESULT CompareUrl(
999 [in] LPCWSTR pwzUrl1,
1000 [in] LPCWSTR pwzUrl2,
1001 [in] DWORD dwCompareFlags);
1003 HRESULT QueryInfo(
1004 [in] LPCWSTR pwzUrl,
1005 [in] QUERYOPTION OueryOption,
1006 [in] DWORD dwQueryFlags,
1007 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
1008 [in] DWORD cbBuffer,
1009 [in, out] DWORD *pcbBuf,
1010 [in] DWORD dwReserved);
1013 /*****************************************************************************
1014 * IInternetSession interface
1017 local,
1018 object,
1019 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
1020 pointer_default(unique)
1022 interface IInternetSession : IUnknown
1024 typedef [unique] IInternetSession *LPIINTERNETSESSION;
1026 typedef enum _tagOIBDG_FLAGS
1028 OIBDG_APARTMENTTHREADED = 0x0100,
1029 OIBDG_DATAONLY = 0x1000
1030 } OIBDG_FLAGS;
1032 HRESULT RegisterNameSpace(
1033 [in] IClassFactory *pCF,
1034 [in] REFCLSID rclsid,
1035 [in] LPCWSTR pwzProtocol,
1036 [in] ULONG cPatterns,
1037 [in] const LPCWSTR *ppwzPatterns,
1038 [in] DWORD dwReserved);
1040 HRESULT UnregisterNameSpace(
1041 [in] IClassFactory *pCF,
1042 [in] LPCWSTR pszProtocol);
1044 HRESULT RegisterMimeFilter(
1045 [in] IClassFactory *pCF,
1046 [in] REFCLSID rclsid,
1047 [in] LPCWSTR pwzType);
1049 HRESULT UnregisterMimeFilter(
1050 [in] IClassFactory *pCF,
1051 [in] LPCWSTR pwzType);
1053 HRESULT CreateBinding(
1054 [in] LPBC pBC,
1055 [in] LPCWSTR szUrl,
1056 [in] IUnknown *pUnkOuter,
1057 [out, unique] IUnknown **ppUnk,
1058 [out, unique] IInternetProtocol **ppOInetProt,
1059 [in] DWORD dwOption);
1061 HRESULT SetSessionOption(
1062 [in] DWORD dwOption,
1063 [in] LPVOID pBuffer,
1064 [in] DWORD dwBufferLength,
1065 [in] DWORD dwReserved);
1068 /*****************************************************************************
1069 * IInternetSecurityMgrSite interface
1072 local,
1073 object,
1074 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1075 pointer_default(unique)
1077 interface IInternetSecurityMgrSite : IUnknown
1079 HRESULT GetWindow(
1080 [out] HWND *phwnd);
1082 HRESULT EnableModeless(
1083 [in] BOOL fEnable);
1087 /*****************************************************************************
1088 * IInternetSecurityManager interface
1090 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1093 object,
1094 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1095 pointer_default(unique)
1097 interface IInternetSecurityManager : IUnknown
1099 HRESULT SetSecuritySite(
1100 [in, unique] IInternetSecurityMgrSite *pSite);
1102 HRESULT GetSecuritySite(
1103 [out] IInternetSecurityMgrSite **ppSite);
1105 HRESULT MapUrlToZone(
1106 [in] LPCWSTR pwszUrl,
1107 [out] DWORD *pdwZone,
1108 [in] DWORD dwFlags);
1110 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1112 HRESULT GetSecurityId(
1113 [in] LPCWSTR pwszUrl,
1114 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1115 [in, out] DWORD *pcbSecurityId,
1116 [in] DWORD_PTR dwReserved);
1119 typedef enum {
1120 PUAF_DEFAULT = 0x00,
1121 PUAF_NOUI = 0x01,
1122 PUAF_ISFILE = 0x02,
1123 PUAF_WARN_IF_DENIED = 0x04,
1124 PUAF_FORCEUI_FOREGROUND = 0x08,
1125 PUAF_CHECK_TIPS = 0x10
1126 } PUAF;
1128 HRESULT ProcessUrlAction(
1129 [in] LPCWSTR pwszUrl,
1130 [in] DWORD dwAction,
1131 [out, size_is(cbPolicy)] BYTE *pPolicy,
1132 [in] DWORD cbPolicy,
1133 [in, unique] BYTE *pContext,
1134 [in] DWORD cbContext,
1135 [in] DWORD dwFlags,
1136 [in] DWORD dwReserved);
1138 HRESULT QueryCustomPolicy(
1139 [in] LPCWSTR pwszUrl,
1140 [in] REFGUID guidKey,
1141 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1142 [out] DWORD *pcbPolicy,
1143 [in] BYTE *pContext,
1144 [in] DWORD cbContext,
1145 [in] DWORD dwReserved);
1147 typedef enum {
1148 SZM_CREATE = 0x0,
1149 SZM_DELETE = 0x1
1150 } SZM_FLAGS;
1152 HRESULT SetZoneMapping(
1153 [in] DWORD dwZone,
1154 [in] LPCWSTR lpszPattern,
1155 [in] DWORD dwFlags);
1157 HRESULT GetZoneMappings(
1158 [in] DWORD dwZone,
1159 [out] IEnumString **ppenumString,
1160 [in] DWORD dwFlags);
1163 /*****************************************************************************
1164 * IInternetSecurityManagerEx interface
1166 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1169 object,
1170 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1171 pointer_default(unique)
1173 interface IInternetSecurityManagerEx : IInternetSecurityManager
1175 HRESULT ProcessUrlActionEx(
1176 [in] LPCWSTR pwszUrl,
1177 [in] DWORD dwAction,
1178 [out, size_is(cbPolicy)] BYTE *pPolicy,
1179 [in] DWORD cbPolicy,
1180 [in] BYTE *pContext,
1181 [in] DWORD cbContext,
1182 [in] DWORD dwFlags,
1183 [in] DWORD dwReserved,
1184 [out] DWORD *pdwOutFlags);
1187 /*****************************************************************************
1188 * IInternetSecurityManagerEx2 interface
1190 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1193 object,
1194 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1195 pointer_default(unique)
1197 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1199 HRESULT MapUrlToZoneEx2(
1200 [in] IUri *pUri,
1201 [out] DWORD *pdwZone,
1202 [in] DWORD dwFlags,
1203 [out] LPWSTR *ppwszMappedUrl,
1204 [out] DWORD *pdwOutFlags);
1206 HRESULT ProcessUrlActionEx2(
1207 [in] IUri *pUri,
1208 [in] DWORD dwAction,
1209 [out, size_is(cbPolicy)] BYTE *pPolicy,
1210 [in] DWORD cbPolicy,
1211 [in, unique] BYTE *pContext,
1212 [in] DWORD cbContext,
1213 [in] DWORD dwFlags,
1214 [in] DWORD_PTR dwReserved,
1215 [out] DWORD *pdwOutFlags);
1217 HRESULT GetSecurityIdEx2(
1218 [in] IUri *pUri,
1219 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1220 [in, out] DWORD *pcbSecurityId,
1221 [in] DWORD_PTR dwReserved);
1223 HRESULT QueryCustomPolicyEx2(
1224 [in] IUri *pUri,
1225 [in] REFGUID guidKey,
1226 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1227 [out] DWORD *pcbPolicy,
1228 [in] BYTE *pContext,
1229 [in] DWORD cbContext,
1230 [in] DWORD_PTR dwReserved);
1233 /*****************************************************************************
1234 * IInternetHostSecurityManager interface
1236 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1239 local,
1240 object,
1241 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1242 pointer_default(unique)
1244 interface IInternetHostSecurityManager : IUnknown
1246 HRESULT GetSecurityId(
1247 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1248 [in, out] DWORD *pcbSecurityId,
1249 [in] DWORD_PTR dwReserved);
1251 HRESULT ProcessUrlAction(
1252 [in] DWORD dwAction,
1253 [out, size_is(cbPolicy)] BYTE *pPolicy,
1254 [in] DWORD cbPolicy,
1255 [in] BYTE *pContext,
1256 [in] DWORD cbContext,
1257 [in] DWORD dwFlags,
1258 [in] DWORD dwReserved);
1260 HRESULT QueryCustomPolicy(
1261 [in] REFGUID guidKey,
1262 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1263 [out] DWORD *pcbPolicy,
1264 [in] BYTE *pContext,
1265 [in] DWORD cbContext,
1266 [in] DWORD dwReserved);
1269 cpp_quote("#define URLACTION_MIN 0x00001000")
1270 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1271 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1272 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1273 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1274 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1276 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1277 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1278 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1279 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1280 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1281 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1282 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1283 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1284 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1285 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1286 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1288 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1289 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1290 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1291 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1292 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1293 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1294 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1295 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1297 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1298 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1299 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1300 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1301 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1302 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1303 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1304 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1305 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1306 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1307 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1309 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1310 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1311 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1312 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1313 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1314 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1315 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1316 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1318 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1319 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1320 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1321 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1322 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1323 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1324 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1325 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1326 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1327 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1328 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1330 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1331 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1332 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1333 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1334 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1335 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1336 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1337 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1338 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1340 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1341 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1342 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1343 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1344 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1345 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1346 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1347 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1348 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1349 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1351 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1352 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1353 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1354 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1355 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1356 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1358 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1359 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1360 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1362 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1363 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1364 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1365 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1366 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1367 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1368 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1370 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1371 cpp_quote("#define URLPOLICY_QUERY 0x01")
1372 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1374 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1375 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1377 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1378 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1380 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1382 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1383 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1384 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1385 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1387 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1388 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1389 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1391 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1392 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1393 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1395 /*****************************************************************************
1396 * IInternetZoneManager interface
1399 local,
1400 object,
1401 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1402 pointer_default(unique)
1404 interface IInternetZoneManager : IUnknown
1406 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1408 typedef enum tagURLZONE
1410 URLZONE_INVALID = -1,
1411 URLZONE_PREDEFINED_MIN = 0,
1412 URLZONE_LOCAL_MACHINE = 0,
1413 URLZONE_INTRANET = 1,
1414 URLZONE_TRUSTED = 2,
1415 URLZONE_INTERNET = 3,
1416 URLZONE_UNTRUSTED = 4,
1417 URLZONE_PREDEFINED_MAX = 999,
1418 URLZONE_USER_MIN = 1000,
1419 URLZONE_USER_MAX = 10000,
1420 } URLZONE;
1422 typedef enum tagURLTEMPLATE
1424 URLTEMPLATE_CUSTOM = 0x00000,
1425 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1426 URLTEMPLATE_LOW = 0x10000,
1427 URLTEMPLATE_MEDLOW = 0x10500,
1428 URLTEMPLATE_MEDIUM = 0x11000,
1429 URLTEMPLATE_MEDHIGH = 0x11500,
1430 URLTEMPLATE_HIGH = 0x12000,
1431 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1432 } URLTEMPLATE ;
1434 typedef enum {
1435 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1436 ZAFLAGS_ADD_SITES = 0x00000002,
1437 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1438 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1439 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1440 ZAFLAGS_NO_UI = 0x00000020,
1441 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1442 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1443 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1444 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1445 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1446 ZAFLAGS_NO_CACHE = 0x00040000,
1447 } ZAFLAGS ;
1449 enum {
1450 MAX_ZONE_PATH = 260,
1451 MAX_ZONE_DESCRIPTION = 200
1454 typedef struct _ZONEATTRIBUTES {
1455 ULONG cbSize;
1456 WCHAR szDisplayName[MAX_ZONE_PATH];
1457 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1458 WCHAR szIconPath[MAX_ZONE_PATH];
1459 DWORD dwTemplateMinLevel;
1460 DWORD dwTemplateRecommended;
1461 DWORD dwTemplateCurrentLevel;
1462 DWORD dwFlags;
1463 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1465 typedef enum _URLZONEREG {
1466 URLZONEREG_DEFAULT,
1467 URLZONEREG_HKLM,
1468 URLZONEREG_HKCU
1469 } URLZONEREG;
1471 HRESULT GetZoneAttributes(
1472 [in] DWORD dwZone,
1473 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1475 HRESULT SetZoneAttributes(
1476 [in] DWORD dwZone,
1477 [in] ZONEATTRIBUTES* pZoneAttributes);
1479 HRESULT GetZoneCustomPolicy(
1480 [in] DWORD dwZone,
1481 [in] REFGUID guidKey,
1482 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1483 [out] DWORD* pcbPolicy,
1484 [in] URLZONEREG ulrZoneReg);
1486 HRESULT SetZoneCustomPolicy(
1487 [in] DWORD dwZone,
1488 [in] REFGUID guidKey,
1489 [in, size_is(pcbPolicy)] BYTE *ppPolicy,
1490 [in] DWORD pcbPolicy,
1491 [in] URLZONEREG ulrZoneReg);
1493 HRESULT GetZoneActionPolicy(
1494 [in] DWORD dwZone,
1495 [in] DWORD dwAction,
1496 [out, size_is(cbPolicy)] BYTE* pPolicy,
1497 [in] DWORD cbPolicy,
1498 [in] URLZONEREG urlZoneReg);
1500 HRESULT SetZoneActionPolicy(
1501 [in] DWORD dwZone,
1502 [in] DWORD dwAction,
1503 [in, size_is(cbPolicy)] BYTE* pPolicy,
1504 [in] DWORD cbPolicy,
1505 [in] URLZONEREG urlZoneReg);
1507 HRESULT PromptAction(
1508 [in] DWORD dwAction,
1509 [in] HWND hwndParent,
1510 [in] LPCWSTR pwszUrl,
1511 [in] LPCWSTR pwszText,
1512 [in] DWORD dwPromptFlags );
1514 HRESULT LogAction(
1515 [in] DWORD dwAction,
1516 [in] LPCWSTR pwszUrl,
1517 [in] LPCWSTR pwszText,
1518 [in] DWORD dwLogFlags);
1520 HRESULT CreateZoneEnumerator(
1521 [out] DWORD* pdwEnum,
1522 [out] DWORD* pdwCount,
1523 [in] DWORD dwFlags);
1525 HRESULT GetZoneAt(
1526 [in] DWORD dwEnum,
1527 [in] DWORD dwIndex,
1528 [out] DWORD* pdwZone);
1530 HRESULT DestroyZoneEnumerator(
1531 [in] DWORD dwEnum);
1533 HRESULT CopyTemplatePoliciesToZone(
1534 [in] DWORD dwTemplate,
1535 [in] DWORD dwZone,
1536 [in] DWORD dwReserved);
1539 /*****************************************************************************
1540 * IInternetZoneManagerEx interface
1543 local,
1544 object,
1545 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1546 pointer_default(unique)
1548 interface IInternetZoneManagerEx : IInternetZoneManager
1550 HRESULT GetZoneActionPolicyEx(
1551 [in] DWORD dwZone,
1552 [in] DWORD dwAction,
1553 [out, size_is(cbPolicy)] BYTE *pPolicy,
1554 [in] DWORD cbPolicy,
1555 [in] URLZONEREG urlZoneReg,
1556 [in] DWORD dwFlags);
1558 HRESULT SetZoneActionPolicyEx(
1559 [in] DWORD dwZone,
1560 [in] DWORD dwAction,
1561 [in, size_is(cbPolicy)] BYTE *pPolicy,
1562 [in] DWORD cbPolicy,
1563 [in] URLZONEREG urlZoneReg,
1564 [in] DWORD dwFlags);
1568 /*****************************************************************************
1569 * IInternetZoneManagerEx2 interface
1572 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1573 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1576 local,
1577 object,
1578 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1579 pointer_default(unique)
1581 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1583 HRESULT GetZoneAttributesEx(
1584 [in] DWORD dwZone,
1585 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1586 [in] DWORD dwFlags);
1588 HRESULT GetZoneSecurityState(
1589 [in] DWORD dwZoneIndex,
1590 [in] BOOL fRespectPolicy,
1591 [in, out] LPDWORD pdwState,
1592 [in, out] BOOL *pfPolicyEncountered);
1594 HRESULT GetIESecurityState(
1595 [in] BOOL fRespectPolicy,
1596 [in, out] LPDWORD pdwState,
1597 [in, out] BOOL *pfPolicyEncountered,
1598 [in] BOOL fNoCache);
1600 HRESULT FixInsecureSettings(void);
1605 typedef struct _tagSOFTDISTINFO
1607 ULONG cbSize;
1608 DWORD dwFlags;
1609 DWORD dwAdState;
1610 LPWSTR szTitle;
1611 LPWSTR szAbstract;
1612 LPWSTR szHREF;
1613 DWORD dwInstalledVersionMS;
1614 DWORD dwInstalledVersionLS;
1615 DWORD dwUpdateVersionMS;
1616 DWORD dwUpdateVersionLS;
1617 DWORD dwAdvertisedVersionMS;
1618 DWORD dwAdvertisedVersionLS;
1619 DWORD dwReserved;
1620 } SOFTDISTINFO, *LPSOFTDISTINFO;
1622 typedef struct _tagCODEBASEHOLD
1624 DWORD cbSize;
1625 LPWSTR szDistUnit;
1626 LPWSTR szCodeBase;
1627 DWORD dwVersionMS;
1628 DWORD dwVersionLS;
1629 DWORD dwStyle;
1630 } CODEBASEHOLD, *LPCODEBASEHOLD;
1633 local,
1634 object,
1635 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1636 pointer_default(unique)
1638 interface ISoftDistExt : IUnknown
1640 HRESULT ProcessSoftDist(
1641 [in] LPCWSTR szCDFURL,
1642 [in] IXMLElement *pSoftDistElement,
1643 [in, out] LPSOFTDISTINFO lpsdi );
1645 HRESULT GetFirstCodeBase(
1646 [in] LPWSTR *szCodeBase,
1647 [in] LPDWORD dwMaxSize );
1649 HRESULT GetNextCodeBase(
1650 [in] LPWSTR *szCodeBase,
1651 [in] LPDWORD dwMaxSize );
1653 HRESULT AsyncInstallDistributionUnit(
1654 [in] IBindCtx *pbc,
1655 [in] LPVOID lpReserved,
1656 [in] DWORD flags,
1657 [in] LPCODEBASEHOLD lpcbh);
1660 typedef enum _tagINTERNETFEATURELIST
1662 FEATURE_OBJECT_CACHING,
1663 FEATURE_ZONE_ELEVATION,
1664 FEATURE_MIME_HANDLING,
1665 FEATURE_MIME_SNIFFING,
1666 FEATURE_WINDOW_RESTRICTIONS,
1667 FEATURE_WEBOC_POPUPMANAGEMENT,
1668 FEATURE_BEHAVIORS,
1669 FEATURE_DISABLE_MK_PROTOCOL,
1670 FEATURE_LOCALMACHINE_LOCKDOWN,
1671 FEATURE_SECURITYBAND,
1672 FEATURE_RESTRICT_ACTIVEXINSTALL,
1673 FEATURE_VALIDATE_NAVIGATE_URL,
1674 FEATURE_RESTRICT_FILEDOWNLOAD,
1675 FEATURE_ADDON_MANAGEMENT,
1676 FEATURE_PROTOCOL_LOCKDOWN,
1677 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1678 FEATURE_SAFE_BINDTOOBJECT,
1679 FEATURE_UNC_SAVEDFILECHECK,
1680 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1681 FEATURE_TABBED_BROWSING,
1682 FEATURE_SSLUX,
1683 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1684 FEATURE_DISABLE_LEGACY_COMPRESSION,
1685 FEATURE_FORCE_ADDR_AND_STATUS,
1686 FEATURE_XMLHTTP,
1687 FEATURE_DISABLE_TELNET_PROTOCOL,
1688 FEATURE_FEEDS,
1689 FEATURE_BLOCK_INPUT_PROMPTS,
1690 FEATURE_ENTRY_COUNT
1691 } INTERNETFEATURELIST;
1693 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1694 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1695 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1696 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1697 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1698 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1699 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1700 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1702 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1703 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1704 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1705 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1706 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1707 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1708 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1709 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1711 typedef struct _tagPROTOCOLFILTERDATA {
1712 DWORD cbSize;
1713 IInternetProtocolSink *pProtocolSink;
1714 IInternetProtocol *pProtocol;
1715 IUnknown *pUnk;
1716 DWORD dwFilterFlags;
1717 } PROTOCOLFILTERDATA;
1719 /*****************************************************************************
1720 * IUri interface
1723 object,
1724 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1725 pointer_default(unique)
1727 interface IUri : IUnknown
1729 typedef enum
1731 Uri_PROPERTY_ABSOLUTE_URI = 0,
1732 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1733 Uri_PROPERTY_AUTHORITY = 1,
1734 Uri_PROPERTY_DISPLAY_URI = 2,
1735 Uri_PROPERTY_DOMAIN = 3,
1736 Uri_PROPERTY_EXTENSION = 4,
1737 Uri_PROPERTY_FRAGMENT = 5,
1738 Uri_PROPERTY_HOST = 6,
1739 Uri_PROPERTY_PASSWORD = 7,
1740 Uri_PROPERTY_PATH = 8,
1741 Uri_PROPERTY_PATH_AND_QUERY = 9,
1742 Uri_PROPERTY_QUERY = 10,
1743 Uri_PROPERTY_RAW_URI = 11,
1744 Uri_PROPERTY_SCHEME_NAME = 12,
1745 Uri_PROPERTY_USER_INFO = 13,
1746 Uri_PROPERTY_USER_NAME = 14,
1747 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1748 Uri_PROPERTY_HOST_TYPE = 15,
1749 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1750 Uri_PROPERTY_PORT = 16,
1751 Uri_PROPERTY_SCHEME = 17,
1752 Uri_PROPERTY_ZONE = 18,
1753 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1754 } Uri_PROPERTY;
1756 typedef enum
1758 Uri_HOST_UNKNOWN = 0,
1759 Uri_HOST_DNS = 1,
1760 Uri_HOST_IPV4 = 2,
1761 Uri_HOST_IPV6 = 3,
1762 Uri_HOST_IDN = 4
1763 } Uri_HOST_TYPE;
1765 HRESULT GetPropertyBSTR(
1766 [in] Uri_PROPERTY uriProp,
1767 [out] BSTR *pbstrProperty,
1768 [in] DWORD dwFlags);
1770 HRESULT GetPropertyLength(
1771 [in] Uri_PROPERTY uriProp,
1772 [out] DWORD *pcchProperty,
1773 [in] DWORD dwFlags);
1775 HRESULT GetPropertyDWORD(
1776 [in] Uri_PROPERTY uriProp,
1777 [out] DWORD *pdwProperty,
1778 [in] DWORD dwFlags);
1780 HRESULT HasProperty(
1781 [in] Uri_PROPERTY uriProp,
1782 [out] BOOL *pfHasProperty);
1784 HRESULT GetAbsoluteUri(
1785 [out] BSTR *pbstrAbsoluteUri);
1787 HRESULT GetAuthority(
1788 [out] BSTR *pbstrAuthority);
1790 HRESULT GetDisplayUri(
1791 [out] BSTR *pbstrDisplayString);
1793 HRESULT GetDomain(
1794 [out] BSTR *pbstrDomain);
1796 HRESULT GetExtension(
1797 [out] BSTR *pbstrExtension);
1799 HRESULT GetFragment(
1800 [out] BSTR *pbstrFragment);
1802 HRESULT GetHost(
1803 [out] BSTR *pbstrHost);
1805 HRESULT GetPassword(
1806 [out] BSTR *pbstrPassword);
1808 HRESULT GetPath(
1809 [out] BSTR *pbstrPath);
1811 HRESULT GetPathAndQuery(
1812 [out] BSTR *pbstrPathAndQuery);
1814 HRESULT GetQuery(
1815 [out] BSTR *pbstrQuery);
1817 HRESULT GetRawUri(
1818 [out] BSTR *pbstrRawUri);
1820 HRESULT GetSchemeName(
1821 [out] BSTR *pbstrSchemeName);
1823 HRESULT GetUserInfo(
1824 [out] BSTR *pbstrUserInfo);
1826 HRESULT GetUserName(
1827 [out] BSTR *pbstrUserName);
1829 HRESULT GetHostType(
1830 [out] DWORD *pdwHostType);
1832 HRESULT GetPort(
1833 [out] DWORD *pdwPort);
1835 HRESULT GetScheme(
1836 [out] DWORD *pdwScheme);
1838 HRESULT GetZone(
1839 [out] DWORD *pdwZone);
1841 HRESULT GetProperties(
1842 [out] LPDWORD pdwFlags);
1844 HRESULT IsEqual(
1845 [in] IUri *pUri,
1846 [out] BOOL *pfEqual);
1849 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1850 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1851 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1853 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1854 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1855 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1856 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1857 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1858 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1859 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1860 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1861 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1862 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1863 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1864 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1865 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1866 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1867 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1868 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1869 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1870 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1871 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1873 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1874 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1875 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1876 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1877 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1878 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1879 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1880 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1881 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1882 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1883 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1884 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1885 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1886 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1887 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1888 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1889 cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000")
1890 cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000")
1892 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1893 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1894 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1896 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1897 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1898 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1899 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1900 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1901 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1902 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1903 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)")
1905 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1907 /*****************************************************************************
1908 * IUriContainer interface
1911 local,
1912 object,
1913 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1914 pointer_default(unique)
1916 interface IUriContainer : IUnknown
1918 HRESULT GetIUri([out] IUri **ppIUri);
1921 /*****************************************************************************
1922 * IUriBuilder interface
1925 local,
1926 object,
1927 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1928 pointer_default(unique)
1930 interface IUriBuilder: IUnknown
1932 HRESULT CreateUriSimple(
1933 [in] DWORD dwAllowEncodingPropertyMask,
1934 [in] DWORD_PTR dwReserved,
1935 [out] IUri **ppIUri);
1937 HRESULT CreateUri(
1938 [in] DWORD dwCreateFlags,
1939 [in] DWORD dwAllowEncodingPropertyMask,
1940 [in] DWORD_PTR dwReserved,
1941 [out] IUri **ppIUri);
1943 HRESULT CreateUriWithFlags(
1944 [in] DWORD dwCreateFlags,
1945 [in] DWORD dwUriBuilderFlags,
1946 [in] DWORD dwAllowEncodingPropertyMask,
1947 [in] DWORD_PTR dwReserved,
1948 [out] IUri **ppIUri);
1950 HRESULT GetIUri(
1951 [out] IUri **ppIUri);
1953 HRESULT SetIUri(
1954 [in, unique] IUri *pIUri);
1956 HRESULT GetFragment(
1957 [out] DWORD *pcchFragment,
1958 [out] LPCWSTR *ppwzFragment);
1960 HRESULT GetHost(
1961 [out] DWORD *pcchHost,
1962 [out] LPCWSTR *ppwzHost);
1964 HRESULT GetPassword(
1965 [out] DWORD *pcchPassword,
1966 [out] LPCWSTR *ppwzPassword);
1968 HRESULT GetPath(
1969 [out] DWORD *pcchPath,
1970 [out] LPCWSTR *ppwzPath);
1972 HRESULT GetPort(
1973 [out] BOOL *pfHasPort,
1974 [out] DWORD *pdwPort);
1976 HRESULT GetQuery(
1977 [out] DWORD *pcchQuery,
1978 [out] LPCWSTR *ppwzQuery);
1980 HRESULT GetSchemeName(
1981 [out] DWORD *pcchSchemeName,
1982 [out] LPCWSTR *ppwzSchemeName);
1984 HRESULT GetUserName(
1985 [out] DWORD *pcchUserName,
1986 [out] LPCWSTR *ppwzUserName);
1988 HRESULT SetFragment(
1989 [in] LPCWSTR pwzNewValue);
1991 HRESULT SetHost(
1992 [in] LPCWSTR pwzNewValue);
1994 HRESULT SetPassword(
1995 [in] LPCWSTR pwzNewValue);
1997 HRESULT SetPath(
1998 [in] LPCWSTR pwzNewValue);
2000 HRESULT SetPort(
2001 [in] BOOL fHasPort,
2002 [in] DWORD dwNewValue);
2004 HRESULT SetQuery(
2005 [in] LPCWSTR pwzNewValue);
2007 HRESULT SetSchemeName(
2008 [in] LPCWSTR pwzNewValue);
2010 HRESULT SetUserName(
2011 [in] LPCWSTR pwzNewValue);
2013 HRESULT RemoveProperties(
2014 [in] DWORD dwPropertyMask);
2016 HRESULT HasBeenModified(
2017 [out] BOOL *pfModified);
2020 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
2022 /*****************************************************************************
2023 * IUriBuilderFactory interface
2026 local,
2027 object,
2028 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
2029 pointer_default(unique)
2031 interface IUriBuilderFactory : IUnknown
2033 HRESULT CreateIUriBuilder(
2034 [in] DWORD dwFlags,
2035 [in] DWORD_PTR dwReserved,
2036 [out] IUriBuilder **ppIUriBuilder);
2038 HRESULT CreateInitializedIUriBuilder(
2039 [in] DWORD dwFlags,
2040 [in] DWORD_PTR dwReserved,
2041 [out] IUriBuilder **ppIUriBuilder);
2044 /*****************************************************************************
2045 * IInternetProtocolEx interface
2048 local,
2049 object,
2050 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2051 pointer_default(unique)
2053 interface IInternetProtocolEx : IInternetProtocol
2055 HRESULT StartEx(
2056 [in] IUri *pUri,
2057 [in] IInternetProtocolSink *pOIProtSink,
2058 [in] IInternetBindInfo *pOIBindInfo,
2059 [in] DWORD grfPI,
2060 [in] HANDLE *dwReserved);
2063 /*****************************************************************************
2064 * IGetBindHandle interface
2067 local,
2068 object,
2069 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2070 pointer_default(unique)
2072 interface IGetBindHandle : IUnknown
2074 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2076 typedef enum {
2077 BINDHANDLETYPES_APPCACHE = 0x00000000,
2078 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2079 BINDHANDLETYPES_COUNT
2080 } BINDHANDLETYPES;
2082 HRESULT GetBindHandle(
2083 [in] BINDHANDLETYPES enumRequestedHandle,
2084 [out] HANDLE *pRetHandle);
2087 /*****************************************************************************
2088 * IBindCallbackRedirect interface
2091 local,
2092 object,
2093 uuid(11c81bc2-121e-4ed5-b9c4-b430bd54f2c0),
2094 pointer_default(unique)
2096 interface IBindCallbackRedirect : IUnknown
2098 typedef [unique] IBindCallbackRedirect *LPBINDCALLBACKREDIRECT;
2100 HRESULT Redirect(
2101 [in] LPCWSTR lpcUrl,
2102 [out] VARIANT_BOOL *vbCancel);
2105 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2107 struct CONFIRMSAFETY
2109 CLSID clsid;
2110 IUnknown *pUnk;
2111 DWORD dwFlags;
2114 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2116 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2117 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2118 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2119 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2120 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2121 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2123 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2124 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2125 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2126 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2127 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2128 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2129 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2131 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2132 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2133 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2135 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2136 cpp_quote("#ifndef S_ASYNCHRONOUS")
2137 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2138 cpp_quote("#endif")
2140 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2141 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2142 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2143 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2144 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2145 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2146 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2147 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2148 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2149 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2150 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2151 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2152 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2153 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2154 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2155 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2156 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2157 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2158 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2159 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2160 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2161 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2162 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2163 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2164 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2165 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2166 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2167 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2168 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2169 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2170 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2171 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2172 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2174 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2175 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2176 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2177 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2178 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2179 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2180 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2181 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2182 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2183 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2184 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2185 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2186 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2187 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2188 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2189 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2190 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2191 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2192 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2193 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2194 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2195 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2196 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2197 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2198 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2199 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2200 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2201 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2202 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2203 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2204 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2205 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2206 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2207 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2208 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2209 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2210 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2211 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2212 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2213 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2214 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2215 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2216 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2217 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2218 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2219 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2220 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2221 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2222 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2223 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2224 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2225 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2226 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2227 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2228 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2229 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2230 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2232 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2233 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2234 cpp_quote("#define OInetGetSession CoInternetGetSession")
2236 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2237 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2238 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2240 cpp_quote("#define MKSYS_URLMONIKER 6")
2241 cpp_quote("#define URL_MK_LEGACY 0")
2242 cpp_quote("#define URL_MK_UNIFORM 1")
2243 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")