msvcp90: Use critical sections in mutex object.
[wine.git] / include / urlmon.idl
blob53e803e44197dc12af50759adaa18b0fc2036d9d
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;
265 HRESULT OnStartBinding(
266 [in] DWORD dwReserved,
267 [in] IBinding * pib);
269 HRESULT GetPriority(
270 [out] LONG * pnPriority);
272 HRESULT OnLowResource(
273 [in] DWORD reserved);
275 HRESULT OnProgress(
276 [in] ULONG ulProgress,
277 [in] ULONG ulProgressMax,
278 [in] ULONG ulStatusCode,
279 [in] LPCWSTR szStatusText);
281 HRESULT OnStopBinding(
282 [in] HRESULT hresult,
283 [in, unique] LPCWSTR szError);
285 [local]
286 HRESULT GetBindInfo(
287 [out] DWORD *grfBINDF,
288 [in, out, unique] BINDINFO * pbindinfo);
290 [call_as(GetBindInfo)]
291 HRESULT RemoteGetBindInfo(
292 [out] DWORD *grfBINDF,
293 [in, out, unique] RemBINDINFO * pbindinfo,
294 [in, out, unique] RemSTGMEDIUM* pstgmed);
296 [local]
297 HRESULT OnDataAvailable(
298 [in] DWORD grfBSCF,
299 [in] DWORD dwSize,
300 [in] FORMATETC* pformatetc,
301 [in] STGMEDIUM* pstgmed);
303 [call_as(OnDataAvailable)]
304 HRESULT RemoteOnDataAvailable(
305 [in] DWORD grfBSCF,
306 [in] DWORD dwSize,
307 [in] RemFORMATETC *pformatetc,
308 [in] RemSTGMEDIUM* pstgmed);
310 HRESULT OnObjectAvailable(
311 [in] REFIID riid,
312 [in, iid_is(riid)] IUnknown* punk);
315 /*****************************************************************************
316 * IBindStatusCallbackEx interface
319 object,
320 uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc),
321 pointer_default(unique)
323 interface IBindStatusCallbackEx : IBindStatusCallback
325 typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
327 typedef enum {
328 BINDF2_DISABLEBASICOVERHTTP = 0x00000001,
329 BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002,
330 BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004,
331 BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008,
332 BINDF2_RESERVED_3 = 0x20000000,
333 BINDF2_RESERVED_2 = 0x40000000,
334 BINDF2_RESERVED_1 = 0x80000000,
335 } BINDF2;
337 [local]
338 HRESULT GetBindInfoEx(
339 [out] DWORD *grfBINDF,
340 [in, out, unique] BINDINFO *pbindinfo,
341 [out] DWORD *grfBINDF2,
342 [out] DWORD *pdwReserved);
344 [call_as(GetBindInfoEx)]
345 HRESULT RemoteGetBindInfoEx(
346 [out] DWORD *grfBINDF,
347 [in, out, unique] RemBINDINFO *pbindinfo,
348 [in, out, unique] RemSTGMEDIUM *pstgmed,
349 [out] DWORD *grfBINDF2,
350 [out] DWORD *pdwReserved);
354 /*****************************************************************************
355 * IAuthenticate interface
358 object,
359 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
360 pointer_default(unique)
362 interface IAuthenticate : IUnknown
364 typedef [unique] IAuthenticate *LPAUTHENTICATION;
366 HRESULT Authenticate(
367 [out] HWND* phwnd,
368 [out] LPWSTR *pszUsername,
369 [out] LPWSTR *pszPassword);
372 /*****************************************************************************
373 * IHttpNegotiate interface
376 object,
377 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
378 pointer_default(unique)
380 interface IHttpNegotiate : IUnknown
382 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
384 HRESULT BeginningTransaction(
385 [in] LPCWSTR szURL,
386 [in, unique] LPCWSTR szHeaders,
387 [in] DWORD dwReserved,
388 [out] LPWSTR *pszAdditionalHeaders);
390 HRESULT OnResponse(
391 [in] DWORD dwResponseCode,
392 [in, unique] LPCWSTR szResponseHeaders,
393 [in, unique] LPCWSTR szRequestHeaders,
394 [out] LPWSTR *pszAdditionalRequestHeaders);
397 /*****************************************************************************
398 * IHttpNegotiate2 interface
401 object,
402 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
403 pointer_default(unique)
405 interface IHttpNegotiate2 : IHttpNegotiate
407 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
409 HRESULT GetRootSecurityId(
410 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
411 [in, out] DWORD *pcbSecurityId,
412 [in] DWORD_PTR dwReserved);
415 /*****************************************************************************
416 * IBindHost interface
418 cpp_quote("#define SID_IBindHost IID_IBindHost")
419 cpp_quote("#define SID_SBindHost IID_IBindHost")
421 object,
422 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
423 pointer_default(unique)
425 interface IBindHost : IUnknown
427 typedef [unique] IBindHost *LPBINDHOST;
429 HRESULT CreateMoniker(
430 [in] LPOLESTR szName,
431 [in] IBindCtx *pBC,
432 [out] IMoniker** ppmk,
433 [in] DWORD dwReserved);
435 [local]
436 HRESULT MonikerBindToStorage(
437 [in] IMoniker *pMk,
438 [in] IBindCtx *pBC,
439 [in] IBindStatusCallback *pBSC,
440 [in] REFIID riid,
441 [out] void **ppvObj);
443 [call_as(MonikerBindToStorage)]
444 HRESULT RemoteMonikerBindToStorage(
445 [in, unique] IMoniker *pMk,
446 [in, unique] IBindCtx *pBC,
447 [in, unique] IBindStatusCallback *pBSC,
448 [in] REFIID riid,
449 [out, iid_is(riid)] IUnknown **ppvObj);
451 [local]
452 HRESULT MonikerBindToObject(
453 [in] IMoniker *pMk,
454 [in] IBindCtx *pBC,
455 [in] IBindStatusCallback *pBSC,
456 [in] REFIID riid,
457 [out] void **ppvObj);
459 [call_as(MonikerBindToObject)]
460 HRESULT RemoteMonikerBindToObject(
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);
469 /*****************************************************************************
470 * IWinInetInfo interface
473 object,
474 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
475 pointer_default(unique)
477 interface IWinInetInfo : IUnknown
479 typedef [unique] IWinInetInfo *LPWININETINFO;
481 [local]
482 HRESULT QueryOption(
483 [in] DWORD dwOption,
484 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
485 [in, out] DWORD *pcbBuf);
487 [call_as(QueryOption)]
488 HRESULT RemoteQueryOption(
489 [in] DWORD dwOption,
490 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
491 [in, out] DWORD *pcbBuf);
496 /*****************************************************************************
497 * IWinInetHttpInfo interface
500 object,
501 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
502 pointer_default(unique)
504 interface IWinInetHttpInfo : IWinInetInfo
506 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
508 [local]
509 HRESULT QueryInfo(
510 [in] DWORD dwOption,
511 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
512 [in, out] DWORD *pcbBuf,
513 [in, out] DWORD *pdwFlags,
514 [in, out] DWORD *pdwReserved);
516 [call_as(QueryInfo)]
517 HRESULT RemoteQueryInfo(
518 [in] DWORD dwOption,
519 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
520 [in, out] DWORD *pcbBuf,
521 [in, out] DWORD *pdwFlags,
522 [in, out] DWORD *pdwReserved);
525 /*****************************************************************************
526 * IWindowForBindingUI interface
529 local,
530 object,
531 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
532 pointer_default(unique)
534 interface IWindowForBindingUI : IUnknown
536 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
538 HRESULT GetWindow(
539 [in] REFGUID rguidReason,
540 [out] HWND *phwnd);
543 /*****************************************************************************
544 * ICodeInstall interface
547 local,
548 object,
549 uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
550 pointer_default(unique)
552 interface ICodeInstall : IWindowForBindingUI
554 typedef [unique] ICodeInstall *LPCODEINSTALL;
556 typedef enum {
557 CIP_DISK_FULL,
558 CIP_ACCESS_DENIED,
559 CIP_NEWER_VERSION_EXISTS,
560 CIP_OLDER_VERSION_EXISTS,
561 CIP_NAME_CONFLICT,
562 CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
563 CIP_EXE_SELF_REGISTERATION_TIMEOUT,
564 CIP_UNSAFE_TO_ABORT,
565 CIP_NEED_REBOOT,
566 CIP_NEED_REBOOT_UI_PERMISSION
567 } CIP_STATUS;
569 HRESULT OnCodeInstallProblem(
570 [in] ULONG ulStatusCode,
571 [in, unique] LPCWSTR szDestination,
572 [in, unique] LPCWSTR szSource,
573 [in] DWORD dwReserved);
576 /*****************************************************************************
577 * IHttpSecurity interface
580 object,
581 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
582 pointer_default(unique)
584 interface IHttpSecurity : IWindowForBindingUI
586 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
588 HRESULT OnSecurityProblem(
589 [in] DWORD dwProblem);
593 /*****************************************************************************
594 * IPersistMoniker interface
597 object,
598 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
599 pointer_default(unique)
601 interface IPersistMoniker : IUnknown
603 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
605 HRESULT GetClassID(
606 [out] CLSID *pClassID);
608 HRESULT IsDirty();
610 HRESULT Load(
611 [in] BOOL fFullyAvailable,
612 [in] IMoniker *pimkName,
613 [in] LPBC pibc,
614 [in] DWORD grfMode);
616 HRESULT Save(
617 [in] IMoniker *pimkName,
618 [in] LPBC pbc,
619 [in] BOOL fRemember);
621 HRESULT SaveCompleted(
622 [in] IMoniker *pimkName,
623 [in] LPBC pibc);
625 HRESULT GetCurMoniker(
626 [out] IMoniker **ppimkName);
629 /*****************************************************************************
630 * IMonikerProp interface
633 object,
634 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
635 pointer_default(unique)
637 interface IMonikerProp : IUnknown
639 typedef [unique] IMonikerProp *LPMONIKERPROP;
641 typedef enum {
642 MIMETYPEPROP = 0,
643 USE_SRC_URL = 1,
644 CLASSIDPROP = 2,
645 TRUSTEDDOWNLOADPROP = 3,
646 POPUPLEVELPROP = 4
647 } MONIKERPROPERTY;
649 HRESULT PutProperty(
650 [in] MONIKERPROPERTY mkp,
651 [in] LPCWSTR val);
654 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
655 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
657 /*****************************************************************************
658 * IBindProtocol interface
661 local,
662 object,
663 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
664 pointer_default(unique)
666 interface IBindProtocol : IUnknown
668 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
670 HRESULT CreateBinding(
671 [in] LPCWSTR szUrl,
672 [in] IBindCtx *pbc,
673 [out] IBinding **ppb);
676 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
678 /*****************************************************************************
679 * IInternetBindInfo interface
682 local,
683 object,
684 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
685 pointer_default(unique)
687 interface IInternetBindInfo : IUnknown
689 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
691 typedef enum tagBINDSTRING
693 BINDSTRING_HEADERS = 1,
694 BINDSTRING_ACCEPT_MIMES,
695 BINDSTRING_EXTRA_URL,
696 BINDSTRING_LANGUAGE,
697 BINDSTRING_USERNAME,
698 BINDSTRING_PASSWORD,
699 BINDSTRING_UA_PIXELS,
700 BINDSTRING_UA_COLOR,
701 BINDSTRING_OS,
702 BINDSTRING_USER_AGENT,
703 BINDSTRING_ACCEPT_ENCODINGS,
704 BINDSTRING_POST_COOKIE,
705 BINDSTRING_POST_DATA_MIME,
706 BINDSTRING_URL,
707 BINDSTRING_IID,
708 BINDSTRING_FLAG_BIND_TO_OBJECT,
709 BINDSTRING_PTR_BIND_CONTEXT
710 } BINDSTRING;
712 HRESULT GetBindInfo(
713 [out] DWORD *grfBINDF,
714 [in, out, unique] BINDINFO *pbindinfo);
716 HRESULT GetBindString(
717 [in] ULONG ulStringType,
718 [in, out] LPOLESTR *ppwzStr,
719 [in] ULONG cEl,
720 [in, out] ULONG *pcElFetched);
723 /*****************************************************************************
724 * IInternetPriority interface
727 local,
728 object,
729 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
730 pointer_default(unique)
732 interface IInternetPriority : IUnknown
734 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
736 HRESULT SetPriority([in] LONG nPriority);
737 HRESULT GetPriority([out] LONG *pnPriority);
740 /*****************************************************************************
741 * IInternetProtocolRoot interface
744 local,
745 object,
746 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
747 pointer_default(unique)
749 interface IInternetProtocolRoot : IUnknown
751 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
753 typedef enum _tagPI_FLAGS
755 PI_PARSE_URL = 0x00000001,
756 PI_FILTER_MODE = 0x00000002,
757 PI_FORCE_ASYNC = 0x00000004,
758 PI_USE_WORKERTHREAD = 0x00000008,
759 PI_MIMEVERIFICATION = 0x00000010,
760 PI_CLSIDLOOKUP = 0x00000020,
761 PI_DATAPROGRESS = 0x00000040,
762 PI_SYNCHRONOUS = 0x00000080,
763 PI_APARTMENTTHREADED = 0x00000100,
764 PI_CLASSINSTALL = 0x00000200,
765 PD_FORCE_SWITCH = 0x00010000
766 } PI_FLAGS;
768 typedef struct _tagPROTOCOLDATA
770 DWORD grfFlags;
771 DWORD dwState;
772 LPVOID pData;
773 ULONG cbData;
774 } PROTOCOLDATA;
776 HRESULT Start(
777 [in] LPCWSTR szUrl,
778 [in] IInternetProtocolSink *pOIProtSink,
779 [in] IInternetBindInfo *pOIBindInfo,
780 [in] DWORD grfPI,
781 [in] HANDLE_PTR dwReserved);
783 HRESULT Continue(
784 [in] PROTOCOLDATA *pProtocolData);
786 HRESULT Abort(
787 [in] HRESULT hrReason,
788 [in] DWORD dwOptions);
790 HRESULT Terminate(
791 [in] DWORD dwOptions);
793 HRESULT Suspend();
795 HRESULT Resume();
798 /*****************************************************************************
799 * IInternetProtocolSink interface
802 local,
803 object,
804 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
805 pointer_default(unique)
807 interface IInternetProtocolSink : IUnknown
809 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
811 HRESULT Switch(
812 [in] PROTOCOLDATA *pProtocolData);
814 HRESULT ReportProgress(
815 [in] ULONG ulStatusCode,
816 [in] LPCWSTR szStatusText);
818 HRESULT ReportData(
819 [in] DWORD grfBSCF,
820 [in] ULONG ulProgress,
821 [in] ULONG ulProgressMax);
823 HRESULT ReportResult(
824 [in] HRESULT hrResult,
825 [in] DWORD dwError,
826 [in] LPCWSTR szResult);
829 /*****************************************************************************
830 * IInternetProtocol interface
833 local,
834 object,
835 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
836 pointer_default(unique)
838 interface IInternetProtocol : IInternetProtocolRoot
840 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
842 HRESULT Read(
843 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
844 [in] ULONG cb,
845 [out] ULONG *pcbRead);
847 HRESULT Seek(
848 [in] LARGE_INTEGER dlibMove,
849 [in] DWORD dwOrigin,
850 [out] ULARGE_INTEGER *plibNewPosition);
852 HRESULT LockRequest(
853 [in] DWORD dwOptions);
855 HRESULT UnlockRequest();
858 /*****************************************************************************
859 * IInternetProtocolInfo interface
862 local,
863 object,
864 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
865 pointer_default(unique)
867 interface IInternetProtocolInfo : IUnknown
869 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
871 typedef enum _tagPARSEACTION
873 PARSE_CANONICALIZE = 1,
874 PARSE_FRIENDLY,
875 PARSE_SECURITY_URL,
876 PARSE_ROOTDOCUMENT,
877 PARSE_DOCUMENT,
878 PARSE_ANCHOR,
879 PARSE_ENCODE,
880 PARSE_DECODE,
881 PARSE_PATH_FROM_URL,
882 PARSE_URL_FROM_PATH,
883 PARSE_MIME,
884 PARSE_SERVER,
885 PARSE_SCHEMA,
886 PARSE_SITE,
887 PARSE_DOMAIN,
888 PARSE_LOCATION,
889 PARSE_SECURITY_DOMAIN,
890 PARSE_ESCAPE,
891 PARSE_UNESCAPE
892 } PARSEACTION;
894 typedef enum _tagPSUACTION
896 PSU_DEFAULT = 1,
897 PSU_SECURITY_URL_ONLY
898 } PSUACTION;
900 typedef enum _tagQUERYOPTION
902 QUERY_EXPIRATION_DATE = 1,
903 QUERY_TIME_OF_LAST_CHANGE,
904 QUERY_CONTENT_ENCODING,
905 QUERY_CONTENT_TYPE,
906 QUERY_REFRESH,
907 QUERY_RECOMBINE,
908 QUERY_CAN_NAVIGATE,
909 QUERY_USES_NETWORK,
910 QUERY_IS_CACHED,
911 QUERY_IS_INSTALLEDENTRY,
912 QUERY_IS_CACHED_OR_MAPPED,
913 QUERY_USES_CACHE,
914 QUERY_IS_SECURE,
915 QUERY_IS_SAFE,
916 QUERY_USES_HISTORYFOLDER,
917 QUERY_IS_CACHED_AND_USABLE_OFFLINE
918 } QUERYOPTION;
920 HRESULT ParseUrl(
921 [in] LPCWSTR pwzUrl,
922 [in] PARSEACTION ParseAction,
923 [in] DWORD dwParseFlags,
924 [out] LPWSTR pwzResult,
925 [in] DWORD cchResult,
926 [out] DWORD *pcchResult,
927 [in] DWORD dwReserved);
929 HRESULT CombineUrl(
930 [in] LPCWSTR pwzBaseUrl,
931 [in] LPCWSTR pwzRelativeUrl,
932 [in] DWORD dwCombineFlags,
933 [out] LPWSTR pwzResult,
934 [in] DWORD cchResult,
935 [out] DWORD *pcchResult,
936 [in] DWORD dwReserved);
938 HRESULT CompareUrl(
939 [in] LPCWSTR pwzUrl1,
940 [in] LPCWSTR pwzUrl2,
941 [in] DWORD dwCompareFlags);
943 HRESULT QueryInfo(
944 [in] LPCWSTR pwzUrl,
945 [in] QUERYOPTION OueryOption,
946 [in] DWORD dwQueryFlags,
947 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
948 [in] DWORD cbBuffer,
949 [in, out] DWORD *pcbBuf,
950 [in] DWORD dwReserved);
953 /*****************************************************************************
954 * IInternetSession interface
957 local,
958 object,
959 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
960 pointer_default(unique)
962 interface IInternetSession : IUnknown
964 typedef [unique] IInternetSession *LPIINTERNETSESSION;
966 typedef enum _tagOIBDG_FLAGS
968 OIBDG_APARTMENTTHREADED = 0x0100,
969 OIBDG_DATAONLY = 0x1000
970 } OIBDG_FLAGS;
972 HRESULT RegisterNameSpace(
973 [in] IClassFactory *pCF,
974 [in] REFCLSID rclsid,
975 [in] LPCWSTR pwzProtocol,
976 [in] ULONG cPatterns,
977 [in] const LPCWSTR *ppwzPatterns,
978 [in] DWORD dwReserved);
980 HRESULT UnregisterNameSpace(
981 [in] IClassFactory *pCF,
982 [in] LPCWSTR pszProtocol);
984 HRESULT RegisterMimeFilter(
985 [in] IClassFactory *pCF,
986 [in] REFCLSID rclsid,
987 [in] LPCWSTR pwzType);
989 HRESULT UnregisterMimeFilter(
990 [in] IClassFactory *pCF,
991 [in] LPCWSTR pwzType);
993 HRESULT CreateBinding(
994 [in] LPBC pBC,
995 [in] LPCWSTR szUrl,
996 [in] IUnknown *pUnkOuter,
997 [out, unique] IUnknown **ppUnk,
998 [out, unique] IInternetProtocol **ppOInetProt,
999 [in] DWORD dwOption);
1001 HRESULT SetSessionOption(
1002 [in] DWORD dwOption,
1003 [in] LPVOID pBuffer,
1004 [in] DWORD dwBufferLength,
1005 [in] DWORD dwReserved);
1008 /*****************************************************************************
1009 * IInternetSecurityMgrSite interface
1012 local,
1013 object,
1014 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1015 pointer_default(unique)
1017 interface IInternetSecurityMgrSite : IUnknown
1019 HRESULT GetWindow(
1020 [out] HWND *phwnd);
1022 HRESULT EnableModeless(
1023 [in] BOOL fEnable);
1027 /*****************************************************************************
1028 * IInternetSecurityManager interface
1030 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1033 object,
1034 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1035 pointer_default(unique)
1037 interface IInternetSecurityManager : IUnknown
1039 HRESULT SetSecuritySite(
1040 [in, unique] IInternetSecurityMgrSite *pSite);
1042 HRESULT GetSecuritySite(
1043 [out] IInternetSecurityMgrSite **ppSite);
1045 HRESULT MapUrlToZone(
1046 [in] LPCWSTR pwszUrl,
1047 [out] DWORD *pdwZone,
1048 [in] DWORD dwFlags);
1050 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1052 HRESULT GetSecurityId(
1053 [in] LPCWSTR pwszUrl,
1054 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1055 [in, out] DWORD *pcbSecurityId,
1056 [in] DWORD_PTR dwReserved);
1059 typedef enum {
1060 PUAF_DEFAULT = 0x00,
1061 PUAF_NOUI = 0x01,
1062 PUAF_ISFILE = 0x02,
1063 PUAF_WARN_IF_DENIED = 0x04,
1064 PUAF_FORCEUI_FOREGROUND = 0x08,
1065 PUAF_CHECK_TIPS = 0x10
1066 } PUAF;
1068 HRESULT ProcessUrlAction(
1069 [in] LPCWSTR pwszUrl,
1070 [in] DWORD dwAction,
1071 [out, size_is(cbPolicy)] BYTE *pPolicy,
1072 [in] DWORD cbPolicy,
1073 [in] BYTE *pContext,
1074 [in] DWORD cbContext,
1075 [in] DWORD dwFlags,
1076 [in] DWORD dwReserved);
1078 HRESULT QueryCustomPolicy(
1079 [in] LPCWSTR pwszUrl,
1080 [in] REFGUID guidKey,
1081 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1082 [out] DWORD *pcbPolicy,
1083 [in] BYTE *pContext,
1084 [in] DWORD cbContext,
1085 [in] DWORD dwReserved);
1087 typedef enum {
1088 SZM_CREATE = 0x0,
1089 SZM_DELETE = 0x1
1090 } SZM_FLAGS;
1092 HRESULT SetZoneMapping(
1093 [in] DWORD dwZone,
1094 [in] LPCWSTR lpszPattern,
1095 [in] DWORD dwFlags);
1097 HRESULT GetZoneMappings(
1098 [in] DWORD dwZone,
1099 [out] IEnumString **ppenumString,
1100 [in] DWORD dwFlags);
1103 /*****************************************************************************
1104 * IInternetSecurityManagerEx interface
1106 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1109 object,
1110 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1111 pointer_default(unique)
1113 interface IInternetSecurityManagerEx : IInternetSecurityManager
1115 HRESULT ProcessUrlActionEx(
1116 [in] LPCWSTR pwszUrl,
1117 [in] DWORD dwAction,
1118 [out] BYTE *pPolicy,
1119 [in] DWORD cbPolicy,
1120 [in] BYTE *pContext,
1121 [in] DWORD cbContext,
1122 [in] DWORD dwFlags,
1123 [in] DWORD dwReserved,
1124 [out] DWORD *pdwOutFlags);
1127 /*****************************************************************************
1128 * IInternetSecurityManagerEx2 interface
1130 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1133 object,
1134 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1135 pointer_default(unique)
1137 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1139 HRESULT MapUrlToZoneEx2(
1140 [in] IUri *pUri,
1141 [out] DWORD *pdwZone,
1142 [in] DWORD dwFlags,
1143 [out] LPWSTR *ppwszMappedUrl,
1144 [out] DWORD *pdwOutFlags);
1146 HRESULT ProcessUrlActionEx2(
1147 [in] IUri *pUri,
1148 [in] DWORD dwAction,
1149 [out] BYTE *pPolicy,
1150 [in] DWORD cbPolicy,
1151 [in] BYTE *pContext,
1152 [in] DWORD cbContext,
1153 [in] DWORD dwFlags,
1154 [in] DWORD_PTR dwReserved,
1155 [out] DWORD *pdwOutFlags);
1157 HRESULT GetSecurityIdEx2(
1158 [in] IUri *pUri,
1159 [out] BYTE *pbSecurityId,
1160 [in, out] DWORD *pcbSecurityId,
1161 [in] DWORD_PTR dwReserved);
1163 HRESULT QueryCustomPolicyEx2(
1164 [in] IUri *pUri,
1165 [in] REFGUID guidKey,
1166 [out] BYTE **ppPolicy,
1167 [out] DWORD *pcbPolicy,
1168 [in] BYTE *pContext,
1169 [in] DWORD cbContext,
1170 [in] DWORD_PTR dwReserved);
1173 /*****************************************************************************
1174 * IInternetHostSecurityManager interface
1176 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1179 local,
1180 object,
1181 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1182 pointer_default(unique)
1184 interface IInternetHostSecurityManager : IUnknown
1186 HRESULT GetSecurityId(
1187 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1188 [in, out] DWORD *pcbSecurityId,
1189 [in] DWORD_PTR dwReserved);
1191 HRESULT ProcessUrlAction(
1192 [in] DWORD dwAction,
1193 [out, size_is(cbPolicy)] BYTE *pPolicy,
1194 [in] DWORD cbPolicy,
1195 [in] BYTE *pContext,
1196 [in] DWORD cbContext,
1197 [in] DWORD dwFlags,
1198 [in] DWORD dwReserved);
1200 HRESULT QueryCustomPolicy(
1201 [in] REFGUID guidKey,
1202 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1203 [out] DWORD *pcbPolicy,
1204 [in] BYTE *pContext,
1205 [in] DWORD cbContext,
1206 [in] DWORD dwReserved);
1209 cpp_quote("#define URLACTION_MIN 0x00001000")
1210 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1211 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1212 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1213 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1214 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1216 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1217 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1218 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1219 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1220 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1221 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1222 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1223 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1224 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1225 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1226 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1228 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1229 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1230 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1231 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1232 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1233 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1234 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1235 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1237 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1238 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1239 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1240 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1241 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1242 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1243 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1244 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1245 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1246 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1247 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1249 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1250 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1251 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1252 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1253 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1254 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1255 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1256 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1258 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1259 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1260 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1261 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1262 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1263 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1264 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1265 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1266 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1267 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1268 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1270 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1271 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1272 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1273 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1274 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1275 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1276 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1277 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1278 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1280 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1281 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1282 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1283 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1284 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1285 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1286 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1287 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1288 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1289 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1291 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1292 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1293 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1294 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1295 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1296 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1298 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1299 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1300 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1302 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1303 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1304 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1305 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1306 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1307 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1308 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1310 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1311 cpp_quote("#define URLPOLICY_QUERY 0x01")
1312 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1314 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1315 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1317 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1318 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1320 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1322 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1323 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1324 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1325 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1327 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1328 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1329 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1331 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1332 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1333 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1335 /*****************************************************************************
1336 * IInternetZoneManager interface
1339 local,
1340 object,
1341 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1342 pointer_default(unique)
1344 interface IInternetZoneManager : IUnknown
1346 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1348 typedef enum tagURLZONE
1350 URLZONE_INVALID = -1,
1351 URLZONE_PREDEFINED_MIN = 0,
1352 URLZONE_LOCAL_MACHINE = 0,
1353 URLZONE_INTRANET = 1,
1354 URLZONE_TRUSTED = 2,
1355 URLZONE_INTERNET = 3,
1356 URLZONE_UNTRUSTED = 4,
1357 URLZONE_PREDEFINED_MAX = 999,
1358 URLZONE_USER_MIN = 1000,
1359 URLZONE_USER_MAX = 10000,
1360 } URLZONE;
1362 typedef enum tagURLTEMPLATE
1364 URLTEMPLATE_CUSTOM = 0x00000,
1365 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1366 URLTEMPLATE_LOW = 0x10000,
1367 URLTEMPLATE_MEDLOW = 0x10500,
1368 URLTEMPLATE_MEDIUM = 0x11000,
1369 URLTEMPLATE_MEDHIGH = 0x11500,
1370 URLTEMPLATE_HIGH = 0x12000,
1371 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1372 } URLTEMPLATE ;
1374 typedef enum {
1375 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1376 ZAFLAGS_ADD_SITES = 0x00000002,
1377 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1378 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1379 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1380 ZAFLAGS_NO_UI = 0x00000020,
1381 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1382 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1383 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1384 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1385 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1386 ZAFLAGS_NO_CACHE = 0x00040000,
1387 } ZAFLAGS ;
1389 enum {
1390 MAX_ZONE_PATH = 260,
1391 MAX_ZONE_DESCRIPTION = 200
1394 typedef struct _ZONEATTRIBUTES {
1395 ULONG cbSize;
1396 WCHAR szDisplayName[MAX_ZONE_PATH];
1397 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1398 WCHAR szIconPath[MAX_ZONE_PATH];
1399 DWORD dwTemplateMinLevel;
1400 DWORD dwTemplateRecommended;
1401 DWORD dwTemplateCurrentLevel;
1402 DWORD dwFlags;
1403 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1405 typedef enum _URLZONEREG {
1406 URLZONEREG_DEFAULT,
1407 URLZONEREG_HKLM,
1408 URLZONEREG_HKCU
1409 } URLZONEREG;
1411 HRESULT GetZoneAttributes(
1412 [in] DWORD dwZone,
1413 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1415 HRESULT SetZoneAttributes(
1416 [in] DWORD dwZone,
1417 [in] ZONEATTRIBUTES* pZoneAttributes);
1419 HRESULT GetZoneCustomPolicy(
1420 [in] DWORD dwZone,
1421 [in] REFGUID guidKey,
1422 [out] BYTE **ppPolicy,
1423 [out] DWORD* pcbPolicy,
1424 [in] URLZONEREG ulrZoneReg);
1426 HRESULT SetZoneCustomPolicy(
1427 [in] DWORD dwZone,
1428 [in] REFGUID guidKey,
1429 [in] BYTE *ppPolicy,
1430 [in] DWORD pcbPolicy,
1431 [in] URLZONEREG ulrZoneReg);
1433 HRESULT GetZoneActionPolicy(
1434 [in] DWORD dwZone,
1435 [in] DWORD dwAction,
1436 [out] BYTE* pPolicy,
1437 [in] DWORD cbPolicy,
1438 [in] URLZONEREG urlZoneReg);
1440 HRESULT SetZoneActionPolicy(
1441 [in] DWORD dwZone,
1442 [in] DWORD dwAction,
1443 [in] BYTE* pPolicy,
1444 [in] DWORD cbPolicy,
1445 [in] URLZONEREG urlZoneReg);
1447 HRESULT PromptAction(
1448 [in] DWORD dwAction,
1449 [in] HWND hwndParent,
1450 [in] LPCWSTR pwszUrl,
1451 [in] LPCWSTR pwszText,
1452 [in] DWORD dwPromptFlags );
1454 HRESULT LogAction(
1455 [in] DWORD dwAction,
1456 [in] LPCWSTR pwszUrl,
1457 [in] LPCWSTR pwszText,
1458 [in] DWORD dwLogFlags);
1460 HRESULT CreateZoneEnumerator(
1461 [out] DWORD* pdwEnum,
1462 [out] DWORD* pdwCount,
1463 [in] DWORD dwFlags);
1465 HRESULT GetZoneAt(
1466 [in] DWORD dwEnum,
1467 [in] DWORD dwIndex,
1468 [out] DWORD* pdwZone);
1470 HRESULT DestroyZoneEnumerator(
1471 [in] DWORD dwEnum);
1473 HRESULT CopyTemplatePoliciesToZone(
1474 [in] DWORD dwTemplate,
1475 [in] DWORD dwZone,
1476 [in] DWORD dwReserved);
1479 /*****************************************************************************
1480 * IInternetZoneManagerEx interface
1483 local,
1484 object,
1485 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1486 pointer_default(unique)
1488 interface IInternetZoneManagerEx : IInternetZoneManager
1490 HRESULT GetZoneActionPolicyEx(
1491 [in] DWORD dwZone,
1492 [in] DWORD dwAction,
1493 [out] BYTE* pPolicy,
1494 [in] DWORD cbPolicy,
1495 [in] URLZONEREG urlZoneReg,
1496 [in] DWORD dwFlags);
1498 HRESULT SetZoneActionPolicyEx(
1499 [in] DWORD dwZone,
1500 [in] DWORD dwAction,
1501 [in] BYTE* pPolicy,
1502 [in] DWORD cbPolicy,
1503 [in] URLZONEREG urlZoneReg,
1504 [in] DWORD dwFlags);
1508 /*****************************************************************************
1509 * IInternetZoneManagerEx2 interface
1512 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1513 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1516 local,
1517 object,
1518 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1519 pointer_default(unique)
1521 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1523 HRESULT GetZoneAttributesEx(
1524 [in] DWORD dwZone,
1525 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1526 [in] DWORD dwFlags);
1528 HRESULT GetZoneSecurityState(
1529 [in] DWORD dwZoneIndex,
1530 [in] BOOL fRespectPolicy,
1531 [in, out] LPDWORD pdwState,
1532 [in, out] BOOL *pfPolicyEncountered);
1534 HRESULT GetIESecurityState(
1535 [in] BOOL fRespectPolicy,
1536 [in, out] LPDWORD pdwState,
1537 [in, out] BOOL *pfPolicyEncountered,
1538 [in] BOOL fNoCache);
1540 HRESULT FixInsecureSettings(void);
1545 typedef struct _tagSOFTDISTINFO
1547 ULONG cbSize;
1548 DWORD dwFlags;
1549 DWORD dwAdState;
1550 LPWSTR szTitle;
1551 LPWSTR szAbstract;
1552 LPWSTR szHREF;
1553 DWORD dwInstalledVersionMS;
1554 DWORD dwInstalledVersionLS;
1555 DWORD dwUpdateVersionMS;
1556 DWORD dwUpdateVersionLS;
1557 DWORD dwAdvertisedVersionMS;
1558 DWORD dwAdvertisedVersionLS;
1559 DWORD dwReserved;
1560 } SOFTDISTINFO, *LPSOFTDISTINFO;
1562 typedef struct _tagCODEBASEHOLD
1564 DWORD cbSize;
1565 LPWSTR szDistUnit;
1566 LPWSTR szCodeBase;
1567 DWORD dwVersionMS;
1568 DWORD dwVersionLS;
1569 DWORD dwStyle;
1570 } CODEBASEHOLD, *LPCODEBASEHOLD;
1573 local,
1574 object,
1575 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1576 pointer_default(unique)
1578 interface ISoftDistExt : IUnknown
1580 HRESULT ProcessSoftDist(
1581 [in] LPCWSTR szCDFURL,
1582 [in] IXMLElement *pSoftDistElement,
1583 [in, out] LPSOFTDISTINFO lpsdi );
1585 HRESULT GetFirstCodeBase(
1586 [in] LPWSTR *szCodeBase,
1587 [in] LPDWORD dwMaxSize );
1589 HRESULT GetNextCodeBase(
1590 [in] LPWSTR *szCodeBase,
1591 [in] LPDWORD dwMaxSize );
1593 HRESULT AsyncInstallDistributionUnit(
1594 [in] IBindCtx *pbc,
1595 [in] LPVOID lpReserved,
1596 [in] DWORD flags,
1597 [in] LPCODEBASEHOLD lpcbh);
1600 typedef enum _tagINTERNETFEATURELIST
1602 FEATURE_OBJECT_CACHING,
1603 FEATURE_ZONE_ELEVATION,
1604 FEATURE_MIME_HANDLING,
1605 FEATURE_MIME_SNIFFING,
1606 FEATURE_WINDOW_RESTRICTIONS,
1607 FEATURE_WEBOC_POPUPMANAGEMENT,
1608 FEATURE_BEHAVIORS,
1609 FEATURE_DISABLE_MK_PROTOCOL,
1610 FEATURE_LOCALMACHINE_LOCKDOWN,
1611 FEATURE_SECURITYBAND,
1612 FEATURE_RESTRICT_ACTIVEXINSTALL,
1613 FEATURE_VALIDATE_NAVIGATE_URL,
1614 FEATURE_RESTRICT_FILEDOWNLOAD,
1615 FEATURE_ADDON_MANAGEMENT,
1616 FEATURE_PROTOCOL_LOCKDOWN,
1617 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1618 FEATURE_SAFE_BINDTOOBJECT,
1619 FEATURE_UNC_SAVEDFILECHECK,
1620 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1621 FEATURE_TABBED_BROWSING,
1622 FEATURE_SSLUX,
1623 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1624 FEATURE_DISABLE_LEGACY_COMPRESSION,
1625 FEATURE_FORCE_ADDR_AND_STATUS,
1626 FEATURE_XMLHTTP,
1627 FEATURE_DISABLE_TELNET_PROTOCOL,
1628 FEATURE_FEEDS,
1629 FEATURE_BLOCK_INPUT_PROMPTS,
1630 FEATURE_ENTRY_COUNT
1631 } INTERNETFEATURELIST;
1633 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1634 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1635 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1636 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1637 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1638 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1639 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1640 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1642 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1643 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1644 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1645 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1646 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1647 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1648 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1649 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1651 typedef struct _tagPROTOCOLFILTERDATA {
1652 DWORD cbSize;
1653 IInternetProtocolSink *pProtocolSink;
1654 IInternetProtocol *pProtocol;
1655 IUnknown *pUnk;
1656 DWORD dwFilterFlags;
1657 } PROTOCOLFILTERDATA;
1659 /*****************************************************************************
1660 * IUri interface
1663 object,
1664 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1665 pointer_default(unique)
1667 interface IUri : IUnknown
1669 typedef enum
1671 Uri_PROPERTY_ABSOLUTE_URI = 0,
1672 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1673 Uri_PROPERTY_AUTHORITY = 1,
1674 Uri_PROPERTY_DISPLAY_URI = 2,
1675 Uri_PROPERTY_DOMAIN = 3,
1676 Uri_PROPERTY_EXTENSION = 4,
1677 Uri_PROPERTY_FRAGMENT = 5,
1678 Uri_PROPERTY_HOST = 6,
1679 Uri_PROPERTY_PASSWORD = 7,
1680 Uri_PROPERTY_PATH = 8,
1681 Uri_PROPERTY_PATH_AND_QUERY = 9,
1682 Uri_PROPERTY_QUERY = 10,
1683 Uri_PROPERTY_RAW_URI = 11,
1684 Uri_PROPERTY_SCHEME_NAME = 12,
1685 Uri_PROPERTY_USER_INFO = 13,
1686 Uri_PROPERTY_USER_NAME = 14,
1687 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1688 Uri_PROPERTY_HOST_TYPE = 15,
1689 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1690 Uri_PROPERTY_PORT = 16,
1691 Uri_PROPERTY_SCHEME = 17,
1692 Uri_PROPERTY_ZONE = 18,
1693 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1694 } Uri_PROPERTY;
1696 typedef enum
1698 Uri_HOST_UNKNOWN = 0,
1699 Uri_HOST_DNS = 1,
1700 Uri_HOST_IPV4 = 2,
1701 Uri_HOST_IPV6 = 3,
1702 Uri_HOST_IDN = 4
1703 } Uri_HOST_TYPE;
1705 HRESULT GetPropertyBSTR(
1706 [in] Uri_PROPERTY uriProp,
1707 [out] BSTR *pbstrProperty,
1708 [in] DWORD dwFlags);
1710 HRESULT GetPropertyLength(
1711 [in] Uri_PROPERTY uriProp,
1712 [out] DWORD *pcchProperty,
1713 [in] DWORD dwFlags);
1715 HRESULT GetPropertyDWORD(
1716 [in] Uri_PROPERTY uriProp,
1717 [out] DWORD *pdwProperty,
1718 [in] DWORD dwFlags);
1720 HRESULT HasProperty(
1721 [in] Uri_PROPERTY uriProp,
1722 [out] BOOL *pfHasProperty);
1724 HRESULT GetAbsoluteUri(
1725 [out] BSTR *pbstrAbsoluteUri);
1727 HRESULT GetAuthority(
1728 [out] BSTR *pbstrAuthority);
1730 HRESULT GetDisplayUri(
1731 [out] BSTR *pbstrDisplayString);
1733 HRESULT GetDomain(
1734 [out] BSTR *pbstrDomain);
1736 HRESULT GetExtension(
1737 [out] BSTR *pbstrExtension);
1739 HRESULT GetFragment(
1740 [out] BSTR *pbstrFragment);
1742 HRESULT GetHost(
1743 [out] BSTR *pbstrHost);
1745 HRESULT GetPassword(
1746 [out] BSTR *pbstrPassword);
1748 HRESULT GetPath(
1749 [out] BSTR *pbstrPath);
1751 HRESULT GetPathAndQuery(
1752 [out] BSTR *pbstrPathAndQuery);
1754 HRESULT GetQuery(
1755 [out] BSTR *pbstrQuery);
1757 HRESULT GetRawUri(
1758 [out] BSTR *pbstrRawUri);
1760 HRESULT GetSchemeName(
1761 [out] BSTR *pbstrSchemeName);
1763 HRESULT GetUserInfo(
1764 [out] BSTR *pbstrUserInfo);
1766 HRESULT GetUserName(
1767 [out] BSTR *pbstrUserName);
1769 HRESULT GetHostType(
1770 [out] DWORD *pdwHostType);
1772 HRESULT GetPort(
1773 [out] DWORD *pdwPort);
1775 HRESULT GetScheme(
1776 [out] DWORD *pdwScheme);
1778 HRESULT GetZone(
1779 [out] DWORD *pdwZone);
1781 HRESULT GetProperties(
1782 [out] LPDWORD pdwFlags);
1784 HRESULT IsEqual(
1785 [in] IUri *pUri,
1786 [out] BOOL *pfEqual);
1789 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1790 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1791 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1793 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1794 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1795 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1796 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1797 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1798 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1799 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1800 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1801 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1802 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1803 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1804 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1805 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1806 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1807 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1808 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1809 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1810 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1811 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1813 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1814 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1815 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1816 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1817 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1818 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1819 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1820 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1821 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1822 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1823 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1824 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1825 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1826 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1827 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1828 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1830 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1831 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1832 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1834 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1835 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1836 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1837 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1838 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1839 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1840 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1841 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)")
1843 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1845 /*****************************************************************************
1846 * IUriContainer interface
1849 local,
1850 object,
1851 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1852 pointer_default(unique)
1854 interface IUriContainer : IUnknown
1856 HRESULT GetIUri([out] IUri **ppIUri);
1859 /*****************************************************************************
1860 * IUriBuilder interface
1863 local,
1864 object,
1865 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1866 pointer_default(unique)
1868 interface IUriBuilder: IUnknown
1870 HRESULT CreateUriSimple(
1871 [in] DWORD dwAllowEncodingPropertyMask,
1872 [in] DWORD_PTR dwReserved,
1873 [out] IUri **ppIUri);
1875 HRESULT CreateUri(
1876 [in] DWORD dwCreateFlags,
1877 [in] DWORD dwAllowEncodingPropertyMask,
1878 [in] DWORD_PTR dwReserved,
1879 [out] IUri **ppIUri);
1881 HRESULT CreateUriWithFlags(
1882 [in] DWORD dwCreateFlags,
1883 [in] DWORD dwUriBuilderFlags,
1884 [in] DWORD dwAllowEncodingPropertyMask,
1885 [in] DWORD_PTR dwReserved,
1886 [out] IUri **ppIUri);
1888 HRESULT GetIUri(
1889 [out] IUri **ppIUri);
1891 HRESULT SetIUri(
1892 [in, unique] IUri *pIUri);
1894 HRESULT GetFragment(
1895 [out] DWORD *pcchFragment,
1896 [out] LPCWSTR *ppwzFragment);
1898 HRESULT GetHost(
1899 [out] DWORD *pcchHost,
1900 [out] LPCWSTR *ppwzHost);
1902 HRESULT GetPassword(
1903 [out] DWORD *pcchPassword,
1904 [out] LPCWSTR *ppwzPassword);
1906 HRESULT GetPath(
1907 [out] DWORD *pcchPath,
1908 [out] LPCWSTR *ppwzPath);
1910 HRESULT GetPort(
1911 [out] BOOL *pfHasPort,
1912 [out] DWORD *pdwPort);
1914 HRESULT GetQuery(
1915 [out] DWORD *pcchQuery,
1916 [out] LPCWSTR *ppwzQuery);
1918 HRESULT GetSchemeName(
1919 [out] DWORD *pcchSchemeName,
1920 [out] LPCWSTR *ppwzSchemeName);
1922 HRESULT GetUserName(
1923 [out] DWORD *pcchUserName,
1924 [out] LPCWSTR *ppwzUserName);
1926 HRESULT SetFragment(
1927 [in] LPCWSTR pwzNewValue);
1929 HRESULT SetHost(
1930 [in] LPCWSTR pwzNewValue);
1932 HRESULT SetPassword(
1933 [in] LPCWSTR pwzNewValue);
1935 HRESULT SetPath(
1936 [in] LPCWSTR pwzNewValue);
1938 HRESULT SetPort(
1939 [in] BOOL fHasPort,
1940 [in] DWORD dwNewValue);
1942 HRESULT SetQuery(
1943 [in] LPCWSTR pwzNewValue);
1945 HRESULT SetSchemeName(
1946 [in] LPCWSTR pwzNewValue);
1948 HRESULT SetUserName(
1949 [in] LPCWSTR pwzNewValue);
1951 HRESULT RemoveProperties(
1952 [in] DWORD dwPropertyMask);
1954 HRESULT HasBeenModified(
1955 [out] BOOL *pfModified);
1958 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
1960 /*****************************************************************************
1961 * IUriBuilderFactory interface
1964 local,
1965 object,
1966 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
1967 pointer_default(unique)
1969 interface IUriBuilderFactory : IUnknown
1971 HRESULT CreateIUriBuilder(
1972 [in] DWORD dwFlags,
1973 [in] DWORD_PTR dwReserved,
1974 [out] IUriBuilder **ppIUriBuilder);
1976 HRESULT CreateInitializedIUriBuilder(
1977 [in] DWORD dwFlags,
1978 [in] DWORD_PTR dwReserved,
1979 [out] IUriBuilder **ppIUriBuilder);
1982 /*****************************************************************************
1983 * IInternetProtocolEx interface
1986 local,
1987 object,
1988 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
1989 pointer_default(unique)
1991 interface IInternetProtocolEx : IInternetProtocol
1993 HRESULT StartEx(
1994 [in] IUri *pUri,
1995 [in] IInternetProtocolSink *pOIProtSink,
1996 [in] IInternetBindInfo *pOIBindInfo,
1997 [in] DWORD grfPI,
1998 [in] HANDLE *dwReserved);
2001 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2003 struct CONFIRMSAFETY
2005 CLSID clsid;
2006 IUnknown *pUnk;
2007 DWORD dwFlags;
2010 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2012 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2013 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2014 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2015 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2016 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2017 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2019 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2020 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2021 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2022 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2023 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2024 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2025 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2027 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2028 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2029 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2031 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2032 cpp_quote("#ifndef S_ASYNCHRONOUS")
2033 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2034 cpp_quote("#endif")
2036 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2037 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2038 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2039 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2040 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2041 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2042 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2043 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2044 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2045 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2046 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2047 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2048 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2049 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2050 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2051 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2052 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2053 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2054 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2055 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2056 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2057 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2058 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2059 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2060 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2061 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2062 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2063 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2064 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2065 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2066 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2067 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2068 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2070 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2071 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2072 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2073 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2074 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2075 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2076 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2077 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2078 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2079 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2080 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2081 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2082 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2083 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2084 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2085 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2086 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2087 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2088 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2089 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2090 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2091 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2092 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2093 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2094 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2095 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2096 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2097 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2098 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2099 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2100 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2101 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2102 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2103 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2104 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2105 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2106 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2107 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2108 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2109 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2110 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2111 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2112 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2113 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2114 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2115 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2116 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2117 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2118 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2119 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2120 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2121 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2122 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2123 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2124 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2125 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2126 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2128 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2129 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2130 cpp_quote("#define OInetGetSession CoInternetGetSession")
2132 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2133 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2134 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2136 cpp_quote("#define MKSYS_URLMONIKER 6")
2137 cpp_quote("#define URL_MK_LEGACY 0")
2138 cpp_quote("#define URL_MK_UNIFORM 1")
2139 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")