joy.cpl: Fix pulsing buttons in joystick button state display.
[wine/zf.git] / include / urlmon.idl
blobfd8d6ce7bc8dc8105959a80c4805e2753d6d9d22
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_DOC_URL,
771 BINDSTRING_SAMESITE_COOKIE_LEVEL
772 } BINDSTRING;
774 HRESULT GetBindInfo(
775 [out] DWORD *grfBINDF,
776 [in, out, unique] BINDINFO *pbindinfo);
778 HRESULT GetBindString(
779 [in] ULONG ulStringType,
780 [in, out] LPOLESTR *ppwzStr,
781 [in] ULONG cEl,
782 [in, out] ULONG *pcElFetched);
785 /*****************************************************************************
786 * IInternetPriority interface
789 local,
790 object,
791 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
792 pointer_default(unique)
794 interface IInternetPriority : IUnknown
796 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
798 HRESULT SetPriority([in] LONG nPriority);
799 HRESULT GetPriority([out] LONG *pnPriority);
802 /*****************************************************************************
803 * IInternetProtocolRoot interface
806 local,
807 object,
808 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
809 pointer_default(unique)
811 interface IInternetProtocolRoot : IUnknown
813 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
815 typedef enum _tagPI_FLAGS
817 PI_PARSE_URL = 0x00000001,
818 PI_FILTER_MODE = 0x00000002,
819 PI_FORCE_ASYNC = 0x00000004,
820 PI_USE_WORKERTHREAD = 0x00000008,
821 PI_MIMEVERIFICATION = 0x00000010,
822 PI_CLSIDLOOKUP = 0x00000020,
823 PI_DATAPROGRESS = 0x00000040,
824 PI_SYNCHRONOUS = 0x00000080,
825 PI_APARTMENTTHREADED = 0x00000100,
826 PI_CLASSINSTALL = 0x00000200,
827 PD_FORCE_SWITCH = 0x00010000
828 } PI_FLAGS;
830 typedef struct _tagPROTOCOLDATA
832 DWORD grfFlags;
833 DWORD dwState;
834 LPVOID pData;
835 ULONG cbData;
836 } PROTOCOLDATA;
838 HRESULT Start(
839 [in] LPCWSTR szUrl,
840 [in] IInternetProtocolSink *pOIProtSink,
841 [in] IInternetBindInfo *pOIBindInfo,
842 [in] DWORD grfPI,
843 [in] HANDLE_PTR dwReserved);
845 HRESULT Continue(
846 [in] PROTOCOLDATA *pProtocolData);
848 HRESULT Abort(
849 [in] HRESULT hrReason,
850 [in] DWORD dwOptions);
852 HRESULT Terminate(
853 [in] DWORD dwOptions);
855 HRESULT Suspend();
857 HRESULT Resume();
860 /*****************************************************************************
861 * IInternetProtocolSink interface
864 local,
865 object,
866 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
867 pointer_default(unique)
869 interface IInternetProtocolSink : IUnknown
871 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
873 HRESULT Switch(
874 [in] PROTOCOLDATA *pProtocolData);
876 HRESULT ReportProgress(
877 [in] ULONG ulStatusCode,
878 [in] LPCWSTR szStatusText);
880 HRESULT ReportData(
881 [in] DWORD grfBSCF,
882 [in] ULONG ulProgress,
883 [in] ULONG ulProgressMax);
885 HRESULT ReportResult(
886 [in] HRESULT hrResult,
887 [in] DWORD dwError,
888 [in] LPCWSTR szResult);
891 /*****************************************************************************
892 * IInternetProtocol interface
895 local,
896 object,
897 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
898 pointer_default(unique)
900 interface IInternetProtocol : IInternetProtocolRoot
902 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
904 HRESULT Read(
905 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
906 [in] ULONG cb,
907 [out] ULONG *pcbRead);
909 HRESULT Seek(
910 [in] LARGE_INTEGER dlibMove,
911 [in] DWORD dwOrigin,
912 [out] ULARGE_INTEGER *plibNewPosition);
914 HRESULT LockRequest(
915 [in] DWORD dwOptions);
917 HRESULT UnlockRequest();
920 /*****************************************************************************
921 * IInternetProtocolInfo interface
924 local,
925 object,
926 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
927 pointer_default(unique)
929 interface IInternetProtocolInfo : IUnknown
931 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
933 typedef enum _tagPARSEACTION
935 PARSE_CANONICALIZE = 1,
936 PARSE_FRIENDLY,
937 PARSE_SECURITY_URL,
938 PARSE_ROOTDOCUMENT,
939 PARSE_DOCUMENT,
940 PARSE_ANCHOR,
941 PARSE_ENCODE,
942 PARSE_DECODE,
943 PARSE_PATH_FROM_URL,
944 PARSE_URL_FROM_PATH,
945 PARSE_MIME,
946 PARSE_SERVER,
947 PARSE_SCHEMA,
948 PARSE_SITE,
949 PARSE_DOMAIN,
950 PARSE_LOCATION,
951 PARSE_SECURITY_DOMAIN,
952 PARSE_ESCAPE,
953 PARSE_UNESCAPE
954 } PARSEACTION;
956 typedef enum _tagPSUACTION
958 PSU_DEFAULT = 1,
959 PSU_SECURITY_URL_ONLY
960 } PSUACTION;
962 typedef enum _tagQUERYOPTION
964 QUERY_EXPIRATION_DATE = 1,
965 QUERY_TIME_OF_LAST_CHANGE,
966 QUERY_CONTENT_ENCODING,
967 QUERY_CONTENT_TYPE,
968 QUERY_REFRESH,
969 QUERY_RECOMBINE,
970 QUERY_CAN_NAVIGATE,
971 QUERY_USES_NETWORK,
972 QUERY_IS_CACHED,
973 QUERY_IS_INSTALLEDENTRY,
974 QUERY_IS_CACHED_OR_MAPPED,
975 QUERY_USES_CACHE,
976 QUERY_IS_SECURE,
977 QUERY_IS_SAFE,
978 QUERY_USES_HISTORYFOLDER,
979 QUERY_IS_CACHED_AND_USABLE_OFFLINE
980 } QUERYOPTION;
982 HRESULT ParseUrl(
983 [in] LPCWSTR pwzUrl,
984 [in] PARSEACTION ParseAction,
985 [in] DWORD dwParseFlags,
986 [out] LPWSTR pwzResult,
987 [in] DWORD cchResult,
988 [out] DWORD *pcchResult,
989 [in] DWORD dwReserved);
991 HRESULT CombineUrl(
992 [in] LPCWSTR pwzBaseUrl,
993 [in] LPCWSTR pwzRelativeUrl,
994 [in] DWORD dwCombineFlags,
995 [out] LPWSTR pwzResult,
996 [in] DWORD cchResult,
997 [out] DWORD *pcchResult,
998 [in] DWORD dwReserved);
1000 HRESULT CompareUrl(
1001 [in] LPCWSTR pwzUrl1,
1002 [in] LPCWSTR pwzUrl2,
1003 [in] DWORD dwCompareFlags);
1005 HRESULT QueryInfo(
1006 [in] LPCWSTR pwzUrl,
1007 [in] QUERYOPTION OueryOption,
1008 [in] DWORD dwQueryFlags,
1009 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
1010 [in] DWORD cbBuffer,
1011 [in, out] DWORD *pcbBuf,
1012 [in] DWORD dwReserved);
1015 /*****************************************************************************
1016 * IInternetSession interface
1019 local,
1020 object,
1021 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
1022 pointer_default(unique)
1024 interface IInternetSession : IUnknown
1026 typedef [unique] IInternetSession *LPIINTERNETSESSION;
1028 typedef enum _tagOIBDG_FLAGS
1030 OIBDG_APARTMENTTHREADED = 0x0100,
1031 OIBDG_DATAONLY = 0x1000
1032 } OIBDG_FLAGS;
1034 HRESULT RegisterNameSpace(
1035 [in] IClassFactory *pCF,
1036 [in] REFCLSID rclsid,
1037 [in] LPCWSTR pwzProtocol,
1038 [in] ULONG cPatterns,
1039 [in] const LPCWSTR *ppwzPatterns,
1040 [in] DWORD dwReserved);
1042 HRESULT UnregisterNameSpace(
1043 [in] IClassFactory *pCF,
1044 [in] LPCWSTR pszProtocol);
1046 HRESULT RegisterMimeFilter(
1047 [in] IClassFactory *pCF,
1048 [in] REFCLSID rclsid,
1049 [in] LPCWSTR pwzType);
1051 HRESULT UnregisterMimeFilter(
1052 [in] IClassFactory *pCF,
1053 [in] LPCWSTR pwzType);
1055 HRESULT CreateBinding(
1056 [in] LPBC pBC,
1057 [in] LPCWSTR szUrl,
1058 [in] IUnknown *pUnkOuter,
1059 [out, unique] IUnknown **ppUnk,
1060 [out, unique] IInternetProtocol **ppOInetProt,
1061 [in] DWORD dwOption);
1063 HRESULT SetSessionOption(
1064 [in] DWORD dwOption,
1065 [in] LPVOID pBuffer,
1066 [in] DWORD dwBufferLength,
1067 [in] DWORD dwReserved);
1070 /*****************************************************************************
1071 * IInternetSecurityMgrSite interface
1074 local,
1075 object,
1076 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1077 pointer_default(unique)
1079 interface IInternetSecurityMgrSite : IUnknown
1081 HRESULT GetWindow(
1082 [out] HWND *phwnd);
1084 HRESULT EnableModeless(
1085 [in] BOOL fEnable);
1089 /*****************************************************************************
1090 * IInternetSecurityManager interface
1092 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1095 object,
1096 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1097 pointer_default(unique)
1099 interface IInternetSecurityManager : IUnknown
1101 HRESULT SetSecuritySite(
1102 [in, unique] IInternetSecurityMgrSite *pSite);
1104 HRESULT GetSecuritySite(
1105 [out] IInternetSecurityMgrSite **ppSite);
1107 HRESULT MapUrlToZone(
1108 [in] LPCWSTR pwszUrl,
1109 [out] DWORD *pdwZone,
1110 [in] DWORD dwFlags);
1112 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1114 HRESULT GetSecurityId(
1115 [in] LPCWSTR pwszUrl,
1116 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1117 [in, out] DWORD *pcbSecurityId,
1118 [in] DWORD_PTR dwReserved);
1121 typedef enum {
1122 PUAF_DEFAULT = 0x00,
1123 PUAF_NOUI = 0x01,
1124 PUAF_ISFILE = 0x02,
1125 PUAF_WARN_IF_DENIED = 0x04,
1126 PUAF_FORCEUI_FOREGROUND = 0x08,
1127 PUAF_CHECK_TIPS = 0x10
1128 } PUAF;
1130 HRESULT ProcessUrlAction(
1131 [in] LPCWSTR pwszUrl,
1132 [in] DWORD dwAction,
1133 [out, size_is(cbPolicy)] BYTE *pPolicy,
1134 [in] DWORD cbPolicy,
1135 [in, unique] BYTE *pContext,
1136 [in] DWORD cbContext,
1137 [in] DWORD dwFlags,
1138 [in] DWORD dwReserved);
1140 HRESULT QueryCustomPolicy(
1141 [in] LPCWSTR pwszUrl,
1142 [in] REFGUID guidKey,
1143 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1144 [out] DWORD *pcbPolicy,
1145 [in] BYTE *pContext,
1146 [in] DWORD cbContext,
1147 [in] DWORD dwReserved);
1149 typedef enum {
1150 SZM_CREATE = 0x0,
1151 SZM_DELETE = 0x1
1152 } SZM_FLAGS;
1154 HRESULT SetZoneMapping(
1155 [in] DWORD dwZone,
1156 [in] LPCWSTR lpszPattern,
1157 [in] DWORD dwFlags);
1159 HRESULT GetZoneMappings(
1160 [in] DWORD dwZone,
1161 [out] IEnumString **ppenumString,
1162 [in] DWORD dwFlags);
1165 /*****************************************************************************
1166 * IInternetSecurityManagerEx interface
1168 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1171 object,
1172 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1173 pointer_default(unique)
1175 interface IInternetSecurityManagerEx : IInternetSecurityManager
1177 HRESULT ProcessUrlActionEx(
1178 [in] LPCWSTR pwszUrl,
1179 [in] DWORD dwAction,
1180 [out, size_is(cbPolicy)] BYTE *pPolicy,
1181 [in] DWORD cbPolicy,
1182 [in] BYTE *pContext,
1183 [in] DWORD cbContext,
1184 [in] DWORD dwFlags,
1185 [in] DWORD dwReserved,
1186 [out] DWORD *pdwOutFlags);
1189 /*****************************************************************************
1190 * IInternetSecurityManagerEx2 interface
1192 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1195 object,
1196 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1197 pointer_default(unique)
1199 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1201 HRESULT MapUrlToZoneEx2(
1202 [in] IUri *pUri,
1203 [out] DWORD *pdwZone,
1204 [in] DWORD dwFlags,
1205 [out] LPWSTR *ppwszMappedUrl,
1206 [out] DWORD *pdwOutFlags);
1208 HRESULT ProcessUrlActionEx2(
1209 [in] IUri *pUri,
1210 [in] DWORD dwAction,
1211 [out, size_is(cbPolicy)] BYTE *pPolicy,
1212 [in] DWORD cbPolicy,
1213 [in, unique] BYTE *pContext,
1214 [in] DWORD cbContext,
1215 [in] DWORD dwFlags,
1216 [in] DWORD_PTR dwReserved,
1217 [out] DWORD *pdwOutFlags);
1219 HRESULT GetSecurityIdEx2(
1220 [in] IUri *pUri,
1221 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1222 [in, out] DWORD *pcbSecurityId,
1223 [in] DWORD_PTR dwReserved);
1225 HRESULT QueryCustomPolicyEx2(
1226 [in] IUri *pUri,
1227 [in] REFGUID guidKey,
1228 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1229 [out] DWORD *pcbPolicy,
1230 [in] BYTE *pContext,
1231 [in] DWORD cbContext,
1232 [in] DWORD_PTR dwReserved);
1235 /*****************************************************************************
1236 * IInternetHostSecurityManager interface
1238 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1241 local,
1242 object,
1243 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1244 pointer_default(unique)
1246 interface IInternetHostSecurityManager : IUnknown
1248 HRESULT GetSecurityId(
1249 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1250 [in, out] DWORD *pcbSecurityId,
1251 [in] DWORD_PTR dwReserved);
1253 HRESULT ProcessUrlAction(
1254 [in] DWORD dwAction,
1255 [out, size_is(cbPolicy)] BYTE *pPolicy,
1256 [in] DWORD cbPolicy,
1257 [in] BYTE *pContext,
1258 [in] DWORD cbContext,
1259 [in] DWORD dwFlags,
1260 [in] DWORD dwReserved);
1262 HRESULT QueryCustomPolicy(
1263 [in] REFGUID guidKey,
1264 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1265 [out] DWORD *pcbPolicy,
1266 [in] BYTE *pContext,
1267 [in] DWORD cbContext,
1268 [in] DWORD dwReserved);
1271 cpp_quote("#define URLACTION_MIN 0x00001000")
1272 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1273 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1274 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1275 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1276 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1278 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1279 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1280 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1281 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1282 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1283 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1284 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1285 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1286 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1287 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1288 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1290 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1291 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1292 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1293 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1294 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1295 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1296 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1297 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1299 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1300 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1301 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1302 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1303 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1304 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1305 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1306 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1307 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1308 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1309 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1311 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1312 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1313 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1314 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1315 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1316 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1317 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1318 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1320 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1321 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1322 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1323 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1324 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1325 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1326 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1327 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1328 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1329 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1330 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1332 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1333 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1334 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1335 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1336 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1337 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1338 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1339 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1340 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1342 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1343 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1344 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1345 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1346 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1347 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1348 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1349 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1350 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1351 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1353 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1354 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1355 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1356 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1357 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1358 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1360 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1361 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1362 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1364 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1365 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1366 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1367 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1368 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1369 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1370 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1372 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1373 cpp_quote("#define URLPOLICY_QUERY 0x01")
1374 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1376 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1377 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1379 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1380 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1382 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1384 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1385 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1386 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1387 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1389 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1390 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1391 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1393 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1394 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1395 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1397 /*****************************************************************************
1398 * IInternetZoneManager interface
1401 local,
1402 object,
1403 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1404 pointer_default(unique)
1406 interface IInternetZoneManager : IUnknown
1408 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1410 typedef enum tagURLZONE
1412 URLZONE_INVALID = -1,
1413 URLZONE_PREDEFINED_MIN = 0,
1414 URLZONE_LOCAL_MACHINE = 0,
1415 URLZONE_INTRANET = 1,
1416 URLZONE_TRUSTED = 2,
1417 URLZONE_INTERNET = 3,
1418 URLZONE_UNTRUSTED = 4,
1419 URLZONE_PREDEFINED_MAX = 999,
1420 URLZONE_USER_MIN = 1000,
1421 URLZONE_USER_MAX = 10000,
1422 } URLZONE;
1424 typedef enum tagURLTEMPLATE
1426 URLTEMPLATE_CUSTOM = 0x00000,
1427 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1428 URLTEMPLATE_LOW = 0x10000,
1429 URLTEMPLATE_MEDLOW = 0x10500,
1430 URLTEMPLATE_MEDIUM = 0x11000,
1431 URLTEMPLATE_MEDHIGH = 0x11500,
1432 URLTEMPLATE_HIGH = 0x12000,
1433 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1434 } URLTEMPLATE ;
1436 typedef enum {
1437 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1438 ZAFLAGS_ADD_SITES = 0x00000002,
1439 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1440 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1441 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1442 ZAFLAGS_NO_UI = 0x00000020,
1443 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1444 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1445 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1446 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1447 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1448 ZAFLAGS_NO_CACHE = 0x00040000,
1449 } ZAFLAGS ;
1451 enum {
1452 MAX_ZONE_PATH = 260,
1453 MAX_ZONE_DESCRIPTION = 200
1456 typedef struct _ZONEATTRIBUTES {
1457 ULONG cbSize;
1458 WCHAR szDisplayName[MAX_ZONE_PATH];
1459 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1460 WCHAR szIconPath[MAX_ZONE_PATH];
1461 DWORD dwTemplateMinLevel;
1462 DWORD dwTemplateRecommended;
1463 DWORD dwTemplateCurrentLevel;
1464 DWORD dwFlags;
1465 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1467 typedef enum _URLZONEREG {
1468 URLZONEREG_DEFAULT,
1469 URLZONEREG_HKLM,
1470 URLZONEREG_HKCU
1471 } URLZONEREG;
1473 HRESULT GetZoneAttributes(
1474 [in] DWORD dwZone,
1475 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1477 HRESULT SetZoneAttributes(
1478 [in] DWORD dwZone,
1479 [in] ZONEATTRIBUTES* pZoneAttributes);
1481 HRESULT GetZoneCustomPolicy(
1482 [in] DWORD dwZone,
1483 [in] REFGUID guidKey,
1484 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1485 [out] DWORD* pcbPolicy,
1486 [in] URLZONEREG ulrZoneReg);
1488 HRESULT SetZoneCustomPolicy(
1489 [in] DWORD dwZone,
1490 [in] REFGUID guidKey,
1491 [in, size_is(pcbPolicy)] BYTE *ppPolicy,
1492 [in] DWORD pcbPolicy,
1493 [in] URLZONEREG ulrZoneReg);
1495 HRESULT GetZoneActionPolicy(
1496 [in] DWORD dwZone,
1497 [in] DWORD dwAction,
1498 [out, size_is(cbPolicy)] BYTE* pPolicy,
1499 [in] DWORD cbPolicy,
1500 [in] URLZONEREG urlZoneReg);
1502 HRESULT SetZoneActionPolicy(
1503 [in] DWORD dwZone,
1504 [in] DWORD dwAction,
1505 [in, size_is(cbPolicy)] BYTE* pPolicy,
1506 [in] DWORD cbPolicy,
1507 [in] URLZONEREG urlZoneReg);
1509 HRESULT PromptAction(
1510 [in] DWORD dwAction,
1511 [in] HWND hwndParent,
1512 [in] LPCWSTR pwszUrl,
1513 [in] LPCWSTR pwszText,
1514 [in] DWORD dwPromptFlags );
1516 HRESULT LogAction(
1517 [in] DWORD dwAction,
1518 [in] LPCWSTR pwszUrl,
1519 [in] LPCWSTR pwszText,
1520 [in] DWORD dwLogFlags);
1522 HRESULT CreateZoneEnumerator(
1523 [out] DWORD* pdwEnum,
1524 [out] DWORD* pdwCount,
1525 [in] DWORD dwFlags);
1527 HRESULT GetZoneAt(
1528 [in] DWORD dwEnum,
1529 [in] DWORD dwIndex,
1530 [out] DWORD* pdwZone);
1532 HRESULT DestroyZoneEnumerator(
1533 [in] DWORD dwEnum);
1535 HRESULT CopyTemplatePoliciesToZone(
1536 [in] DWORD dwTemplate,
1537 [in] DWORD dwZone,
1538 [in] DWORD dwReserved);
1541 /*****************************************************************************
1542 * IInternetZoneManagerEx interface
1545 local,
1546 object,
1547 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1548 pointer_default(unique)
1550 interface IInternetZoneManagerEx : IInternetZoneManager
1552 HRESULT GetZoneActionPolicyEx(
1553 [in] DWORD dwZone,
1554 [in] DWORD dwAction,
1555 [out, size_is(cbPolicy)] BYTE *pPolicy,
1556 [in] DWORD cbPolicy,
1557 [in] URLZONEREG urlZoneReg,
1558 [in] DWORD dwFlags);
1560 HRESULT SetZoneActionPolicyEx(
1561 [in] DWORD dwZone,
1562 [in] DWORD dwAction,
1563 [in, size_is(cbPolicy)] BYTE *pPolicy,
1564 [in] DWORD cbPolicy,
1565 [in] URLZONEREG urlZoneReg,
1566 [in] DWORD dwFlags);
1570 /*****************************************************************************
1571 * IInternetZoneManagerEx2 interface
1574 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1575 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1578 local,
1579 object,
1580 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1581 pointer_default(unique)
1583 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1585 HRESULT GetZoneAttributesEx(
1586 [in] DWORD dwZone,
1587 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1588 [in] DWORD dwFlags);
1590 HRESULT GetZoneSecurityState(
1591 [in] DWORD dwZoneIndex,
1592 [in] BOOL fRespectPolicy,
1593 [in, out] LPDWORD pdwState,
1594 [in, out] BOOL *pfPolicyEncountered);
1596 HRESULT GetIESecurityState(
1597 [in] BOOL fRespectPolicy,
1598 [in, out] LPDWORD pdwState,
1599 [in, out] BOOL *pfPolicyEncountered,
1600 [in] BOOL fNoCache);
1602 HRESULT FixInsecureSettings(void);
1607 typedef struct _tagSOFTDISTINFO
1609 ULONG cbSize;
1610 DWORD dwFlags;
1611 DWORD dwAdState;
1612 LPWSTR szTitle;
1613 LPWSTR szAbstract;
1614 LPWSTR szHREF;
1615 DWORD dwInstalledVersionMS;
1616 DWORD dwInstalledVersionLS;
1617 DWORD dwUpdateVersionMS;
1618 DWORD dwUpdateVersionLS;
1619 DWORD dwAdvertisedVersionMS;
1620 DWORD dwAdvertisedVersionLS;
1621 DWORD dwReserved;
1622 } SOFTDISTINFO, *LPSOFTDISTINFO;
1624 typedef struct _tagCODEBASEHOLD
1626 DWORD cbSize;
1627 LPWSTR szDistUnit;
1628 LPWSTR szCodeBase;
1629 DWORD dwVersionMS;
1630 DWORD dwVersionLS;
1631 DWORD dwStyle;
1632 } CODEBASEHOLD, *LPCODEBASEHOLD;
1635 local,
1636 object,
1637 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1638 pointer_default(unique)
1640 interface ISoftDistExt : IUnknown
1642 HRESULT ProcessSoftDist(
1643 [in] LPCWSTR szCDFURL,
1644 [in] IXMLElement *pSoftDistElement,
1645 [in, out] LPSOFTDISTINFO lpsdi );
1647 HRESULT GetFirstCodeBase(
1648 [in] LPWSTR *szCodeBase,
1649 [in] LPDWORD dwMaxSize );
1651 HRESULT GetNextCodeBase(
1652 [in] LPWSTR *szCodeBase,
1653 [in] LPDWORD dwMaxSize );
1655 HRESULT AsyncInstallDistributionUnit(
1656 [in] IBindCtx *pbc,
1657 [in] LPVOID lpReserved,
1658 [in] DWORD flags,
1659 [in] LPCODEBASEHOLD lpcbh);
1662 typedef enum _tagINTERNETFEATURELIST
1664 FEATURE_OBJECT_CACHING,
1665 FEATURE_ZONE_ELEVATION,
1666 FEATURE_MIME_HANDLING,
1667 FEATURE_MIME_SNIFFING,
1668 FEATURE_WINDOW_RESTRICTIONS,
1669 FEATURE_WEBOC_POPUPMANAGEMENT,
1670 FEATURE_BEHAVIORS,
1671 FEATURE_DISABLE_MK_PROTOCOL,
1672 FEATURE_LOCALMACHINE_LOCKDOWN,
1673 FEATURE_SECURITYBAND,
1674 FEATURE_RESTRICT_ACTIVEXINSTALL,
1675 FEATURE_VALIDATE_NAVIGATE_URL,
1676 FEATURE_RESTRICT_FILEDOWNLOAD,
1677 FEATURE_ADDON_MANAGEMENT,
1678 FEATURE_PROTOCOL_LOCKDOWN,
1679 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1680 FEATURE_SAFE_BINDTOOBJECT,
1681 FEATURE_UNC_SAVEDFILECHECK,
1682 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1683 FEATURE_TABBED_BROWSING,
1684 FEATURE_SSLUX,
1685 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1686 FEATURE_DISABLE_LEGACY_COMPRESSION,
1687 FEATURE_FORCE_ADDR_AND_STATUS,
1688 FEATURE_XMLHTTP,
1689 FEATURE_DISABLE_TELNET_PROTOCOL,
1690 FEATURE_FEEDS,
1691 FEATURE_BLOCK_INPUT_PROMPTS,
1692 FEATURE_ENTRY_COUNT
1693 } INTERNETFEATURELIST;
1695 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1696 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1697 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1698 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1699 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1700 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1701 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1702 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1704 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1705 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1706 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1707 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1708 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1709 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1710 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1711 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1713 typedef struct _tagPROTOCOLFILTERDATA {
1714 DWORD cbSize;
1715 IInternetProtocolSink *pProtocolSink;
1716 IInternetProtocol *pProtocol;
1717 IUnknown *pUnk;
1718 DWORD dwFilterFlags;
1719 } PROTOCOLFILTERDATA;
1721 /*****************************************************************************
1722 * IUri interface
1725 object,
1726 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1727 pointer_default(unique)
1729 interface IUri : IUnknown
1731 typedef enum
1733 Uri_PROPERTY_ABSOLUTE_URI = 0,
1734 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1735 Uri_PROPERTY_AUTHORITY = 1,
1736 Uri_PROPERTY_DISPLAY_URI = 2,
1737 Uri_PROPERTY_DOMAIN = 3,
1738 Uri_PROPERTY_EXTENSION = 4,
1739 Uri_PROPERTY_FRAGMENT = 5,
1740 Uri_PROPERTY_HOST = 6,
1741 Uri_PROPERTY_PASSWORD = 7,
1742 Uri_PROPERTY_PATH = 8,
1743 Uri_PROPERTY_PATH_AND_QUERY = 9,
1744 Uri_PROPERTY_QUERY = 10,
1745 Uri_PROPERTY_RAW_URI = 11,
1746 Uri_PROPERTY_SCHEME_NAME = 12,
1747 Uri_PROPERTY_USER_INFO = 13,
1748 Uri_PROPERTY_USER_NAME = 14,
1749 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1750 Uri_PROPERTY_HOST_TYPE = 15,
1751 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1752 Uri_PROPERTY_PORT = 16,
1753 Uri_PROPERTY_SCHEME = 17,
1754 Uri_PROPERTY_ZONE = 18,
1755 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1756 } Uri_PROPERTY;
1758 typedef enum
1760 Uri_HOST_UNKNOWN = 0,
1761 Uri_HOST_DNS = 1,
1762 Uri_HOST_IPV4 = 2,
1763 Uri_HOST_IPV6 = 3,
1764 Uri_HOST_IDN = 4
1765 } Uri_HOST_TYPE;
1767 HRESULT GetPropertyBSTR(
1768 [in] Uri_PROPERTY uriProp,
1769 [out] BSTR *pbstrProperty,
1770 [in] DWORD dwFlags);
1772 HRESULT GetPropertyLength(
1773 [in] Uri_PROPERTY uriProp,
1774 [out] DWORD *pcchProperty,
1775 [in] DWORD dwFlags);
1777 HRESULT GetPropertyDWORD(
1778 [in] Uri_PROPERTY uriProp,
1779 [out] DWORD *pdwProperty,
1780 [in] DWORD dwFlags);
1782 HRESULT HasProperty(
1783 [in] Uri_PROPERTY uriProp,
1784 [out] BOOL *pfHasProperty);
1786 HRESULT GetAbsoluteUri(
1787 [out] BSTR *pbstrAbsoluteUri);
1789 HRESULT GetAuthority(
1790 [out] BSTR *pbstrAuthority);
1792 HRESULT GetDisplayUri(
1793 [out] BSTR *pbstrDisplayString);
1795 HRESULT GetDomain(
1796 [out] BSTR *pbstrDomain);
1798 HRESULT GetExtension(
1799 [out] BSTR *pbstrExtension);
1801 HRESULT GetFragment(
1802 [out] BSTR *pbstrFragment);
1804 HRESULT GetHost(
1805 [out] BSTR *pbstrHost);
1807 HRESULT GetPassword(
1808 [out] BSTR *pbstrPassword);
1810 HRESULT GetPath(
1811 [out] BSTR *pbstrPath);
1813 HRESULT GetPathAndQuery(
1814 [out] BSTR *pbstrPathAndQuery);
1816 HRESULT GetQuery(
1817 [out] BSTR *pbstrQuery);
1819 HRESULT GetRawUri(
1820 [out] BSTR *pbstrRawUri);
1822 HRESULT GetSchemeName(
1823 [out] BSTR *pbstrSchemeName);
1825 HRESULT GetUserInfo(
1826 [out] BSTR *pbstrUserInfo);
1828 HRESULT GetUserName(
1829 [out] BSTR *pbstrUserName);
1831 HRESULT GetHostType(
1832 [out] DWORD *pdwHostType);
1834 HRESULT GetPort(
1835 [out] DWORD *pdwPort);
1837 HRESULT GetScheme(
1838 [out] DWORD *pdwScheme);
1840 HRESULT GetZone(
1841 [out] DWORD *pdwZone);
1843 HRESULT GetProperties(
1844 [out] LPDWORD pdwFlags);
1846 HRESULT IsEqual(
1847 [in] IUri *pUri,
1848 [out] BOOL *pfEqual);
1851 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1852 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1853 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1855 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1856 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1857 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1858 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1859 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1860 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1861 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1862 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1863 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1864 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1865 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1866 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1867 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1868 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1869 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1870 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1871 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1872 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1873 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1875 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1876 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1877 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1878 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1879 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1880 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1881 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1882 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1883 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1884 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1885 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1886 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1887 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1888 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1889 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1890 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1891 cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000")
1892 cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000")
1894 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1895 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1896 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1898 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1899 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1900 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1901 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1902 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1903 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1904 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1905 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)")
1907 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1909 /*****************************************************************************
1910 * IUriContainer interface
1913 local,
1914 object,
1915 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1916 pointer_default(unique)
1918 interface IUriContainer : IUnknown
1920 HRESULT GetIUri([out] IUri **ppIUri);
1923 /*****************************************************************************
1924 * IUriBuilder interface
1927 local,
1928 object,
1929 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1930 pointer_default(unique)
1932 interface IUriBuilder: IUnknown
1934 HRESULT CreateUriSimple(
1935 [in] DWORD dwAllowEncodingPropertyMask,
1936 [in] DWORD_PTR dwReserved,
1937 [out] IUri **ppIUri);
1939 HRESULT CreateUri(
1940 [in] DWORD dwCreateFlags,
1941 [in] DWORD dwAllowEncodingPropertyMask,
1942 [in] DWORD_PTR dwReserved,
1943 [out] IUri **ppIUri);
1945 HRESULT CreateUriWithFlags(
1946 [in] DWORD dwCreateFlags,
1947 [in] DWORD dwUriBuilderFlags,
1948 [in] DWORD dwAllowEncodingPropertyMask,
1949 [in] DWORD_PTR dwReserved,
1950 [out] IUri **ppIUri);
1952 HRESULT GetIUri(
1953 [out] IUri **ppIUri);
1955 HRESULT SetIUri(
1956 [in, unique] IUri *pIUri);
1958 HRESULT GetFragment(
1959 [out] DWORD *pcchFragment,
1960 [out] LPCWSTR *ppwzFragment);
1962 HRESULT GetHost(
1963 [out] DWORD *pcchHost,
1964 [out] LPCWSTR *ppwzHost);
1966 HRESULT GetPassword(
1967 [out] DWORD *pcchPassword,
1968 [out] LPCWSTR *ppwzPassword);
1970 HRESULT GetPath(
1971 [out] DWORD *pcchPath,
1972 [out] LPCWSTR *ppwzPath);
1974 HRESULT GetPort(
1975 [out] BOOL *pfHasPort,
1976 [out] DWORD *pdwPort);
1978 HRESULT GetQuery(
1979 [out] DWORD *pcchQuery,
1980 [out] LPCWSTR *ppwzQuery);
1982 HRESULT GetSchemeName(
1983 [out] DWORD *pcchSchemeName,
1984 [out] LPCWSTR *ppwzSchemeName);
1986 HRESULT GetUserName(
1987 [out] DWORD *pcchUserName,
1988 [out] LPCWSTR *ppwzUserName);
1990 HRESULT SetFragment(
1991 [in] LPCWSTR pwzNewValue);
1993 HRESULT SetHost(
1994 [in] LPCWSTR pwzNewValue);
1996 HRESULT SetPassword(
1997 [in] LPCWSTR pwzNewValue);
1999 HRESULT SetPath(
2000 [in] LPCWSTR pwzNewValue);
2002 HRESULT SetPort(
2003 [in] BOOL fHasPort,
2004 [in] DWORD dwNewValue);
2006 HRESULT SetQuery(
2007 [in] LPCWSTR pwzNewValue);
2009 HRESULT SetSchemeName(
2010 [in] LPCWSTR pwzNewValue);
2012 HRESULT SetUserName(
2013 [in] LPCWSTR pwzNewValue);
2015 HRESULT RemoveProperties(
2016 [in] DWORD dwPropertyMask);
2018 HRESULT HasBeenModified(
2019 [out] BOOL *pfModified);
2022 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
2024 /*****************************************************************************
2025 * IUriBuilderFactory interface
2028 local,
2029 object,
2030 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
2031 pointer_default(unique)
2033 interface IUriBuilderFactory : IUnknown
2035 HRESULT CreateIUriBuilder(
2036 [in] DWORD dwFlags,
2037 [in] DWORD_PTR dwReserved,
2038 [out] IUriBuilder **ppIUriBuilder);
2040 HRESULT CreateInitializedIUriBuilder(
2041 [in] DWORD dwFlags,
2042 [in] DWORD_PTR dwReserved,
2043 [out] IUriBuilder **ppIUriBuilder);
2046 /*****************************************************************************
2047 * IInternetProtocolEx interface
2050 local,
2051 object,
2052 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2053 pointer_default(unique)
2055 interface IInternetProtocolEx : IInternetProtocol
2057 HRESULT StartEx(
2058 [in] IUri *pUri,
2059 [in] IInternetProtocolSink *pOIProtSink,
2060 [in] IInternetBindInfo *pOIBindInfo,
2061 [in] DWORD grfPI,
2062 [in] HANDLE *dwReserved);
2065 /*****************************************************************************
2066 * IGetBindHandle interface
2069 local,
2070 object,
2071 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2072 pointer_default(unique)
2074 interface IGetBindHandle : IUnknown
2076 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2078 typedef enum {
2079 BINDHANDLETYPES_APPCACHE = 0x00000000,
2080 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2081 BINDHANDLETYPES_COUNT
2082 } BINDHANDLETYPES;
2084 HRESULT GetBindHandle(
2085 [in] BINDHANDLETYPES enumRequestedHandle,
2086 [out] HANDLE *pRetHandle);
2089 /*****************************************************************************
2090 * IBindCallbackRedirect interface
2093 local,
2094 object,
2095 uuid(11c81bc2-121e-4ed5-b9c4-b430bd54f2c0),
2096 pointer_default(unique)
2098 interface IBindCallbackRedirect : IUnknown
2100 typedef [unique] IBindCallbackRedirect *LPBINDCALLBACKREDIRECT;
2102 HRESULT Redirect(
2103 [in] LPCWSTR lpcUrl,
2104 [out] VARIANT_BOOL *vbCancel);
2107 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2109 struct CONFIRMSAFETY
2111 CLSID clsid;
2112 IUnknown *pUnk;
2113 DWORD dwFlags;
2116 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2118 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2119 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2120 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2121 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2122 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2123 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2125 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2126 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2127 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2128 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2129 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2130 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2131 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2133 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2134 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2135 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2137 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2138 cpp_quote("#ifndef S_ASYNCHRONOUS")
2139 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2140 cpp_quote("#endif")
2142 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2143 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2144 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2145 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2146 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2147 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2148 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2149 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2150 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2151 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2152 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2153 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2154 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2155 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2156 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2157 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2158 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2159 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2160 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2161 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2162 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2163 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2164 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2165 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2166 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2167 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2168 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2169 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2170 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2171 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2172 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2173 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2174 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2176 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2177 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2178 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2179 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2180 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2181 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2182 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2183 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2184 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2185 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2186 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2187 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2188 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2189 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2190 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2191 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2192 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2193 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2194 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2195 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2196 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2197 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2198 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2199 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2200 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2201 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2202 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2203 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2204 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2205 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2206 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2207 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2208 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2209 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2210 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2211 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2212 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2213 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2214 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2215 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2216 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2217 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2218 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2219 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2220 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2221 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2222 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2223 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2224 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2225 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2226 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2227 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2228 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2229 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2230 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2231 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2232 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2234 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2235 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2236 cpp_quote("#define OInetGetSession CoInternetGetSession")
2238 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2239 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2240 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2242 cpp_quote("#define MKSYS_URLMONIKER 6")
2243 cpp_quote("#define URL_MK_LEGACY 0")
2244 cpp_quote("#define URL_MK_UNIFORM 1")
2245 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")