ddraw: Remove WINAPI on static functions where not needed.
[wine.git] / include / urlmon.idl
blob2ccba5b0d6f820a86724c49a72419cdc9131bd32
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] 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 object,
597 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
598 pointer_default(unique)
600 interface IHttpSecurity : IWindowForBindingUI
602 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
604 HRESULT OnSecurityProblem(
605 [in] DWORD dwProblem);
609 /*****************************************************************************
610 * IPersistMoniker interface
613 object,
614 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
615 pointer_default(unique)
617 interface IPersistMoniker : IUnknown
619 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
621 HRESULT GetClassID(
622 [out] CLSID *pClassID);
624 HRESULT IsDirty();
626 HRESULT Load(
627 [in] BOOL fFullyAvailable,
628 [in] IMoniker *pimkName,
629 [in] LPBC pibc,
630 [in] DWORD grfMode);
632 HRESULT Save(
633 [in] IMoniker *pimkName,
634 [in] LPBC pbc,
635 [in] BOOL fRemember);
637 HRESULT SaveCompleted(
638 [in] IMoniker *pimkName,
639 [in] LPBC pibc);
641 HRESULT GetCurMoniker(
642 [out] IMoniker **ppimkName);
645 /*****************************************************************************
646 * IMonikerProp interface
649 object,
650 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
651 pointer_default(unique)
653 interface IMonikerProp : IUnknown
655 typedef [unique] IMonikerProp *LPMONIKERPROP;
657 typedef enum {
658 MIMETYPEPROP = 0,
659 USE_SRC_URL = 1,
660 CLASSIDPROP = 2,
661 TRUSTEDDOWNLOADPROP = 3,
662 POPUPLEVELPROP = 4
663 } MONIKERPROPERTY;
665 HRESULT PutProperty(
666 [in] MONIKERPROPERTY mkp,
667 [in] LPCWSTR val);
670 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
671 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
673 /*****************************************************************************
674 * IBindProtocol interface
677 local,
678 object,
679 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
680 pointer_default(unique)
682 interface IBindProtocol : IUnknown
684 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
686 HRESULT CreateBinding(
687 [in] LPCWSTR szUrl,
688 [in] IBindCtx *pbc,
689 [out] IBinding **ppb);
692 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
694 /*****************************************************************************
695 * IInternetBindInfo interface
698 local,
699 object,
700 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
701 pointer_default(unique)
703 interface IInternetBindInfo : IUnknown
705 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
707 typedef enum tagBINDSTRING
709 BINDSTRING_HEADERS = 1,
710 BINDSTRING_ACCEPT_MIMES,
711 BINDSTRING_EXTRA_URL,
712 BINDSTRING_LANGUAGE,
713 BINDSTRING_USERNAME,
714 BINDSTRING_PASSWORD,
715 BINDSTRING_UA_PIXELS,
716 BINDSTRING_UA_COLOR,
717 BINDSTRING_OS,
718 BINDSTRING_USER_AGENT,
719 BINDSTRING_ACCEPT_ENCODINGS,
720 BINDSTRING_POST_COOKIE,
721 BINDSTRING_POST_DATA_MIME,
722 BINDSTRING_URL,
723 BINDSTRING_IID,
724 BINDSTRING_FLAG_BIND_TO_OBJECT,
725 BINDSTRING_PTR_BIND_CONTEXT,
726 BINDSTRING_XDR_ORIGIN,
727 BINDSTRING_DOWNLOADPATH,
728 BINDSTRING_ROOTDOC_URL,
729 BINDSTRING_INITIAL_FILENAME,
730 BINDSTRING_PROXY_USERNAME,
731 BINDSTRING_PROXY_PASSWORD
732 } BINDSTRING;
734 HRESULT GetBindInfo(
735 [out] DWORD *grfBINDF,
736 [in, out, unique] BINDINFO *pbindinfo);
738 HRESULT GetBindString(
739 [in] ULONG ulStringType,
740 [in, out] LPOLESTR *ppwzStr,
741 [in] ULONG cEl,
742 [in, out] ULONG *pcElFetched);
745 /*****************************************************************************
746 * IInternetPriority interface
749 local,
750 object,
751 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
752 pointer_default(unique)
754 interface IInternetPriority : IUnknown
756 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
758 HRESULT SetPriority([in] LONG nPriority);
759 HRESULT GetPriority([out] LONG *pnPriority);
762 /*****************************************************************************
763 * IInternetProtocolRoot interface
766 local,
767 object,
768 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
769 pointer_default(unique)
771 interface IInternetProtocolRoot : IUnknown
773 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
775 typedef enum _tagPI_FLAGS
777 PI_PARSE_URL = 0x00000001,
778 PI_FILTER_MODE = 0x00000002,
779 PI_FORCE_ASYNC = 0x00000004,
780 PI_USE_WORKERTHREAD = 0x00000008,
781 PI_MIMEVERIFICATION = 0x00000010,
782 PI_CLSIDLOOKUP = 0x00000020,
783 PI_DATAPROGRESS = 0x00000040,
784 PI_SYNCHRONOUS = 0x00000080,
785 PI_APARTMENTTHREADED = 0x00000100,
786 PI_CLASSINSTALL = 0x00000200,
787 PD_FORCE_SWITCH = 0x00010000
788 } PI_FLAGS;
790 typedef struct _tagPROTOCOLDATA
792 DWORD grfFlags;
793 DWORD dwState;
794 LPVOID pData;
795 ULONG cbData;
796 } PROTOCOLDATA;
798 HRESULT Start(
799 [in] LPCWSTR szUrl,
800 [in] IInternetProtocolSink *pOIProtSink,
801 [in] IInternetBindInfo *pOIBindInfo,
802 [in] DWORD grfPI,
803 [in] HANDLE_PTR dwReserved);
805 HRESULT Continue(
806 [in] PROTOCOLDATA *pProtocolData);
808 HRESULT Abort(
809 [in] HRESULT hrReason,
810 [in] DWORD dwOptions);
812 HRESULT Terminate(
813 [in] DWORD dwOptions);
815 HRESULT Suspend();
817 HRESULT Resume();
820 /*****************************************************************************
821 * IInternetProtocolSink interface
824 local,
825 object,
826 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
827 pointer_default(unique)
829 interface IInternetProtocolSink : IUnknown
831 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
833 HRESULT Switch(
834 [in] PROTOCOLDATA *pProtocolData);
836 HRESULT ReportProgress(
837 [in] ULONG ulStatusCode,
838 [in] LPCWSTR szStatusText);
840 HRESULT ReportData(
841 [in] DWORD grfBSCF,
842 [in] ULONG ulProgress,
843 [in] ULONG ulProgressMax);
845 HRESULT ReportResult(
846 [in] HRESULT hrResult,
847 [in] DWORD dwError,
848 [in] LPCWSTR szResult);
851 /*****************************************************************************
852 * IInternetProtocol interface
855 local,
856 object,
857 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
858 pointer_default(unique)
860 interface IInternetProtocol : IInternetProtocolRoot
862 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
864 HRESULT Read(
865 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
866 [in] ULONG cb,
867 [out] ULONG *pcbRead);
869 HRESULT Seek(
870 [in] LARGE_INTEGER dlibMove,
871 [in] DWORD dwOrigin,
872 [out] ULARGE_INTEGER *plibNewPosition);
874 HRESULT LockRequest(
875 [in] DWORD dwOptions);
877 HRESULT UnlockRequest();
880 /*****************************************************************************
881 * IInternetProtocolInfo interface
884 local,
885 object,
886 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
887 pointer_default(unique)
889 interface IInternetProtocolInfo : IUnknown
891 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
893 typedef enum _tagPARSEACTION
895 PARSE_CANONICALIZE = 1,
896 PARSE_FRIENDLY,
897 PARSE_SECURITY_URL,
898 PARSE_ROOTDOCUMENT,
899 PARSE_DOCUMENT,
900 PARSE_ANCHOR,
901 PARSE_ENCODE,
902 PARSE_DECODE,
903 PARSE_PATH_FROM_URL,
904 PARSE_URL_FROM_PATH,
905 PARSE_MIME,
906 PARSE_SERVER,
907 PARSE_SCHEMA,
908 PARSE_SITE,
909 PARSE_DOMAIN,
910 PARSE_LOCATION,
911 PARSE_SECURITY_DOMAIN,
912 PARSE_ESCAPE,
913 PARSE_UNESCAPE
914 } PARSEACTION;
916 typedef enum _tagPSUACTION
918 PSU_DEFAULT = 1,
919 PSU_SECURITY_URL_ONLY
920 } PSUACTION;
922 typedef enum _tagQUERYOPTION
924 QUERY_EXPIRATION_DATE = 1,
925 QUERY_TIME_OF_LAST_CHANGE,
926 QUERY_CONTENT_ENCODING,
927 QUERY_CONTENT_TYPE,
928 QUERY_REFRESH,
929 QUERY_RECOMBINE,
930 QUERY_CAN_NAVIGATE,
931 QUERY_USES_NETWORK,
932 QUERY_IS_CACHED,
933 QUERY_IS_INSTALLEDENTRY,
934 QUERY_IS_CACHED_OR_MAPPED,
935 QUERY_USES_CACHE,
936 QUERY_IS_SECURE,
937 QUERY_IS_SAFE,
938 QUERY_USES_HISTORYFOLDER,
939 QUERY_IS_CACHED_AND_USABLE_OFFLINE
940 } QUERYOPTION;
942 HRESULT ParseUrl(
943 [in] LPCWSTR pwzUrl,
944 [in] PARSEACTION ParseAction,
945 [in] DWORD dwParseFlags,
946 [out] LPWSTR pwzResult,
947 [in] DWORD cchResult,
948 [out] DWORD *pcchResult,
949 [in] DWORD dwReserved);
951 HRESULT CombineUrl(
952 [in] LPCWSTR pwzBaseUrl,
953 [in] LPCWSTR pwzRelativeUrl,
954 [in] DWORD dwCombineFlags,
955 [out] LPWSTR pwzResult,
956 [in] DWORD cchResult,
957 [out] DWORD *pcchResult,
958 [in] DWORD dwReserved);
960 HRESULT CompareUrl(
961 [in] LPCWSTR pwzUrl1,
962 [in] LPCWSTR pwzUrl2,
963 [in] DWORD dwCompareFlags);
965 HRESULT QueryInfo(
966 [in] LPCWSTR pwzUrl,
967 [in] QUERYOPTION OueryOption,
968 [in] DWORD dwQueryFlags,
969 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
970 [in] DWORD cbBuffer,
971 [in, out] DWORD *pcbBuf,
972 [in] DWORD dwReserved);
975 /*****************************************************************************
976 * IInternetSession interface
979 local,
980 object,
981 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
982 pointer_default(unique)
984 interface IInternetSession : IUnknown
986 typedef [unique] IInternetSession *LPIINTERNETSESSION;
988 typedef enum _tagOIBDG_FLAGS
990 OIBDG_APARTMENTTHREADED = 0x0100,
991 OIBDG_DATAONLY = 0x1000
992 } OIBDG_FLAGS;
994 HRESULT RegisterNameSpace(
995 [in] IClassFactory *pCF,
996 [in] REFCLSID rclsid,
997 [in] LPCWSTR pwzProtocol,
998 [in] ULONG cPatterns,
999 [in] const LPCWSTR *ppwzPatterns,
1000 [in] DWORD dwReserved);
1002 HRESULT UnregisterNameSpace(
1003 [in] IClassFactory *pCF,
1004 [in] LPCWSTR pszProtocol);
1006 HRESULT RegisterMimeFilter(
1007 [in] IClassFactory *pCF,
1008 [in] REFCLSID rclsid,
1009 [in] LPCWSTR pwzType);
1011 HRESULT UnregisterMimeFilter(
1012 [in] IClassFactory *pCF,
1013 [in] LPCWSTR pwzType);
1015 HRESULT CreateBinding(
1016 [in] LPBC pBC,
1017 [in] LPCWSTR szUrl,
1018 [in] IUnknown *pUnkOuter,
1019 [out, unique] IUnknown **ppUnk,
1020 [out, unique] IInternetProtocol **ppOInetProt,
1021 [in] DWORD dwOption);
1023 HRESULT SetSessionOption(
1024 [in] DWORD dwOption,
1025 [in] LPVOID pBuffer,
1026 [in] DWORD dwBufferLength,
1027 [in] DWORD dwReserved);
1030 /*****************************************************************************
1031 * IInternetSecurityMgrSite interface
1034 local,
1035 object,
1036 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1037 pointer_default(unique)
1039 interface IInternetSecurityMgrSite : IUnknown
1041 HRESULT GetWindow(
1042 [out] HWND *phwnd);
1044 HRESULT EnableModeless(
1045 [in] BOOL fEnable);
1049 /*****************************************************************************
1050 * IInternetSecurityManager interface
1052 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1055 object,
1056 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1057 pointer_default(unique)
1059 interface IInternetSecurityManager : IUnknown
1061 HRESULT SetSecuritySite(
1062 [in, unique] IInternetSecurityMgrSite *pSite);
1064 HRESULT GetSecuritySite(
1065 [out] IInternetSecurityMgrSite **ppSite);
1067 HRESULT MapUrlToZone(
1068 [in] LPCWSTR pwszUrl,
1069 [out] DWORD *pdwZone,
1070 [in] DWORD dwFlags);
1072 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1074 HRESULT GetSecurityId(
1075 [in] LPCWSTR pwszUrl,
1076 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1077 [in, out] DWORD *pcbSecurityId,
1078 [in] DWORD_PTR dwReserved);
1081 typedef enum {
1082 PUAF_DEFAULT = 0x00,
1083 PUAF_NOUI = 0x01,
1084 PUAF_ISFILE = 0x02,
1085 PUAF_WARN_IF_DENIED = 0x04,
1086 PUAF_FORCEUI_FOREGROUND = 0x08,
1087 PUAF_CHECK_TIPS = 0x10
1088 } PUAF;
1090 HRESULT ProcessUrlAction(
1091 [in] LPCWSTR pwszUrl,
1092 [in] DWORD dwAction,
1093 [out, size_is(cbPolicy)] BYTE *pPolicy,
1094 [in] DWORD cbPolicy,
1095 [in] BYTE *pContext,
1096 [in] DWORD cbContext,
1097 [in] DWORD dwFlags,
1098 [in] DWORD dwReserved);
1100 HRESULT QueryCustomPolicy(
1101 [in] LPCWSTR pwszUrl,
1102 [in] REFGUID guidKey,
1103 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1104 [out] DWORD *pcbPolicy,
1105 [in] BYTE *pContext,
1106 [in] DWORD cbContext,
1107 [in] DWORD dwReserved);
1109 typedef enum {
1110 SZM_CREATE = 0x0,
1111 SZM_DELETE = 0x1
1112 } SZM_FLAGS;
1114 HRESULT SetZoneMapping(
1115 [in] DWORD dwZone,
1116 [in] LPCWSTR lpszPattern,
1117 [in] DWORD dwFlags);
1119 HRESULT GetZoneMappings(
1120 [in] DWORD dwZone,
1121 [out] IEnumString **ppenumString,
1122 [in] DWORD dwFlags);
1125 /*****************************************************************************
1126 * IInternetSecurityManagerEx interface
1128 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1131 object,
1132 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1133 pointer_default(unique)
1135 interface IInternetSecurityManagerEx : IInternetSecurityManager
1137 HRESULT ProcessUrlActionEx(
1138 [in] LPCWSTR pwszUrl,
1139 [in] DWORD dwAction,
1140 [out] BYTE *pPolicy,
1141 [in] DWORD cbPolicy,
1142 [in] BYTE *pContext,
1143 [in] DWORD cbContext,
1144 [in] DWORD dwFlags,
1145 [in] DWORD dwReserved,
1146 [out] DWORD *pdwOutFlags);
1149 /*****************************************************************************
1150 * IInternetSecurityManagerEx2 interface
1152 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1155 object,
1156 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1157 pointer_default(unique)
1159 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1161 HRESULT MapUrlToZoneEx2(
1162 [in] IUri *pUri,
1163 [out] DWORD *pdwZone,
1164 [in] DWORD dwFlags,
1165 [out] LPWSTR *ppwszMappedUrl,
1166 [out] DWORD *pdwOutFlags);
1168 HRESULT ProcessUrlActionEx2(
1169 [in] IUri *pUri,
1170 [in] DWORD dwAction,
1171 [out] BYTE *pPolicy,
1172 [in] DWORD cbPolicy,
1173 [in] BYTE *pContext,
1174 [in] DWORD cbContext,
1175 [in] DWORD dwFlags,
1176 [in] DWORD_PTR dwReserved,
1177 [out] DWORD *pdwOutFlags);
1179 HRESULT GetSecurityIdEx2(
1180 [in] IUri *pUri,
1181 [out] BYTE *pbSecurityId,
1182 [in, out] DWORD *pcbSecurityId,
1183 [in] DWORD_PTR dwReserved);
1185 HRESULT QueryCustomPolicyEx2(
1186 [in] IUri *pUri,
1187 [in] REFGUID guidKey,
1188 [out] BYTE **ppPolicy,
1189 [out] DWORD *pcbPolicy,
1190 [in] BYTE *pContext,
1191 [in] DWORD cbContext,
1192 [in] DWORD_PTR dwReserved);
1195 /*****************************************************************************
1196 * IInternetHostSecurityManager interface
1198 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1201 local,
1202 object,
1203 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1204 pointer_default(unique)
1206 interface IInternetHostSecurityManager : IUnknown
1208 HRESULT GetSecurityId(
1209 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1210 [in, out] DWORD *pcbSecurityId,
1211 [in] DWORD_PTR dwReserved);
1213 HRESULT ProcessUrlAction(
1214 [in] DWORD dwAction,
1215 [out, size_is(cbPolicy)] BYTE *pPolicy,
1216 [in] DWORD cbPolicy,
1217 [in] BYTE *pContext,
1218 [in] DWORD cbContext,
1219 [in] DWORD dwFlags,
1220 [in] DWORD dwReserved);
1222 HRESULT QueryCustomPolicy(
1223 [in] REFGUID guidKey,
1224 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1225 [out] DWORD *pcbPolicy,
1226 [in] BYTE *pContext,
1227 [in] DWORD cbContext,
1228 [in] DWORD dwReserved);
1231 cpp_quote("#define URLACTION_MIN 0x00001000")
1232 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1233 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1234 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1235 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1236 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1238 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1239 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1240 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1241 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1242 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1243 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1244 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1245 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1246 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1247 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1248 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1250 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1251 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1252 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1253 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1254 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1255 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1256 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1257 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1259 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1260 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1261 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1262 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1263 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1264 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1265 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1266 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1267 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1268 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1269 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1271 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1272 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1273 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1274 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1275 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1276 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1277 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1278 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1280 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1281 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1282 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1283 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1284 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1285 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1286 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1287 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1288 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1289 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1290 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1292 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1293 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1294 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1295 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1296 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1297 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1298 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1299 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1300 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1302 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1303 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1304 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1305 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1306 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1307 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1308 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1309 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1310 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1311 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1313 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1314 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1315 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1316 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1317 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1318 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1320 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1321 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1322 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1324 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1325 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1326 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1327 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1328 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1329 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1330 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1332 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1333 cpp_quote("#define URLPOLICY_QUERY 0x01")
1334 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1336 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1337 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1339 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1340 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1342 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1344 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1345 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1346 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1347 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1349 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1350 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1351 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1353 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1354 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1355 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1357 /*****************************************************************************
1358 * IInternetZoneManager interface
1361 local,
1362 object,
1363 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1364 pointer_default(unique)
1366 interface IInternetZoneManager : IUnknown
1368 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1370 typedef enum tagURLZONE
1372 URLZONE_INVALID = -1,
1373 URLZONE_PREDEFINED_MIN = 0,
1374 URLZONE_LOCAL_MACHINE = 0,
1375 URLZONE_INTRANET = 1,
1376 URLZONE_TRUSTED = 2,
1377 URLZONE_INTERNET = 3,
1378 URLZONE_UNTRUSTED = 4,
1379 URLZONE_PREDEFINED_MAX = 999,
1380 URLZONE_USER_MIN = 1000,
1381 URLZONE_USER_MAX = 10000,
1382 } URLZONE;
1384 typedef enum tagURLTEMPLATE
1386 URLTEMPLATE_CUSTOM = 0x00000,
1387 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1388 URLTEMPLATE_LOW = 0x10000,
1389 URLTEMPLATE_MEDLOW = 0x10500,
1390 URLTEMPLATE_MEDIUM = 0x11000,
1391 URLTEMPLATE_MEDHIGH = 0x11500,
1392 URLTEMPLATE_HIGH = 0x12000,
1393 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1394 } URLTEMPLATE ;
1396 typedef enum {
1397 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1398 ZAFLAGS_ADD_SITES = 0x00000002,
1399 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1400 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1401 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1402 ZAFLAGS_NO_UI = 0x00000020,
1403 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1404 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1405 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1406 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1407 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1408 ZAFLAGS_NO_CACHE = 0x00040000,
1409 } ZAFLAGS ;
1411 enum {
1412 MAX_ZONE_PATH = 260,
1413 MAX_ZONE_DESCRIPTION = 200
1416 typedef struct _ZONEATTRIBUTES {
1417 ULONG cbSize;
1418 WCHAR szDisplayName[MAX_ZONE_PATH];
1419 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1420 WCHAR szIconPath[MAX_ZONE_PATH];
1421 DWORD dwTemplateMinLevel;
1422 DWORD dwTemplateRecommended;
1423 DWORD dwTemplateCurrentLevel;
1424 DWORD dwFlags;
1425 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1427 typedef enum _URLZONEREG {
1428 URLZONEREG_DEFAULT,
1429 URLZONEREG_HKLM,
1430 URLZONEREG_HKCU
1431 } URLZONEREG;
1433 HRESULT GetZoneAttributes(
1434 [in] DWORD dwZone,
1435 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1437 HRESULT SetZoneAttributes(
1438 [in] DWORD dwZone,
1439 [in] ZONEATTRIBUTES* pZoneAttributes);
1441 HRESULT GetZoneCustomPolicy(
1442 [in] DWORD dwZone,
1443 [in] REFGUID guidKey,
1444 [out] BYTE **ppPolicy,
1445 [out] DWORD* pcbPolicy,
1446 [in] URLZONEREG ulrZoneReg);
1448 HRESULT SetZoneCustomPolicy(
1449 [in] DWORD dwZone,
1450 [in] REFGUID guidKey,
1451 [in] BYTE *ppPolicy,
1452 [in] DWORD pcbPolicy,
1453 [in] URLZONEREG ulrZoneReg);
1455 HRESULT GetZoneActionPolicy(
1456 [in] DWORD dwZone,
1457 [in] DWORD dwAction,
1458 [out] BYTE* pPolicy,
1459 [in] DWORD cbPolicy,
1460 [in] URLZONEREG urlZoneReg);
1462 HRESULT SetZoneActionPolicy(
1463 [in] DWORD dwZone,
1464 [in] DWORD dwAction,
1465 [in] BYTE* pPolicy,
1466 [in] DWORD cbPolicy,
1467 [in] URLZONEREG urlZoneReg);
1469 HRESULT PromptAction(
1470 [in] DWORD dwAction,
1471 [in] HWND hwndParent,
1472 [in] LPCWSTR pwszUrl,
1473 [in] LPCWSTR pwszText,
1474 [in] DWORD dwPromptFlags );
1476 HRESULT LogAction(
1477 [in] DWORD dwAction,
1478 [in] LPCWSTR pwszUrl,
1479 [in] LPCWSTR pwszText,
1480 [in] DWORD dwLogFlags);
1482 HRESULT CreateZoneEnumerator(
1483 [out] DWORD* pdwEnum,
1484 [out] DWORD* pdwCount,
1485 [in] DWORD dwFlags);
1487 HRESULT GetZoneAt(
1488 [in] DWORD dwEnum,
1489 [in] DWORD dwIndex,
1490 [out] DWORD* pdwZone);
1492 HRESULT DestroyZoneEnumerator(
1493 [in] DWORD dwEnum);
1495 HRESULT CopyTemplatePoliciesToZone(
1496 [in] DWORD dwTemplate,
1497 [in] DWORD dwZone,
1498 [in] DWORD dwReserved);
1501 /*****************************************************************************
1502 * IInternetZoneManagerEx interface
1505 local,
1506 object,
1507 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1508 pointer_default(unique)
1510 interface IInternetZoneManagerEx : IInternetZoneManager
1512 HRESULT GetZoneActionPolicyEx(
1513 [in] DWORD dwZone,
1514 [in] DWORD dwAction,
1515 [out] BYTE* pPolicy,
1516 [in] DWORD cbPolicy,
1517 [in] URLZONEREG urlZoneReg,
1518 [in] DWORD dwFlags);
1520 HRESULT SetZoneActionPolicyEx(
1521 [in] DWORD dwZone,
1522 [in] DWORD dwAction,
1523 [in] BYTE* pPolicy,
1524 [in] DWORD cbPolicy,
1525 [in] URLZONEREG urlZoneReg,
1526 [in] DWORD dwFlags);
1530 /*****************************************************************************
1531 * IInternetZoneManagerEx2 interface
1534 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1535 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1538 local,
1539 object,
1540 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1541 pointer_default(unique)
1543 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1545 HRESULT GetZoneAttributesEx(
1546 [in] DWORD dwZone,
1547 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1548 [in] DWORD dwFlags);
1550 HRESULT GetZoneSecurityState(
1551 [in] DWORD dwZoneIndex,
1552 [in] BOOL fRespectPolicy,
1553 [in, out] LPDWORD pdwState,
1554 [in, out] BOOL *pfPolicyEncountered);
1556 HRESULT GetIESecurityState(
1557 [in] BOOL fRespectPolicy,
1558 [in, out] LPDWORD pdwState,
1559 [in, out] BOOL *pfPolicyEncountered,
1560 [in] BOOL fNoCache);
1562 HRESULT FixInsecureSettings(void);
1567 typedef struct _tagSOFTDISTINFO
1569 ULONG cbSize;
1570 DWORD dwFlags;
1571 DWORD dwAdState;
1572 LPWSTR szTitle;
1573 LPWSTR szAbstract;
1574 LPWSTR szHREF;
1575 DWORD dwInstalledVersionMS;
1576 DWORD dwInstalledVersionLS;
1577 DWORD dwUpdateVersionMS;
1578 DWORD dwUpdateVersionLS;
1579 DWORD dwAdvertisedVersionMS;
1580 DWORD dwAdvertisedVersionLS;
1581 DWORD dwReserved;
1582 } SOFTDISTINFO, *LPSOFTDISTINFO;
1584 typedef struct _tagCODEBASEHOLD
1586 DWORD cbSize;
1587 LPWSTR szDistUnit;
1588 LPWSTR szCodeBase;
1589 DWORD dwVersionMS;
1590 DWORD dwVersionLS;
1591 DWORD dwStyle;
1592 } CODEBASEHOLD, *LPCODEBASEHOLD;
1595 local,
1596 object,
1597 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1598 pointer_default(unique)
1600 interface ISoftDistExt : IUnknown
1602 HRESULT ProcessSoftDist(
1603 [in] LPCWSTR szCDFURL,
1604 [in] IXMLElement *pSoftDistElement,
1605 [in, out] LPSOFTDISTINFO lpsdi );
1607 HRESULT GetFirstCodeBase(
1608 [in] LPWSTR *szCodeBase,
1609 [in] LPDWORD dwMaxSize );
1611 HRESULT GetNextCodeBase(
1612 [in] LPWSTR *szCodeBase,
1613 [in] LPDWORD dwMaxSize );
1615 HRESULT AsyncInstallDistributionUnit(
1616 [in] IBindCtx *pbc,
1617 [in] LPVOID lpReserved,
1618 [in] DWORD flags,
1619 [in] LPCODEBASEHOLD lpcbh);
1622 typedef enum _tagINTERNETFEATURELIST
1624 FEATURE_OBJECT_CACHING,
1625 FEATURE_ZONE_ELEVATION,
1626 FEATURE_MIME_HANDLING,
1627 FEATURE_MIME_SNIFFING,
1628 FEATURE_WINDOW_RESTRICTIONS,
1629 FEATURE_WEBOC_POPUPMANAGEMENT,
1630 FEATURE_BEHAVIORS,
1631 FEATURE_DISABLE_MK_PROTOCOL,
1632 FEATURE_LOCALMACHINE_LOCKDOWN,
1633 FEATURE_SECURITYBAND,
1634 FEATURE_RESTRICT_ACTIVEXINSTALL,
1635 FEATURE_VALIDATE_NAVIGATE_URL,
1636 FEATURE_RESTRICT_FILEDOWNLOAD,
1637 FEATURE_ADDON_MANAGEMENT,
1638 FEATURE_PROTOCOL_LOCKDOWN,
1639 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1640 FEATURE_SAFE_BINDTOOBJECT,
1641 FEATURE_UNC_SAVEDFILECHECK,
1642 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1643 FEATURE_TABBED_BROWSING,
1644 FEATURE_SSLUX,
1645 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1646 FEATURE_DISABLE_LEGACY_COMPRESSION,
1647 FEATURE_FORCE_ADDR_AND_STATUS,
1648 FEATURE_XMLHTTP,
1649 FEATURE_DISABLE_TELNET_PROTOCOL,
1650 FEATURE_FEEDS,
1651 FEATURE_BLOCK_INPUT_PROMPTS,
1652 FEATURE_ENTRY_COUNT
1653 } INTERNETFEATURELIST;
1655 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1656 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1657 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1658 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1659 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1660 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1661 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1662 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1664 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1665 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1666 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1667 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1668 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1669 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1670 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1671 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1673 typedef struct _tagPROTOCOLFILTERDATA {
1674 DWORD cbSize;
1675 IInternetProtocolSink *pProtocolSink;
1676 IInternetProtocol *pProtocol;
1677 IUnknown *pUnk;
1678 DWORD dwFilterFlags;
1679 } PROTOCOLFILTERDATA;
1681 /*****************************************************************************
1682 * IUri interface
1685 object,
1686 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1687 pointer_default(unique)
1689 interface IUri : IUnknown
1691 typedef enum
1693 Uri_PROPERTY_ABSOLUTE_URI = 0,
1694 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1695 Uri_PROPERTY_AUTHORITY = 1,
1696 Uri_PROPERTY_DISPLAY_URI = 2,
1697 Uri_PROPERTY_DOMAIN = 3,
1698 Uri_PROPERTY_EXTENSION = 4,
1699 Uri_PROPERTY_FRAGMENT = 5,
1700 Uri_PROPERTY_HOST = 6,
1701 Uri_PROPERTY_PASSWORD = 7,
1702 Uri_PROPERTY_PATH = 8,
1703 Uri_PROPERTY_PATH_AND_QUERY = 9,
1704 Uri_PROPERTY_QUERY = 10,
1705 Uri_PROPERTY_RAW_URI = 11,
1706 Uri_PROPERTY_SCHEME_NAME = 12,
1707 Uri_PROPERTY_USER_INFO = 13,
1708 Uri_PROPERTY_USER_NAME = 14,
1709 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1710 Uri_PROPERTY_HOST_TYPE = 15,
1711 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1712 Uri_PROPERTY_PORT = 16,
1713 Uri_PROPERTY_SCHEME = 17,
1714 Uri_PROPERTY_ZONE = 18,
1715 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1716 } Uri_PROPERTY;
1718 typedef enum
1720 Uri_HOST_UNKNOWN = 0,
1721 Uri_HOST_DNS = 1,
1722 Uri_HOST_IPV4 = 2,
1723 Uri_HOST_IPV6 = 3,
1724 Uri_HOST_IDN = 4
1725 } Uri_HOST_TYPE;
1727 HRESULT GetPropertyBSTR(
1728 [in] Uri_PROPERTY uriProp,
1729 [out] BSTR *pbstrProperty,
1730 [in] DWORD dwFlags);
1732 HRESULT GetPropertyLength(
1733 [in] Uri_PROPERTY uriProp,
1734 [out] DWORD *pcchProperty,
1735 [in] DWORD dwFlags);
1737 HRESULT GetPropertyDWORD(
1738 [in] Uri_PROPERTY uriProp,
1739 [out] DWORD *pdwProperty,
1740 [in] DWORD dwFlags);
1742 HRESULT HasProperty(
1743 [in] Uri_PROPERTY uriProp,
1744 [out] BOOL *pfHasProperty);
1746 HRESULT GetAbsoluteUri(
1747 [out] BSTR *pbstrAbsoluteUri);
1749 HRESULT GetAuthority(
1750 [out] BSTR *pbstrAuthority);
1752 HRESULT GetDisplayUri(
1753 [out] BSTR *pbstrDisplayString);
1755 HRESULT GetDomain(
1756 [out] BSTR *pbstrDomain);
1758 HRESULT GetExtension(
1759 [out] BSTR *pbstrExtension);
1761 HRESULT GetFragment(
1762 [out] BSTR *pbstrFragment);
1764 HRESULT GetHost(
1765 [out] BSTR *pbstrHost);
1767 HRESULT GetPassword(
1768 [out] BSTR *pbstrPassword);
1770 HRESULT GetPath(
1771 [out] BSTR *pbstrPath);
1773 HRESULT GetPathAndQuery(
1774 [out] BSTR *pbstrPathAndQuery);
1776 HRESULT GetQuery(
1777 [out] BSTR *pbstrQuery);
1779 HRESULT GetRawUri(
1780 [out] BSTR *pbstrRawUri);
1782 HRESULT GetSchemeName(
1783 [out] BSTR *pbstrSchemeName);
1785 HRESULT GetUserInfo(
1786 [out] BSTR *pbstrUserInfo);
1788 HRESULT GetUserName(
1789 [out] BSTR *pbstrUserName);
1791 HRESULT GetHostType(
1792 [out] DWORD *pdwHostType);
1794 HRESULT GetPort(
1795 [out] DWORD *pdwPort);
1797 HRESULT GetScheme(
1798 [out] DWORD *pdwScheme);
1800 HRESULT GetZone(
1801 [out] DWORD *pdwZone);
1803 HRESULT GetProperties(
1804 [out] LPDWORD pdwFlags);
1806 HRESULT IsEqual(
1807 [in] IUri *pUri,
1808 [out] BOOL *pfEqual);
1811 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1812 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1813 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1815 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1816 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1817 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1818 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1819 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1820 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1821 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1822 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1823 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1824 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1825 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1826 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1827 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1828 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1829 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1830 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1831 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1832 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1833 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1835 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1836 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1837 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1838 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1839 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1840 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1841 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1842 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1843 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1844 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1845 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1846 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1847 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1848 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1849 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1850 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1852 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1853 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1854 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1856 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1857 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1858 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1859 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1860 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1861 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1862 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1863 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)")
1865 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1867 /*****************************************************************************
1868 * IUriContainer interface
1871 local,
1872 object,
1873 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1874 pointer_default(unique)
1876 interface IUriContainer : IUnknown
1878 HRESULT GetIUri([out] IUri **ppIUri);
1881 /*****************************************************************************
1882 * IUriBuilder interface
1885 local,
1886 object,
1887 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1888 pointer_default(unique)
1890 interface IUriBuilder: IUnknown
1892 HRESULT CreateUriSimple(
1893 [in] DWORD dwAllowEncodingPropertyMask,
1894 [in] DWORD_PTR dwReserved,
1895 [out] IUri **ppIUri);
1897 HRESULT CreateUri(
1898 [in] DWORD dwCreateFlags,
1899 [in] DWORD dwAllowEncodingPropertyMask,
1900 [in] DWORD_PTR dwReserved,
1901 [out] IUri **ppIUri);
1903 HRESULT CreateUriWithFlags(
1904 [in] DWORD dwCreateFlags,
1905 [in] DWORD dwUriBuilderFlags,
1906 [in] DWORD dwAllowEncodingPropertyMask,
1907 [in] DWORD_PTR dwReserved,
1908 [out] IUri **ppIUri);
1910 HRESULT GetIUri(
1911 [out] IUri **ppIUri);
1913 HRESULT SetIUri(
1914 [in, unique] IUri *pIUri);
1916 HRESULT GetFragment(
1917 [out] DWORD *pcchFragment,
1918 [out] LPCWSTR *ppwzFragment);
1920 HRESULT GetHost(
1921 [out] DWORD *pcchHost,
1922 [out] LPCWSTR *ppwzHost);
1924 HRESULT GetPassword(
1925 [out] DWORD *pcchPassword,
1926 [out] LPCWSTR *ppwzPassword);
1928 HRESULT GetPath(
1929 [out] DWORD *pcchPath,
1930 [out] LPCWSTR *ppwzPath);
1932 HRESULT GetPort(
1933 [out] BOOL *pfHasPort,
1934 [out] DWORD *pdwPort);
1936 HRESULT GetQuery(
1937 [out] DWORD *pcchQuery,
1938 [out] LPCWSTR *ppwzQuery);
1940 HRESULT GetSchemeName(
1941 [out] DWORD *pcchSchemeName,
1942 [out] LPCWSTR *ppwzSchemeName);
1944 HRESULT GetUserName(
1945 [out] DWORD *pcchUserName,
1946 [out] LPCWSTR *ppwzUserName);
1948 HRESULT SetFragment(
1949 [in] LPCWSTR pwzNewValue);
1951 HRESULT SetHost(
1952 [in] LPCWSTR pwzNewValue);
1954 HRESULT SetPassword(
1955 [in] LPCWSTR pwzNewValue);
1957 HRESULT SetPath(
1958 [in] LPCWSTR pwzNewValue);
1960 HRESULT SetPort(
1961 [in] BOOL fHasPort,
1962 [in] DWORD dwNewValue);
1964 HRESULT SetQuery(
1965 [in] LPCWSTR pwzNewValue);
1967 HRESULT SetSchemeName(
1968 [in] LPCWSTR pwzNewValue);
1970 HRESULT SetUserName(
1971 [in] LPCWSTR pwzNewValue);
1973 HRESULT RemoveProperties(
1974 [in] DWORD dwPropertyMask);
1976 HRESULT HasBeenModified(
1977 [out] BOOL *pfModified);
1980 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
1982 /*****************************************************************************
1983 * IUriBuilderFactory interface
1986 local,
1987 object,
1988 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
1989 pointer_default(unique)
1991 interface IUriBuilderFactory : IUnknown
1993 HRESULT CreateIUriBuilder(
1994 [in] DWORD dwFlags,
1995 [in] DWORD_PTR dwReserved,
1996 [out] IUriBuilder **ppIUriBuilder);
1998 HRESULT CreateInitializedIUriBuilder(
1999 [in] DWORD dwFlags,
2000 [in] DWORD_PTR dwReserved,
2001 [out] IUriBuilder **ppIUriBuilder);
2004 /*****************************************************************************
2005 * IInternetProtocolEx interface
2008 local,
2009 object,
2010 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2011 pointer_default(unique)
2013 interface IInternetProtocolEx : IInternetProtocol
2015 HRESULT StartEx(
2016 [in] IUri *pUri,
2017 [in] IInternetProtocolSink *pOIProtSink,
2018 [in] IInternetBindInfo *pOIBindInfo,
2019 [in] DWORD grfPI,
2020 [in] HANDLE *dwReserved);
2023 /*****************************************************************************
2024 * IGetBindHandle interface
2027 local,
2028 object,
2029 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2030 pointer_default(unique)
2032 interface IGetBindHandle : IUnknown
2034 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2036 typedef enum {
2037 BINDHANDLETYPES_APPCACHE = 0x00000000,
2038 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2039 BINDHANDLETYPES_COUNT
2040 } BINDHANDLETYPES;
2042 HRESULT GetBindHandle(
2043 [in] BINDHANDLETYPES enumRequestedHandle,
2044 [out] HANDLE *pRetHandle);
2047 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2049 struct CONFIRMSAFETY
2051 CLSID clsid;
2052 IUnknown *pUnk;
2053 DWORD dwFlags;
2056 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2058 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2059 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2060 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2061 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2062 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2063 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2065 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2066 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2067 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2068 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2069 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2070 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2071 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2073 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2074 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2075 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2077 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2078 cpp_quote("#ifndef S_ASYNCHRONOUS")
2079 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2080 cpp_quote("#endif")
2082 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2083 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2084 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2085 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2086 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2087 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2088 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2089 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2090 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2091 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2092 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2093 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2094 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2095 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2096 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2097 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2098 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2099 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2100 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2101 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2102 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2103 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2104 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2105 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2106 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2107 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2108 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2109 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2110 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2111 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2112 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2113 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2114 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2116 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2117 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2118 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2119 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2120 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2121 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2122 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2123 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2124 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2125 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2126 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2127 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2128 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2129 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2130 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2131 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2132 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2133 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2134 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2135 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2136 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2137 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2138 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2139 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2140 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2141 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2142 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2143 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2144 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2145 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2146 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2147 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2148 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2149 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2150 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2151 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2152 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2153 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2154 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2155 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2156 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2157 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2158 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2159 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2160 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2161 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2162 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2163 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2164 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2165 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2166 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2167 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2168 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2169 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2170 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2171 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2172 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2174 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2175 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2176 cpp_quote("#define OInetGetSession CoInternetGetSession")
2178 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2179 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2180 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2182 cpp_quote("#define MKSYS_URLMONIKER 6")
2183 cpp_quote("#define URL_MK_LEGACY 0")
2184 cpp_quote("#define URL_MK_UNIFORM 1")
2185 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")