wineboot: Ignore 0 result from WM_QUERYENDSESSION if target window was destroyed.
[wine/multimedia.git] / include / urlmon.idl
blob94d444a9fb0ba7157a7eb2fddddc6d26ef7ac3e5
1 /*
2 * Copyright (C) 2000 Ulrich Czekalla
3 * Copyright (C) 2003 Alexandre Julliard
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 import "objidl.idl";
21 import "oleidl.idl";
22 import "servprov.idl";
23 import "msxml.idl";
25 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
26 cpp_quote("#undef GetUserName")
27 cpp_quote("#undef SetPort")
28 cpp_quote("#endif")
30 interface IInternetProtocolSink;
31 interface IUri;
33 /*****************************************************************************
34 * IInternet interface
37 object,
38 uuid(79eac9e0-baf9-11ce-8c82-00aa004ba90b),
39 pointer_default(unique),
40 local
42 interface IInternet : IUnknown
44 typedef [unique] IInternet *LPIINTERNET;
47 /*****************************************************************************
48 * IBinding interface
51 object,
52 uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b),
53 pointer_default(unique)
55 interface IBinding : IUnknown
57 typedef [unique] IBinding *LPBINDING;
59 HRESULT Abort();
60 HRESULT Suspend();
61 HRESULT Resume();
63 HRESULT SetPriority(
64 [in] LONG nPriority);
66 HRESULT GetPriority(
67 [out] LONG * pnPriority);
69 [local]
70 HRESULT GetBindResult(
71 [out] CLSID *pclsidProtocol,
72 [out] DWORD *pdwResult,
73 [out] LPOLESTR *pszResult,
74 [in, out] DWORD *pdwReserved);
76 [call_as(GetBindResult)]
77 HRESULT RemoteGetBindResult(
78 [out] CLSID *pclsidProtocol,
79 [out] DWORD *pdwResult,
80 [out] LPOLESTR *pszResult,
81 [in] DWORD dwReserved);
85 /*****************************************************************************
86 * IBindStatusCallback interface
89 object,
90 uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b),
91 pointer_default(unique)
93 interface IBindStatusCallback : IUnknown
95 typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
97 typedef enum
99 BINDVERB_GET = 0x00000000,
100 BINDVERB_POST = 0x00000001,
101 BINDVERB_PUT = 0x00000002,
102 BINDVERB_CUSTOM = 0x00000003
103 } BINDVERB;
105 typedef enum
107 BINDINFOF_URLENCODESTGMEDDATA = 0x00000001,
108 BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002
109 } BINDINFOF;
111 typedef enum
113 BINDF_ASYNCHRONOUS = 0x00000001,
114 BINDF_ASYNCSTORAGE = 0x00000002,
115 BINDF_NOPROGRESSIVERENDERING = 0x00000004,
116 BINDF_OFFLINEOPERATION = 0x00000008,
117 BINDF_GETNEWESTVERSION = 0x00000010,
118 BINDF_NOWRITECACHE = 0x00000020,
119 BINDF_NEEDFILE = 0x00000040,
120 BINDF_PULLDATA = 0x00000080,
121 BINDF_IGNORESECURITYPROBLEM = 0x00000100,
122 BINDF_RESYNCHRONIZE = 0x00000200,
123 BINDF_HYPERLINK = 0x00000400,
124 BINDF_NO_UI = 0x00000800,
125 BINDF_SILENTOPERATION = 0x00001000,
126 BINDF_PRAGMA_NO_CACHE = 0x00002000,
127 BINDF_GETCLASSOBJECT = 0x00004000,
128 BINDF_RESERVED_1 = 0x00008000,
129 BINDF_FREE_THREADED = 0x00010000,
130 BINDF_DIRECT_READ = 0x00020000,
131 BINDF_FORMS_SUBMIT = 0x00040000,
132 BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
133 BINDF_FROMURLMON = 0x00100000,
134 BINDF_FWD_BACK = 0x00200000,
135 BINDF_PREFERDEFAULTHANDLER = 0x00400000,
136 BINDF_ENFORCERESTRICTED = 0x00800000
137 } BINDF;
139 typedef enum
141 URL_ENCODING_NONE = 0x00000000,
142 URL_ENCODING_ENABLE_UTF8 = 0x10000000,
143 URL_ENCODING_DISABLE_UTF8 = 0x20000000
144 } URL_ENCODING;
146 typedef struct _tagBINDINFO
148 ULONG cbSize;
149 LPWSTR szExtraInfo;
150 STGMEDIUM stgmedData;
151 DWORD grfBindInfoF;
152 DWORD dwBindVerb;
153 LPWSTR szCustomVerb;
154 DWORD cbstgmedData;
155 DWORD dwOptions;
156 DWORD dwOptionsFlags;
157 DWORD dwCodePage;
158 SECURITY_ATTRIBUTES securityAttributes;
159 IID iid;
160 IUnknown *pUnk;
161 DWORD dwReserved;
162 } BINDINFO;
164 typedef struct _REMSECURITY_ATTRIBUTES
166 DWORD nLength;
167 DWORD lpSecurityDescriptor;
168 BOOL bInheritHandle;
169 } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
171 typedef struct _tagRemBINDINFO
173 ULONG cbSize;
174 LPWSTR szExtraInfo;
175 DWORD grfBindInfoF;
176 DWORD dwBindVerb;
177 LPWSTR szCustomVerb;
178 DWORD cbstgmedData;
179 DWORD dwOptions;
180 DWORD dwOptionsFlags;
181 DWORD dwCodePage;
182 REMSECURITY_ATTRIBUTES securityAttributes;
183 IID iid;
184 IUnknown *pUnk;
185 DWORD dwReserved;
186 } RemBINDINFO;
188 typedef struct tagRemFORMATETC
190 DWORD cfFormat;
191 DWORD ptd;
192 DWORD dwAspect;
193 LONG lindex;
194 DWORD tymed;
195 } RemFORMATETC, *LPREMFORMATETC;
197 typedef enum
199 BSCF_FIRSTDATANOTIFICATION = 0x01,
200 BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
201 BSCF_LASTDATANOTIFICATION = 0x04,
202 BSCF_DATAFULLYAVAILABLE = 0x08,
203 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
204 BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
205 BSCF_64BITLENGTHDOWNLOAD = 0x40
206 } BSCF;
208 typedef enum BINDSTATUS
210 BINDSTATUS_FINDINGRESOURCE = 1,
211 BINDSTATUS_CONNECTING,
212 BINDSTATUS_REDIRECTING,
213 BINDSTATUS_BEGINDOWNLOADDATA,
214 BINDSTATUS_DOWNLOADINGDATA,
215 BINDSTATUS_ENDDOWNLOADDATA,
216 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
217 BINDSTATUS_INSTALLINGCOMPONENTS,
218 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
219 BINDSTATUS_USINGCACHEDCOPY,
220 BINDSTATUS_SENDINGREQUEST,
221 BINDSTATUS_CLASSIDAVAILABLE,
222 BINDSTATUS_MIMETYPEAVAILABLE,
223 BINDSTATUS_CACHEFILENAMEAVAILABLE,
224 BINDSTATUS_BEGINSYNCOPERATION,
225 BINDSTATUS_ENDSYNCOPERATION,
226 BINDSTATUS_BEGINUPLOADDATA,
227 BINDSTATUS_UPLOADINGDATA,
228 BINDSTATUS_ENDUPLOADINGDATA,
229 BINDSTATUS_PROTOCOLCLASSID,
230 BINDSTATUS_ENCODING,
231 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
232 BINDSTATUS_CLASSINSTALLLOCATION,
233 BINDSTATUS_DECODING,
234 BINDSTATUS_LOADINGMIMEHANDLER,
235 BINDSTATUS_CONTENTDISPOSITIONATTACH,
236 BINDSTATUS_FILTERREPORTMIMETYPE,
237 BINDSTATUS_CLSIDCANINSTANTIATE,
238 BINDSTATUS_IUNKNOWNAVAILABLE,
239 BINDSTATUS_DIRECTBIND,
240 BINDSTATUS_RAWMIMETYPE,
241 BINDSTATUS_PROXYDETECTING,
242 BINDSTATUS_ACCEPTRANGES,
243 BINDSTATUS_COOKIE_SENT,
244 BINDSTATUS_COMPACT_POLICY_RECEIVED,
245 BINDSTATUS_COOKIE_SUPPRESSED,
246 BINDSTATUS_COOKIE_STATE_UNKNOWN,
247 BINDSTATUS_COOKIE_STATE_ACCEPT,
248 BINDSTATUS_COOKIE_STATE_REJECT,
249 BINDSTATUS_COOKIE_STATE_PROMPT,
250 BINDSTATUS_COOKIE_STATE_LEASH,
251 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
252 BINDSTATUS_POLICY_HREF,
253 BINDSTATUS_P3P_HEADER,
254 BINDSTATUS_SESSION_COOKIE_RECEIVED,
255 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
256 BINDSTATUS_SESSION_COOKIES_ALLOWED,
257 BINDSTATUS_CACHECONTROL,
258 BINDSTATUS_CONTENTDISPOSITIONFILENAME,
259 BINDSTATUS_MIMETEXTPLAINMISMATCH,
260 BINDSTATUS_PUBLISHERAVAILABLE,
261 BINDSTATUS_DISPLAYNAMEAVAILABLE,
262 BINDSTATUS_SSLUX_NAVBLOCKED,
263 BINDSTATUS_SERVER_MIMETYPEAVAILABLE,
264 BINDSTATUS_SNIFFED_CLASSIDAVAILABLE,
265 BINDSTATUS_64BIT_PROGRESS,
266 BINDSTATUS_LAST = BINDSTATUS_64BIT_PROGRESS,
267 BINDSTATUS_RESERVED_0 = (BINDSTATUS_LAST+1),
268 BINDSTATUS_RESERVED_1 = (BINDSTATUS_RESERVED_0+1),
269 BINDSTATUS_RESERVED_2 = (BINDSTATUS_RESERVED_1+1),
270 BINDSTATUS_RESERVED_3 = (BINDSTATUS_RESERVED_2+1),
271 BINDSTATUS_RESERVED_4 = (BINDSTATUS_RESERVED_3+1),
272 BINDSTATUS_RESERVED_5 = (BINDSTATUS_RESERVED_4+1),
273 BINDSTATUS_RESERVED_6 = (BINDSTATUS_RESERVED_5+1),
274 BINDSTATUS_RESERVED_7 = (BINDSTATUS_RESERVED_6+1),
275 BINDSTATUS_RESERVED_8 = (BINDSTATUS_RESERVED_7+1),
276 BINDSTATUS_RESERVED_9 = (BINDSTATUS_RESERVED_8+1),
277 BINDSTATUS_LAST_PRIVATE = BINDSTATUS_RESERVED_9
278 } BINDSTATUS;
281 HRESULT OnStartBinding(
282 [in] DWORD dwReserved,
283 [in] IBinding * pib);
285 HRESULT GetPriority(
286 [out] LONG * pnPriority);
288 HRESULT OnLowResource(
289 [in] DWORD reserved);
291 HRESULT OnProgress(
292 [in] ULONG ulProgress,
293 [in] ULONG ulProgressMax,
294 [in] ULONG ulStatusCode,
295 [in] LPCWSTR szStatusText);
297 HRESULT OnStopBinding(
298 [in] HRESULT hresult,
299 [in, unique] LPCWSTR szError);
301 [local]
302 HRESULT GetBindInfo(
303 [out] DWORD *grfBINDF,
304 [in, out, unique] BINDINFO * pbindinfo);
306 [call_as(GetBindInfo)]
307 HRESULT RemoteGetBindInfo(
308 [out] DWORD *grfBINDF,
309 [in, out, unique] RemBINDINFO * pbindinfo,
310 [in, out, unique] RemSTGMEDIUM* pstgmed);
312 [local]
313 HRESULT OnDataAvailable(
314 [in] DWORD grfBSCF,
315 [in] DWORD dwSize,
316 [in] FORMATETC* pformatetc,
317 [in] STGMEDIUM* pstgmed);
319 [call_as(OnDataAvailable)]
320 HRESULT RemoteOnDataAvailable(
321 [in] DWORD grfBSCF,
322 [in] DWORD dwSize,
323 [in] RemFORMATETC *pformatetc,
324 [in] RemSTGMEDIUM* pstgmed);
326 HRESULT OnObjectAvailable(
327 [in] REFIID riid,
328 [in, iid_is(riid)] IUnknown* punk);
331 /*****************************************************************************
332 * IBindStatusCallbackEx interface
335 object,
336 uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc),
337 pointer_default(unique)
339 interface IBindStatusCallbackEx : IBindStatusCallback
341 typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
343 typedef enum {
344 BINDF2_DISABLEBASICOVERHTTP = 0x00000001,
345 BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002,
346 BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004,
347 BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008,
348 BINDF2_RESERVED_3 = 0x20000000,
349 BINDF2_RESERVED_2 = 0x40000000,
350 BINDF2_RESERVED_1 = 0x80000000,
351 } BINDF2;
353 [local]
354 HRESULT GetBindInfoEx(
355 [out] DWORD *grfBINDF,
356 [in, out, unique] BINDINFO *pbindinfo,
357 [out] DWORD *grfBINDF2,
358 [out] DWORD *pdwReserved);
360 [call_as(GetBindInfoEx)]
361 HRESULT RemoteGetBindInfoEx(
362 [out] DWORD *grfBINDF,
363 [in, out, unique] RemBINDINFO *pbindinfo,
364 [in, out, unique] RemSTGMEDIUM *pstgmed,
365 [out] DWORD *grfBINDF2,
366 [out] DWORD *pdwReserved);
370 /*****************************************************************************
371 * IAuthenticate interface
374 object,
375 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
376 pointer_default(unique)
378 interface IAuthenticate : IUnknown
380 typedef [unique] IAuthenticate *LPAUTHENTICATION;
382 HRESULT Authenticate(
383 [out] HWND* phwnd,
384 [out] LPWSTR *pszUsername,
385 [out] LPWSTR *pszPassword);
388 /*****************************************************************************
389 * IHttpNegotiate interface
392 object,
393 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
394 pointer_default(unique)
396 interface IHttpNegotiate : IUnknown
398 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
400 HRESULT BeginningTransaction(
401 [in] LPCWSTR szURL,
402 [in, unique] LPCWSTR szHeaders,
403 [in] DWORD dwReserved,
404 [out] LPWSTR *pszAdditionalHeaders);
406 HRESULT OnResponse(
407 [in] DWORD dwResponseCode,
408 [in, unique] LPCWSTR szResponseHeaders,
409 [in, unique] LPCWSTR szRequestHeaders,
410 [out] LPWSTR *pszAdditionalRequestHeaders);
413 /*****************************************************************************
414 * IHttpNegotiate2 interface
417 object,
418 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
419 pointer_default(unique)
421 interface IHttpNegotiate2 : IHttpNegotiate
423 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
425 HRESULT GetRootSecurityId(
426 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
427 [in, out] DWORD *pcbSecurityId,
428 [in] DWORD_PTR dwReserved);
431 /*****************************************************************************
432 * IBindHost interface
434 cpp_quote("#define SID_IBindHost IID_IBindHost")
435 cpp_quote("#define SID_SBindHost IID_IBindHost")
437 object,
438 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
439 pointer_default(unique)
441 interface IBindHost : IUnknown
443 typedef [unique] IBindHost *LPBINDHOST;
445 HRESULT CreateMoniker(
446 [in] LPOLESTR szName,
447 [in] IBindCtx *pBC,
448 [out] IMoniker** ppmk,
449 [in] DWORD dwReserved);
451 [local]
452 HRESULT MonikerBindToStorage(
453 [in] IMoniker *pMk,
454 [in] IBindCtx *pBC,
455 [in] IBindStatusCallback *pBSC,
456 [in] REFIID riid,
457 [out] void **ppvObj);
459 [call_as(MonikerBindToStorage)]
460 HRESULT RemoteMonikerBindToStorage(
461 [in, unique] IMoniker *pMk,
462 [in, unique] IBindCtx *pBC,
463 [in, unique] IBindStatusCallback *pBSC,
464 [in] REFIID riid,
465 [out, iid_is(riid)] IUnknown **ppvObj);
467 [local]
468 HRESULT MonikerBindToObject(
469 [in] IMoniker *pMk,
470 [in] IBindCtx *pBC,
471 [in] IBindStatusCallback *pBSC,
472 [in] REFIID riid,
473 [out] void **ppvObj);
475 [call_as(MonikerBindToObject)]
476 HRESULT RemoteMonikerBindToObject(
477 [in, unique] IMoniker *pMk,
478 [in, unique] IBindCtx *pBC,
479 [in, unique] IBindStatusCallback *pBSC,
480 [in] REFIID riid,
481 [out, iid_is(riid)] IUnknown **ppvObj);
485 /*****************************************************************************
486 * IWinInetInfo interface
489 object,
490 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
491 pointer_default(unique)
493 interface IWinInetInfo : IUnknown
495 typedef [unique] IWinInetInfo *LPWININETINFO;
497 [local]
498 HRESULT QueryOption(
499 [in] DWORD dwOption,
500 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
501 [in, out] DWORD *pcbBuf);
503 [call_as(QueryOption)]
504 HRESULT RemoteQueryOption(
505 [in] DWORD dwOption,
506 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
507 [in, out] DWORD *pcbBuf);
512 /*****************************************************************************
513 * IWinInetHttpInfo interface
516 object,
517 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
518 pointer_default(unique)
520 interface IWinInetHttpInfo : IWinInetInfo
522 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
524 [local]
525 HRESULT QueryInfo(
526 [in] DWORD dwOption,
527 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
528 [in, out] DWORD *pcbBuf,
529 [in, out] DWORD *pdwFlags,
530 [in, out] DWORD *pdwReserved);
532 [call_as(QueryInfo)]
533 HRESULT RemoteQueryInfo(
534 [in] DWORD dwOption,
535 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
536 [in, out] DWORD *pcbBuf,
537 [in, out] DWORD *pdwFlags,
538 [in, out] DWORD *pdwReserved);
541 /*****************************************************************************
542 * IWindowForBindingUI interface
545 local,
546 object,
547 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
548 pointer_default(unique)
550 interface IWindowForBindingUI : IUnknown
552 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
554 HRESULT GetWindow(
555 [in] REFGUID rguidReason,
556 [out] HWND *phwnd);
559 /*****************************************************************************
560 * ICodeInstall interface
563 local,
564 object,
565 uuid(79eac9d1-baf9-11ce-8c82-00aa004ba90b),
566 pointer_default(unique)
568 interface ICodeInstall : IWindowForBindingUI
570 typedef [unique] ICodeInstall *LPCODEINSTALL;
572 typedef enum {
573 CIP_DISK_FULL,
574 CIP_ACCESS_DENIED,
575 CIP_NEWER_VERSION_EXISTS,
576 CIP_OLDER_VERSION_EXISTS,
577 CIP_NAME_CONFLICT,
578 CIP_TRUST_VERIFICATION_COMPONENT_MISSING,
579 CIP_EXE_SELF_REGISTERATION_TIMEOUT,
580 CIP_UNSAFE_TO_ABORT,
581 CIP_NEED_REBOOT,
582 CIP_NEED_REBOOT_UI_PERMISSION
583 } CIP_STATUS;
585 HRESULT OnCodeInstallProblem(
586 [in] ULONG ulStatusCode,
587 [in, unique] LPCWSTR szDestination,
588 [in, unique] LPCWSTR szSource,
589 [in] DWORD dwReserved);
592 /*****************************************************************************
593 * IHttpSecurity interface
596 object,
597 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
598 pointer_default(unique)
600 interface IHttpSecurity : IWindowForBindingUI
602 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
604 HRESULT OnSecurityProblem(
605 [in] DWORD dwProblem);
609 /*****************************************************************************
610 * IPersistMoniker interface
613 object,
614 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
615 pointer_default(unique)
617 interface IPersistMoniker : IUnknown
619 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
621 HRESULT GetClassID(
622 [out] CLSID *pClassID);
624 HRESULT IsDirty();
626 HRESULT Load(
627 [in] BOOL fFullyAvailable,
628 [in] IMoniker *pimkName,
629 [in] LPBC pibc,
630 [in] DWORD grfMode);
632 HRESULT Save(
633 [in] IMoniker *pimkName,
634 [in] LPBC pbc,
635 [in] BOOL fRemember);
637 HRESULT SaveCompleted(
638 [in] IMoniker *pimkName,
639 [in] LPBC pibc);
641 HRESULT GetCurMoniker(
642 [out] IMoniker **ppimkName);
645 /*****************************************************************************
646 * IMonikerProp interface
649 object,
650 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
651 pointer_default(unique)
653 interface IMonikerProp : IUnknown
655 typedef [unique] IMonikerProp *LPMONIKERPROP;
657 typedef enum {
658 MIMETYPEPROP = 0,
659 USE_SRC_URL = 1,
660 CLASSIDPROP = 2,
661 TRUSTEDDOWNLOADPROP = 3,
662 POPUPLEVELPROP = 4
663 } MONIKERPROPERTY;
665 HRESULT PutProperty(
666 [in] MONIKERPROPERTY mkp,
667 [in] LPCWSTR val);
670 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
671 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
673 /*****************************************************************************
674 * IBindProtocol interface
677 local,
678 object,
679 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
680 pointer_default(unique)
682 interface IBindProtocol : IUnknown
684 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
686 HRESULT CreateBinding(
687 [in] LPCWSTR szUrl,
688 [in] IBindCtx *pbc,
689 [out] IBinding **ppb);
692 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
694 /*****************************************************************************
695 * IInternetBindInfo interface
698 local,
699 object,
700 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
701 pointer_default(unique)
703 interface IInternetBindInfo : IUnknown
705 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
707 typedef enum tagBINDSTRING
709 BINDSTRING_HEADERS = 1,
710 BINDSTRING_ACCEPT_MIMES,
711 BINDSTRING_EXTRA_URL,
712 BINDSTRING_LANGUAGE,
713 BINDSTRING_USERNAME,
714 BINDSTRING_PASSWORD,
715 BINDSTRING_UA_PIXELS,
716 BINDSTRING_UA_COLOR,
717 BINDSTRING_OS,
718 BINDSTRING_USER_AGENT,
719 BINDSTRING_ACCEPT_ENCODINGS,
720 BINDSTRING_POST_COOKIE,
721 BINDSTRING_POST_DATA_MIME,
722 BINDSTRING_URL,
723 BINDSTRING_IID,
724 BINDSTRING_FLAG_BIND_TO_OBJECT,
725 BINDSTRING_PTR_BIND_CONTEXT
726 } BINDSTRING;
728 HRESULT GetBindInfo(
729 [out] DWORD *grfBINDF,
730 [in, out, unique] BINDINFO *pbindinfo);
732 HRESULT GetBindString(
733 [in] ULONG ulStringType,
734 [in, out] LPOLESTR *ppwzStr,
735 [in] ULONG cEl,
736 [in, out] ULONG *pcElFetched);
739 /*****************************************************************************
740 * IInternetPriority interface
743 local,
744 object,
745 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
746 pointer_default(unique)
748 interface IInternetPriority : IUnknown
750 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
752 HRESULT SetPriority([in] LONG nPriority);
753 HRESULT GetPriority([out] LONG *pnPriority);
756 /*****************************************************************************
757 * IInternetProtocolRoot interface
760 local,
761 object,
762 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
763 pointer_default(unique)
765 interface IInternetProtocolRoot : IUnknown
767 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
769 typedef enum _tagPI_FLAGS
771 PI_PARSE_URL = 0x00000001,
772 PI_FILTER_MODE = 0x00000002,
773 PI_FORCE_ASYNC = 0x00000004,
774 PI_USE_WORKERTHREAD = 0x00000008,
775 PI_MIMEVERIFICATION = 0x00000010,
776 PI_CLSIDLOOKUP = 0x00000020,
777 PI_DATAPROGRESS = 0x00000040,
778 PI_SYNCHRONOUS = 0x00000080,
779 PI_APARTMENTTHREADED = 0x00000100,
780 PI_CLASSINSTALL = 0x00000200,
781 PD_FORCE_SWITCH = 0x00010000
782 } PI_FLAGS;
784 typedef struct _tagPROTOCOLDATA
786 DWORD grfFlags;
787 DWORD dwState;
788 LPVOID pData;
789 ULONG cbData;
790 } PROTOCOLDATA;
792 HRESULT Start(
793 [in] LPCWSTR szUrl,
794 [in] IInternetProtocolSink *pOIProtSink,
795 [in] IInternetBindInfo *pOIBindInfo,
796 [in] DWORD grfPI,
797 [in] HANDLE_PTR dwReserved);
799 HRESULT Continue(
800 [in] PROTOCOLDATA *pProtocolData);
802 HRESULT Abort(
803 [in] HRESULT hrReason,
804 [in] DWORD dwOptions);
806 HRESULT Terminate(
807 [in] DWORD dwOptions);
809 HRESULT Suspend();
811 HRESULT Resume();
814 /*****************************************************************************
815 * IInternetProtocolSink interface
818 local,
819 object,
820 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
821 pointer_default(unique)
823 interface IInternetProtocolSink : IUnknown
825 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
827 HRESULT Switch(
828 [in] PROTOCOLDATA *pProtocolData);
830 HRESULT ReportProgress(
831 [in] ULONG ulStatusCode,
832 [in] LPCWSTR szStatusText);
834 HRESULT ReportData(
835 [in] DWORD grfBSCF,
836 [in] ULONG ulProgress,
837 [in] ULONG ulProgressMax);
839 HRESULT ReportResult(
840 [in] HRESULT hrResult,
841 [in] DWORD dwError,
842 [in] LPCWSTR szResult);
845 /*****************************************************************************
846 * IInternetProtocol interface
849 local,
850 object,
851 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
852 pointer_default(unique)
854 interface IInternetProtocol : IInternetProtocolRoot
856 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
858 HRESULT Read(
859 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
860 [in] ULONG cb,
861 [out] ULONG *pcbRead);
863 HRESULT Seek(
864 [in] LARGE_INTEGER dlibMove,
865 [in] DWORD dwOrigin,
866 [out] ULARGE_INTEGER *plibNewPosition);
868 HRESULT LockRequest(
869 [in] DWORD dwOptions);
871 HRESULT UnlockRequest();
874 /*****************************************************************************
875 * IInternetProtocolInfo interface
878 local,
879 object,
880 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
881 pointer_default(unique)
883 interface IInternetProtocolInfo : IUnknown
885 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
887 typedef enum _tagPARSEACTION
889 PARSE_CANONICALIZE = 1,
890 PARSE_FRIENDLY,
891 PARSE_SECURITY_URL,
892 PARSE_ROOTDOCUMENT,
893 PARSE_DOCUMENT,
894 PARSE_ANCHOR,
895 PARSE_ENCODE,
896 PARSE_DECODE,
897 PARSE_PATH_FROM_URL,
898 PARSE_URL_FROM_PATH,
899 PARSE_MIME,
900 PARSE_SERVER,
901 PARSE_SCHEMA,
902 PARSE_SITE,
903 PARSE_DOMAIN,
904 PARSE_LOCATION,
905 PARSE_SECURITY_DOMAIN,
906 PARSE_ESCAPE,
907 PARSE_UNESCAPE
908 } PARSEACTION;
910 typedef enum _tagPSUACTION
912 PSU_DEFAULT = 1,
913 PSU_SECURITY_URL_ONLY
914 } PSUACTION;
916 typedef enum _tagQUERYOPTION
918 QUERY_EXPIRATION_DATE = 1,
919 QUERY_TIME_OF_LAST_CHANGE,
920 QUERY_CONTENT_ENCODING,
921 QUERY_CONTENT_TYPE,
922 QUERY_REFRESH,
923 QUERY_RECOMBINE,
924 QUERY_CAN_NAVIGATE,
925 QUERY_USES_NETWORK,
926 QUERY_IS_CACHED,
927 QUERY_IS_INSTALLEDENTRY,
928 QUERY_IS_CACHED_OR_MAPPED,
929 QUERY_USES_CACHE,
930 QUERY_IS_SECURE,
931 QUERY_IS_SAFE,
932 QUERY_USES_HISTORYFOLDER,
933 QUERY_IS_CACHED_AND_USABLE_OFFLINE
934 } QUERYOPTION;
936 HRESULT ParseUrl(
937 [in] LPCWSTR pwzUrl,
938 [in] PARSEACTION ParseAction,
939 [in] DWORD dwParseFlags,
940 [out] LPWSTR pwzResult,
941 [in] DWORD cchResult,
942 [out] DWORD *pcchResult,
943 [in] DWORD dwReserved);
945 HRESULT CombineUrl(
946 [in] LPCWSTR pwzBaseUrl,
947 [in] LPCWSTR pwzRelativeUrl,
948 [in] DWORD dwCombineFlags,
949 [out] LPWSTR pwzResult,
950 [in] DWORD cchResult,
951 [out] DWORD *pcchResult,
952 [in] DWORD dwReserved);
954 HRESULT CompareUrl(
955 [in] LPCWSTR pwzUrl1,
956 [in] LPCWSTR pwzUrl2,
957 [in] DWORD dwCompareFlags);
959 HRESULT QueryInfo(
960 [in] LPCWSTR pwzUrl,
961 [in] QUERYOPTION OueryOption,
962 [in] DWORD dwQueryFlags,
963 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
964 [in] DWORD cbBuffer,
965 [in, out] DWORD *pcbBuf,
966 [in] DWORD dwReserved);
969 /*****************************************************************************
970 * IInternetSession interface
973 local,
974 object,
975 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
976 pointer_default(unique)
978 interface IInternetSession : IUnknown
980 typedef [unique] IInternetSession *LPIINTERNETSESSION;
982 typedef enum _tagOIBDG_FLAGS
984 OIBDG_APARTMENTTHREADED = 0x0100,
985 OIBDG_DATAONLY = 0x1000
986 } OIBDG_FLAGS;
988 HRESULT RegisterNameSpace(
989 [in] IClassFactory *pCF,
990 [in] REFCLSID rclsid,
991 [in] LPCWSTR pwzProtocol,
992 [in] ULONG cPatterns,
993 [in] const LPCWSTR *ppwzPatterns,
994 [in] DWORD dwReserved);
996 HRESULT UnregisterNameSpace(
997 [in] IClassFactory *pCF,
998 [in] LPCWSTR pszProtocol);
1000 HRESULT RegisterMimeFilter(
1001 [in] IClassFactory *pCF,
1002 [in] REFCLSID rclsid,
1003 [in] LPCWSTR pwzType);
1005 HRESULT UnregisterMimeFilter(
1006 [in] IClassFactory *pCF,
1007 [in] LPCWSTR pwzType);
1009 HRESULT CreateBinding(
1010 [in] LPBC pBC,
1011 [in] LPCWSTR szUrl,
1012 [in] IUnknown *pUnkOuter,
1013 [out, unique] IUnknown **ppUnk,
1014 [out, unique] IInternetProtocol **ppOInetProt,
1015 [in] DWORD dwOption);
1017 HRESULT SetSessionOption(
1018 [in] DWORD dwOption,
1019 [in] LPVOID pBuffer,
1020 [in] DWORD dwBufferLength,
1021 [in] DWORD dwReserved);
1024 /*****************************************************************************
1025 * IInternetSecurityMgrSite interface
1028 local,
1029 object,
1030 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
1031 pointer_default(unique)
1033 interface IInternetSecurityMgrSite : IUnknown
1035 HRESULT GetWindow(
1036 [out] HWND *phwnd);
1038 HRESULT EnableModeless(
1039 [in] BOOL fEnable);
1043 /*****************************************************************************
1044 * IInternetSecurityManager interface
1046 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
1049 object,
1050 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1051 pointer_default(unique)
1053 interface IInternetSecurityManager : IUnknown
1055 HRESULT SetSecuritySite(
1056 [in, unique] IInternetSecurityMgrSite *pSite);
1058 HRESULT GetSecuritySite(
1059 [out] IInternetSecurityMgrSite **ppSite);
1061 HRESULT MapUrlToZone(
1062 [in] LPCWSTR pwszUrl,
1063 [out] DWORD *pdwZone,
1064 [in] DWORD dwFlags);
1066 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1068 HRESULT GetSecurityId(
1069 [in] LPCWSTR pwszUrl,
1070 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1071 [in, out] DWORD *pcbSecurityId,
1072 [in] DWORD_PTR dwReserved);
1075 typedef enum {
1076 PUAF_DEFAULT = 0x00,
1077 PUAF_NOUI = 0x01,
1078 PUAF_ISFILE = 0x02,
1079 PUAF_WARN_IF_DENIED = 0x04,
1080 PUAF_FORCEUI_FOREGROUND = 0x08,
1081 PUAF_CHECK_TIPS = 0x10
1082 } PUAF;
1084 HRESULT ProcessUrlAction(
1085 [in] LPCWSTR pwszUrl,
1086 [in] DWORD dwAction,
1087 [out, size_is(cbPolicy)] BYTE *pPolicy,
1088 [in] DWORD cbPolicy,
1089 [in] BYTE *pContext,
1090 [in] DWORD cbContext,
1091 [in] DWORD dwFlags,
1092 [in] DWORD dwReserved);
1094 HRESULT QueryCustomPolicy(
1095 [in] LPCWSTR pwszUrl,
1096 [in] REFGUID guidKey,
1097 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1098 [out] DWORD *pcbPolicy,
1099 [in] BYTE *pContext,
1100 [in] DWORD cbContext,
1101 [in] DWORD dwReserved);
1103 typedef enum {
1104 SZM_CREATE = 0x0,
1105 SZM_DELETE = 0x1
1106 } SZM_FLAGS;
1108 HRESULT SetZoneMapping(
1109 [in] DWORD dwZone,
1110 [in] LPCWSTR lpszPattern,
1111 [in] DWORD dwFlags);
1113 HRESULT GetZoneMappings(
1114 [in] DWORD dwZone,
1115 [out] IEnumString **ppenumString,
1116 [in] DWORD dwFlags);
1119 /*****************************************************************************
1120 * IInternetSecurityManagerEx interface
1122 cpp_quote("#define SID_SInternetSecurityManagerEx IID_IInternetSecurityManagerEx")
1125 object,
1126 uuid(f164edf1-cc7c-4f0d-9a94-34222625C393),
1127 pointer_default(unique)
1129 interface IInternetSecurityManagerEx : IInternetSecurityManager
1131 HRESULT ProcessUrlActionEx(
1132 [in] LPCWSTR pwszUrl,
1133 [in] DWORD dwAction,
1134 [out] BYTE *pPolicy,
1135 [in] DWORD cbPolicy,
1136 [in] BYTE *pContext,
1137 [in] DWORD cbContext,
1138 [in] DWORD dwFlags,
1139 [in] DWORD dwReserved,
1140 [out] DWORD *pdwOutFlags);
1143 /*****************************************************************************
1144 * IInternetSecurityManagerEx2 interface
1146 cpp_quote("#define SID_SInternetSecurityManagerEx2 IID_IInternetSecurityManagerEx2")
1149 object,
1150 uuid(f1e50292-a795-4117-8e09-2b560a72ac60),
1151 pointer_default(unique)
1153 interface IInternetSecurityManagerEx2 : IInternetSecurityManagerEx
1155 HRESULT MapUrlToZoneEx2(
1156 [in] IUri *pUri,
1157 [out] DWORD *pdwZone,
1158 [in] DWORD dwFlags,
1159 [out] LPWSTR *ppwszMappedUrl,
1160 [out] DWORD *pdwOutFlags);
1162 HRESULT ProcessUrlActionEx2(
1163 [in] IUri *pUri,
1164 [in] DWORD dwAction,
1165 [out] BYTE *pPolicy,
1166 [in] DWORD cbPolicy,
1167 [in] BYTE *pContext,
1168 [in] DWORD cbContext,
1169 [in] DWORD dwFlags,
1170 [in] DWORD_PTR dwReserved,
1171 [out] DWORD *pdwOutFlags);
1173 HRESULT GetSecurityIdEx2(
1174 [in] IUri *pUri,
1175 [out] BYTE *pbSecurityId,
1176 [in, out] DWORD *pcbSecurityId,
1177 [in] DWORD_PTR dwReserved);
1179 HRESULT QueryCustomPolicyEx2(
1180 [in] IUri *pUri,
1181 [in] REFGUID guidKey,
1182 [out] BYTE **ppPolicy,
1183 [out] DWORD *pcbPolicy,
1184 [in] BYTE *pContext,
1185 [in] DWORD cbContext,
1186 [in] DWORD_PTR dwReserved);
1189 /*****************************************************************************
1190 * IInternetHostSecurityManager interface
1192 cpp_quote("#define SID_SInternetHostSecurityManager IID_IInternetHostSecurityManager")
1195 local,
1196 object,
1197 uuid(3af280b6-cb3f-11d0-891e-00c04fb6bfc4),
1198 pointer_default(unique)
1200 interface IInternetHostSecurityManager : IUnknown
1202 HRESULT GetSecurityId(
1203 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1204 [in, out] DWORD *pcbSecurityId,
1205 [in] DWORD_PTR dwReserved);
1207 HRESULT ProcessUrlAction(
1208 [in] DWORD dwAction,
1209 [out, size_is(cbPolicy)] BYTE *pPolicy,
1210 [in] DWORD cbPolicy,
1211 [in] BYTE *pContext,
1212 [in] DWORD cbContext,
1213 [in] DWORD dwFlags,
1214 [in] DWORD dwReserved);
1216 HRESULT QueryCustomPolicy(
1217 [in] REFGUID guidKey,
1218 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1219 [out] DWORD *pcbPolicy,
1220 [in] BYTE *pContext,
1221 [in] DWORD cbContext,
1222 [in] DWORD dwReserved);
1225 cpp_quote("#define URLACTION_MIN 0x00001000")
1226 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1227 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1228 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1229 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1230 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1232 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1233 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1234 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1235 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1236 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1237 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1238 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1239 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1240 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1241 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1242 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1244 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1245 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1246 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1247 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1248 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1249 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1250 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1251 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1253 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1254 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1255 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1256 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1257 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1258 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1259 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1260 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1261 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1262 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1263 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1265 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1266 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1267 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1268 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1269 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1270 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1271 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1272 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1274 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1275 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1276 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1277 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1278 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1279 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1280 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1281 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1282 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1283 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1284 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1286 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1287 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1288 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1289 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1290 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1291 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1292 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1293 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1294 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1296 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1297 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1298 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1299 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1300 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1301 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1302 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1303 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1304 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1305 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1307 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1308 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1309 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1310 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1311 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1312 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1314 cpp_quote("#define URLACTION_BEHAVIOR_MIN 0x00002000")
1315 cpp_quote("#define URLACTION_BEHAVIOR_RUN 0x00002000")
1316 cpp_quote("#define URLPOLICY_BEHAVIOR_CHECK_LIST 0x00010000")
1318 cpp_quote("#define URLACTION_FEATURE_MIN 0x00002100")
1319 cpp_quote("#define URLACTION_FEATURE_MIME_SNIFFING 0x00002100")
1320 cpp_quote("#define URLACTION_FEATURE_ZONE_ELEVATION 0x00002101")
1321 cpp_quote("#define URLACTION_FEATURE_WINDOW_RESTRICTIONS 0x00002102")
1322 cpp_quote("#define URLACTION_FEATURE_SCRIPT_STATUS_BAR 0x00002103")
1323 cpp_quote("#define URLACTION_FEATURE_FORCE_ADDR_AND_STATUS 0x00002104")
1324 cpp_quote("#define URLACTION_FEATURE_BLOCK_INPUT_PROMPTS 0x00002105")
1326 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1327 cpp_quote("#define URLPOLICY_QUERY 0x01")
1328 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1330 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1331 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1333 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1334 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1336 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1338 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1339 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1340 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1341 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1343 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1344 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1345 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1347 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1348 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1349 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1351 /*****************************************************************************
1352 * IInternetZoneManager interface
1355 local,
1356 object,
1357 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1358 pointer_default(unique)
1360 interface IInternetZoneManager : IUnknown
1362 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1364 typedef enum tagURLZONE
1366 URLZONE_INVALID = -1,
1367 URLZONE_PREDEFINED_MIN = 0,
1368 URLZONE_LOCAL_MACHINE = 0,
1369 URLZONE_INTRANET = 1,
1370 URLZONE_TRUSTED = 2,
1371 URLZONE_INTERNET = 3,
1372 URLZONE_UNTRUSTED = 4,
1373 URLZONE_PREDEFINED_MAX = 999,
1374 URLZONE_USER_MIN = 1000,
1375 URLZONE_USER_MAX = 10000,
1376 } URLZONE;
1378 typedef enum tagURLTEMPLATE
1380 URLTEMPLATE_CUSTOM = 0x00000,
1381 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1382 URLTEMPLATE_LOW = 0x10000,
1383 URLTEMPLATE_MEDLOW = 0x10500,
1384 URLTEMPLATE_MEDIUM = 0x11000,
1385 URLTEMPLATE_MEDHIGH = 0x11500,
1386 URLTEMPLATE_HIGH = 0x12000,
1387 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1388 } URLTEMPLATE ;
1390 typedef enum {
1391 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1392 ZAFLAGS_ADD_SITES = 0x00000002,
1393 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1394 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1395 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1396 ZAFLAGS_NO_UI = 0x00000020,
1397 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1398 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1399 ZAFLAGS_DETECT_INTRANET = 0x00000100,
1400 ZAFLAGS_USE_LOCKED_ZONES = 0x00010000,
1401 ZAFLAGS_VERIFY_TEMPLATE_SETTINGS = 0x00020000,
1402 ZAFLAGS_NO_CACHE = 0x00040000,
1403 } ZAFLAGS ;
1405 enum {
1406 MAX_ZONE_PATH = 260,
1407 MAX_ZONE_DESCRIPTION = 200
1410 typedef struct _ZONEATTRIBUTES {
1411 ULONG cbSize;
1412 WCHAR szDisplayName[MAX_ZONE_PATH];
1413 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1414 WCHAR szIconPath[MAX_ZONE_PATH];
1415 DWORD dwTemplateMinLevel;
1416 DWORD dwTemplateRecommended;
1417 DWORD dwTemplateCurrentLevel;
1418 DWORD dwFlags;
1419 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1421 typedef enum _URLZONEREG {
1422 URLZONEREG_DEFAULT,
1423 URLZONEREG_HKLM,
1424 URLZONEREG_HKCU
1425 } URLZONEREG;
1427 HRESULT GetZoneAttributes(
1428 [in] DWORD dwZone,
1429 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1431 HRESULT SetZoneAttributes(
1432 [in] DWORD dwZone,
1433 [in] ZONEATTRIBUTES* pZoneAttributes);
1435 HRESULT GetZoneCustomPolicy(
1436 [in] DWORD dwZone,
1437 [in] REFGUID guidKey,
1438 [out] BYTE **ppPolicy,
1439 [out] DWORD* pcbPolicy,
1440 [in] URLZONEREG ulrZoneReg);
1442 HRESULT SetZoneCustomPolicy(
1443 [in] DWORD dwZone,
1444 [in] REFGUID guidKey,
1445 [in] BYTE *ppPolicy,
1446 [in] DWORD pcbPolicy,
1447 [in] URLZONEREG ulrZoneReg);
1449 HRESULT GetZoneActionPolicy(
1450 [in] DWORD dwZone,
1451 [in] DWORD dwAction,
1452 [out] BYTE* pPolicy,
1453 [in] DWORD cbPolicy,
1454 [in] URLZONEREG urlZoneReg);
1456 HRESULT SetZoneActionPolicy(
1457 [in] DWORD dwZone,
1458 [in] DWORD dwAction,
1459 [in] BYTE* pPolicy,
1460 [in] DWORD cbPolicy,
1461 [in] URLZONEREG urlZoneReg);
1463 HRESULT PromptAction(
1464 [in] DWORD dwAction,
1465 [in] HWND hwndParent,
1466 [in] LPCWSTR pwszUrl,
1467 [in] LPCWSTR pwszText,
1468 [in] DWORD dwPromptFlags );
1470 HRESULT LogAction(
1471 [in] DWORD dwAction,
1472 [in] LPCWSTR pwszUrl,
1473 [in] LPCWSTR pwszText,
1474 [in] DWORD dwLogFlags);
1476 HRESULT CreateZoneEnumerator(
1477 [out] DWORD* pdwEnum,
1478 [out] DWORD* pdwCount,
1479 [in] DWORD dwFlags);
1481 HRESULT GetZoneAt(
1482 [in] DWORD dwEnum,
1483 [in] DWORD dwIndex,
1484 [out] DWORD* pdwZone);
1486 HRESULT DestroyZoneEnumerator(
1487 [in] DWORD dwEnum);
1489 HRESULT CopyTemplatePoliciesToZone(
1490 [in] DWORD dwTemplate,
1491 [in] DWORD dwZone,
1492 [in] DWORD dwReserved);
1495 /*****************************************************************************
1496 * IInternetZoneManagerEx interface
1499 local,
1500 object,
1501 uuid(A4C23339-8E06-431E-9BF4-7E711C085648),
1502 pointer_default(unique)
1504 interface IInternetZoneManagerEx : IInternetZoneManager
1506 HRESULT GetZoneActionPolicyEx(
1507 [in] DWORD dwZone,
1508 [in] DWORD dwAction,
1509 [out] BYTE* pPolicy,
1510 [in] DWORD cbPolicy,
1511 [in] URLZONEREG urlZoneReg,
1512 [in] DWORD dwFlags);
1514 HRESULT SetZoneActionPolicyEx(
1515 [in] DWORD dwZone,
1516 [in] DWORD dwAction,
1517 [in] BYTE* pPolicy,
1518 [in] DWORD cbPolicy,
1519 [in] URLZONEREG urlZoneReg,
1520 [in] DWORD dwFlags);
1524 /*****************************************************************************
1525 * IInternetZoneManagerEx2 interface
1528 cpp_quote("#define SECURITY_IE_STATE_GREEN 0")
1529 cpp_quote("#define SECURITY_IE_STATE_RED 1")
1532 local,
1533 object,
1534 uuid(EDC17559-DD5D-4846-8EEF-8BECBA5A4ABF),
1535 pointer_default(unique)
1537 interface IInternetZoneManagerEx2 : IInternetZoneManagerEx
1539 HRESULT GetZoneAttributesEx(
1540 [in] DWORD dwZone,
1541 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes,
1542 [in] DWORD dwFlags);
1544 HRESULT GetZoneSecurityState(
1545 [in] DWORD dwZoneIndex,
1546 [in] BOOL fRespectPolicy,
1547 [in, out] LPDWORD pdwState,
1548 [in, out] BOOL *pfPolicyEncountered);
1550 HRESULT GetIESecurityState(
1551 [in] BOOL fRespectPolicy,
1552 [in, out] LPDWORD pdwState,
1553 [in, out] BOOL *pfPolicyEncountered,
1554 [in] BOOL fNoCache);
1556 HRESULT FixInsecureSettings(void);
1561 typedef struct _tagSOFTDISTINFO
1563 ULONG cbSize;
1564 DWORD dwFlags;
1565 DWORD dwAdState;
1566 LPWSTR szTitle;
1567 LPWSTR szAbstract;
1568 LPWSTR szHREF;
1569 DWORD dwInstalledVersionMS;
1570 DWORD dwInstalledVersionLS;
1571 DWORD dwUpdateVersionMS;
1572 DWORD dwUpdateVersionLS;
1573 DWORD dwAdvertisedVersionMS;
1574 DWORD dwAdvertisedVersionLS;
1575 DWORD dwReserved;
1576 } SOFTDISTINFO, *LPSOFTDISTINFO;
1578 typedef struct _tagCODEBASEHOLD
1580 DWORD cbSize;
1581 LPWSTR szDistUnit;
1582 LPWSTR szCodeBase;
1583 DWORD dwVersionMS;
1584 DWORD dwVersionLS;
1585 DWORD dwStyle;
1586 } CODEBASEHOLD, *LPCODEBASEHOLD;
1589 local,
1590 object,
1591 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1592 pointer_default(unique)
1594 interface ISoftDistExt : IUnknown
1596 HRESULT ProcessSoftDist(
1597 [in] LPCWSTR szCDFURL,
1598 [in] IXMLElement *pSoftDistElement,
1599 [in, out] LPSOFTDISTINFO lpsdi );
1601 HRESULT GetFirstCodeBase(
1602 [in] LPWSTR *szCodeBase,
1603 [in] LPDWORD dwMaxSize );
1605 HRESULT GetNextCodeBase(
1606 [in] LPWSTR *szCodeBase,
1607 [in] LPDWORD dwMaxSize );
1609 HRESULT AsyncInstallDistributionUnit(
1610 [in] IBindCtx *pbc,
1611 [in] LPVOID lpReserved,
1612 [in] DWORD flags,
1613 [in] LPCODEBASEHOLD lpcbh);
1616 typedef enum _tagINTERNETFEATURELIST
1618 FEATURE_OBJECT_CACHING,
1619 FEATURE_ZONE_ELEVATION,
1620 FEATURE_MIME_HANDLING,
1621 FEATURE_MIME_SNIFFING,
1622 FEATURE_WINDOW_RESTRICTIONS,
1623 FEATURE_WEBOC_POPUPMANAGEMENT,
1624 FEATURE_BEHAVIORS,
1625 FEATURE_DISABLE_MK_PROTOCOL,
1626 FEATURE_LOCALMACHINE_LOCKDOWN,
1627 FEATURE_SECURITYBAND,
1628 FEATURE_RESTRICT_ACTIVEXINSTALL,
1629 FEATURE_VALIDATE_NAVIGATE_URL,
1630 FEATURE_RESTRICT_FILEDOWNLOAD,
1631 FEATURE_ADDON_MANAGEMENT,
1632 FEATURE_PROTOCOL_LOCKDOWN,
1633 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1634 FEATURE_SAFE_BINDTOOBJECT,
1635 FEATURE_UNC_SAVEDFILECHECK,
1636 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1637 FEATURE_TABBED_BROWSING,
1638 FEATURE_SSLUX,
1639 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1640 FEATURE_DISABLE_LEGACY_COMPRESSION,
1641 FEATURE_FORCE_ADDR_AND_STATUS,
1642 FEATURE_XMLHTTP,
1643 FEATURE_DISABLE_TELNET_PROTOCOL,
1644 FEATURE_FEEDS,
1645 FEATURE_BLOCK_INPUT_PROMPTS,
1646 FEATURE_ENTRY_COUNT
1647 } INTERNETFEATURELIST;
1649 cpp_quote("#define SET_FEATURE_ON_THREAD 0x00000001")
1650 cpp_quote("#define SET_FEATURE_ON_PROCESS 0x00000002")
1651 cpp_quote("#define SET_FEATURE_IN_REGISTRY 0x00000004")
1652 cpp_quote("#define SET_FEATURE_ON_THREAD_LOCALMACHINE 0x00000008")
1653 cpp_quote("#define SET_FEATURE_ON_THREAD_INTRANET 0x00000010")
1654 cpp_quote("#define SET_FEATURE_ON_THREAD_TRUSTED 0x00000020")
1655 cpp_quote("#define SET_FEATURE_ON_THREAD_INTERNET 0x00000040")
1656 cpp_quote("#define SET_FEATURE_ON_THREAD_RESTRICTED 0x00000080")
1658 cpp_quote("#define GET_FEATURE_FROM_THREAD 0x00000001")
1659 cpp_quote("#define GET_FEATURE_FROM_PROCESS 0x00000002")
1660 cpp_quote("#define GET_FEATURE_FROM_REGISTRY 0x00000004")
1661 cpp_quote("#define GET_FEATURE_FROM_THREAD_LOCALMACHINE 0x00000008")
1662 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTRANET 0x00000010")
1663 cpp_quote("#define GET_FEATURE_FROM_THREAD_TRUSTED 0x00000020")
1664 cpp_quote("#define GET_FEATURE_FROM_THREAD_INTERNET 0x00000040")
1665 cpp_quote("#define GET_FEATURE_FROM_THREAD_RESTRICTED 0x00000080")
1667 typedef struct _tagPROTOCOLFILTERDATA {
1668 DWORD cbSize;
1669 IInternetProtocolSink *pProtocolSink;
1670 IInternetProtocol *pProtocol;
1671 IUnknown *pUnk;
1672 DWORD dwFilterFlags;
1673 } PROTOCOLFILTERDATA;
1675 /*****************************************************************************
1676 * IUri interface
1679 object,
1680 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1681 pointer_default(unique)
1683 interface IUri : IUnknown
1685 typedef enum
1687 Uri_PROPERTY_ABSOLUTE_URI = 0,
1688 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1689 Uri_PROPERTY_AUTHORITY = 1,
1690 Uri_PROPERTY_DISPLAY_URI = 2,
1691 Uri_PROPERTY_DOMAIN = 3,
1692 Uri_PROPERTY_EXTENSION = 4,
1693 Uri_PROPERTY_FRAGMENT = 5,
1694 Uri_PROPERTY_HOST = 6,
1695 Uri_PROPERTY_PASSWORD = 7,
1696 Uri_PROPERTY_PATH = 8,
1697 Uri_PROPERTY_PATH_AND_QUERY = 9,
1698 Uri_PROPERTY_QUERY = 10,
1699 Uri_PROPERTY_RAW_URI = 11,
1700 Uri_PROPERTY_SCHEME_NAME = 12,
1701 Uri_PROPERTY_USER_INFO = 13,
1702 Uri_PROPERTY_USER_NAME = 14,
1703 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1704 Uri_PROPERTY_HOST_TYPE = 15,
1705 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1706 Uri_PROPERTY_PORT = 16,
1707 Uri_PROPERTY_SCHEME = 17,
1708 Uri_PROPERTY_ZONE = 18,
1709 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1710 } Uri_PROPERTY;
1712 typedef enum
1714 Uri_HOST_UNKNOWN = 0,
1715 Uri_HOST_DNS = 1,
1716 Uri_HOST_IPV4 = 2,
1717 Uri_HOST_IPV6 = 3,
1718 Uri_HOST_IDN = 4
1719 } Uri_HOST_TYPE;
1721 HRESULT GetPropertyBSTR(
1722 [in] Uri_PROPERTY uriProp,
1723 [out] BSTR *pbstrProperty,
1724 [in] DWORD dwFlags);
1726 HRESULT GetPropertyLength(
1727 [in] Uri_PROPERTY uriProp,
1728 [out] DWORD *pcchProperty,
1729 [in] DWORD dwFlags);
1731 HRESULT GetPropertyDWORD(
1732 [in] Uri_PROPERTY uriProp,
1733 [out] DWORD *pdwProperty,
1734 [in] DWORD dwFlags);
1736 HRESULT HasProperty(
1737 [in] Uri_PROPERTY uriProp,
1738 [out] BOOL *pfHasProperty);
1740 HRESULT GetAbsoluteUri(
1741 [out] BSTR *pbstrAbsoluteUri);
1743 HRESULT GetAuthority(
1744 [out] BSTR *pbstrAuthority);
1746 HRESULT GetDisplayUri(
1747 [out] BSTR *pbstrDisplayString);
1749 HRESULT GetDomain(
1750 [out] BSTR *pbstrDomain);
1752 HRESULT GetExtension(
1753 [out] BSTR *pbstrExtension);
1755 HRESULT GetFragment(
1756 [out] BSTR *pbstrFragment);
1758 HRESULT GetHost(
1759 [out] BSTR *pbstrHost);
1761 HRESULT GetPassword(
1762 [out] BSTR *pbstrPassword);
1764 HRESULT GetPath(
1765 [out] BSTR *pbstrPath);
1767 HRESULT GetPathAndQuery(
1768 [out] BSTR *pbstrPathAndQuery);
1770 HRESULT GetQuery(
1771 [out] BSTR *pbstrQuery);
1773 HRESULT GetRawUri(
1774 [out] BSTR *pbstrRawUri);
1776 HRESULT GetSchemeName(
1777 [out] BSTR *pbstrSchemeName);
1779 HRESULT GetUserInfo(
1780 [out] BSTR *pbstrUserInfo);
1782 HRESULT GetUserName(
1783 [out] BSTR *pbstrUserName);
1785 HRESULT GetHostType(
1786 [out] DWORD *pdwHostType);
1788 HRESULT GetPort(
1789 [out] DWORD *pdwPort);
1791 HRESULT GetScheme(
1792 [out] DWORD *pdwScheme);
1794 HRESULT GetZone(
1795 [out] DWORD *pdwZone);
1797 HRESULT GetProperties(
1798 [out] LPDWORD pdwFlags);
1800 HRESULT IsEqual(
1801 [in] IUri *pUri,
1802 [out] BOOL *pfEqual);
1805 cpp_quote("HRESULT WINAPI CreateUri(LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1806 cpp_quote("HRESULT WINAPI CreateUriWithFragment(LPCWSTR,LPCWSTR,DWORD,DWORD_PTR,IUri**);")
1807 cpp_quote("HRESULT WINAPI CreateUriFromMultiByteString(LPCSTR,DWORD,DWORD,DWORD,DWORD_PTR,IUri**);")
1809 cpp_quote("#define Uri_HAS_ABSOLUTE_URI (1 << Uri_PROPERTY_ABSOLUTE_URI)")
1810 cpp_quote("#define Uri_HAS_AUTHORITY (1 << Uri_PROPERTY_AUTHORITY)")
1811 cpp_quote("#define Uri_HAS_DISPLAY_URI (1 << Uri_PROPERTY_DISPLAY_URI)")
1812 cpp_quote("#define Uri_HAS_DOMAIN (1 << Uri_PROPERTY_DOMAIN)")
1813 cpp_quote("#define Uri_HAS_EXTENSION (1 << Uri_PROPERTY_EXTENSION)")
1814 cpp_quote("#define Uri_HAS_FRAGMENT (1 << Uri_PROPERTY_FRAGMENT)")
1815 cpp_quote("#define Uri_HAS_HOST (1 << Uri_PROPERTY_HOST)")
1816 cpp_quote("#define Uri_HAS_PASSWORD (1 << Uri_PROPERTY_PASSWORD)")
1817 cpp_quote("#define Uri_HAS_PATH (1 << Uri_PROPERTY_PATH)")
1818 cpp_quote("#define Uri_HAS_QUERY (1 << Uri_PROPERTY_QUERY)")
1819 cpp_quote("#define Uri_HAS_RAW_URI (1 << Uri_PROPERTY_RAW_URI)")
1820 cpp_quote("#define Uri_HAS_SCHEME_NAME (1 << Uri_PROPERTY_SCHEME_NAME)")
1821 cpp_quote("#define Uri_HAS_USER_NAME (1 << Uri_PROPERTY_USER_NAME)")
1822 cpp_quote("#define Uri_HAS_PATH_AND_QUERY (1 << Uri_PROPERTY_PATH_AND_QUERY)")
1823 cpp_quote("#define Uri_HAS_USER_INFO (1 << Uri_PROPERTY_USER_INFO)")
1824 cpp_quote("#define Uri_HAS_HOST_TYPE (1 << Uri_PROPERTY_HOST_TYPE)")
1825 cpp_quote("#define Uri_HAS_PORT (1 << Uri_PROPERTY_PORT)")
1826 cpp_quote("#define Uri_HAS_SCHEME (1 << Uri_PROPERTY_SCHEME)")
1827 cpp_quote("#define Uri_HAS_ZONE (1 << Uri_PROPERTY_ZONE)")
1829 cpp_quote("#define Uri_CREATE_ALLOW_RELATIVE 0x0001")
1830 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_WILDCARD_SCHEME 0x0002")
1831 cpp_quote("#define Uri_CREATE_ALLOW_IMPLICIT_FILE_SCHEME 0x0004")
1832 cpp_quote("#define Uri_CREATE_NOFRAG 0x0008")
1833 cpp_quote("#define Uri_CREATE_NO_CANONICALIZE 0x0010")
1834 cpp_quote("#define Uri_CREATE_CANONICALIZE 0x0100")
1835 cpp_quote("#define Uri_CREATE_FILE_USE_DOS_PATH 0x0020")
1836 cpp_quote("#define Uri_CREATE_DECODE_EXTRA_INFO 0x0040")
1837 cpp_quote("#define Uri_CREATE_NO_DECODE_EXTRA_INFO 0x0080")
1838 cpp_quote("#define Uri_CREATE_CRACK_UNKNOWN_SCHEMES 0x0200")
1839 cpp_quote("#define Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES 0x0400")
1840 cpp_quote("#define Uri_CREATE_PRE_PROCESS_HTML_URI 0x0800")
1841 cpp_quote("#define Uri_CREATE_NO_PRE_PROCESS_HTML_URI 0x1000")
1842 cpp_quote("#define Uri_CREATE_IE_SETTINGS 0x2000")
1843 cpp_quote("#define Uri_CREATE_NO_IE_SETTINGS 0x4000")
1844 cpp_quote("#define Uri_CREATE_NO_ENCODE_FORBIDDEN_CHARACTERS 0x8000")
1846 cpp_quote("#define Uri_DISPLAY_NO_FRAGMENT 0x00000001")
1847 cpp_quote("#define Uri_PUNYCODE_IDN_HOST 0x00000002")
1848 cpp_quote("#define Uri_DISPLAY_IDN_HOST 0x00000004")
1850 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_PERCENT_ENCODED_UTF8 0x00000001")
1851 cpp_quote("#define Uri_ENCODING_USER_INFO_AND_PATH_IS_CP 0x00000002")
1852 cpp_quote("#define Uri_ENCODING_HOST_IS_IDN 0x00000004")
1853 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_UTF8 0x00000008")
1854 cpp_quote("#define Uri_ENCODING_HOST_IS_PERCENT_ENCODED_CP 0x00000010")
1855 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_PERCENT_ENCODED_UTF8 0x00000020")
1856 cpp_quote("#define Uri_ENCODING_QUERY_AND_FRAGMENT_IS_CP 0x00000040")
1857 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)")
1859 cpp_quote("#define UriBuilder_USE_ORIGINAL_FLAGS 0x00000001")
1861 /*****************************************************************************
1862 * IUriContainer interface
1865 local,
1866 object,
1867 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1868 pointer_default(unique)
1870 interface IUriContainer : IUnknown
1872 HRESULT GetIUri([out] IUri **ppIUri);
1875 /*****************************************************************************
1876 * IUriBuilder interface
1879 local,
1880 object,
1881 uuid(4221b2e1-8955-46c0-bd5b-de9897565de7),
1882 pointer_default(unique)
1884 interface IUriBuilder: IUnknown
1886 HRESULT CreateUriSimple(
1887 [in] DWORD dwAllowEncodingPropertyMask,
1888 [in] DWORD_PTR dwReserved,
1889 [out] IUri **ppIUri);
1891 HRESULT CreateUri(
1892 [in] DWORD dwCreateFlags,
1893 [in] DWORD dwAllowEncodingPropertyMask,
1894 [in] DWORD_PTR dwReserved,
1895 [out] IUri **ppIUri);
1897 HRESULT CreateUriWithFlags(
1898 [in] DWORD dwCreateFlags,
1899 [in] DWORD dwUriBuilderFlags,
1900 [in] DWORD dwAllowEncodingPropertyMask,
1901 [in] DWORD_PTR dwReserved,
1902 [out] IUri **ppIUri);
1904 HRESULT GetIUri(
1905 [out] IUri **ppIUri);
1907 HRESULT SetIUri(
1908 [in, unique] IUri *pIUri);
1910 HRESULT GetFragment(
1911 [out] DWORD *pcchFragment,
1912 [out] LPCWSTR *ppwzFragment);
1914 HRESULT GetHost(
1915 [out] DWORD *pcchHost,
1916 [out] LPCWSTR *ppwzHost);
1918 HRESULT GetPassword(
1919 [out] DWORD *pcchPassword,
1920 [out] LPCWSTR *ppwzPassword);
1922 HRESULT GetPath(
1923 [out] DWORD *pcchPath,
1924 [out] LPCWSTR *ppwzPath);
1926 HRESULT GetPort(
1927 [out] BOOL *pfHasPort,
1928 [out] DWORD *pdwPort);
1930 HRESULT GetQuery(
1931 [out] DWORD *pcchQuery,
1932 [out] LPCWSTR *ppwzQuery);
1934 HRESULT GetSchemeName(
1935 [out] DWORD *pcchSchemeName,
1936 [out] LPCWSTR *ppwzSchemeName);
1938 HRESULT GetUserName(
1939 [out] DWORD *pcchUserName,
1940 [out] LPCWSTR *ppwzUserName);
1942 HRESULT SetFragment(
1943 [in] LPCWSTR pwzNewValue);
1945 HRESULT SetHost(
1946 [in] LPCWSTR pwzNewValue);
1948 HRESULT SetPassword(
1949 [in] LPCWSTR pwzNewValue);
1951 HRESULT SetPath(
1952 [in] LPCWSTR pwzNewValue);
1954 HRESULT SetPort(
1955 [in] BOOL fHasPort,
1956 [in] DWORD dwNewValue);
1958 HRESULT SetQuery(
1959 [in] LPCWSTR pwzNewValue);
1961 HRESULT SetSchemeName(
1962 [in] LPCWSTR pwzNewValue);
1964 HRESULT SetUserName(
1965 [in] LPCWSTR pwzNewValue);
1967 HRESULT RemoveProperties(
1968 [in] DWORD dwPropertyMask);
1970 HRESULT HasBeenModified(
1971 [out] BOOL *pfModified);
1974 cpp_quote("HRESULT WINAPI CreateIUriBuilder(IUri*,DWORD,DWORD_PTR,IUriBuilder**);")
1976 /*****************************************************************************
1977 * IUriBuilderFactory interface
1980 local,
1981 object,
1982 uuid(e982ce48-0b96-440c-bc37-0c869b27a29e),
1983 pointer_default(unique)
1985 interface IUriBuilderFactory : IUnknown
1987 HRESULT CreateIUriBuilder(
1988 [in] DWORD dwFlags,
1989 [in] DWORD_PTR dwReserved,
1990 [out] IUriBuilder **ppIUriBuilder);
1992 HRESULT CreateInitializedIUriBuilder(
1993 [in] DWORD dwFlags,
1994 [in] DWORD_PTR dwReserved,
1995 [out] IUriBuilder **ppIUriBuilder);
1998 /*****************************************************************************
1999 * IInternetProtocolEx interface
2002 local,
2003 object,
2004 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
2005 pointer_default(unique)
2007 interface IInternetProtocolEx : IInternetProtocol
2009 HRESULT StartEx(
2010 [in] IUri *pUri,
2011 [in] IInternetProtocolSink *pOIProtSink,
2012 [in] IInternetBindInfo *pOIBindInfo,
2013 [in] DWORD grfPI,
2014 [in] HANDLE *dwReserved);
2017 /*****************************************************************************
2018 * IGetBindHandle interface
2021 local,
2022 object,
2023 uuid(AF0FF408-129D-4b20-91F0-02BD23D88352),
2024 pointer_default(unique)
2026 interface IGetBindHandle : IUnknown
2028 typedef [unique] IGetBindHandle *LPGETBINDHANDLE;
2030 typedef enum {
2031 BINDHANDLETYPES_APPCACHE = 0x00000000,
2032 BINDHANDLETYPES_DEPENDENCY = 0x00000001,
2033 BINDHANDLETYPES_COUNT
2034 } BINDHANDLETYPES;
2036 HRESULT GetBindHandle(
2037 [in] BINDHANDLETYPES enumRequestedHandle,
2038 [out] HANDLE *pRetHandle);
2041 cpp_quote("#define CONFIRMSAFETYACTION_LOADOBJECT 0x00000001")
2043 struct CONFIRMSAFETY
2045 CLSID clsid;
2046 IUnknown *pUnk;
2047 DWORD dwFlags;
2050 cpp_quote("EXTERN_C const GUID GUID_CUSTOM_CONFIRMOBJECTSAFETY;")
2052 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
2053 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
2054 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2055 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2056 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
2057 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
2059 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
2060 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2061 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2062 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2063 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2064 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2065 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
2067 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
2068 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
2069 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
2071 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
2072 cpp_quote("#ifndef S_ASYNCHRONOUS")
2073 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
2074 cpp_quote("#endif")
2076 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
2077 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
2078 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
2079 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
2080 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
2081 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
2082 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
2083 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
2084 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
2085 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
2086 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
2087 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
2088 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
2089 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
2090 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
2091 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
2092 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
2093 cpp_quote("#define INET_E_USE_DEFAULT_SETTING _HRESULT_TYPEDEF_(0x800C0012L)")
2094 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
2095 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
2096 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
2097 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
2098 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
2099 cpp_quote("#define INET_E_USE_EXTENDED_BINDING _HRESULT_TYPEDEF_(0x800C0017)")
2100 cpp_quote("#define INET_E_TERMINATED_BIND _HRESULT_TYPEDEF_(0x800C0018)")
2101 cpp_quote("#define INET_E_INVALID_CERTIFICATE _HRESULT_TYPEDEF_(0x800C0019)")
2102 cpp_quote("#define INET_E_CODE_DOWNLOAD_DECLINED _HRESULT_TYPEDEF_(0x800C0100)")
2103 cpp_quote("#define INET_E_RESULT_DISPATCHED _HRESULT_TYPEDEF_(0x800C0200)")
2104 cpp_quote("#define INET_E_CANNOT_REPLACE_SFP_FILE _HRESULT_TYPEDEF_(0x800C0300)")
2105 cpp_quote("#define INET_E_CODE_INSTALL_SUPPRESSED _HRESULT_TYPEDEF_(0x800C0400)")
2106 cpp_quote("#define INET_E_CODE_INSTALL_BLOCKED_BY_HASH_POLICY _HRESULT_TYPEDEF_(0x800C0500)")
2107 cpp_quote("#define INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE _HRESULT_TYPEDEF_(0x800C0501)")
2108 cpp_quote("#define INET_E_ERROR_LAST INET_E_DOWNLOAD_BLOCKED_BY_INPRIVATE")
2110 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
2111 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
2112 cpp_quote("HRESULT WINAPI CreateURLMonikerEx(IMoniker*,LPCWSTR,IMoniker**,DWORD);")
2113 cpp_quote("HRESULT WINAPI CreateURLMonikerEx2(IMoniker*,IUri*,IMoniker**,DWORD);")
2114 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
2115 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
2116 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2117 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2118 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2119 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
2120 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
2121 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
2122 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
2123 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
2124 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
2125 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
2126 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2127 cpp_quote("HRESULT WINAPI CoInternetCombineUrlEx(IUri*,LPCWSTR,DWORD,IUri**,DWORD_PTR);")
2128 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
2129 cpp_quote("HRESULT WINAPI CoInternetCombineIUri(IUri*,IUri*,DWORD,IUri**,DWORD_PTR);")
2130 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
2131 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
2132 cpp_quote("HRESULT WINAPI CoInternetParseIUri(IUri*,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD_PTR);")
2133 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2134 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
2135 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabled(INTERNETFEATURELIST,DWORD dwFlags);")
2136 cpp_quote("HRESULT WINAPI CoInternetIsFeatureEnabledForUrl(INTERNETFEATURELIST,DWORD,LPCWSTR,IInternetSecurityManager*);")
2137 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrl(LPCWSTR,LPWSTR*,PSUACTION,DWORD);")
2138 cpp_quote("HRESULT WINAPI CoInternetGetSecurityUrlEx(IUri*,IUri**,PSUACTION,DWORD_PTR);")
2139 cpp_quote("HRESULT WINAPI AsyncInstallDistributionUnit(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPCWSTR,IBindCtx*,LPVOID,DWORD);")
2140 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
2141 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
2142 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
2143 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
2144 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
2145 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
2146 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
2147 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
2148 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
2149 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2150 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
2151 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
2152 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
2153 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
2154 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
2155 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
2156 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
2157 cpp_quote("HRESULT WINAPI CopyBindInfo(const BINDINFO*,BINDINFO*);")
2158 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
2159 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
2160 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
2161 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2162 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2163 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
2164 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
2165 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2166 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
2168 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
2169 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
2170 cpp_quote("#define OInetGetSession CoInternetGetSession")
2172 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
2173 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
2174 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
2176 cpp_quote("#define MKSYS_URLMONIKER 6")
2177 cpp_quote("#define URL_MK_LEGACY 0")
2178 cpp_quote("#define URL_MK_UNIFORM 1")
2179 cpp_quote("#define URL_MK_NO_CANONICALIZE 2")