kernel32: Added support for TIME_NOSECONDS, restructured EnumTimeFormats implementation.
[wine.git] / include / urlmon.idl
blob35dee40ce71d783ee8def7a5b585be836f3d98d1
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_ENTERPRISE_ID
734 } BINDSTRING;
736 HRESULT GetBindInfo(
737 [out] DWORD *grfBINDF,
738 [in, out, unique] BINDINFO *pbindinfo);
740 HRESULT GetBindString(
741 [in] ULONG ulStringType,
742 [in, out] LPOLESTR *ppwzStr,
743 [in] ULONG cEl,
744 [in, out] ULONG *pcElFetched);
747 /*****************************************************************************
748 * IInternetPriority interface
751 local,
752 object,
753 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
754 pointer_default(unique)
756 interface IInternetPriority : IUnknown
758 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
760 HRESULT SetPriority([in] LONG nPriority);
761 HRESULT GetPriority([out] LONG *pnPriority);
764 /*****************************************************************************
765 * IInternetProtocolRoot interface
768 local,
769 object,
770 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
771 pointer_default(unique)
773 interface IInternetProtocolRoot : IUnknown
775 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
777 typedef enum _tagPI_FLAGS
779 PI_PARSE_URL = 0x00000001,
780 PI_FILTER_MODE = 0x00000002,
781 PI_FORCE_ASYNC = 0x00000004,
782 PI_USE_WORKERTHREAD = 0x00000008,
783 PI_MIMEVERIFICATION = 0x00000010,
784 PI_CLSIDLOOKUP = 0x00000020,
785 PI_DATAPROGRESS = 0x00000040,
786 PI_SYNCHRONOUS = 0x00000080,
787 PI_APARTMENTTHREADED = 0x00000100,
788 PI_CLASSINSTALL = 0x00000200,
789 PD_FORCE_SWITCH = 0x00010000
790 } PI_FLAGS;
792 typedef struct _tagPROTOCOLDATA
794 DWORD grfFlags;
795 DWORD dwState;
796 LPVOID pData;
797 ULONG cbData;
798 } PROTOCOLDATA;
800 HRESULT Start(
801 [in] LPCWSTR szUrl,
802 [in] IInternetProtocolSink *pOIProtSink,
803 [in] IInternetBindInfo *pOIBindInfo,
804 [in] DWORD grfPI,
805 [in] HANDLE_PTR dwReserved);
807 HRESULT Continue(
808 [in] PROTOCOLDATA *pProtocolData);
810 HRESULT Abort(
811 [in] HRESULT hrReason,
812 [in] DWORD dwOptions);
814 HRESULT Terminate(
815 [in] DWORD dwOptions);
817 HRESULT Suspend();
819 HRESULT Resume();
822 /*****************************************************************************
823 * IInternetProtocolSink interface
826 local,
827 object,
828 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
829 pointer_default(unique)
831 interface IInternetProtocolSink : IUnknown
833 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
835 HRESULT Switch(
836 [in] PROTOCOLDATA *pProtocolData);
838 HRESULT ReportProgress(
839 [in] ULONG ulStatusCode,
840 [in] LPCWSTR szStatusText);
842 HRESULT ReportData(
843 [in] DWORD grfBSCF,
844 [in] ULONG ulProgress,
845 [in] ULONG ulProgressMax);
847 HRESULT ReportResult(
848 [in] HRESULT hrResult,
849 [in] DWORD dwError,
850 [in] LPCWSTR szResult);
853 /*****************************************************************************
854 * IInternetProtocol interface
857 local,
858 object,
859 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
860 pointer_default(unique)
862 interface IInternetProtocol : IInternetProtocolRoot
864 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
866 HRESULT Read(
867 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
868 [in] ULONG cb,
869 [out] ULONG *pcbRead);
871 HRESULT Seek(
872 [in] LARGE_INTEGER dlibMove,
873 [in] DWORD dwOrigin,
874 [out] ULARGE_INTEGER *plibNewPosition);
876 HRESULT LockRequest(
877 [in] DWORD dwOptions);
879 HRESULT UnlockRequest();
882 /*****************************************************************************
883 * IInternetProtocolInfo interface
886 local,
887 object,
888 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
889 pointer_default(unique)
891 interface IInternetProtocolInfo : IUnknown
893 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
895 typedef enum _tagPARSEACTION
897 PARSE_CANONICALIZE = 1,
898 PARSE_FRIENDLY,
899 PARSE_SECURITY_URL,
900 PARSE_ROOTDOCUMENT,
901 PARSE_DOCUMENT,
902 PARSE_ANCHOR,
903 PARSE_ENCODE,
904 PARSE_DECODE,
905 PARSE_PATH_FROM_URL,
906 PARSE_URL_FROM_PATH,
907 PARSE_MIME,
908 PARSE_SERVER,
909 PARSE_SCHEMA,
910 PARSE_SITE,
911 PARSE_DOMAIN,
912 PARSE_LOCATION,
913 PARSE_SECURITY_DOMAIN,
914 PARSE_ESCAPE,
915 PARSE_UNESCAPE
916 } PARSEACTION;
918 typedef enum _tagPSUACTION
920 PSU_DEFAULT = 1,
921 PSU_SECURITY_URL_ONLY
922 } PSUACTION;
924 typedef enum _tagQUERYOPTION
926 QUERY_EXPIRATION_DATE = 1,
927 QUERY_TIME_OF_LAST_CHANGE,
928 QUERY_CONTENT_ENCODING,
929 QUERY_CONTENT_TYPE,
930 QUERY_REFRESH,
931 QUERY_RECOMBINE,
932 QUERY_CAN_NAVIGATE,
933 QUERY_USES_NETWORK,
934 QUERY_IS_CACHED,
935 QUERY_IS_INSTALLEDENTRY,
936 QUERY_IS_CACHED_OR_MAPPED,
937 QUERY_USES_CACHE,
938 QUERY_IS_SECURE,
939 QUERY_IS_SAFE,
940 QUERY_USES_HISTORYFOLDER,
941 QUERY_IS_CACHED_AND_USABLE_OFFLINE
942 } QUERYOPTION;
944 HRESULT ParseUrl(
945 [in] LPCWSTR pwzUrl,
946 [in] PARSEACTION ParseAction,
947 [in] DWORD dwParseFlags,
948 [out] LPWSTR pwzResult,
949 [in] DWORD cchResult,
950 [out] DWORD *pcchResult,
951 [in] DWORD dwReserved);
953 HRESULT CombineUrl(
954 [in] LPCWSTR pwzBaseUrl,
955 [in] LPCWSTR pwzRelativeUrl,
956 [in] DWORD dwCombineFlags,
957 [out] LPWSTR pwzResult,
958 [in] DWORD cchResult,
959 [out] DWORD *pcchResult,
960 [in] DWORD dwReserved);
962 HRESULT CompareUrl(
963 [in] LPCWSTR pwzUrl1,
964 [in] LPCWSTR pwzUrl2,
965 [in] DWORD dwCompareFlags);
967 HRESULT QueryInfo(
968 [in] LPCWSTR pwzUrl,
969 [in] QUERYOPTION OueryOption,
970 [in] DWORD dwQueryFlags,
971 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
972 [in] DWORD cbBuffer,
973 [in, out] DWORD *pcbBuf,
974 [in] DWORD dwReserved);
977 /*****************************************************************************
978 * IInternetSession interface
981 local,
982 object,
983 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
984 pointer_default(unique)
986 interface IInternetSession : IUnknown
988 typedef [unique] IInternetSession *LPIINTERNETSESSION;
990 typedef enum _tagOIBDG_FLAGS
992 OIBDG_APARTMENTTHREADED = 0x0100,
993 OIBDG_DATAONLY = 0x1000
994 } OIBDG_FLAGS;
996 HRESULT RegisterNameSpace(
997 [in] IClassFactory *pCF,
998 [in] REFCLSID rclsid,
999 [in] LPCWSTR pwzProtocol,
1000 [in] ULONG cPatterns,
1001 [in] const LPCWSTR *ppwzPatterns,
1002 [in] DWORD dwReserved);
1004 HRESULT UnregisterNameSpace(
1005 [in] IClassFactory *pCF,
1006 [in] LPCWSTR pszProtocol);
1008 HRESULT RegisterMimeFilter(
1009 [in] IClassFactory *pCF,
1010 [in] REFCLSID rclsid,
1011 [in] LPCWSTR pwzType);
1013 HRESULT UnregisterMimeFilter(
1014 [in] IClassFactory *pCF,
1015 [in] LPCWSTR pwzType);
1017 HRESULT CreateBinding(
1018 [in] LPBC pBC,
1019 [in] LPCWSTR szUrl,
1020 [in] IUnknown *pUnkOuter,
1021 [out, unique] IUnknown **ppUnk,
1022 [out, unique] IInternetProtocol **ppOInetProt,
1023 [in] DWORD dwOption);
1025 HRESULT SetSessionOption(
1026 [in] DWORD dwOption,
1027 [in] LPVOID pBuffer,
1028 [in] DWORD dwBufferLength,
1029 [in] DWORD dwReserved);
1032 /*****************************************************************************
1033 * IInternetSecurityMgrSite interface
1036 local,
1037 object,
1038 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1039 pointer_default(unique)
1041 interface IInternetSecurityMgrSite : IUnknown
1043 HRESULT GetWindow(
1044 [out] HWND *phwnd);
1046 HRESULT EnableModeless(
1047 [in] BOOL fEnable);
1051 /*****************************************************************************
1052 * IInternetSecurityManager interface
1054 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1057 object,
1058 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1059 pointer_default(unique)
1061 interface IInternetSecurityManager : IUnknown
1063 HRESULT SetSecuritySite(
1064 [in, unique] IInternetSecurityMgrSite *pSite);
1066 HRESULT GetSecuritySite(
1067 [out] IInternetSecurityMgrSite **ppSite);
1069 HRESULT MapUrlToZone(
1070 [in] LPCWSTR pwszUrl,
1071 [out] DWORD *pdwZone,
1072 [in] DWORD dwFlags);
1074 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1076 HRESULT GetSecurityId(
1077 [in] LPCWSTR pwszUrl,
1078 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1079 [in, out] DWORD *pcbSecurityId,
1080 [in] DWORD_PTR dwReserved);
1083 typedef enum {
1084 PUAF_DEFAULT = 0x00,
1085 PUAF_NOUI = 0x01,
1086 PUAF_ISFILE = 0x02,
1087 PUAF_WARN_IF_DENIED = 0x04,
1088 PUAF_FORCEUI_FOREGROUND = 0x08,
1089 PUAF_CHECK_TIPS = 0x10
1090 } PUAF;
1092 HRESULT ProcessUrlAction(
1093 [in] LPCWSTR pwszUrl,
1094 [in] DWORD dwAction,
1095 [out, size_is(cbPolicy)] BYTE *pPolicy,
1096 [in] DWORD cbPolicy,
1097 [in, unique] BYTE *pContext,
1098 [in] DWORD cbContext,
1099 [in] DWORD dwFlags,
1100 [in] DWORD dwReserved);
1102 HRESULT QueryCustomPolicy(
1103 [in] LPCWSTR pwszUrl,
1104 [in] REFGUID guidKey,
1105 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1106 [out] DWORD *pcbPolicy,
1107 [in] BYTE *pContext,
1108 [in] DWORD cbContext,
1109 [in] DWORD dwReserved);
1111 typedef enum {
1112 SZM_CREATE = 0x0,
1113 SZM_DELETE = 0x1
1114 } SZM_FLAGS;
1116 HRESULT SetZoneMapping(
1117 [in] DWORD dwZone,
1118 [in] LPCWSTR lpszPattern,
1119 [in] DWORD dwFlags);
1121 HRESULT GetZoneMappings(
1122 [in] DWORD dwZone,
1123 [out] IEnumString **ppenumString,
1124 [in] DWORD dwFlags);
1127 /*****************************************************************************
1128 * IInternetSecurityManagerEx interface
1130 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1133 object,
1134 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1135 pointer_default(unique)
1137 interface IInternetSecurityManagerEx : IInternetSecurityManager
1139 HRESULT ProcessUrlActionEx(
1140 [in] LPCWSTR pwszUrl,
1141 [in] DWORD dwAction,
1142 [out, size_is(cbPolicy)] BYTE *pPolicy,
1143 [in] DWORD cbPolicy,
1144 [in] BYTE *pContext,
1145 [in] DWORD cbContext,
1146 [in] DWORD dwFlags,
1147 [in] DWORD dwReserved,
1148 [out] DWORD *pdwOutFlags);
1151 /*****************************************************************************
1152 * IInternetSecurityManagerEx2 interface
1154 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1157 object,
1158 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1159 pointer_default(unique)
1161 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1163 HRESULT MapUrlToZoneEx2(
1164 [in] IUri *pUri,
1165 [out] DWORD *pdwZone,
1166 [in] DWORD dwFlags,
1167 [out] LPWSTR *ppwszMappedUrl,
1168 [out] DWORD *pdwOutFlags);
1170 HRESULT ProcessUrlActionEx2(
1171 [in] IUri *pUri,
1172 [in] DWORD dwAction,
1173 [out, size_is(cbPolicy)] BYTE *pPolicy,
1174 [in] DWORD cbPolicy,
1175 [in, unique] BYTE *pContext,
1176 [in] DWORD cbContext,
1177 [in] DWORD dwFlags,
1178 [in] DWORD_PTR dwReserved,
1179 [out] DWORD *pdwOutFlags);
1181 HRESULT GetSecurityIdEx2(
1182 [in] IUri *pUri,
1183 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1184 [in, out] DWORD *pcbSecurityId,
1185 [in] DWORD_PTR dwReserved);
1187 HRESULT QueryCustomPolicyEx2(
1188 [in] IUri *pUri,
1189 [in] REFGUID guidKey,
1190 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1191 [out] DWORD *pcbPolicy,
1192 [in] BYTE *pContext,
1193 [in] DWORD cbContext,
1194 [in] DWORD_PTR dwReserved);
1197 /*****************************************************************************
1198 * IInternetHostSecurityManager interface
1200 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1203 local,
1204 object,
1205 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1206 pointer_default(unique)
1208 interface IInternetHostSecurityManager : IUnknown
1210 HRESULT GetSecurityId(
1211 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1212 [in, out] DWORD *pcbSecurityId,
1213 [in] DWORD_PTR dwReserved);
1215 HRESULT ProcessUrlAction(
1216 [in] DWORD dwAction,
1217 [out, size_is(cbPolicy)] BYTE *pPolicy,
1218 [in] DWORD cbPolicy,
1219 [in] BYTE *pContext,
1220 [in] DWORD cbContext,
1221 [in] DWORD dwFlags,
1222 [in] DWORD dwReserved);
1224 HRESULT QueryCustomPolicy(
1225 [in] REFGUID guidKey,
1226 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1227 [out] DWORD *pcbPolicy,
1228 [in] BYTE *pContext,
1229 [in] DWORD cbContext,
1230 [in] DWORD dwReserved);
1233 cpp_quote("#define URLACTION_MIN 0x00001000")
1234 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1235 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1236 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1237 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1238 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1240 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1241 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1242 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1243 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1244 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1245 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1246 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1247 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1248 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1249 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1250 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1252 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1253 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1254 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1255 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1256 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1257 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1258 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1259 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1261 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1262 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1263 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1264 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1265 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1266 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1267 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1268 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1269 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1270 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1271 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1273 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1274 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1275 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1276 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1277 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1278 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1279 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1280 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1282 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1283 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1284 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1285 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1286 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1287 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1288 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1289 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1290 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1291 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1292 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1294 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1295 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1296 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1297 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1298 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1299 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1300 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1301 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1302 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1304 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1305 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1306 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1307 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1308 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1309 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1310 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1311 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1312 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1313 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1315 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1316 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1317 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1318 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1319 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1320 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1322 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1323 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1324 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1326 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1327 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1328 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1329 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1330 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1331 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1332 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1334 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1335 cpp_quote("#define URLPOLICY_QUERY 0x01")
1336 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1338 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1339 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1341 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1342 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1344 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1346 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1347 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1348 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1349 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1351 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1352 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1353 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1355 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1356 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1357 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1359 /*****************************************************************************
1360 * IInternetZoneManager interface
1363 local,
1364 object,
1365 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1366 pointer_default(unique)
1368 interface IInternetZoneManager : IUnknown
1370 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1372 typedef enum tagURLZONE
1374 URLZONE_INVALID = -1,
1375 URLZONE_PREDEFINED_MIN = 0,
1376 URLZONE_LOCAL_MACHINE = 0,
1377 URLZONE_INTRANET = 1,
1378 URLZONE_TRUSTED = 2,
1379 URLZONE_INTERNET = 3,
1380 URLZONE_UNTRUSTED = 4,
1381 URLZONE_PREDEFINED_MAX = 999,
1382 URLZONE_USER_MIN = 1000,
1383 URLZONE_USER_MAX = 10000,
1384 } URLZONE;
1386 typedef enum tagURLTEMPLATE
1388 URLTEMPLATE_CUSTOM = 0x00000,
1389 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1390 URLTEMPLATE_LOW = 0x10000,
1391 URLTEMPLATE_MEDLOW = 0x10500,
1392 URLTEMPLATE_MEDIUM = 0x11000,
1393 URLTEMPLATE_MEDHIGH = 0x11500,
1394 URLTEMPLATE_HIGH = 0x12000,
1395 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1396 } URLTEMPLATE ;
1398 typedef enum {
1399 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1400 ZAFLAGS_ADD_SITES = 0x00000002,
1401 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1402 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1403 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1404 ZAFLAGS_NO_UI = 0x00000020,
1405 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1406 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1407 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1408 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1409 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1410 ZAFLAGS_NO_CACHE = 0x00040000,
1411 } ZAFLAGS ;
1413 enum {
1414 MAX_ZONE_PATH = 260,
1415 MAX_ZONE_DESCRIPTION = 200
1418 typedef struct _ZONEATTRIBUTES {
1419 ULONG cbSize;
1420 WCHAR szDisplayName[MAX_ZONE_PATH];
1421 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1422 WCHAR szIconPath[MAX_ZONE_PATH];
1423 DWORD dwTemplateMinLevel;
1424 DWORD dwTemplateRecommended;
1425 DWORD dwTemplateCurrentLevel;
1426 DWORD dwFlags;
1427 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1429 typedef enum _URLZONEREG {
1430 URLZONEREG_DEFAULT,
1431 URLZONEREG_HKLM,
1432 URLZONEREG_HKCU
1433 } URLZONEREG;
1435 HRESULT GetZoneAttributes(
1436 [in] DWORD dwZone,
1437 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1439 HRESULT SetZoneAttributes(
1440 [in] DWORD dwZone,
1441 [in] ZONEATTRIBUTES* pZoneAttributes);
1443 HRESULT GetZoneCustomPolicy(
1444 [in] DWORD dwZone,
1445 [in] REFGUID guidKey,
1446 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1447 [out] DWORD* pcbPolicy,
1448 [in] URLZONEREG ulrZoneReg);
1450 HRESULT SetZoneCustomPolicy(
1451 [in] DWORD dwZone,
1452 [in] REFGUID guidKey,
1453 [in, size_is(pcbPolicy)] BYTE *ppPolicy,
1454 [in] DWORD pcbPolicy,
1455 [in] URLZONEREG ulrZoneReg);
1457 HRESULT GetZoneActionPolicy(
1458 [in] DWORD dwZone,
1459 [in] DWORD dwAction,
1460 [out, size_is(cbPolicy)] BYTE* pPolicy,
1461 [in] DWORD cbPolicy,
1462 [in] URLZONEREG urlZoneReg);
1464 HRESULT SetZoneActionPolicy(
1465 [in] DWORD dwZone,
1466 [in] DWORD dwAction,
1467 [in, size_is(cbPolicy)] BYTE* pPolicy,
1468 [in] DWORD cbPolicy,
1469 [in] URLZONEREG urlZoneReg);
1471 HRESULT PromptAction(
1472 [in] DWORD dwAction,
1473 [in] HWND hwndParent,
1474 [in] LPCWSTR pwszUrl,
1475 [in] LPCWSTR pwszText,
1476 [in] DWORD dwPromptFlags );
1478 HRESULT LogAction(
1479 [in] DWORD dwAction,
1480 [in] LPCWSTR pwszUrl,
1481 [in] LPCWSTR pwszText,
1482 [in] DWORD dwLogFlags);
1484 HRESULT CreateZoneEnumerator(
1485 [out] DWORD* pdwEnum,
1486 [out] DWORD* pdwCount,
1487 [in] DWORD dwFlags);
1489 HRESULT GetZoneAt(
1490 [in] DWORD dwEnum,
1491 [in] DWORD dwIndex,
1492 [out] DWORD* pdwZone);
1494 HRESULT DestroyZoneEnumerator(
1495 [in] DWORD dwEnum);
1497 HRESULT CopyTemplatePoliciesToZone(
1498 [in] DWORD dwTemplate,
1499 [in] DWORD dwZone,
1500 [in] DWORD dwReserved);
1503 /*****************************************************************************
1504 * IInternetZoneManagerEx interface
1507 local,
1508 object,
1509 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1510 pointer_default(unique)
1512 interface IInternetZoneManagerEx : IInternetZoneManager
1514 HRESULT GetZoneActionPolicyEx(
1515 [in] DWORD dwZone,
1516 [in] DWORD dwAction,
1517 [out, size_is(cbPolicy)] BYTE *pPolicy,
1518 [in] DWORD cbPolicy,
1519 [in] URLZONEREG urlZoneReg,
1520 [in] DWORD dwFlags);
1522 HRESULT SetZoneActionPolicyEx(
1523 [in] DWORD dwZone,
1524 [in] DWORD dwAction,
1525 [in, size_is(cbPolicy)] BYTE *pPolicy,
1526 [in] DWORD cbPolicy,
1527 [in] URLZONEREG urlZoneReg,
1528 [in] DWORD dwFlags);
1532 /*****************************************************************************
1533 * IInternetZoneManagerEx2 interface
1536 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1537 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1540 local,
1541 object,
1542 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1543 pointer_default(unique)
1545 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1547 HRESULT GetZoneAttributesEx(
1548 [in] DWORD dwZone,
1549 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1550 [in] DWORD dwFlags);
1552 HRESULT GetZoneSecurityState(
1553 [in] DWORD dwZoneIndex,
1554 [in] BOOL fRespectPolicy,
1555 [in, out] LPDWORD pdwState,
1556 [in, out] BOOL *pfPolicyEncountered);
1558 HRESULT GetIESecurityState(
1559 [in] BOOL fRespectPolicy,
1560 [in, out] LPDWORD pdwState,
1561 [in, out] BOOL *pfPolicyEncountered,
1562 [in] BOOL fNoCache);
1564 HRESULT FixInsecureSettings(void);
1569 typedef struct _tagSOFTDISTINFO
1571 ULONG cbSize;
1572 DWORD dwFlags;
1573 DWORD dwAdState;
1574 LPWSTR szTitle;
1575 LPWSTR szAbstract;
1576 LPWSTR szHREF;
1577 DWORD dwInstalledVersionMS;
1578 DWORD dwInstalledVersionLS;
1579 DWORD dwUpdateVersionMS;
1580 DWORD dwUpdateVersionLS;
1581 DWORD dwAdvertisedVersionMS;
1582 DWORD dwAdvertisedVersionLS;
1583 DWORD dwReserved;
1584 } SOFTDISTINFO, *LPSOFTDISTINFO;
1586 typedef struct _tagCODEBASEHOLD
1588 DWORD cbSize;
1589 LPWSTR szDistUnit;
1590 LPWSTR szCodeBase;
1591 DWORD dwVersionMS;
1592 DWORD dwVersionLS;
1593 DWORD dwStyle;
1594 } CODEBASEHOLD, *LPCODEBASEHOLD;
1597 local,
1598 object,
1599 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1600 pointer_default(unique)
1602 interface ISoftDistExt : IUnknown
1604 HRESULT ProcessSoftDist(
1605 [in] LPCWSTR szCDFURL,
1606 [in] IXMLElement *pSoftDistElement,
1607 [in, out] LPSOFTDISTINFO lpsdi );
1609 HRESULT GetFirstCodeBase(
1610 [in] LPWSTR *szCodeBase,
1611 [in] LPDWORD dwMaxSize );
1613 HRESULT GetNextCodeBase(
1614 [in] LPWSTR *szCodeBase,
1615 [in] LPDWORD dwMaxSize );
1617 HRESULT AsyncInstallDistributionUnit(
1618 [in] IBindCtx *pbc,
1619 [in] LPVOID lpReserved,
1620 [in] DWORD flags,
1621 [in] LPCODEBASEHOLD lpcbh);
1624 typedef enum _tagINTERNETFEATURELIST
1626 FEATURE_OBJECT_CACHING,
1627 FEATURE_ZONE_ELEVATION,
1628 FEATURE_MIME_HANDLING,
1629 FEATURE_MIME_SNIFFING,
1630 FEATURE_WINDOW_RESTRICTIONS,
1631 FEATURE_WEBOC_POPUPMANAGEMENT,
1632 FEATURE_BEHAVIORS,
1633 FEATURE_DISABLE_MK_PROTOCOL,
1634 FEATURE_LOCALMACHINE_LOCKDOWN,
1635 FEATURE_SECURITYBAND,
1636 FEATURE_RESTRICT_ACTIVEXINSTALL,
1637 FEATURE_VALIDATE_NAVIGATE_URL,
1638 FEATURE_RESTRICT_FILEDOWNLOAD,
1639 FEATURE_ADDON_MANAGEMENT,
1640 FEATURE_PROTOCOL_LOCKDOWN,
1641 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1642 FEATURE_SAFE_BINDTOOBJECT,
1643 FEATURE_UNC_SAVEDFILECHECK,
1644 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1645 FEATURE_TABBED_BROWSING,
1646 FEATURE_SSLUX,
1647 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1648 FEATURE_DISABLE_LEGACY_COMPRESSION,
1649 FEATURE_FORCE_ADDR_AND_STATUS,
1650 FEATURE_XMLHTTP,
1651 FEATURE_DISABLE_TELNET_PROTOCOL,
1652 FEATURE_FEEDS,
1653 FEATURE_BLOCK_INPUT_PROMPTS,
1654 FEATURE_ENTRY_COUNT
1655 } INTERNETFEATURELIST;
1657 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1658 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1659 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1660 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1661 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1662 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1663 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1664 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1666 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1667 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1668 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1669 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1670 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1671 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1672 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1673 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1675 typedef struct _tagPROTOCOLFILTERDATA {
1676 DWORD cbSize;
1677 IInternetProtocolSink *pProtocolSink;
1678 IInternetProtocol *pProtocol;
1679 IUnknown *pUnk;
1680 DWORD dwFilterFlags;
1681 } PROTOCOLFILTERDATA;
1683 /*****************************************************************************
1684 * IUri interface
1687 object,
1688 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1689 pointer_default(unique)
1691 interface IUri : IUnknown
1693 typedef enum
1695 Uri_PROPERTY_ABSOLUTE_URI = 0,
1696 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1697 Uri_PROPERTY_AUTHORITY = 1,
1698 Uri_PROPERTY_DISPLAY_URI = 2,
1699 Uri_PROPERTY_DOMAIN = 3,
1700 Uri_PROPERTY_EXTENSION = 4,
1701 Uri_PROPERTY_FRAGMENT = 5,
1702 Uri_PROPERTY_HOST = 6,
1703 Uri_PROPERTY_PASSWORD = 7,
1704 Uri_PROPERTY_PATH = 8,
1705 Uri_PROPERTY_PATH_AND_QUERY = 9,
1706 Uri_PROPERTY_QUERY = 10,
1707 Uri_PROPERTY_RAW_URI = 11,
1708 Uri_PROPERTY_SCHEME_NAME = 12,
1709 Uri_PROPERTY_USER_INFO = 13,
1710 Uri_PROPERTY_USER_NAME = 14,
1711 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1712 Uri_PROPERTY_HOST_TYPE = 15,
1713 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1714 Uri_PROPERTY_PORT = 16,
1715 Uri_PROPERTY_SCHEME = 17,
1716 Uri_PROPERTY_ZONE = 18,
1717 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1718 } Uri_PROPERTY;
1720 typedef enum
1722 Uri_HOST_UNKNOWN = 0,
1723 Uri_HOST_DNS = 1,
1724 Uri_HOST_IPV4 = 2,
1725 Uri_HOST_IPV6 = 3,
1726 Uri_HOST_IDN = 4
1727 } Uri_HOST_TYPE;
1729 HRESULT GetPropertyBSTR(
1730 [in] Uri_PROPERTY uriProp,
1731 [out] BSTR *pbstrProperty,
1732 [in] DWORD dwFlags);
1734 HRESULT GetPropertyLength(
1735 [in] Uri_PROPERTY uriProp,
1736 [out] DWORD *pcchProperty,
1737 [in] DWORD dwFlags);
1739 HRESULT GetPropertyDWORD(
1740 [in] Uri_PROPERTY uriProp,
1741 [out] DWORD *pdwProperty,
1742 [in] DWORD dwFlags);
1744 HRESULT HasProperty(
1745 [in] Uri_PROPERTY uriProp,
1746 [out] BOOL *pfHasProperty);
1748 HRESULT GetAbsoluteUri(
1749 [out] BSTR *pbstrAbsoluteUri);
1751 HRESULT GetAuthority(
1752 [out] BSTR *pbstrAuthority);
1754 HRESULT GetDisplayUri(
1755 [out] BSTR *pbstrDisplayString);
1757 HRESULT GetDomain(
1758 [out] BSTR *pbstrDomain);
1760 HRESULT GetExtension(
1761 [out] BSTR *pbstrExtension);
1763 HRESULT GetFragment(
1764 [out] BSTR *pbstrFragment);
1766 HRESULT GetHost(
1767 [out] BSTR *pbstrHost);
1769 HRESULT GetPassword(
1770 [out] BSTR *pbstrPassword);
1772 HRESULT GetPath(
1773 [out] BSTR *pbstrPath);
1775 HRESULT GetPathAndQuery(
1776 [out] BSTR *pbstrPathAndQuery);
1778 HRESULT GetQuery(
1779 [out] BSTR *pbstrQuery);
1781 HRESULT GetRawUri(
1782 [out] BSTR *pbstrRawUri);
1784 HRESULT GetSchemeName(
1785 [out] BSTR *pbstrSchemeName);
1787 HRESULT GetUserInfo(
1788 [out] BSTR *pbstrUserInfo);
1790 HRESULT GetUserName(
1791 [out] BSTR *pbstrUserName);
1793 HRESULT GetHostType(
1794 [out] DWORD *pdwHostType);
1796 HRESULT GetPort(
1797 [out] DWORD *pdwPort);
1799 HRESULT GetScheme(
1800 [out] DWORD *pdwScheme);
1802 HRESULT GetZone(
1803 [out] DWORD *pdwZone);
1805 HRESULT GetProperties(
1806 [out] LPDWORD pdwFlags);
1808 HRESULT IsEqual(
1809 [in] IUri *pUri,
1810 [out] BOOL *pfEqual);
1813 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1814 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1815 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1817 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1818 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1819 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1820 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1821 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1822 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1823 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1824 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1825 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1826 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1827 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1828 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1829 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1830 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1831 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1832 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1833 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1834 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1835 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1837 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1838 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1839 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1840 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1841 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1842 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1843 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1844 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1845 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1846 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1847 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1848 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1849 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1850 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1851 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1852 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1853 cpp_quote("#define Uri_CREATE_NORMALIZE_INTL_CHARACTERS 0x00010000")
1854 cpp_quote("#define Uri_CREATE_CANONICALIZE_ABSOLUTE 0x00020000")
1856 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1857 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1858 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1860 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1861 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1862 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1863 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1864 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1865 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1866 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1867 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)")
1869 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1871 /*****************************************************************************
1872 * IUriContainer interface
1875 local,
1876 object,
1877 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1878 pointer_default(unique)
1880 interface IUriContainer : IUnknown
1882 HRESULT GetIUri([out] IUri **ppIUri);
1885 /*****************************************************************************
1886 * IUriBuilder interface
1889 local,
1890 object,
1891 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1892 pointer_default(unique)
1894 interface IUriBuilder: IUnknown
1896 HRESULT CreateUriSimple(
1897 [in] DWORD dwAllowEncodingPropertyMask,
1898 [in] DWORD_PTR dwReserved,
1899 [out] IUri **ppIUri);
1901 HRESULT CreateUri(
1902 [in] DWORD dwCreateFlags,
1903 [in] DWORD dwAllowEncodingPropertyMask,
1904 [in] DWORD_PTR dwReserved,
1905 [out] IUri **ppIUri);
1907 HRESULT CreateUriWithFlags(
1908 [in] DWORD dwCreateFlags,
1909 [in] DWORD dwUriBuilderFlags,
1910 [in] DWORD dwAllowEncodingPropertyMask,
1911 [in] DWORD_PTR dwReserved,
1912 [out] IUri **ppIUri);
1914 HRESULT GetIUri(
1915 [out] IUri **ppIUri);
1917 HRESULT SetIUri(
1918 [in, unique] IUri *pIUri);
1920 HRESULT GetFragment(
1921 [out] DWORD *pcchFragment,
1922 [out] LPCWSTR *ppwzFragment);
1924 HRESULT GetHost(
1925 [out] DWORD *pcchHost,
1926 [out] LPCWSTR *ppwzHost);
1928 HRESULT GetPassword(
1929 [out] DWORD *pcchPassword,
1930 [out] LPCWSTR *ppwzPassword);
1932 HRESULT GetPath(
1933 [out] DWORD *pcchPath,
1934 [out] LPCWSTR *ppwzPath);
1936 HRESULT GetPort(
1937 [out] BOOL *pfHasPort,
1938 [out] DWORD *pdwPort);
1940 HRESULT GetQuery(
1941 [out] DWORD *pcchQuery,
1942 [out] LPCWSTR *ppwzQuery);
1944 HRESULT GetSchemeName(
1945 [out] DWORD *pcchSchemeName,
1946 [out] LPCWSTR *ppwzSchemeName);
1948 HRESULT GetUserName(
1949 [out] DWORD *pcchUserName,
1950 [out] LPCWSTR *ppwzUserName);
1952 HRESULT SetFragment(
1953 [in] LPCWSTR pwzNewValue);
1955 HRESULT SetHost(
1956 [in] LPCWSTR pwzNewValue);
1958 HRESULT SetPassword(
1959 [in] LPCWSTR pwzNewValue);
1961 HRESULT SetPath(
1962 [in] LPCWSTR pwzNewValue);
1964 HRESULT SetPort(
1965 [in] BOOL fHasPort,
1966 [in] DWORD dwNewValue);
1968 HRESULT SetQuery(
1969 [in] LPCWSTR pwzNewValue);
1971 HRESULT SetSchemeName(
1972 [in] LPCWSTR pwzNewValue);
1974 HRESULT SetUserName(
1975 [in] LPCWSTR pwzNewValue);
1977 HRESULT RemoveProperties(
1978 [in] DWORD dwPropertyMask);
1980 HRESULT HasBeenModified(
1981 [out] BOOL *pfModified);
1984 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
1986 /*****************************************************************************
1987 * IUriBuilderFactory interface
1990 local,
1991 object,
1992 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
1993 pointer_default(unique)
1995 interface IUriBuilderFactory : IUnknown
1997 HRESULT CreateIUriBuilder(
1998 [in] DWORD dwFlags,
1999 [in] DWORD_PTR dwReserved,
2000 [out] IUriBuilder **ppIUriBuilder);
2002 HRESULT CreateInitializedIUriBuilder(
2003 [in] DWORD dwFlags,
2004 [in] DWORD_PTR dwReserved,
2005 [out] IUriBuilder **ppIUriBuilder);
2008 /*****************************************************************************
2009 * IInternetProtocolEx interface
2012 local,
2013 object,
2014 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2015 pointer_default(unique)
2017 interface IInternetProtocolEx : IInternetProtocol
2019 HRESULT StartEx(
2020 [in] IUri *pUri,
2021 [in] IInternetProtocolSink *pOIProtSink,
2022 [in] IInternetBindInfo *pOIBindInfo,
2023 [in] DWORD grfPI,
2024 [in] HANDLE *dwReserved);
2027 /*****************************************************************************
2028 * IGetBindHandle interface
2031 local,
2032 object,
2033 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2034 pointer_default(unique)
2036 interface IGetBindHandle : IUnknown
2038 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2040 typedef enum {
2041 BINDHANDLETYPES_APPCACHE = 0x00000000,
2042 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2043 BINDHANDLETYPES_COUNT
2044 } BINDHANDLETYPES;
2046 HRESULT GetBindHandle(
2047 [in] BINDHANDLETYPES enumRequestedHandle,
2048 [out] HANDLE *pRetHandle);
2051 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2053 struct CONFIRMSAFETY
2055 CLSID clsid;
2056 IUnknown *pUnk;
2057 DWORD dwFlags;
2060 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2062 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2063 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2064 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2065 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2066 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2067 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2069 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2070 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2071 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2072 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2073 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2074 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2075 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2077 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2078 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2079 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2081 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2082 cpp_quote("#ifndef S_ASYNCHRONOUS")
2083 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2084 cpp_quote("#endif")
2086 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2087 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2088 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2089 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2090 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2091 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2092 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2093 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2094 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2095 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2096 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2097 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2098 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2099 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2100 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2101 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2102 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2103 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2104 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2105 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2106 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2107 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2108 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2109 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2110 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2111 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2112 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2113 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2114 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2115 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2116 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2117 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2118 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2120 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2121 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2122 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2123 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2124 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2125 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2126 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2127 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2128 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2129 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2130 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2131 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2132 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2133 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2134 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2135 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2136 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2137 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2138 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2139 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2140 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2141 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2142 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2143 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2144 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2145 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2146 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2147 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2148 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2149 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2150 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2151 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2152 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2153 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2154 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2155 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2156 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2157 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2158 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2159 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2160 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2161 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2162 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2163 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2164 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2165 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2166 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2167 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2168 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2169 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2170 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2171 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2172 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2173 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2174 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2175 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2176 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2178 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2179 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2180 cpp_quote("#define OInetGetSession CoInternetGetSession")
2182 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2183 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2184 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2186 cpp_quote("#define MKSYS_URLMONIKER 6")
2187 cpp_quote("#define URL_MK_LEGACY 0")
2188 cpp_quote("#define URL_MK_UNIFORM 1")
2189 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")