winedbg: Correctly print type for functions without parameters.
[wine/multimedia.git] / include / urlmon.idl
blob4e902a246a9c233c15dd9b850f1159b6fd742790
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("#endif")
29 interface IInternetProtocolSink;
31 /*****************************************************************************
32 * IInternet interface
35 object,
36 uuid(79eac9e0-baf9-11ce-8c82-00aa004ba90b),
37 pointer_default(unique),
38 local
40 interface IInternet : IUnknown
42 typedef [unique] IInternet *LPIINTERNET;
45 /*****************************************************************************
46 * IBinding interface
49 object,
50 uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b),
51 pointer_default(unique)
53 interface IBinding : IUnknown
55 typedef [unique] IBinding *LPBINDING;
57 HRESULT Abort();
58 HRESULT Suspend();
59 HRESULT Resume();
61 HRESULT SetPriority(
62 [in] LONG nPriority);
64 HRESULT GetPriority(
65 [out] LONG * pnPriority);
67 [local]
68 HRESULT GetBindResult(
69 [out] CLSID *pclsidProtocol,
70 [out] DWORD *pdwResult,
71 [out] LPOLESTR *pszResult,
72 [in, out] DWORD *pdwReserved);
74 [call_as(GetBindResult)]
75 HRESULT RemoteGetBindResult(
76 [out] CLSID *pclsidProtocol,
77 [out] DWORD *pdwResult,
78 [out] LPOLESTR *pszResult,
79 [in] DWORD dwReserved);
83 /*****************************************************************************
84 * IBindStatusCallback interface
87 object,
88 uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b),
89 pointer_default(unique)
91 interface IBindStatusCallback : IUnknown
93 typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
95 typedef enum
97 BINDVERB_GET = 0x00000000,
98 BINDVERB_POST = 0x00000001,
99 BINDVERB_PUT = 0x00000002,
100 BINDVERB_CUSTOM = 0x00000003
101 } BINDVERB;
103 typedef enum
105 BINDINFOF_URLENCODESTGMEDDATA = 0x00000001,
106 BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002
107 } BINDINFOF;
109 typedef enum
111 BINDF_ASYNCHRONOUS = 0x00000001,
112 BINDF_ASYNCSTORAGE = 0x00000002,
113 BINDF_NOPROGRESSIVERENDERING = 0x00000004,
114 BINDF_OFFLINEOPERATION = 0x00000008,
115 BINDF_GETNEWESTVERSION = 0x00000010,
116 BINDF_NOWRITECACHE = 0x00000020,
117 BINDF_NEEDFILE = 0x00000040,
118 BINDF_PULLDATA = 0x00000080,
119 BINDF_IGNORESECURITYPROBLEM = 0x00000100,
120 BINDF_RESYNCHRONIZE = 0x00000200,
121 BINDF_HYPERLINK = 0x00000400,
122 BINDF_NO_UI = 0x00000800,
123 BINDF_SILENTOPERATION = 0x00001000,
124 BINDF_PRAGMA_NO_CACHE = 0x00002000,
125 BINDF_GETCLASSOBJECT = 0x00004000,
126 BINDF_RESERVED_1 = 0x00008000,
127 BINDF_FREE_THREADED = 0x00010000,
128 BINDF_DIRECT_READ = 0x00020000,
129 BINDF_FORMS_SUBMIT = 0x00040000,
130 BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
131 BINDF_FROMURLMON = 0x00100000,
132 BINDF_FWD_BACK = 0x00200000,
133 BINDF_PREFERDEFAULTHANDLER = 0x00400000,
134 BINDF_ENFORCERESTRICTED = 0x00800000
135 } BINDF;
137 typedef enum
139 URL_ENCODING_NONE = 0x00000000,
140 URL_ENCODING_ENABLE_UTF8 = 0x10000000,
141 URL_ENCODING_DISABLE_UTF8 = 0x20000000
142 } URL_ENCODING;
144 typedef struct _tagBINDINFO
146 ULONG cbSize;
147 LPWSTR szExtraInfo;
148 STGMEDIUM stgmedData;
149 DWORD grfBindInfoF;
150 DWORD dwBindVerb;
151 LPWSTR szCustomVerb;
152 DWORD cbstgmedData;
153 DWORD dwOptions;
154 DWORD dwOptionsFlags;
155 DWORD dwCodePage;
156 SECURITY_ATTRIBUTES securityAttributes;
157 IID iid;
158 IUnknown *pUnk;
159 DWORD dwReserved;
160 } BINDINFO;
162 typedef struct _REMSECURITY_ATTRIBUTES
164 DWORD nLength;
165 DWORD lpSecurityDescriptor;
166 BOOL bInheritHandle;
167 } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
169 typedef struct _tagRemBINDINFO
171 ULONG cbSize;
172 LPWSTR szExtraInfo;
173 DWORD grfBindInfoF;
174 DWORD dwBindVerb;
175 LPWSTR szCustomVerb;
176 DWORD cbstgmedData;
177 DWORD dwOptions;
178 DWORD dwOptionsFlags;
179 DWORD dwCodePage;
180 REMSECURITY_ATTRIBUTES securityAttributes;
181 IID iid;
182 IUnknown *pUnk;
183 DWORD dwReserved;
184 } RemBINDINFO;
186 typedef struct tagRemFORMATETC
188 DWORD cfFormat;
189 DWORD ptd;
190 DWORD dwAspect;
191 LONG lindex;
192 DWORD tymed;
193 } RemFORMATETC, *LPREMFORMATETC;
195 typedef enum
197 BSCF_FIRSTDATANOTIFICATION = 0x01,
198 BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
199 BSCF_LASTDATANOTIFICATION = 0x04,
200 BSCF_DATAFULLYAVAILABLE = 0x08,
201 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10,
202 BSCF_SKIPDRAINDATAFORFILEURLS = 0x20,
203 BSCF_64BITLENGTHDOWNLOAD = 0x40
204 } BSCF;
206 typedef enum BINDSTATUS
208 BINDSTATUS_FINDINGRESOURCE = 1,
209 BINDSTATUS_CONNECTING,
210 BINDSTATUS_REDIRECTING,
211 BINDSTATUS_BEGINDOWNLOADDATA,
212 BINDSTATUS_DOWNLOADINGDATA,
213 BINDSTATUS_ENDDOWNLOADDATA,
214 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
215 BINDSTATUS_INSTALLINGCOMPONENTS,
216 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
217 BINDSTATUS_USINGCACHEDCOPY,
218 BINDSTATUS_SENDINGREQUEST,
219 BINDSTATUS_CLASSIDAVAILABLE,
220 BINDSTATUS_MIMETYPEAVAILABLE,
221 BINDSTATUS_CACHEFILENAMEAVAILABLE,
222 BINDSTATUS_BEGINSYNCOPERATION,
223 BINDSTATUS_ENDSYNCOPERATION,
224 BINDSTATUS_BEGINUPLOADDATA,
225 BINDSTATUS_UPLOADINGDATA,
226 BINDSTATUS_ENDUPLOADINGDATA,
227 BINDSTATUS_PROTOCOLCLASSID,
228 BINDSTATUS_ENCODING,
229 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
230 BINDSTATUS_CLASSINSTALLLOCATION,
231 BINDSTATUS_DECODING,
232 BINDSTATUS_LOADINGMIMEHANDLER,
233 BINDSTATUS_CONTENTDISPOSITIONATTACH,
234 BINDSTATUS_FILTERREPORTMIMETYPE,
235 BINDSTATUS_CLSIDCANINSTANTIATE,
236 BINDSTATUS_IUNKNOWNAVAILABLE,
237 BINDSTATUS_DIRECTBIND,
238 BINDSTATUS_RAWMIMETYPE,
239 BINDSTATUS_PROXYDETECTING,
240 BINDSTATUS_ACCEPTRANGES,
241 BINDSTATUS_COOKIE_SENT,
242 BINDSTATUS_COMPACT_POLICY_RECEIVED,
243 BINDSTATUS_COOKIE_SUPPRESSED,
244 BINDSTATUS_COOKIE_STATE_UNKNOWN,
245 BINDSTATUS_COOKIE_STATE_ACCEPT,
246 BINDSTATUS_COOKIE_STATE_REJECT,
247 BINDSTATUS_COOKIE_STATE_PROMPT,
248 BINDSTATUS_COOKIE_STATE_LEASH,
249 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
250 BINDSTATUS_POLICY_HREF,
251 BINDSTATUS_P3P_HEADER,
252 BINDSTATUS_SESSION_COOKIE_RECEIVED,
253 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
254 BINDSTATUS_SESSION_COOKIES_ALLOWED,
255 BINDSTATUS_CACHECONTROL,
256 BINDSTATUS_CONTENTDISPOSITIONFILENAME,
257 BINDSTATUS_MIMETEXTPLAINMISMATCH,
258 BINDSTATUS_PUBLISHERAVAILABLE,
259 BINDSTATUS_DISPLAYNAMEAVAILABLE
260 } BINDSTATUS;
263 HRESULT OnStartBinding(
264 [in] DWORD dwReserved,
265 [in] IBinding * pib);
267 HRESULT GetPriority(
268 [out] LONG * pnPriority);
270 HRESULT OnLowResource(
271 [in] DWORD reserved);
273 HRESULT OnProgress(
274 [in] ULONG ulProgress,
275 [in] ULONG ulProgressMax,
276 [in] ULONG ulStatusCode,
277 [in] LPCWSTR szStatusText);
279 HRESULT OnStopBinding(
280 [in] HRESULT hresult,
281 [in, unique] LPCWSTR szError);
283 [local]
284 HRESULT GetBindInfo(
285 [out] DWORD *grfBINDF,
286 [in, out, unique] BINDINFO * pbindinfo);
288 [call_as(GetBindInfo)]
289 HRESULT RemoteGetBindInfo(
290 [out] DWORD *grfBINDF,
291 [in, out, unique] RemBINDINFO * pbindinfo,
292 [in, out, unique] RemSTGMEDIUM* pstgmed);
294 [local]
295 HRESULT OnDataAvailable(
296 [in] DWORD grfBSCF,
297 [in] DWORD dwSize,
298 [in] FORMATETC* pformatetc,
299 [in] STGMEDIUM* pstgmed);
301 [call_as(OnDataAvailable)]
302 HRESULT RemoteOnDataAvailable(
303 [in] DWORD grfBSCF,
304 [in] DWORD dwSize,
305 [in] RemFORMATETC *pformatetc,
306 [in] RemSTGMEDIUM* pstgmed);
308 HRESULT OnObjectAvailable(
309 [in] REFIID riid,
310 [in, iid_is(riid)] IUnknown* punk);
313 /*****************************************************************************
314 * IBindStatusCallbackEx interface
317 object,
318 uuid(aaa74ef9-8ee7-4659-88d9-f8c504da73cc),
319 pointer_default(unique)
321 interface IBindStatusCallbackEx : IBindStatusCallback
323 typedef [unique] IBindStatusCallbackEx *LPBINDSTATUSCALLBACKEX;
325 typedef enum {
326 BINDF2_DISABLEBASICOVERHTTP = 0x00000001,
327 BINDF2_DISABLEAUTOCOOKIEHANDLING = 0x00000002,
328 BINDF2_READ_DATA_GREATER_THAN_4GB = 0x00000004,
329 BINDF2_DISABLE_HTTP_REDIRECT_XSECURITYID = 0x00000008,
330 BINDF2_RESERVED_3 = 0x20000000,
331 BINDF2_RESERVED_2 = 0x40000000,
332 BINDF2_RESERVED_1 = 0x80000000,
333 } BINDF2;
335 [local]
336 HRESULT GetBindInfoEx(
337 [out] DWORD *grfBINDF,
338 [in, out, unique] BINDINFO *pbindinfo,
339 [out] DWORD *grfBINDF2,
340 [out] DWORD *pdwReserved);
342 [call_as(GetBindInfoEx)]
343 HRESULT RemoteGetBindInfoEx(
344 [out] DWORD *grfBINDF,
345 [in, out, unique] RemBINDINFO *pbindinfo,
346 [in, out, unique] RemSTGMEDIUM *pstgmed,
347 [out] DWORD *grfBINDF2,
348 [out] DWORD *pdwReserved);
352 /*****************************************************************************
353 * IAuthenticate interface
356 local,
357 object,
358 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
359 pointer_default(unique)
361 interface IAuthenticate : IUnknown
363 typedef [unique] IAuthenticate *LPAUTHENTICATION;
365 HRESULT Authenticate(
366 [out] HWND* phwnd,
367 [out] LPWSTR *pszUsername,
368 [out] LPWSTR *pszPassword);
371 /*****************************************************************************
372 * IHttpNegotiate interface
375 object,
376 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
377 pointer_default(unique)
379 interface IHttpNegotiate : IUnknown
381 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
383 HRESULT BeginningTransaction(
384 [in] LPCWSTR szURL,
385 [in, unique] LPCWSTR szHeaders,
386 [in] DWORD dwReserved,
387 [out] LPWSTR *pszAdditionalHeaders);
389 HRESULT OnResponse(
390 [in] DWORD dwResponseCode,
391 [in, unique] LPCWSTR szResponseHeaders,
392 [in, unique] LPCWSTR szRequestHeaders,
393 [out] LPWSTR *pszAdditionalRequestHeaders);
396 /*****************************************************************************
397 * IHttpNegotiate2 interface
400 object,
401 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
402 pointer_default(unique)
404 interface IHttpNegotiate2 : IHttpNegotiate
406 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
408 HRESULT GetRootSecurityId(
409 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
410 [in, out] DWORD *pcbSecurityId,
411 [in] DWORD_PTR dwReserved);
414 /*****************************************************************************
415 * IBindHost interface
417 cpp_quote("#define SID_IBindHost IID_IBindHost")
418 cpp_quote("#define SID_SBindHost IID_IBindHost")
420 object,
421 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
422 pointer_default(unique)
424 interface IBindHost : IUnknown
426 typedef [unique] IBindHost *LPBINDHOST;
428 HRESULT CreateMoniker(
429 [in] LPOLESTR szName,
430 [in] IBindCtx *pBC,
431 [out] IMoniker** ppmk,
432 [in] DWORD dwReserved);
434 [local]
435 HRESULT MonikerBindToStorage(
436 [in] IMoniker *pMk,
437 [in] IBindCtx *pBC,
438 [in] IBindStatusCallback *pBSC,
439 [in] REFIID riid,
440 [out] void **ppvObj);
442 [call_as(MonikerBindToStorage)]
443 HRESULT RemoteMonikerBindToStorage(
444 [in, unique] IMoniker *pMk,
445 [in, unique] IBindCtx *pBC,
446 [in, unique] IBindStatusCallback *pBSC,
447 [in] REFIID riid,
448 [out, iid_is(riid)] IUnknown **ppvObj);
450 [local]
451 HRESULT MonikerBindToObject(
452 [in] IMoniker *pMk,
453 [in] IBindCtx *pBC,
454 [in] IBindStatusCallback *pBSC,
455 [in] REFIID riid,
456 [out] void **ppvObj);
458 [call_as(MonikerBindToObject)]
459 HRESULT RemoteMonikerBindToObject(
460 [in, unique] IMoniker *pMk,
461 [in, unique] IBindCtx *pBC,
462 [in, unique] IBindStatusCallback *pBSC,
463 [in] REFIID riid,
464 [out, iid_is(riid)] IUnknown **ppvObj);
468 /*****************************************************************************
469 * IWinInetInfo interface
472 object,
473 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
474 pointer_default(unique)
476 interface IWinInetInfo : IUnknown
478 typedef [unique] IWinInetInfo *LPWININETINFO;
480 [local]
481 HRESULT QueryOption(
482 [in] DWORD dwOption,
483 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
484 [in, out] DWORD *pcbBuf);
486 [call_as(QueryOption)]
487 HRESULT RemoteQueryOption(
488 [in] DWORD dwOption,
489 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
490 [in, out] DWORD *pcbBuf);
495 /*****************************************************************************
496 * IWinInetHttpInfo interface
499 object,
500 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
501 pointer_default(unique)
503 interface IWinInetHttpInfo : IWinInetInfo
505 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
507 [local]
508 HRESULT QueryInfo(
509 [in] DWORD dwOption,
510 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
511 [in, out] DWORD *pcbBuf,
512 [in, out] DWORD *pdwFlags,
513 [in, out] DWORD *pdwReserved);
515 [call_as(QueryInfo)]
516 HRESULT RemoteQueryInfo(
517 [in] DWORD dwOption,
518 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
519 [in, out] DWORD *pcbBuf,
520 [in, out] DWORD *pdwFlags,
521 [in, out] DWORD *pdwReserved);
524 /*****************************************************************************
525 * IWindowForBindingUI interface
528 local,
529 object,
530 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
531 pointer_default(unique)
533 interface IWindowForBindingUI : IUnknown
535 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
537 HRESULT GetWindow(
538 [in] REFGUID rguidReason,
539 [out] HWND *phwnd);
542 /*****************************************************************************
543 * IHttpSecurity interface
546 object,
547 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
548 pointer_default(unique)
550 interface IHttpSecurity : IWindowForBindingUI
552 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
554 HRESULT OnSecurityProblem(
555 [in] DWORD dwProblem);
559 /*****************************************************************************
560 * IPersistMoniker interface
563 object,
564 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
565 pointer_default(unique)
567 interface IPersistMoniker : IUnknown
569 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
571 HRESULT GetClassID(
572 [out] CLSID *pClassID);
574 HRESULT IsDirty();
576 HRESULT Load(
577 [in] BOOL fFullyAvailable,
578 [in] IMoniker *pimkName,
579 [in] LPBC pibc,
580 [in] DWORD grfMode);
582 HRESULT Save(
583 [in] IMoniker *pimkName,
584 [in] LPBC pbc,
585 [in] BOOL fRemember);
587 HRESULT SaveCompleted(
588 [in] IMoniker *pimkName,
589 [in] LPBC pibc);
591 HRESULT GetCurMoniker(
592 [out] IMoniker **ppimkName);
595 /*****************************************************************************
596 * IMonikerProp interface
599 object,
600 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
601 pointer_default(unique)
603 interface IMonikerProp : IUnknown
605 typedef [unique] IMonikerProp *LPMONIKERPROP;
607 typedef enum {
608 MIMETYPEPROP = 0,
609 USE_SRC_URL = 1,
610 CLASSIDPROP = 2,
611 TRUSTEDDOWNLOADPROP = 3,
612 POPUPLEVELPROP = 4
613 } MONIKERPROPERTY;
615 HRESULT PutProperty(
616 [in] MONIKERPROPERTY mkp,
617 [in] LPCWSTR val);
620 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
621 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
623 /*****************************************************************************
624 * IBindProtocol interface
627 local,
628 object,
629 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
630 pointer_default(unique)
632 interface IBindProtocol : IUnknown
634 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
636 HRESULT CreateBinding(
637 [in] LPCWSTR szUrl,
638 [in] IBindCtx *pbc,
639 [out] IBinding **ppb);
642 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
644 /*****************************************************************************
645 * IInternetBindInfo interface
648 local,
649 object,
650 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
651 pointer_default(unique)
653 interface IInternetBindInfo : IUnknown
655 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
657 typedef enum tagBINDSTRING
659 BINDSTRING_HEADERS = 1,
660 BINDSTRING_ACCEPT_MIMES,
661 BINDSTRING_EXTRA_URL,
662 BINDSTRING_LANGUAGE,
663 BINDSTRING_USERNAME,
664 BINDSTRING_PASSWORD,
665 BINDSTRING_UA_PIXELS,
666 BINDSTRING_UA_COLOR,
667 BINDSTRING_OS,
668 BINDSTRING_USER_AGENT,
669 BINDSTRING_ACCEPT_ENCODINGS,
670 BINDSTRING_POST_COOKIE,
671 BINDSTRING_POST_DATA_MIME,
672 BINDSTRING_URL,
673 BINDSTRING_IID,
674 BINDSTRING_FLAG_BIND_TO_OBJECT,
675 BINDSTRING_PTR_BIND_CONTEXT
676 } BINDSTRING;
678 HRESULT GetBindInfo(
679 [out] DWORD *grfBINDF,
680 [in, out, unique] BINDINFO *pbindinfo);
682 HRESULT GetBindString(
683 [in] ULONG ulStringType,
684 [in, out] LPOLESTR *ppwzStr,
685 [in] ULONG cEl,
686 [in, out] ULONG *pcElFetched);
689 /*****************************************************************************
690 * IInternetPriority interface
693 local,
694 object,
695 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
696 pointer_default(unique)
698 interface IInternetPriority : IUnknown
700 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
702 HRESULT SetPriority([in] LONG nPriority);
703 HRESULT GetPriority([out] LONG *pnPriority);
706 /*****************************************************************************
707 * IInternetProtocolRoot interface
710 local,
711 object,
712 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
713 pointer_default(unique)
715 interface IInternetProtocolRoot : IUnknown
717 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
719 typedef enum _tagPI_FLAGS
721 PI_PARSE_URL = 0x00000001,
722 PI_FILTER_MODE = 0x00000002,
723 PI_FORCE_ASYNC = 0x00000004,
724 PI_USE_WORKERTHREAD = 0x00000008,
725 PI_MIMEVERIFICATION = 0x00000010,
726 PI_CLSIDLOOKUP = 0x00000020,
727 PI_DATAPROGRESS = 0x00000040,
728 PI_SYNCHRONOUS = 0x00000080,
729 PI_APARTMENTTHREADED = 0x00000100,
730 PI_CLASSINSTALL = 0x00000200,
731 PD_FORCE_SWITCH = 0x00010000
732 } PI_FLAGS;
734 typedef struct _tagPROTOCOLDATA
736 DWORD grfFlags;
737 DWORD dwState;
738 LPVOID pData;
739 ULONG cbData;
740 } PROTOCOLDATA;
742 HRESULT Start(
743 [in] LPCWSTR szUrl,
744 [in] IInternetProtocolSink *pOIProtSink,
745 [in] IInternetBindInfo *pOIBindInfo,
746 [in] DWORD grfPI,
747 [in] HANDLE_PTR dwReserved);
749 HRESULT Continue(
750 [in] PROTOCOLDATA *pProtocolData);
752 HRESULT Abort(
753 [in] HRESULT hrReason,
754 [in] DWORD dwOptions);
756 HRESULT Terminate(
757 [in] DWORD dwOptions);
759 HRESULT Suspend();
761 HRESULT Resume();
764 /*****************************************************************************
765 * IInternetProtocolSink interface
768 local,
769 object,
770 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
771 pointer_default(unique)
773 interface IInternetProtocolSink : IUnknown
775 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
777 HRESULT Switch(
778 [in] PROTOCOLDATA *pProtocolData);
780 HRESULT ReportProgress(
781 [in] ULONG ulStatusCode,
782 [in] LPCWSTR szStatusText);
784 HRESULT ReportData(
785 [in] DWORD grfBSCF,
786 [in] ULONG ulProgress,
787 [in] ULONG ulProgressMax);
789 HRESULT ReportResult(
790 [in] HRESULT hrResult,
791 [in] DWORD dwError,
792 [in] LPCWSTR szResult);
795 /*****************************************************************************
796 * IInternetProtocol interface
799 local,
800 object,
801 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
802 pointer_default(unique)
804 interface IInternetProtocol : IInternetProtocolRoot
806 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
808 HRESULT Read(
809 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
810 [in] ULONG cb,
811 [out] ULONG *pcbRead);
813 HRESULT Seek(
814 [in] LARGE_INTEGER dlibMove,
815 [in] DWORD dwOrigin,
816 [out] ULARGE_INTEGER *plibNewPosition);
818 HRESULT LockRequest(
819 [in] DWORD dwOptions);
821 HRESULT UnlockRequest();
824 /*****************************************************************************
825 * IInternetProtocolInfo interface
828 local,
829 object,
830 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
831 pointer_default(unique)
833 interface IInternetProtocolInfo : IUnknown
835 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
837 typedef enum _tagPARSEACTION
839 PARSE_CANONICALIZE = 1,
840 PARSE_FRIENDLY,
841 PARSE_SECURITY_URL,
842 PARSE_ROOTDOCUMENT,
843 PARSE_DOCUMENT,
844 PARSE_ANCHOR,
845 PARSE_ENCODE,
846 PARSE_DECODE,
847 PARSE_PATH_FROM_URL,
848 PARSE_URL_FROM_PATH,
849 PARSE_MIME,
850 PARSE_SERVER,
851 PARSE_SCHEMA,
852 PARSE_SITE,
853 PARSE_DOMAIN,
854 PARSE_LOCATION,
855 PARSE_SECURITY_DOMAIN,
856 PARSE_ESCAPE,
857 PARSE_UNESCAPE
858 } PARSEACTION;
860 typedef enum _tagPSUACTION
862 PSU_DEFAULT = 1,
863 PSU_SECURITY_URL_ONLY
864 } PSUACTION;
866 typedef enum _tagQUERYOPTION
868 QUERY_EXPIRATION_DATE = 1,
869 QUERY_TIME_OF_LAST_CHANGE,
870 QUERY_CONTENT_ENCODING,
871 QUERY_CONTENT_TYPE,
872 QUERY_REFRESH,
873 QUERY_RECOMBINE,
874 QUERY_CAN_NAVIGATE,
875 QUERY_USES_NETWORK,
876 QUERY_IS_CACHED,
877 QUERY_IS_INSTALLEDENTRY,
878 QUERY_IS_CACHED_OR_MAPPED,
879 QUERY_USES_CACHE,
880 QUERY_IS_SECURE,
881 QUERY_IS_SAFE,
882 QUERY_USES_HISTORYFOLDER
883 } QUERYOPTION;
885 HRESULT ParseUrl(
886 [in] LPCWSTR pwzUrl,
887 [in] PARSEACTION ParseAction,
888 [in] DWORD dwParseFlags,
889 [out] LPWSTR pwzResult,
890 [in] DWORD cchResult,
891 [out] DWORD *pcchResult,
892 [in] DWORD dwReserved);
894 HRESULT CombineUrl(
895 [in] LPCWSTR pwzBaseUrl,
896 [in] LPCWSTR pwzRelativeUrl,
897 [in] DWORD dwCombineFlags,
898 [out] LPWSTR pwzResult,
899 [in] DWORD cchResult,
900 [out] DWORD *pcchResult,
901 [in] DWORD dwReserved);
903 HRESULT CompareUrl(
904 [in] LPCWSTR pwzUrl1,
905 [in] LPCWSTR pwzUrl2,
906 [in] DWORD dwCompareFlags);
908 HRESULT QueryInfo(
909 [in] LPCWSTR pwzUrl,
910 [in] QUERYOPTION OueryOption,
911 [in] DWORD dwQueryFlags,
912 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
913 [in] DWORD cbBuffer,
914 [in, out] DWORD *pcbBuf,
915 [in] DWORD dwReserved);
918 /*****************************************************************************
919 * IInternetSession interface
922 local,
923 object,
924 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
925 pointer_default(unique)
927 interface IInternetSession : IUnknown
929 typedef [unique] IInternetSession *LPIINTERNETSESSION;
931 typedef enum _tagOIBDG_FLAGS
933 OIBDG_APARTMENTTHREADED = 0x0100,
934 OIBDG_DATAONLY = 0x1000
935 } OIBDG_FLAGS;
937 HRESULT RegisterNameSpace(
938 [in] IClassFactory *pCF,
939 [in] REFCLSID rclsid,
940 [in] LPCWSTR pwzProtocol,
941 [in] ULONG cPatterns,
942 [in] const LPCWSTR *ppwzPatterns,
943 [in] DWORD dwReserved);
945 HRESULT UnregisterNameSpace(
946 [in] IClassFactory *pCF,
947 [in] LPCWSTR pszProtocol);
949 HRESULT RegisterMimeFilter(
950 [in] IClassFactory *pCF,
951 [in] REFCLSID rclsid,
952 [in] LPCWSTR pwzType);
954 HRESULT UnregisterMimeFilter(
955 [in] IClassFactory *pCF,
956 [in] LPCWSTR pwzType);
958 HRESULT CreateBinding(
959 [in] LPBC pBC,
960 [in] LPCWSTR szUrl,
961 [in] IUnknown *pUnkOuter,
962 [out, unique] IUnknown **ppUnk,
963 [out, unique] IInternetProtocol **ppOInetProt,
964 [in] DWORD dwOption);
966 HRESULT SetSessionOption(
967 [in] DWORD dwOption,
968 [in] LPVOID pBuffer,
969 [in] DWORD dwBufferLength,
970 [in] DWORD dwReserved);
973 /*****************************************************************************
974 * IInternetSecurityMgrSite interface
977 local,
978 object,
979 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
980 pointer_default(unique)
982 interface IInternetSecurityMgrSite : IUnknown
984 HRESULT GetWindow(
985 [out] HWND *phwnd);
987 HRESULT EnableModeless(
988 [in] BOOL fEnable);
992 /*****************************************************************************
993 * IInternetSecurityManager interface
995 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
998 object,
999 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
1000 pointer_default(unique)
1002 interface IInternetSecurityManager : IUnknown
1004 HRESULT SetSecuritySite(
1005 [in, unique] IInternetSecurityMgrSite *pSite);
1007 HRESULT GetSecuritySite(
1008 [out] IInternetSecurityMgrSite **ppSite);
1010 HRESULT MapUrlToZone(
1011 [in] LPCWSTR pwszUrl,
1012 [out] DWORD *pdwZone,
1013 [in] DWORD dwFlags);
1015 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
1017 HRESULT GetSecurityId(
1018 [in] LPCWSTR pwszUrl,
1019 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
1020 [in, out] DWORD *pcbSecurityId,
1021 [in] DWORD_PTR dwReserved);
1024 typedef enum {
1025 PUAF_DEFAULT = 0x00,
1026 PUAF_NOUI = 0x01,
1027 PUAF_ISFILE = 0x02,
1028 PUAF_WARN_IF_DENIED = 0x04,
1029 PUAF_FORCEUI_FOREGROUND = 0x08,
1030 PUAF_CHECK_TIPS = 0x10
1031 } PUAF;
1033 HRESULT ProcessUrlAction(
1034 [in] LPCWSTR pwszUrl,
1035 [in] DWORD dwAction,
1036 [out, size_is(cbPolicy)] BYTE *pPolicy,
1037 [in] DWORD cbPolicy,
1038 [in] BYTE *pContext,
1039 [in] DWORD cbContext,
1040 [in] DWORD dwFlags,
1041 [in] DWORD dwReserved);
1043 HRESULT QueryCustomPolicy(
1044 [in] LPCWSTR pwszUrl,
1045 [in] REFGUID guidKey,
1046 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1047 [out] DWORD *pcbPolicy,
1048 [in] BYTE *pContext,
1049 [in] DWORD cbContext,
1050 [in] DWORD dwReserved);
1052 typedef enum {
1053 SZM_CREATE = 0x0,
1054 SZM_DELETE = 0x1
1055 } SZM_FLAGS;
1057 HRESULT SetZoneMapping(
1058 [in] DWORD dwZone,
1059 [in] LPCWSTR lpszPattern,
1060 [in] DWORD dwFlags);
1062 HRESULT GetZoneMappings(
1063 [in] DWORD dwZone,
1064 [out] IEnumString **ppenumString,
1065 [in] DWORD dwFlags);
1068 cpp_quote("#define URLACTION_MIN 0x00001000")
1069 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1070 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1071 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1072 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1073 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1075 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1076 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1077 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1078 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1079 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1080 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1081 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1082 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1083 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1084 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1085 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1087 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1088 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1089 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1090 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1091 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1092 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1093 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1094 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1096 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1097 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1098 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1099 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1100 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1101 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1102 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1103 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1104 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1105 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1106 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1108 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1109 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1110 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1111 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1112 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1113 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1114 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1115 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1117 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1118 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1119 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1120 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1121 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1122 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1123 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1124 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1125 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1126 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1127 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1129 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1130 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1131 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1132 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1133 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1134 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1135 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1136 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1137 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1139 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1140 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1141 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1142 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1143 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1144 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1145 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1146 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1147 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1148 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1150 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1151 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1152 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1153 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1154 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1155 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1157 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1158 cpp_quote("#define URLPOLICY_QUERY 0x01")
1159 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1161 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1162 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1164 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1165 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1167 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1169 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1170 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1171 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1172 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1174 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1175 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1176 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1178 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1179 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1180 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1182 /*****************************************************************************
1183 * IInternetZoneManager interface
1186 local,
1187 object,
1188 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1189 pointer_default(unique)
1191 interface IInternetZoneManager : IUnknown
1193 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1195 typedef enum tagURLZONE
1197 URLZONE_PREDEFINED_MIN = 0,
1198 URLZONE_LOCAL_MACHINE = 0,
1199 URLZONE_INTRANET = 1,
1200 URLZONE_TRUSTED = 2,
1201 URLZONE_INTERNET = 3,
1202 URLZONE_UNTRUSTED = 4,
1203 URLZONE_PREDEFINED_MAX = 999,
1204 URLZONE_USER_MIN = 1000,
1205 URLZONE_USER_MAX = 10000,
1206 } URLZONE;
1208 typedef enum tagURLTEMPLATE
1210 URLTEMPLATE_CUSTOM = 0x00000,
1211 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1212 URLTEMPLATE_LOW = 0x10000,
1213 URLTEMPLATE_MEDIUM = 0x11000,
1214 URLTEMPLATE_HIGH = 0x12000,
1215 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1216 } URLTEMPLATE ;
1218 typedef enum {
1219 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1220 ZAFLAGS_ADD_SITES = 0x00000002,
1221 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1222 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1223 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1224 ZAFLAGS_NO_UI = 0x00000020,
1225 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1226 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1227 } ZAFLAGS ;
1229 enum {
1230 MAX_ZONE_PATH = 260,
1231 MAX_ZONE_DESCRIPTION = 200
1234 typedef struct _ZONEATTRIBUTES {
1235 ULONG cbSize;
1236 WCHAR szDisplayName[MAX_ZONE_PATH];
1237 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1238 WCHAR szIconPath[MAX_ZONE_PATH];
1239 DWORD dwTemplateMinLevel;
1240 DWORD dwTemplateRecommended;
1241 DWORD dwTemplateCurrentLevel;
1242 DWORD dwFlags;
1243 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1245 typedef enum _URLZONEREG {
1246 URLZONEREG_DEFAULT,
1247 URLZONEREG_HKLM,
1248 URLZONEREG_HKCU
1249 } URLZONEREG;
1251 HRESULT GetZoneAttributes(
1252 [in] DWORD dwZone,
1253 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1255 HRESULT SetZoneAttributes(
1256 [in] DWORD dwZone,
1257 [in] ZONEATTRIBUTES* pZoneAttributes);
1259 HRESULT GetZoneCustomPolicy(
1260 [in] DWORD dwZone,
1261 [in] REFGUID guidKey,
1262 [out] BYTE **ppPolicy,
1263 [out] DWORD* pcbPolicy,
1264 [in] URLZONEREG ulrZoneReg);
1266 HRESULT SetZoneCustomPolicy(
1267 [in] DWORD dwZone,
1268 [in] REFGUID guidKey,
1269 [in] BYTE *ppPolicy,
1270 [in] DWORD pcbPolicy,
1271 [in] URLZONEREG ulrZoneReg);
1273 HRESULT GetZoneActionPolicy(
1274 [in] DWORD dwZone,
1275 [in] DWORD dwAction,
1276 [out] BYTE* pPolicy,
1277 [in] DWORD cbPolicy,
1278 [in] URLZONEREG urlZoneReg);
1280 HRESULT SetZoneActionPolicy(
1281 [in] DWORD dwZone,
1282 [in] DWORD dwAction,
1283 [in] BYTE* pPolicy,
1284 [in] DWORD cbPolicy,
1285 [in] URLZONEREG urlZoneReg);
1287 HRESULT PromptAction(
1288 [in] DWORD dwAction,
1289 [in] HWND hwndParent,
1290 [in] LPCWSTR pwszUrl,
1291 [in] LPCWSTR pwszText,
1292 [in] DWORD dwPromptFlags );
1294 HRESULT LogAction(
1295 [in] DWORD dwAction,
1296 [in] LPCWSTR pwszUrl,
1297 [in] LPCWSTR pwszText,
1298 [in] DWORD dwLogFlags);
1300 HRESULT CreateZoneEnumerator(
1301 [out] DWORD* pdwEnum,
1302 [out] DWORD* pdwCount,
1303 [in] DWORD dwFlags);
1305 HRESULT GetZoneAt(
1306 [in] DWORD dwEnum,
1307 [in] DWORD dwIndex,
1308 [out] DWORD* pdwZone);
1310 HRESULT DestroyZoneEnumerator(
1311 [in] DWORD dwEnum);
1313 HRESULT CopyTemplatePoliciesToZone(
1314 [in] DWORD dwTemplate,
1315 [in] DWORD dwZone,
1316 [in] DWORD dwReserved);
1319 typedef struct _tagSOFTDISTINFO
1321 ULONG cbSize;
1322 DWORD dwFlags;
1323 DWORD dwAdState;
1324 LPWSTR szTitle;
1325 LPWSTR szAbstract;
1326 LPWSTR szHREF;
1327 DWORD dwInstalledVersionMS;
1328 DWORD dwInstalledVersionLS;
1329 DWORD dwUpdateVersionMS;
1330 DWORD dwUpdateVersionLS;
1331 DWORD dwAdvertisedVersionMS;
1332 DWORD dwAdvertisedVersionLS;
1333 DWORD dwReserved;
1334 } SOFTDISTINFO, *LPSOFTDISTINFO;
1336 typedef struct _tagCODEBASEHOLD
1338 DWORD cbSize;
1339 LPWSTR szDistUnit;
1340 LPWSTR szCodeBase;
1341 DWORD dwVersionMS;
1342 DWORD dwVersionLS;
1343 DWORD dwStyle;
1344 } CODEBASEHOLD, *LPCODEBASEHOLD;
1347 local,
1348 object,
1349 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1350 pointer_default(unique)
1352 interface ISoftDistExt : IUnknown
1354 HRESULT ProcessSoftDist(
1355 [in] LPCWSTR szCDFURL,
1356 [in] IXMLElement *pSoftDistElement,
1357 [in, out] LPSOFTDISTINFO lpsdi );
1359 HRESULT GetFirstCodeBase(
1360 [in] LPWSTR *szCodeBase,
1361 [in] LPDWORD dwMaxSize );
1363 HRESULT GetNextCodeBase(
1364 [in] LPWSTR *szCodeBase,
1365 [in] LPDWORD dwMaxSize );
1367 HRESULT AsyncInstallDistributionUnit(
1368 [in] IBindCtx *pbc,
1369 [in] LPVOID lpReserved,
1370 [in] DWORD flags,
1371 [in] LPCODEBASEHOLD lpcbh);
1374 typedef enum _tagINTERNETFEATURELIST
1376 FEATURE_OBJECT_CACHING,
1377 FEATURE_ZONE_ELEVATION,
1378 FEATURE_MIME_HANDLING,
1379 FEATURE_MIME_SNIFFING,
1380 FEATURE_WINDOW_RESTRICTIONS,
1381 FEATURE_WEBOC_POPUPMANAGEMENT,
1382 FEATURE_BEHAVIORS,
1383 FEATURE_DISABLE_MK_PROTOCOL,
1384 FEATURE_LOCALMACHINE_LOCKDOWN,
1385 FEATURE_SECURITYBAND,
1386 FEATURE_RESTRICT_ACTIVEXINSTALL,
1387 FEATURE_VALIDATE_NAVIGATE_URL,
1388 FEATURE_RESTRICT_FILEDOWNLOAD,
1389 FEATURE_ADDON_MANAGEMENT,
1390 FEATURE_PROTOCOL_LOCKDOWN,
1391 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1392 FEATURE_SAFE_BINDTOOBJECT,
1393 FEATURE_UNC_SAVEDFILECHECK,
1394 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1395 FEATURE_TABBED_BROWSING,
1396 FEATURE_SSLUX,
1397 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1398 FEATURE_DISABLE_LEGACY_COMPRESSION,
1399 FEATURE_FORCE_ADDR_AND_STATUS,
1400 FEATURE_XMLHTTP,
1401 FEATURE_DISABLE_TELNET_PROTOCOL,
1402 FEATURE_FEEDS,
1403 FEATURE_BLOCK_INPUT_PROMPTS,
1404 FEATURE_DOMSTORAGE,
1405 FEATURE_XDOMAINREQUEST,
1406 FEATURE_DATAURI,
1407 FEATURE_AJAX_CONNECTIONSERVICES,
1408 FEATURE_ENTRY_COUNT
1409 } INTERNETFEATURELIST;
1411 typedef struct _tagPROTOCOLFILTERDATA {
1412 DWORD cbSize;
1413 IInternetProtocolSink *pProtocolSink;
1414 IInternetProtocol *pProtocol;
1415 IUnknown *pUnk;
1416 DWORD dwFilterFlags;
1417 } PROTOCOLFILTERDATA;
1419 /*****************************************************************************
1420 * IUri interface
1423 local,
1424 object,
1425 uuid(a39ee748-6a27-4817-a6f2-13914bef5890),
1426 pointer_default(unique)
1428 interface IUri : IUnknown
1430 typedef enum
1432 Uri_PROPERTY_ABSOLUTE_URI = 0,
1433 Uri_PROPERTY_STRING_START = Uri_PROPERTY_ABSOLUTE_URI,
1434 Uri_PROPERTY_AUTHORITY = 1,
1435 Uri_PROPERTY_DISPLAY_URI = 2,
1436 Uri_PROPERTY_DOMAIN = 3,
1437 Uri_PROPERTY_EXTENSION = 4,
1438 Uri_PROPERTY_FRAGMENT = 5,
1439 Uri_PROPERTY_HOST = 6,
1440 Uri_PROPERTY_PASSWORD = 7,
1441 Uri_PROPERTY_PATH = 8,
1442 Uri_PROPERTY_PATH_AND_QUERY = 9,
1443 Uri_PROPERTY_QUERY = 10,
1444 Uri_PROPERTY_RAW_URI = 11,
1445 Uri_PROPERTY_SCHEME_NAME = 12,
1446 Uri_PROPERTY_USER_INFO = 13,
1447 Uri_PROPERTY_USER_NAME = 14,
1448 Uri_PROPERTY_STRING_LAST = Uri_PROPERTY_USER_NAME,
1449 Uri_PROPERTY_HOST_TYPE = 15,
1450 Uri_PROPERTY_DWORD_START = Uri_PROPERTY_HOST_TYPE,
1451 Uri_PROPERTY_PORT = 16,
1452 Uri_PROPERTY_SCHEME = 17,
1453 Uri_PROPERTY_ZONE = 18,
1454 Uri_PROPERTY_DWORD_LAST = Uri_PROPERTY_ZONE
1455 } Uri_PROPERTY;
1457 HRESULT GetPropertyBSTR(
1458 [in] Uri_PROPERTY uriProp,
1459 [out] BSTR *pbstrProperty,
1460 [in] DWORD dwFlags);
1462 HRESULT GetPropertyLength(
1463 [in] Uri_PROPERTY uriProp,
1464 [out] DWORD *pcchProperty,
1465 [in] DWORD dwFlags);
1467 HRESULT GetPropertyDWORD(
1468 [in] Uri_PROPERTY uriProp,
1469 [out] DWORD *pdwProperty,
1470 [in] DWORD dwFlags);
1472 HRESULT HasProperty(
1473 [in] Uri_PROPERTY uriProp,
1474 [out] BOOL *pfHasProperty);
1476 HRESULT GetAbsoluteUri(
1477 [out] BSTR *pbstrAbsoluteUri);
1479 HRESULT GetAuthority(
1480 [out] BSTR *pbstrAuthority);
1482 HRESULT GetDisplayUri(
1483 [out] BSTR *pbstrDisplayString);
1485 HRESULT GetDomain(
1486 [out] BSTR *pbstrDomain);
1488 HRESULT GetExtension(
1489 [out] BSTR *pbstrExtension);
1491 HRESULT GetFragment(
1492 [out] BSTR *pbstrFragment);
1494 HRESULT GetHost(
1495 [out] BSTR *pbstrHost);
1497 HRESULT GetPassword(
1498 [out] BSTR *pbstrPassword);
1500 HRESULT GetPath(
1501 [out] BSTR *pbstrPath);
1503 HRESULT GetPathAndQuery(
1504 [out] BSTR *pbstrPathAndQuery);
1506 HRESULT GetQuery(
1507 [out] BSTR *pbstrQuery);
1509 HRESULT GetRawUri(
1510 [out] BSTR *pbstrRawUri);
1512 HRESULT GetSchemeName(
1513 [out] BSTR *pbstrSchemeName);
1515 HRESULT GetUserInfo(
1516 [out] BSTR *pbstrUserInfo);
1518 HRESULT GetUserName(
1519 [out] BSTR *pbstrUserName);
1521 HRESULT GetHostType(
1522 [out] DWORD *pdwHostType);
1524 HRESULT GetPort(
1525 [out] DWORD *pdwPort);
1527 HRESULT GetScheme(
1528 [out] DWORD *pdwScheme);
1530 HRESULT GetZone(
1531 [out] DWORD *pdwZone);
1533 HRESULT GetProperties(
1534 [out] LPDWORD pdwFlags);
1536 HRESULT IsEqual(
1537 [in] IUri *pUri,
1538 [out] BOOL *pfEqual);
1541 /*****************************************************************************
1542 * IUriContainer interface
1545 local,
1546 object,
1547 uuid(a158a630-ed6f-45fb-b987-f68676f57752),
1548 pointer_default(unique)
1550 interface IUriContainer : IUnknown
1552 HRESULT GetIUri([out] IUri **ppIUri);
1555 /*****************************************************************************
1556 * IInternetProtocolEx interface
1559 local,
1560 object,
1561 uuid(c7a98e66-1010-492c-a1c8-c809e1f75905),
1562 pointer_default(unique)
1564 interface IInternetProtocolEx : IInternetProtocol
1566 HRESULT StartEx(
1567 [in] IUri *pUri,
1568 [in] IInternetProtocolSink *pOIProtSink,
1569 [in] IInternetBindInfo *pOIBindInfo,
1570 [in] DWORD grfPI,
1571 [in] HANDLE *dwReserved);
1574 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1575 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1576 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1577 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1578 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1579 cpp_quote("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
1581 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1582 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1583 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1584 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1585 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1586 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1587 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1589 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
1590 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
1591 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
1593 cpp_quote("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
1594 cpp_quote("#ifndef S_ASYNCHRONOUS")
1595 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1596 cpp_quote("#endif")
1598 cpp_quote("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
1599 cpp_quote("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
1600 cpp_quote("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
1601 cpp_quote("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
1602 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
1603 cpp_quote("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
1604 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
1605 cpp_quote("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
1606 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
1607 cpp_quote("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
1608 cpp_quote("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
1609 cpp_quote("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
1610 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
1611 cpp_quote("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
1612 cpp_quote("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
1613 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
1614 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
1615 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
1616 cpp_quote("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
1617 cpp_quote("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
1618 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
1619 cpp_quote("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1620 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1622 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1623 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1624 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1625 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1626 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1627 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1628 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1629 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1630 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1631 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1632 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1633 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1634 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1635 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1636 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1637 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1638 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1639 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1640 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1641 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
1642 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1643 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1644 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1645 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1646 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
1647 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1648 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1649 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1650 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1651 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1652 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1653 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1654 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1655 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1656 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1657 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1658 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
1659 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
1660 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1661 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1662 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1663 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1664 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1665 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1666 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1667 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1669 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
1670 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
1671 cpp_quote("#define OInetGetSession CoInternetGetSession")
1673 cpp_quote("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
1674 cpp_quote("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
1675 cpp_quote("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
1677 cpp_quote("#define MKSYS_URLMONIKER 6")
1678 cpp_quote("#define URL_MK_LEGACY 0")
1679 cpp_quote("#define URL_MK_UNIFORM 1")