rpcrt4: Fix arguments of HttpAddRequestHeaders.
[wine.git] / include / urlmon.idl
blob4be8d4b6600762accce035f3a942dc30b4a4cfcc
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 BSCF_FIRSTDATANOTIFICATION = 0x01,
200 BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
201 BSCF_LASTDATANOTIFICATION = 0x04,
202 BSCF_DATAFULLYAVAILABLE = 0x08,
203 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
204 BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
205 BSCF_64BITLENGTHDOWNLOAD = 0x40
206 } BSCF;
208 typedef enum BINDSTATUS
210 BINDSTATUS_FINDINGRESOURCE = 1,
211 BINDSTATUS_CONNECTING,
212 BINDSTATUS_REDIRECTING,
213 BINDSTATUS_BEGINDOWNLOADDATA,
214 BINDSTATUS_DOWNLOADINGDATA,
215 BINDSTATUS_ENDDOWNLOADDATA,
216 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
217 BINDSTATUS_INSTALLINGCOMPONENTS,
218 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
219 BINDSTATUS_USINGCACHEDCOPY,
220 BINDSTATUS_SENDINGREQUEST,
221 BINDSTATUS_CLASSIDAVAILABLE,
222 BINDSTATUS_MIMETYPEAVAILABLE,
223 BINDSTATUS_CACHEFILENAMEAVAILABLE,
224 BINDSTATUS_BEGINSYNCOPERATION,
225 BINDSTATUS_ENDSYNCOPERATION,
226 BINDSTATUS_BEGINUPLOADDATA,
227 BINDSTATUS_UPLOADINGDATA,
228 BINDSTATUS_ENDUPLOADINGDATA,
229 BINDSTATUS_PROTOCOLCLASSID,
230 BINDSTATUS_ENCODING,
231 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
232 BINDSTATUS_CLASSINSTALLLOCATION,
233 BINDSTATUS_DECODING,
234 BINDSTATUS_LOADINGMIMEHANDLER,
235 BINDSTATUS_CONTENTDISPOSITIONATTACH,
236 BINDSTATUS_FILTERREPORTMIMETYPE,
237 BINDSTATUS_CLSIDCANINSTANTIATE,
238 BINDSTATUS_IUNKNOWNAVAILABLE,
239 BINDSTATUS_DIRECTBIND,
240 BINDSTATUS_RAWMIMETYPE,
241 BINDSTATUS_PROXYDETECTING,
242 BINDSTATUS_ACCEPTRANGES,
243 BINDSTATUS_COOKIE_SENT,
244 BINDSTATUS_COMPACT_POLICY_RECEIVED,
245 BINDSTATUS_COOKIE_SUPPRESSED,
246 BINDSTATUS_COOKIE_STATE_UNKNOWN,
247 BINDSTATUS_COOKIE_STATE_ACCEPT,
248 BINDSTATUS_COOKIE_STATE_REJECT,
249 BINDSTATUS_COOKIE_STATE_PROMPT,
250 BINDSTATUS_COOKIE_STATE_LEASH,
251 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
252 BINDSTATUS_POLICY_HREF,
253 BINDSTATUS_P3P_HEADER,
254 BINDSTATUS_SESSION_COOKIE_RECEIVED,
255 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
256 BINDSTATUS_SESSION_COOKIES_ALLOWED,
257 BINDSTATUS_CACHECONTROL,
258 BINDSTATUS_CONTENTDISPOSITIONFILENAME,
259 BINDSTATUS_MIMETEXTPLAINMISMATCH,
260 BINDSTATUS_PUBLISHERAVAILABLE,
261 BINDSTATUS_DISPLAYNAMEAVAILABLE,
262 BINDSTATUS_SSLUX_NAVBLOCKED,
263 BINDSTATUS_SERVER_MIMETYPEAVAILABLE,
264 BINDSTATUS_SNIFFED_CLASSIDAVAILABLE,
265 BINDSTATUS_64BIT_PROGRESS,
266 BINDSTATUS_LAST = BINDSTATUS_64BIT_PROGRESS,
267 BINDSTATUS_RESERVED_0 = (BINDSTATUS_LAST+1),
268 BINDSTATUS_RESERVED_1 = (BINDSTATUS_RESERVED_0+1),
269 BINDSTATUS_RESERVED_2 = (BINDSTATUS_RESERVED_1+1),
270 BINDSTATUS_RESERVED_3 = (BINDSTATUS_RESERVED_2+1),
271 BINDSTATUS_RESERVED_4 = (BINDSTATUS_RESERVED_3+1),
272 BINDSTATUS_RESERVED_5 = (BINDSTATUS_RESERVED_4+1),
273 BINDSTATUS_RESERVED_6 = (BINDSTATUS_RESERVED_5+1),
274 BINDSTATUS_RESERVED_7 = (BINDSTATUS_RESERVED_6+1),
275 BINDSTATUS_RESERVED_8 = (BINDSTATUS_RESERVED_7+1),
276 BINDSTATUS_RESERVED_9 = (BINDSTATUS_RESERVED_8+1),
277 BINDSTATUS_LAST_PRIVATE = BINDSTATUS_RESERVED_9
278 } BINDSTATUS;
281 HRESULT OnStartBinding(
282 [in] DWORD dwReserved,
283 [in] IBinding * pib);
285 HRESULT GetPriority(
286 [out] LONG * pnPriority);
288 HRESULT OnLowResource(
289 [in] DWORD reserved);
291 HRESULT OnProgress(
292 [in] ULONG ulProgress,
293 [in] ULONG ulProgressMax,
294 [in] ULONG ulStatusCode,
295 [in, unique] LPCWSTR szStatusText);
297 HRESULT OnStopBinding(
298 [in] HRESULT hresult,
299 [in, unique] LPCWSTR szError);
301 [local]
302 HRESULT GetBindInfo(
303 [out] DWORD *grfBINDF,
304 [in, out, unique] BINDINFO * pbindinfo);
306 [call_as(GetBindInfo)]
307 HRESULT RemoteGetBindInfo(
308 [out] DWORD *grfBINDF,
309 [in, out, unique] RemBINDINFO * pbindinfo,
310 [in, out, unique] RemSTGMEDIUM* pstgmed);
312 [local]
313 HRESULT OnDataAvailable(
314 [in] DWORD grfBSCF,
315 [in] DWORD dwSize,
316 [in] FORMATETC* pformatetc,
317 [in] STGMEDIUM* pstgmed);
319 [call_as(OnDataAvailable)]
320 HRESULT RemoteOnDataAvailable(
321 [in] DWORD grfBSCF,
322 [in] DWORD dwSize,
323 [in] RemFORMATETC *pformatetc,
324 [in] RemSTGMEDIUM* pstgmed);
326 HRESULT OnObjectAvailable(
327 [in] REFIID riid,
328 [in, iid_is(riid)] IUnknown* punk);
331 /*****************************************************************************
332 * IBindStatusCallbackEx interface
335 object,
336 uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc),
337 pointer_default(unique)
339 interface IBindStatusCallbackEx : IBindStatusCallback
341 typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
343 typedef enum {
344 BINDF2_DISABLEBASICOVERHTTP = 0x00000001,
345 BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002,
346 BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004,
347 BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008,
348 BINDF2_RESERVED_3 = 0x20000000,
349 BINDF2_RESERVED_2 = 0x40000000,
350 BINDF2_RESERVED_1 = 0x80000000,
351 } BINDF2;
353 [local]
354 HRESULT GetBindInfoEx(
355 [out] DWORD *grfBINDF,
356 [in, out, unique] BINDINFO *pbindinfo,
357 [out] DWORD *grfBINDF2,
358 [out] DWORD *pdwReserved);
360 [call_as(GetBindInfoEx)]
361 HRESULT RemoteGetBindInfoEx(
362 [out] DWORD *grfBINDF,
363 [in, out, unique] RemBINDINFO *pbindinfo,
364 [in, out, unique] RemSTGMEDIUM *pstgmed,
365 [out] DWORD *grfBINDF2,
366 [out] DWORD *pdwReserved);
370 /*****************************************************************************
371 * IAuthenticate interface
374 object,
375 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
376 pointer_default(unique)
378 interface IAuthenticate : IUnknown
380 typedef [unique] IAuthenticate *LPAUTHENTICATION;
382 HRESULT Authenticate(
383 [out] HWND* phwnd,
384 [out] LPWSTR *pszUsername,
385 [out] LPWSTR *pszPassword);
388 /*****************************************************************************
389 * IHttpNegotiate interface
392 object,
393 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
394 pointer_default(unique)
396 interface IHttpNegotiate : IUnknown
398 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
400 HRESULT BeginningTransaction(
401 [in] LPCWSTR szURL,
402 [in, unique] LPCWSTR szHeaders,
403 [in] DWORD dwReserved,
404 [out] LPWSTR *pszAdditionalHeaders);
406 HRESULT OnResponse(
407 [in] DWORD dwResponseCode,
408 [in, unique] LPCWSTR szResponseHeaders,
409 [in, unique] LPCWSTR szRequestHeaders,
410 [out] LPWSTR *pszAdditionalRequestHeaders);
413 /*****************************************************************************
414 * IHttpNegotiate2 interface
417 object,
418 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
419 pointer_default(unique)
421 interface IHttpNegotiate2 : IHttpNegotiate
423 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
425 HRESULT GetRootSecurityId(
426 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
427 [in, out] DWORD *pcbSecurityId,
428 [in] DWORD_PTR dwReserved);
431 /*****************************************************************************
432 * IBindHost interface
434 cpp_quote("#define SID_IBindHost IID_IBindHost")
435 cpp_quote("#define SID_SBindHost IID_IBindHost")
437 object,
438 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
439 pointer_default(unique)
441 interface IBindHost : IUnknown
443 typedef [unique] IBindHost *LPBINDHOST;
445 HRESULT CreateMoniker(
446 [in] LPOLESTR szName,
447 [in] IBindCtx *pBC,
448 [out] IMoniker** ppmk,
449 [in] DWORD dwReserved);
451 [local]
452 HRESULT MonikerBindToStorage(
453 [in] IMoniker *pMk,
454 [in] IBindCtx *pBC,
455 [in] IBindStatusCallback *pBSC,
456 [in] REFIID riid,
457 [out] void **ppvObj);
459 [call_as(MonikerBindToStorage)]
460 HRESULT RemoteMonikerBindToStorage(
461 [in, unique] IMoniker *pMk,
462 [in, unique] IBindCtx *pBC,
463 [in, unique] IBindStatusCallback *pBSC,
464 [in] REFIID riid,
465 [out, iid_is(riid)] IUnknown **ppvObj);
467 [local]
468 HRESULT MonikerBindToObject(
469 [in] IMoniker *pMk,
470 [in] IBindCtx *pBC,
471 [in] IBindStatusCallback *pBSC,
472 [in] REFIID riid,
473 [out] void **ppvObj);
475 [call_as(MonikerBindToObject)]
476 HRESULT RemoteMonikerBindToObject(
477 [in, unique] IMoniker *pMk,
478 [in, unique] IBindCtx *pBC,
479 [in, unique] IBindStatusCallback *pBSC,
480 [in] REFIID riid,
481 [out, iid_is(riid)] IUnknown **ppvObj);
485 /*****************************************************************************
486 * IWinInetInfo interface
489 object,
490 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
491 pointer_default(unique)
493 interface IWinInetInfo : IUnknown
495 typedef [unique] IWinInetInfo *LPWININETINFO;
497 [local]
498 HRESULT QueryOption(
499 [in] DWORD dwOption,
500 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
501 [in, out] DWORD *pcbBuf);
503 [call_as(QueryOption)]
504 HRESULT RemoteQueryOption(
505 [in] DWORD dwOption,
506 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
507 [in, out] DWORD *pcbBuf);
512 /*****************************************************************************
513 * IWinInetHttpInfo interface
516 object,
517 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
518 pointer_default(unique)
520 interface IWinInetHttpInfo : IWinInetInfo
522 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
524 [local]
525 HRESULT QueryInfo(
526 [in] DWORD dwOption,
527 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
528 [in, out] DWORD *pcbBuf,
529 [in, out] DWORD *pdwFlags,
530 [in, out] DWORD *pdwReserved);
532 [call_as(QueryInfo)]
533 HRESULT RemoteQueryInfo(
534 [in] DWORD dwOption,
535 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
536 [in, out] DWORD *pcbBuf,
537 [in, out] DWORD *pdwFlags,
538 [in, out] DWORD *pdwReserved);
541 /*****************************************************************************
542 * IWindowForBindingUI interface
545 local,
546 object,
547 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
548 pointer_default(unique)
550 interface IWindowForBindingUI : IUnknown
552 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
554 HRESULT GetWindow(
555 [in] REFGUID rguidReason,
556 [out] HWND *phwnd);
559 /*****************************************************************************
560 * ICodeInstall interface
563 local,
564 object,
565 uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
566 pointer_default(unique)
568 interface ICodeInstall : IWindowForBindingUI
570 typedef [unique] ICodeInstall *LPCODEINSTALL;
572 typedef enum {
573 CIP_DISK_FULL,
574 CIP_ACCESS_DENIED,
575 CIP_NEWER_VERSION_EXISTS,
576 CIP_OLDER_VERSION_EXISTS,
577 CIP_NAME_CONFLICT,
578 CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
579 CIP_EXE_SELF_REGISTERATION_TIMEOUT,
580 CIP_UNSAFE_TO_ABORT,
581 CIP_NEED_REBOOT,
582 CIP_NEED_REBOOT_UI_PERMISSION
583 } CIP_STATUS;
585 HRESULT OnCodeInstallProblem(
586 [in] ULONG ulStatusCode,
587 [in, unique] LPCWSTR szDestination,
588 [in, unique] LPCWSTR szSource,
589 [in] DWORD dwReserved);
592 /*****************************************************************************
593 * IHttpSecurity interface
596 local,
597 object,
598 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
599 pointer_default(unique)
601 interface IHttpSecurity : IWindowForBindingUI
603 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
605 HRESULT OnSecurityProblem(
606 [in] DWORD dwProblem);
610 /*****************************************************************************
611 * IPersistMoniker interface
614 object,
615 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
616 pointer_default(unique)
618 interface IPersistMoniker : IUnknown
620 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
622 HRESULT GetClassID(
623 [out] CLSID *pClassID);
625 HRESULT IsDirty();
627 HRESULT Load(
628 [in] BOOL fFullyAvailable,
629 [in] IMoniker *pimkName,
630 [in] LPBC pibc,
631 [in] DWORD grfMode);
633 HRESULT Save(
634 [in] IMoniker *pimkName,
635 [in] LPBC pbc,
636 [in] BOOL fRemember);
638 HRESULT SaveCompleted(
639 [in] IMoniker *pimkName,
640 [in] LPBC pibc);
642 HRESULT GetCurMoniker(
643 [out] IMoniker **ppimkName);
646 /*****************************************************************************
647 * IMonikerProp interface
650 object,
651 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
652 pointer_default(unique)
654 interface IMonikerProp : IUnknown
656 typedef [unique] IMonikerProp *LPMONIKERPROP;
658 typedef enum {
659 MIMETYPEPROP = 0,
660 USE_SRC_URL = 1,
661 CLASSIDPROP = 2,
662 TRUSTEDDOWNLOADPROP = 3,
663 POPUPLEVELPROP = 4
664 } MONIKERPROPERTY;
666 HRESULT PutProperty(
667 [in] MONIKERPROPERTY mkp,
668 [in] LPCWSTR val);
671 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
672 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
674 /*****************************************************************************
675 * IBindProtocol interface
678 local,
679 object,
680 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
681 pointer_default(unique)
683 interface IBindProtocol : IUnknown
685 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
687 HRESULT CreateBinding(
688 [in] LPCWSTR szUrl,
689 [in] IBindCtx *pbc,
690 [out] IBinding **ppb);
693 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
695 /*****************************************************************************
696 * IInternetBindInfo interface
699 local,
700 object,
701 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
702 pointer_default(unique)
704 interface IInternetBindInfo : IUnknown
706 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
708 typedef enum tagBINDSTRING
710 BINDSTRING_HEADERS = 1,
711 BINDSTRING_ACCEPT_MIMES,
712 BINDSTRING_EXTRA_URL,
713 BINDSTRING_LANGUAGE,
714 BINDSTRING_USERNAME,
715 BINDSTRING_PASSWORD,
716 BINDSTRING_UA_PIXELS,
717 BINDSTRING_UA_COLOR,
718 BINDSTRING_OS,
719 BINDSTRING_USER_AGENT,
720 BINDSTRING_ACCEPT_ENCODINGS,
721 BINDSTRING_POST_COOKIE,
722 BINDSTRING_POST_DATA_MIME,
723 BINDSTRING_URL,
724 BINDSTRING_IID,
725 BINDSTRING_FLAG_BIND_TO_OBJECT,
726 BINDSTRING_PTR_BIND_CONTEXT,
727 BINDSTRING_XDR_ORIGIN,
728 BINDSTRING_DOWNLOADPATH,
729 BINDSTRING_ROOTDOC_URL,
730 BINDSTRING_INITIAL_FILENAME,
731 BINDSTRING_PROXY_USERNAME,
732 BINDSTRING_PROXY_PASSWORD
733 } BINDSTRING;
735 HRESULT GetBindInfo(
736 [out] DWORD *grfBINDF,
737 [in, out, unique] BINDINFO *pbindinfo);
739 HRESULT GetBindString(
740 [in] ULONG ulStringType,
741 [in, out] LPOLESTR *ppwzStr,
742 [in] ULONG cEl,
743 [in, out] ULONG *pcElFetched);
746 /*****************************************************************************
747 * IInternetPriority interface
750 local,
751 object,
752 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
753 pointer_default(unique)
755 interface IInternetPriority : IUnknown
757 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
759 HRESULT SetPriority([in] LONG nPriority);
760 HRESULT GetPriority([out] LONG *pnPriority);
763 /*****************************************************************************
764 * IInternetProtocolRoot interface
767 local,
768 object,
769 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
770 pointer_default(unique)
772 interface IInternetProtocolRoot : IUnknown
774 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
776 typedef enum _tagPI_FLAGS
778 PI_PARSE_URL = 0x00000001,
779 PI_FILTER_MODE = 0x00000002,
780 PI_FORCE_ASYNC = 0x00000004,
781 PI_USE_WORKERTHREAD = 0x00000008,
782 PI_MIMEVERIFICATION = 0x00000010,
783 PI_CLSIDLOOKUP = 0x00000020,
784 PI_DATAPROGRESS = 0x00000040,
785 PI_SYNCHRONOUS = 0x00000080,
786 PI_APARTMENTTHREADED = 0x00000100,
787 PI_CLASSINSTALL = 0x00000200,
788 PD_FORCE_SWITCH = 0x00010000
789 } PI_FLAGS;
791 typedef struct _tagPROTOCOLDATA
793 DWORD grfFlags;
794 DWORD dwState;
795 LPVOID pData;
796 ULONG cbData;
797 } PROTOCOLDATA;
799 HRESULT Start(
800 [in] LPCWSTR szUrl,
801 [in] IInternetProtocolSink *pOIProtSink,
802 [in] IInternetBindInfo *pOIBindInfo,
803 [in] DWORD grfPI,
804 [in] HANDLE_PTR dwReserved);
806 HRESULT Continue(
807 [in] PROTOCOLDATA *pProtocolData);
809 HRESULT Abort(
810 [in] HRESULT hrReason,
811 [in] DWORD dwOptions);
813 HRESULT Terminate(
814 [in] DWORD dwOptions);
816 HRESULT Suspend();
818 HRESULT Resume();
821 /*****************************************************************************
822 * IInternetProtocolSink interface
825 local,
826 object,
827 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
828 pointer_default(unique)
830 interface IInternetProtocolSink : IUnknown
832 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
834 HRESULT Switch(
835 [in] PROTOCOLDATA *pProtocolData);
837 HRESULT ReportProgress(
838 [in] ULONG ulStatusCode,
839 [in] LPCWSTR szStatusText);
841 HRESULT ReportData(
842 [in] DWORD grfBSCF,
843 [in] ULONG ulProgress,
844 [in] ULONG ulProgressMax);
846 HRESULT ReportResult(
847 [in] HRESULT hrResult,
848 [in] DWORD dwError,
849 [in] LPCWSTR szResult);
852 /*****************************************************************************
853 * IInternetProtocol interface
856 local,
857 object,
858 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
859 pointer_default(unique)
861 interface IInternetProtocol : IInternetProtocolRoot
863 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
865 HRESULT Read(
866 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
867 [in] ULONG cb,
868 [out] ULONG *pcbRead);
870 HRESULT Seek(
871 [in] LARGE_INTEGER dlibMove,
872 [in] DWORD dwOrigin,
873 [out] ULARGE_INTEGER *plibNewPosition);
875 HRESULT LockRequest(
876 [in] DWORD dwOptions);
878 HRESULT UnlockRequest();
881 /*****************************************************************************
882 * IInternetProtocolInfo interface
885 local,
886 object,
887 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
888 pointer_default(unique)
890 interface IInternetProtocolInfo : IUnknown
892 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
894 typedef enum _tagPARSEACTION
896 PARSE_CANONICALIZE = 1,
897 PARSE_FRIENDLY,
898 PARSE_SECURITY_URL,
899 PARSE_ROOTDOCUMENT,
900 PARSE_DOCUMENT,
901 PARSE_ANCHOR,
902 PARSE_ENCODE,
903 PARSE_DECODE,
904 PARSE_PATH_FROM_URL,
905 PARSE_URL_FROM_PATH,
906 PARSE_MIME,
907 PARSE_SERVER,
908 PARSE_SCHEMA,
909 PARSE_SITE,
910 PARSE_DOMAIN,
911 PARSE_LOCATION,
912 PARSE_SECURITY_DOMAIN,
913 PARSE_ESCAPE,
914 PARSE_UNESCAPE
915 } PARSEACTION;
917 typedef enum _tagPSUACTION
919 PSU_DEFAULT = 1,
920 PSU_SECURITY_URL_ONLY
921 } PSUACTION;
923 typedef enum _tagQUERYOPTION
925 QUERY_EXPIRATION_DATE = 1,
926 QUERY_TIME_OF_LAST_CHANGE,
927 QUERY_CONTENT_ENCODING,
928 QUERY_CONTENT_TYPE,
929 QUERY_REFRESH,
930 QUERY_RECOMBINE,
931 QUERY_CAN_NAVIGATE,
932 QUERY_USES_NETWORK,
933 QUERY_IS_CACHED,
934 QUERY_IS_INSTALLEDENTRY,
935 QUERY_IS_CACHED_OR_MAPPED,
936 QUERY_USES_CACHE,
937 QUERY_IS_SECURE,
938 QUERY_IS_SAFE,
939 QUERY_USES_HISTORYFOLDER,
940 QUERY_IS_CACHED_AND_USABLE_OFFLINE
941 } QUERYOPTION;
943 HRESULT ParseUrl(
944 [in] LPCWSTR pwzUrl,
945 [in] PARSEACTION ParseAction,
946 [in] DWORD dwParseFlags,
947 [out] LPWSTR pwzResult,
948 [in] DWORD cchResult,
949 [out] DWORD *pcchResult,
950 [in] DWORD dwReserved);
952 HRESULT CombineUrl(
953 [in] LPCWSTR pwzBaseUrl,
954 [in] LPCWSTR pwzRelativeUrl,
955 [in] DWORD dwCombineFlags,
956 [out] LPWSTR pwzResult,
957 [in] DWORD cchResult,
958 [out] DWORD *pcchResult,
959 [in] DWORD dwReserved);
961 HRESULT CompareUrl(
962 [in] LPCWSTR pwzUrl1,
963 [in] LPCWSTR pwzUrl2,
964 [in] DWORD dwCompareFlags);
966 HRESULT QueryInfo(
967 [in] LPCWSTR pwzUrl,
968 [in] QUERYOPTION OueryOption,
969 [in] DWORD dwQueryFlags,
970 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
971 [in] DWORD cbBuffer,
972 [in, out] DWORD *pcbBuf,
973 [in] DWORD dwReserved);
976 /*****************************************************************************
977 * IInternetSession interface
980 local,
981 object,
982 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
983 pointer_default(unique)
985 interface IInternetSession : IUnknown
987 typedef [unique] IInternetSession *LPIINTERNETSESSION;
989 typedef enum _tagOIBDG_FLAGS
991 OIBDG_APARTMENTTHREADED = 0x0100,
992 OIBDG_DATAONLY = 0x1000
993 } OIBDG_FLAGS;
995 HRESULT RegisterNameSpace(
996 [in] IClassFactory *pCF,
997 [in] REFCLSID rclsid,
998 [in] LPCWSTR pwzProtocol,
999 [in] ULONG cPatterns,
1000 [in] const LPCWSTR *ppwzPatterns,
1001 [in] DWORD dwReserved);
1003 HRESULT UnregisterNameSpace(
1004 [in] IClassFactory *pCF,
1005 [in] LPCWSTR pszProtocol);
1007 HRESULT RegisterMimeFilter(
1008 [in] IClassFactory *pCF,
1009 [in] REFCLSID rclsid,
1010 [in] LPCWSTR pwzType);
1012 HRESULT UnregisterMimeFilter(
1013 [in] IClassFactory *pCF,
1014 [in] LPCWSTR pwzType);
1016 HRESULT CreateBinding(
1017 [in] LPBC pBC,
1018 [in] LPCWSTR szUrl,
1019 [in] IUnknown *pUnkOuter,
1020 [out, unique] IUnknown **ppUnk,
1021 [out, unique] IInternetProtocol **ppOInetProt,
1022 [in] DWORD dwOption);
1024 HRESULT SetSessionOption(
1025 [in] DWORD dwOption,
1026 [in] LPVOID pBuffer,
1027 [in] DWORD dwBufferLength,
1028 [in] DWORD dwReserved);
1031 /*****************************************************************************
1032 * IInternetSecurityMgrSite interface
1035 local,
1036 object,
1037 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1038 pointer_default(unique)
1040 interface IInternetSecurityMgrSite : IUnknown
1042 HRESULT GetWindow(
1043 [out] HWND *phwnd);
1045 HRESULT EnableModeless(
1046 [in] BOOL fEnable);
1050 /*****************************************************************************
1051 * IInternetSecurityManager interface
1053 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1056 object,
1057 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1058 pointer_default(unique)
1060 interface IInternetSecurityManager : IUnknown
1062 HRESULT SetSecuritySite(
1063 [in, unique] IInternetSecurityMgrSite *pSite);
1065 HRESULT GetSecuritySite(
1066 [out] IInternetSecurityMgrSite **ppSite);
1068 HRESULT MapUrlToZone(
1069 [in] LPCWSTR pwszUrl,
1070 [out] DWORD *pdwZone,
1071 [in] DWORD dwFlags);
1073 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1075 HRESULT GetSecurityId(
1076 [in] LPCWSTR pwszUrl,
1077 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1078 [in, out] DWORD *pcbSecurityId,
1079 [in] DWORD_PTR dwReserved);
1082 typedef enum {
1083 PUAF_DEFAULT = 0x00,
1084 PUAF_NOUI = 0x01,
1085 PUAF_ISFILE = 0x02,
1086 PUAF_WARN_IF_DENIED = 0x04,
1087 PUAF_FORCEUI_FOREGROUND = 0x08,
1088 PUAF_CHECK_TIPS = 0x10
1089 } PUAF;
1091 HRESULT ProcessUrlAction(
1092 [in] LPCWSTR pwszUrl,
1093 [in] DWORD dwAction,
1094 [out, size_is(cbPolicy)] BYTE *pPolicy,
1095 [in] DWORD cbPolicy,
1096 [in, unique] BYTE *pContext,
1097 [in] DWORD cbContext,
1098 [in] DWORD dwFlags,
1099 [in] DWORD dwReserved);
1101 HRESULT QueryCustomPolicy(
1102 [in] LPCWSTR pwszUrl,
1103 [in] REFGUID guidKey,
1104 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1105 [out] DWORD *pcbPolicy,
1106 [in] BYTE *pContext,
1107 [in] DWORD cbContext,
1108 [in] DWORD dwReserved);
1110 typedef enum {
1111 SZM_CREATE = 0x0,
1112 SZM_DELETE = 0x1
1113 } SZM_FLAGS;
1115 HRESULT SetZoneMapping(
1116 [in] DWORD dwZone,
1117 [in] LPCWSTR lpszPattern,
1118 [in] DWORD dwFlags);
1120 HRESULT GetZoneMappings(
1121 [in] DWORD dwZone,
1122 [out] IEnumString **ppenumString,
1123 [in] DWORD dwFlags);
1126 /*****************************************************************************
1127 * IInternetSecurityManagerEx interface
1129 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1132 object,
1133 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1134 pointer_default(unique)
1136 interface IInternetSecurityManagerEx : IInternetSecurityManager
1138 HRESULT ProcessUrlActionEx(
1139 [in] LPCWSTR pwszUrl,
1140 [in] DWORD dwAction,
1141 [out, size_is(cbPolicy)] BYTE *pPolicy,
1142 [in] DWORD cbPolicy,
1143 [in] BYTE *pContext,
1144 [in] DWORD cbContext,
1145 [in] DWORD dwFlags,
1146 [in] DWORD dwReserved,
1147 [out] DWORD *pdwOutFlags);
1150 /*****************************************************************************
1151 * IInternetSecurityManagerEx2 interface
1153 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1156 object,
1157 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1158 pointer_default(unique)
1160 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1162 HRESULT MapUrlToZoneEx2(
1163 [in] IUri *pUri,
1164 [out] DWORD *pdwZone,
1165 [in] DWORD dwFlags,
1166 [out] LPWSTR *ppwszMappedUrl,
1167 [out] DWORD *pdwOutFlags);
1169 HRESULT ProcessUrlActionEx2(
1170 [in] IUri *pUri,
1171 [in] DWORD dwAction,
1172 [out, size_is(cbPolicy)] BYTE *pPolicy,
1173 [in] DWORD cbPolicy,
1174 [in, unique] BYTE *pContext,
1175 [in] DWORD cbContext,
1176 [in] DWORD dwFlags,
1177 [in] DWORD_PTR dwReserved,
1178 [out] DWORD *pdwOutFlags);
1180 HRESULT GetSecurityIdEx2(
1181 [in] IUri *pUri,
1182 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1183 [in, out] DWORD *pcbSecurityId,
1184 [in] DWORD_PTR dwReserved);
1186 HRESULT QueryCustomPolicyEx2(
1187 [in] IUri *pUri,
1188 [in] REFGUID guidKey,
1189 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1190 [out] DWORD *pcbPolicy,
1191 [in] BYTE *pContext,
1192 [in] DWORD cbContext,
1193 [in] DWORD_PTR dwReserved);
1196 /*****************************************************************************
1197 * IInternetHostSecurityManager interface
1199 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1202 local,
1203 object,
1204 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1205 pointer_default(unique)
1207 interface IInternetHostSecurityManager : IUnknown
1209 HRESULT GetSecurityId(
1210 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1211 [in, out] DWORD *pcbSecurityId,
1212 [in] DWORD_PTR dwReserved);
1214 HRESULT ProcessUrlAction(
1215 [in] DWORD dwAction,
1216 [out, size_is(cbPolicy)] BYTE *pPolicy,
1217 [in] DWORD cbPolicy,
1218 [in] BYTE *pContext,
1219 [in] DWORD cbContext,
1220 [in] DWORD dwFlags,
1221 [in] DWORD dwReserved);
1223 HRESULT QueryCustomPolicy(
1224 [in] REFGUID guidKey,
1225 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1226 [out] DWORD *pcbPolicy,
1227 [in] BYTE *pContext,
1228 [in] DWORD cbContext,
1229 [in] DWORD dwReserved);
1232 cpp_quote("#define URLACTION_MIN 0x00001000")
1233 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1234 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1235 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1236 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1237 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1239 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1240 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1241 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1242 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1243 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1244 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1245 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1246 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1247 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1248 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1249 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1251 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1252 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1253 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1254 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1255 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1256 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1257 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1258 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1260 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1261 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1262 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1263 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1264 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1265 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1266 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1267 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1268 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1269 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1270 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1272 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1273 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1274 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1275 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1276 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1277 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1278 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1279 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1281 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1282 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1283 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1284 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1285 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1286 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1287 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1288 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1289 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1290 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1291 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1293 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1294 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1295 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1296 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1297 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1298 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1299 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1300 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1301 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1303 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1304 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1305 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1306 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1307 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1308 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1309 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1310 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1311 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1312 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1314 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1315 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1316 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1317 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1318 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1319 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1321 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1322 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1323 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1325 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1326 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1327 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1328 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1329 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1330 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1331 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1333 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1334 cpp_quote("#define URLPOLICY_QUERY 0x01")
1335 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1337 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1338 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1340 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1341 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1343 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1345 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1346 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1347 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1348 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1350 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1351 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1352 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1354 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1355 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1356 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1358 /*****************************************************************************
1359 * IInternetZoneManager interface
1362 local,
1363 object,
1364 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1365 pointer_default(unique)
1367 interface IInternetZoneManager : IUnknown
1369 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1371 typedef enum tagURLZONE
1373 URLZONE_INVALID = -1,
1374 URLZONE_PREDEFINED_MIN = 0,
1375 URLZONE_LOCAL_MACHINE = 0,
1376 URLZONE_INTRANET = 1,
1377 URLZONE_TRUSTED = 2,
1378 URLZONE_INTERNET = 3,
1379 URLZONE_UNTRUSTED = 4,
1380 URLZONE_PREDEFINED_MAX = 999,
1381 URLZONE_USER_MIN = 1000,
1382 URLZONE_USER_MAX = 10000,
1383 } URLZONE;
1385 typedef enum tagURLTEMPLATE
1387 URLTEMPLATE_CUSTOM = 0x00000,
1388 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1389 URLTEMPLATE_LOW = 0x10000,
1390 URLTEMPLATE_MEDLOW = 0x10500,
1391 URLTEMPLATE_MEDIUM = 0x11000,
1392 URLTEMPLATE_MEDHIGH = 0x11500,
1393 URLTEMPLATE_HIGH = 0x12000,
1394 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1395 } URLTEMPLATE ;
1397 typedef enum {
1398 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1399 ZAFLAGS_ADD_SITES = 0x00000002,
1400 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1401 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1402 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1403 ZAFLAGS_NO_UI = 0x00000020,
1404 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1405 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1406 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1407 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1408 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1409 ZAFLAGS_NO_CACHE = 0x00040000,
1410 } ZAFLAGS ;
1412 enum {
1413 MAX_ZONE_PATH = 260,
1414 MAX_ZONE_DESCRIPTION = 200
1417 typedef struct _ZONEATTRIBUTES {
1418 ULONG cbSize;
1419 WCHAR szDisplayName[MAX_ZONE_PATH];
1420 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1421 WCHAR szIconPath[MAX_ZONE_PATH];
1422 DWORD dwTemplateMinLevel;
1423 DWORD dwTemplateRecommended;
1424 DWORD dwTemplateCurrentLevel;
1425 DWORD dwFlags;
1426 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1428 typedef enum _URLZONEREG {
1429 URLZONEREG_DEFAULT,
1430 URLZONEREG_HKLM,
1431 URLZONEREG_HKCU
1432 } URLZONEREG;
1434 HRESULT GetZoneAttributes(
1435 [in] DWORD dwZone,
1436 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1438 HRESULT SetZoneAttributes(
1439 [in] DWORD dwZone,
1440 [in] ZONEATTRIBUTES* pZoneAttributes);
1442 HRESULT GetZoneCustomPolicy(
1443 [in] DWORD dwZone,
1444 [in] REFGUID guidKey,
1445 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1446 [out] DWORD* pcbPolicy,
1447 [in] URLZONEREG ulrZoneReg);
1449 HRESULT SetZoneCustomPolicy(
1450 [in] DWORD dwZone,
1451 [in] REFGUID guidKey,
1452 [in, size_is(pcbPolicy)] BYTE *ppPolicy,
1453 [in] DWORD pcbPolicy,
1454 [in] URLZONEREG ulrZoneReg);
1456 HRESULT GetZoneActionPolicy(
1457 [in] DWORD dwZone,
1458 [in] DWORD dwAction,
1459 [out, size_is(cbPolicy)] BYTE* pPolicy,
1460 [in] DWORD cbPolicy,
1461 [in] URLZONEREG urlZoneReg);
1463 HRESULT SetZoneActionPolicy(
1464 [in] DWORD dwZone,
1465 [in] DWORD dwAction,
1466 [in, size_is(cbPolicy)] BYTE* pPolicy,
1467 [in] DWORD cbPolicy,
1468 [in] URLZONEREG urlZoneReg);
1470 HRESULT PromptAction(
1471 [in] DWORD dwAction,
1472 [in] HWND hwndParent,
1473 [in] LPCWSTR pwszUrl,
1474 [in] LPCWSTR pwszText,
1475 [in] DWORD dwPromptFlags );
1477 HRESULT LogAction(
1478 [in] DWORD dwAction,
1479 [in] LPCWSTR pwszUrl,
1480 [in] LPCWSTR pwszText,
1481 [in] DWORD dwLogFlags);
1483 HRESULT CreateZoneEnumerator(
1484 [out] DWORD* pdwEnum,
1485 [out] DWORD* pdwCount,
1486 [in] DWORD dwFlags);
1488 HRESULT GetZoneAt(
1489 [in] DWORD dwEnum,
1490 [in] DWORD dwIndex,
1491 [out] DWORD* pdwZone);
1493 HRESULT DestroyZoneEnumerator(
1494 [in] DWORD dwEnum);
1496 HRESULT CopyTemplatePoliciesToZone(
1497 [in] DWORD dwTemplate,
1498 [in] DWORD dwZone,
1499 [in] DWORD dwReserved);
1502 /*****************************************************************************
1503 * IInternetZoneManagerEx interface
1506 local,
1507 object,
1508 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1509 pointer_default(unique)
1511 interface IInternetZoneManagerEx : IInternetZoneManager
1513 HRESULT GetZoneActionPolicyEx(
1514 [in] DWORD dwZone,
1515 [in] DWORD dwAction,
1516 [out, size_is(cbPolicy)] BYTE *pPolicy,
1517 [in] DWORD cbPolicy,
1518 [in] URLZONEREG urlZoneReg,
1519 [in] DWORD dwFlags);
1521 HRESULT SetZoneActionPolicyEx(
1522 [in] DWORD dwZone,
1523 [in] DWORD dwAction,
1524 [in, size_is(cbPolicy)] BYTE *pPolicy,
1525 [in] DWORD cbPolicy,
1526 [in] URLZONEREG urlZoneReg,
1527 [in] DWORD dwFlags);
1531 /*****************************************************************************
1532 * IInternetZoneManagerEx2 interface
1535 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1536 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1539 local,
1540 object,
1541 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1542 pointer_default(unique)
1544 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1546 HRESULT GetZoneAttributesEx(
1547 [in] DWORD dwZone,
1548 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1549 [in] DWORD dwFlags);
1551 HRESULT GetZoneSecurityState(
1552 [in] DWORD dwZoneIndex,
1553 [in] BOOL fRespectPolicy,
1554 [in, out] LPDWORD pdwState,
1555 [in, out] BOOL *pfPolicyEncountered);
1557 HRESULT GetIESecurityState(
1558 [in] BOOL fRespectPolicy,
1559 [in, out] LPDWORD pdwState,
1560 [in, out] BOOL *pfPolicyEncountered,
1561 [in] BOOL fNoCache);
1563 HRESULT FixInsecureSettings(void);
1568 typedef struct _tagSOFTDISTINFO
1570 ULONG cbSize;
1571 DWORD dwFlags;
1572 DWORD dwAdState;
1573 LPWSTR szTitle;
1574 LPWSTR szAbstract;
1575 LPWSTR szHREF;
1576 DWORD dwInstalledVersionMS;
1577 DWORD dwInstalledVersionLS;
1578 DWORD dwUpdateVersionMS;
1579 DWORD dwUpdateVersionLS;
1580 DWORD dwAdvertisedVersionMS;
1581 DWORD dwAdvertisedVersionLS;
1582 DWORD dwReserved;
1583 } SOFTDISTINFO, *LPSOFTDISTINFO;
1585 typedef struct _tagCODEBASEHOLD
1587 DWORD cbSize;
1588 LPWSTR szDistUnit;
1589 LPWSTR szCodeBase;
1590 DWORD dwVersionMS;
1591 DWORD dwVersionLS;
1592 DWORD dwStyle;
1593 } CODEBASEHOLD, *LPCODEBASEHOLD;
1596 local,
1597 object,
1598 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1599 pointer_default(unique)
1601 interface ISoftDistExt : IUnknown
1603 HRESULT ProcessSoftDist(
1604 [in] LPCWSTR szCDFURL,
1605 [in] IXMLElement *pSoftDistElement,
1606 [in, out] LPSOFTDISTINFO lpsdi );
1608 HRESULT GetFirstCodeBase(
1609 [in] LPWSTR *szCodeBase,
1610 [in] LPDWORD dwMaxSize );
1612 HRESULT GetNextCodeBase(
1613 [in] LPWSTR *szCodeBase,
1614 [in] LPDWORD dwMaxSize );
1616 HRESULT AsyncInstallDistributionUnit(
1617 [in] IBindCtx *pbc,
1618 [in] LPVOID lpReserved,
1619 [in] DWORD flags,
1620 [in] LPCODEBASEHOLD lpcbh);
1623 typedef enum _tagINTERNETFEATURELIST
1625 FEATURE_OBJECT_CACHING,
1626 FEATURE_ZONE_ELEVATION,
1627 FEATURE_MIME_HANDLING,
1628 FEATURE_MIME_SNIFFING,
1629 FEATURE_WINDOW_RESTRICTIONS,
1630 FEATURE_WEBOC_POPUPMANAGEMENT,
1631 FEATURE_BEHAVIORS,
1632 FEATURE_DISABLE_MK_PROTOCOL,
1633 FEATURE_LOCALMACHINE_LOCKDOWN,
1634 FEATURE_SECURITYBAND,
1635 FEATURE_RESTRICT_ACTIVEXINSTALL,
1636 FEATURE_VALIDATE_NAVIGATE_URL,
1637 FEATURE_RESTRICT_FILEDOWNLOAD,
1638 FEATURE_ADDON_MANAGEMENT,
1639 FEATURE_PROTOCOL_LOCKDOWN,
1640 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1641 FEATURE_SAFE_BINDTOOBJECT,
1642 FEATURE_UNC_SAVEDFILECHECK,
1643 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1644 FEATURE_TABBED_BROWSING,
1645 FEATURE_SSLUX,
1646 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1647 FEATURE_DISABLE_LEGACY_COMPRESSION,
1648 FEATURE_FORCE_ADDR_AND_STATUS,
1649 FEATURE_XMLHTTP,
1650 FEATURE_DISABLE_TELNET_PROTOCOL,
1651 FEATURE_FEEDS,
1652 FEATURE_BLOCK_INPUT_PROMPTS,
1653 FEATURE_ENTRY_COUNT
1654 } INTERNETFEATURELIST;
1656 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1657 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1658 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1659 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1660 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1661 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1662 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1663 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1665 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1666 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1667 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1668 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1669 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1670 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1671 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1672 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1674 typedef struct _tagPROTOCOLFILTERDATA {
1675 DWORD cbSize;
1676 IInternetProtocolSink *pProtocolSink;
1677 IInternetProtocol *pProtocol;
1678 IUnknown *pUnk;
1679 DWORD dwFilterFlags;
1680 } PROTOCOLFILTERDATA;
1682 /*****************************************************************************
1683 * IUri interface
1686 object,
1687 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1688 pointer_default(unique)
1690 interface IUri : IUnknown
1692 typedef enum
1694 Uri_PROPERTY_ABSOLUTE_URI = 0,
1695 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1696 Uri_PROPERTY_AUTHORITY = 1,
1697 Uri_PROPERTY_DISPLAY_URI = 2,
1698 Uri_PROPERTY_DOMAIN = 3,
1699 Uri_PROPERTY_EXTENSION = 4,
1700 Uri_PROPERTY_FRAGMENT = 5,
1701 Uri_PROPERTY_HOST = 6,
1702 Uri_PROPERTY_PASSWORD = 7,
1703 Uri_PROPERTY_PATH = 8,
1704 Uri_PROPERTY_PATH_AND_QUERY = 9,
1705 Uri_PROPERTY_QUERY = 10,
1706 Uri_PROPERTY_RAW_URI = 11,
1707 Uri_PROPERTY_SCHEME_NAME = 12,
1708 Uri_PROPERTY_USER_INFO = 13,
1709 Uri_PROPERTY_USER_NAME = 14,
1710 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1711 Uri_PROPERTY_HOST_TYPE = 15,
1712 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1713 Uri_PROPERTY_PORT = 16,
1714 Uri_PROPERTY_SCHEME = 17,
1715 Uri_PROPERTY_ZONE = 18,
1716 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1717 } Uri_PROPERTY;
1719 typedef enum
1721 Uri_HOST_UNKNOWN = 0,
1722 Uri_HOST_DNS = 1,
1723 Uri_HOST_IPV4 = 2,
1724 Uri_HOST_IPV6 = 3,
1725 Uri_HOST_IDN = 4
1726 } Uri_HOST_TYPE;
1728 HRESULT GetPropertyBSTR(
1729 [in] Uri_PROPERTY uriProp,
1730 [out] BSTR *pbstrProperty,
1731 [in] DWORD dwFlags);
1733 HRESULT GetPropertyLength(
1734 [in] Uri_PROPERTY uriProp,
1735 [out] DWORD *pcchProperty,
1736 [in] DWORD dwFlags);
1738 HRESULT GetPropertyDWORD(
1739 [in] Uri_PROPERTY uriProp,
1740 [out] DWORD *pdwProperty,
1741 [in] DWORD dwFlags);
1743 HRESULT HasProperty(
1744 [in] Uri_PROPERTY uriProp,
1745 [out] BOOL *pfHasProperty);
1747 HRESULT GetAbsoluteUri(
1748 [out] BSTR *pbstrAbsoluteUri);
1750 HRESULT GetAuthority(
1751 [out] BSTR *pbstrAuthority);
1753 HRESULT GetDisplayUri(
1754 [out] BSTR *pbstrDisplayString);
1756 HRESULT GetDomain(
1757 [out] BSTR *pbstrDomain);
1759 HRESULT GetExtension(
1760 [out] BSTR *pbstrExtension);
1762 HRESULT GetFragment(
1763 [out] BSTR *pbstrFragment);
1765 HRESULT GetHost(
1766 [out] BSTR *pbstrHost);
1768 HRESULT GetPassword(
1769 [out] BSTR *pbstrPassword);
1771 HRESULT GetPath(
1772 [out] BSTR *pbstrPath);
1774 HRESULT GetPathAndQuery(
1775 [out] BSTR *pbstrPathAndQuery);
1777 HRESULT GetQuery(
1778 [out] BSTR *pbstrQuery);
1780 HRESULT GetRawUri(
1781 [out] BSTR *pbstrRawUri);
1783 HRESULT GetSchemeName(
1784 [out] BSTR *pbstrSchemeName);
1786 HRESULT GetUserInfo(
1787 [out] BSTR *pbstrUserInfo);
1789 HRESULT GetUserName(
1790 [out] BSTR *pbstrUserName);
1792 HRESULT GetHostType(
1793 [out] DWORD *pdwHostType);
1795 HRESULT GetPort(
1796 [out] DWORD *pdwPort);
1798 HRESULT GetScheme(
1799 [out] DWORD *pdwScheme);
1801 HRESULT GetZone(
1802 [out] DWORD *pdwZone);
1804 HRESULT GetProperties(
1805 [out] LPDWORD pdwFlags);
1807 HRESULT IsEqual(
1808 [in] IUri *pUri,
1809 [out] BOOL *pfEqual);
1812 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1813 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1814 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1816 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1817 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1818 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1819 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1820 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1821 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1822 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1823 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1824 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1825 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1826 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1827 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1828 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1829 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1830 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1831 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1832 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1833 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1834 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1836 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1837 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1838 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1839 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1840 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1841 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1842 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1843 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1844 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1845 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1846 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1847 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1848 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1849 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1850 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1851 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1852 cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000")
1853 cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000")
1855 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1856 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1857 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1859 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1860 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1861 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1862 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1863 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1864 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1865 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1866 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)")
1868 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1870 /*****************************************************************************
1871 * IUriContainer interface
1874 local,
1875 object,
1876 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1877 pointer_default(unique)
1879 interface IUriContainer : IUnknown
1881 HRESULT GetIUri([out] IUri **ppIUri);
1884 /*****************************************************************************
1885 * IUriBuilder interface
1888 local,
1889 object,
1890 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1891 pointer_default(unique)
1893 interface IUriBuilder: IUnknown
1895 HRESULT CreateUriSimple(
1896 [in] DWORD dwAllowEncodingPropertyMask,
1897 [in] DWORD_PTR dwReserved,
1898 [out] IUri **ppIUri);
1900 HRESULT CreateUri(
1901 [in] DWORD dwCreateFlags,
1902 [in] DWORD dwAllowEncodingPropertyMask,
1903 [in] DWORD_PTR dwReserved,
1904 [out] IUri **ppIUri);
1906 HRESULT CreateUriWithFlags(
1907 [in] DWORD dwCreateFlags,
1908 [in] DWORD dwUriBuilderFlags,
1909 [in] DWORD dwAllowEncodingPropertyMask,
1910 [in] DWORD_PTR dwReserved,
1911 [out] IUri **ppIUri);
1913 HRESULT GetIUri(
1914 [out] IUri **ppIUri);
1916 HRESULT SetIUri(
1917 [in, unique] IUri *pIUri);
1919 HRESULT GetFragment(
1920 [out] DWORD *pcchFragment,
1921 [out] LPCWSTR *ppwzFragment);
1923 HRESULT GetHost(
1924 [out] DWORD *pcchHost,
1925 [out] LPCWSTR *ppwzHost);
1927 HRESULT GetPassword(
1928 [out] DWORD *pcchPassword,
1929 [out] LPCWSTR *ppwzPassword);
1931 HRESULT GetPath(
1932 [out] DWORD *pcchPath,
1933 [out] LPCWSTR *ppwzPath);
1935 HRESULT GetPort(
1936 [out] BOOL *pfHasPort,
1937 [out] DWORD *pdwPort);
1939 HRESULT GetQuery(
1940 [out] DWORD *pcchQuery,
1941 [out] LPCWSTR *ppwzQuery);
1943 HRESULT GetSchemeName(
1944 [out] DWORD *pcchSchemeName,
1945 [out] LPCWSTR *ppwzSchemeName);
1947 HRESULT GetUserName(
1948 [out] DWORD *pcchUserName,
1949 [out] LPCWSTR *ppwzUserName);
1951 HRESULT SetFragment(
1952 [in] LPCWSTR pwzNewValue);
1954 HRESULT SetHost(
1955 [in] LPCWSTR pwzNewValue);
1957 HRESULT SetPassword(
1958 [in] LPCWSTR pwzNewValue);
1960 HRESULT SetPath(
1961 [in] LPCWSTR pwzNewValue);
1963 HRESULT SetPort(
1964 [in] BOOL fHasPort,
1965 [in] DWORD dwNewValue);
1967 HRESULT SetQuery(
1968 [in] LPCWSTR pwzNewValue);
1970 HRESULT SetSchemeName(
1971 [in] LPCWSTR pwzNewValue);
1973 HRESULT SetUserName(
1974 [in] LPCWSTR pwzNewValue);
1976 HRESULT RemoveProperties(
1977 [in] DWORD dwPropertyMask);
1979 HRESULT HasBeenModified(
1980 [out] BOOL *pfModified);
1983 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
1985 /*****************************************************************************
1986 * IUriBuilderFactory interface
1989 local,
1990 object,
1991 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
1992 pointer_default(unique)
1994 interface IUriBuilderFactory : IUnknown
1996 HRESULT CreateIUriBuilder(
1997 [in] DWORD dwFlags,
1998 [in] DWORD_PTR dwReserved,
1999 [out] IUriBuilder **ppIUriBuilder);
2001 HRESULT CreateInitializedIUriBuilder(
2002 [in] DWORD dwFlags,
2003 [in] DWORD_PTR dwReserved,
2004 [out] IUriBuilder **ppIUriBuilder);
2007 /*****************************************************************************
2008 * IInternetProtocolEx interface
2011 local,
2012 object,
2013 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2014 pointer_default(unique)
2016 interface IInternetProtocolEx : IInternetProtocol
2018 HRESULT StartEx(
2019 [in] IUri *pUri,
2020 [in] IInternetProtocolSink *pOIProtSink,
2021 [in] IInternetBindInfo *pOIBindInfo,
2022 [in] DWORD grfPI,
2023 [in] HANDLE *dwReserved);
2026 /*****************************************************************************
2027 * IGetBindHandle interface
2030 local,
2031 object,
2032 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2033 pointer_default(unique)
2035 interface IGetBindHandle : IUnknown
2037 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2039 typedef enum {
2040 BINDHANDLETYPES_APPCACHE = 0x00000000,
2041 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2042 BINDHANDLETYPES_COUNT
2043 } BINDHANDLETYPES;
2045 HRESULT GetBindHandle(
2046 [in] BINDHANDLETYPES enumRequestedHandle,
2047 [out] HANDLE *pRetHandle);
2050 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2052 struct CONFIRMSAFETY
2054 CLSID clsid;
2055 IUnknown *pUnk;
2056 DWORD dwFlags;
2059 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2061 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2062 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2063 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2064 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2065 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2066 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2068 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2069 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2070 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2071 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2072 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2073 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2074 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2076 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2077 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2078 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2080 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2081 cpp_quote("#ifndef S_ASYNCHRONOUS")
2082 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2083 cpp_quote("#endif")
2085 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2086 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2087 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2088 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2089 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2090 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2091 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2092 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2093 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2094 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2095 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2096 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2097 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2098 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2099 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2100 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2101 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2102 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2103 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2104 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2105 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2106 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2107 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2108 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2109 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2110 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2111 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2112 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2113 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2114 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2115 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2116 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2117 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2119 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2120 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2121 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2122 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2123 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2124 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2125 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2126 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2127 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2128 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2129 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2130 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2131 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2132 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2133 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2134 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2135 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2136 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2137 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2138 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2139 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2140 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2141 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2142 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2143 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2144 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2145 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2146 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2147 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2148 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2149 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2150 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2151 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2152 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2153 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2154 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2155 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2156 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2157 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2158 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2159 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2160 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2161 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2162 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2163 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2164 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2165 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2166 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2167 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2168 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2169 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2170 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2171 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2172 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2173 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2174 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2175 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2177 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2178 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2179 cpp_quote("#define OInetGetSession CoInternetGetSession")
2181 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2182 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2183 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2185 cpp_quote("#define MKSYS_URLMONIKER 6")
2186 cpp_quote("#define URL_MK_LEGACY 0")
2187 cpp_quote("#define URL_MK_UNIFORM 1")
2188 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")