mshtml: Updated Korean resource.
[wine/multimedia.git] / include / urlmon.idl
blobdce872cbb0ecc8d039ae6cf3c450184cf6204ef0
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 interface IInternetProtocolSink;
27 /*****************************************************************************
28 * IBinding interface
31 object,
32 uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b),
33 pointer_default(unique)
35 interface IBinding : IUnknown
37 typedef [unique] IBinding *LPBINDING;
39 HRESULT Abort();
40 HRESULT Suspend();
41 HRESULT Resume();
43 HRESULT SetPriority(
44 [in] LONG nPriority);
46 HRESULT GetPriority(
47 [out] LONG * pnPriority);
49 [local]
50 HRESULT GetBindResult(
51 [out] CLSID *pclsidProtocol,
52 [out] DWORD *pdwResult,
53 [out] LPOLESTR *pszResult,
54 [in, out] DWORD *pdwReserved);
56 [call_as(GetBindResult)]
57 HRESULT RemoteGetBindResult(
58 [out] CLSID *pclsidProtocol,
59 [out] DWORD *pdwResult,
60 [out] LPOLESTR *pszResult,
61 [in] DWORD dwReserved);
65 /*****************************************************************************
66 * IBindStatusCallback interface
69 object,
70 uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b),
71 pointer_default(unique)
73 interface IBindStatusCallback : IUnknown
75 typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
77 typedef enum
79 BINDVERB_GET = 0x00000000,
80 BINDVERB_POST = 0x00000001,
81 BINDVERB_PUT = 0x00000002,
82 BINDVERB_CUSTOM = 0x00000003
83 } BINDVERB;
85 typedef enum
87 BINDINFOF_URLENCODESTGMEDDATA = 0x00000001,
88 BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002
89 } BINDINFOF;
91 typedef enum
93 BINDF_ASYNCHRONOUS = 0x00000001,
94 BINDF_ASYNCSTORAGE = 0x00000002,
95 BINDF_NOPROGRESSIVERENDERING = 0x00000004,
96 BINDF_OFFLINEOPERATION = 0x00000008,
97 BINDF_GETNEWESTVERSION = 0x00000010,
98 BINDF_NOWRITECACHE = 0x00000020,
99 BINDF_NEEDFILE = 0x00000040,
100 BINDF_PULLDATA = 0x00000080,
101 BINDF_IGNORESECURITYPROBLEM = 0x00000100,
102 BINDF_RESYNCHRONIZE = 0x00000200,
103 BINDF_HYPERLINK = 0x00000400,
104 BINDF_NO_UI = 0x00000800,
105 BINDF_SILENTOPERATION = 0x00001000,
106 BINDF_PRAGMA_NO_CACHE = 0x00002000,
107 BINDF_GETCLASSOBJECT = 0x00004000,
108 BINDF_RESERVED_1 = 0x00008000,
109 BINDF_FREE_THREADED = 0x00010000,
110 BINDF_DIRECT_READ = 0x00020000,
111 BINDF_FORMS_SUBMIT = 0x00040000,
112 BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
113 BINDF_FROMURLMON = 0x00100000,
114 BINDF_FWD_BACK = 0x00200000,
115 BINDF_PREFERDEFAULTHANDLER = 0x00400000,
116 BINDF_ENFORCERESTRICTED = 0x00800000
117 } BINDF;
119 typedef enum
121 URL_ENCODING_NONE = 0x00000000,
122 URL_ENCODING_ENABLE_UTF8 = 0x10000000,
123 URL_ENCODING_DISABLE_UTF8 = 0x20000000
124 } URL_ENCODING;
126 typedef struct _tagBINDINFO
128 ULONG cbSize;
129 LPWSTR szExtraInfo;
130 STGMEDIUM stgmedData;
131 DWORD grfBindInfoF;
132 DWORD dwBindVerb;
133 LPWSTR szCustomVerb;
134 DWORD cbStgmedData;
135 DWORD dwOptions;
136 DWORD dwOptionsFlags;
137 DWORD dwCodePage;
138 SECURITY_ATTRIBUTES securityAttributes;
139 IID iid;
140 IUnknown *pUnk;
141 DWORD dwReserved;
142 } BINDINFO;
144 typedef struct _REMSECURITY_ATTRIBUTES
146 DWORD nLength;
147 DWORD lpSecurityDescriptor;
148 BOOL bInheritHandle;
149 } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
151 typedef struct _tagRemBINDINFO
153 ULONG cbSize;
154 LPWSTR szExtraInfo;
155 DWORD grfBindInfoF;
156 DWORD dwBindVerb;
157 LPWSTR szCustomVerb;
158 DWORD cbstgmedData;
159 DWORD dwOptions;
160 DWORD dwOptionsFlags;
161 DWORD dwCodePage;
162 REMSECURITY_ATTRIBUTES securityAttributes;
163 IID iid;
164 IUnknown *pUnk;
165 DWORD dwReserved;
166 } RemBINDINFO;
168 typedef struct tagRemFORMATETC
170 DWORD cfFormat;
171 DWORD ptd;
172 DWORD dwAspect;
173 LONG lindex;
174 DWORD tymed;
175 } RemFORMATETC, *LPREMFORMATETC;
177 typedef enum
179 BSCF_FIRSTDATANOTIFICATION = 0x01,
180 BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
181 BSCF_LASTDATANOTIFICATION = 0x04,
182 BSCF_DATAFULLYAVAILABLE = 0x08,
183 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
184 } BSCF;
186 typedef enum BINDSTATUS
188 BINDSTATUS_FINDINGRESOURCE = 1,
189 BINDSTATUS_CONNECTING,
190 BINDSTATUS_REDIRECTING,
191 BINDSTATUS_BEGINDOWNLOADDATA,
192 BINDSTATUS_DOWNLOADINGDATA,
193 BINDSTATUS_ENDDOWNLOADDATA,
194 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
195 BINDSTATUS_INSTALLINGCOMPONENTS,
196 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
197 BINDSTATUS_USINGCACHEDCOPY,
198 BINDSTATUS_SENDINGREQUEST,
199 BINDSTATUS_CLASSIDAVAILABLE,
200 BINDSTATUS_MIMETYPEAVAILABLE,
201 BINDSTATUS_CACHEFILENAMEAVAILABLE,
202 BINDSTATUS_BEGINSYNCOPERATION,
203 BINDSTATUS_ENDSYNCOPERATION,
204 BINDSTATUS_BEGINUPLOADDATA,
205 BINDSTATUS_UPLOADINGDATA,
206 BINDSTATUS_ENDUPLOADINGDATA,
207 BINDSTATUS_PROTOCOLCLASSID,
208 BINDSTATUS_ENCODING,
209 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
210 BINDSTATUS_CLASSINSTALLLOCATION,
211 BINDSTATUS_DECODING,
212 BINDSTATUS_LOADINGMIMEHANDLER,
213 BINDSTATUS_CONTENTDISPOSITIONATTACH,
214 BINDSTATUS_FILTERREPORTMIMETYPE,
215 BINDSTATUS_CLSIDCANINSTANTIATE,
216 BINDSTATUS_IUNKNOWNAVAILABLE,
217 BINDSTATUS_DIRECTBIND,
218 BINDSTATUS_RAWMIMETYPE,
219 BINDSTATUS_PROXYDETECTING,
220 BINDSTATUS_ACCEPTRANGES,
221 BINDSTATUS_COOKIE_SENT,
222 BINDSTATUS_COMPACT_POLICY_RECEIVED,
223 BINDSTATUS_COOKIE_SUPPRESSED,
224 BINDSTATUS_COOKIE_STATE_UNKNOWN,
225 BINDSTATUS_COOKIE_STATE_ACCEPT,
226 BINDSTATUS_COOKIE_STATE_REJECT,
227 BINDSTATUS_COOKIE_STATE_PROMPT,
228 BINDSTATUS_COOKIE_STATE_LEASH,
229 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
230 BINDSTATUS_POLICY_HREF,
231 BINDSTATUS_P3P_HEADER,
232 BINDSTATUS_SESSION_COOKIE_RECEIVED,
233 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
234 BINDSTATUS_SESSION_COOKIES_ALLOWED,
235 BINDSTATUS_CACHECONTROL,
236 BINDSTATUS_CONTENTDISPOSITIONFILENAME,
237 BINDSTATUS_MIMETEXTPLAINMISMATCH,
238 BINDSTATUS_PUBLISHERAVAILABLE,
239 BINDSTATUS_DISPLAYNAMEAVAILABLE
240 } BINDSTATUS;
243 HRESULT OnStartBinding(
244 [in] DWORD dwReserved,
245 [in] IBinding * pib);
247 HRESULT GetPriority(
248 [out] LONG * pnPriority);
250 HRESULT OnLowResource(
251 [in] DWORD reserved);
253 HRESULT OnProgress(
254 [in] ULONG ulProgress,
255 [in] ULONG ulProgressMax,
256 [in] ULONG ulStatusCode,
257 [in] LPCWSTR szStatusText);
259 HRESULT OnStopBinding(
260 [in] HRESULT hresult,
261 [in, unique] LPCWSTR szError);
263 [local]
264 HRESULT GetBindInfo(
265 [out] DWORD *grfBINDF,
266 [in, out, unique] BINDINFO * pbindinfo);
268 [call_as(GetBindInfo)]
269 HRESULT RemoteGetBindInfo(
270 [out] DWORD *grfBINDF,
271 [in, out, unique] RemBINDINFO * pbindinfo,
272 [in, out, unique] RemSTGMEDIUM* pstgmed);
274 [local]
275 HRESULT OnDataAvailable(
276 [in] DWORD grfBSCF,
277 [in] DWORD dwSize,
278 [in] FORMATETC* pformatetc,
279 [in] STGMEDIUM* pstgmed);
281 [call_as(OnDataAvailable)]
282 HRESULT RemoteOnDataAvailable(
283 [in] DWORD grfBSCF,
284 [in] DWORD dwSize,
285 [in] RemFORMATETC *pformatetc,
286 [in] RemSTGMEDIUM* pstgmed);
288 HRESULT OnObjectAvailable(
289 [in] REFIID riid,
290 [in, iid_is(riid)] IUnknown* punk);
293 /*****************************************************************************
294 * IAuthenticate interface
297 local,
298 object,
299 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
300 pointer_default(unique)
302 interface IAuthenticate : IUnknown
304 typedef [unique] IAuthenticate *LPAUTHENTICATION;
306 HRESULT Authenticate(
307 [out] HWND* phwnd,
308 [out] LPWSTR *pszUsername,
309 [out] LPWSTR *pszPassword);
312 /*****************************************************************************
313 * IHttpNegotiate interface
316 object,
317 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
318 pointer_default(unique)
320 interface IHttpNegotiate : IUnknown
322 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
324 HRESULT BeginningTransaction(
325 [in] LPCWSTR szURL,
326 [in, unique] LPCWSTR szHeaders,
327 [in] DWORD dwReserved,
328 [out] LPWSTR *pszAdditionalHeaders);
330 HRESULT OnResponse(
331 [in] DWORD dwResponseCode,
332 [in, unique] LPCWSTR szResponseHeaders,
333 [in, unique] LPCWSTR szRequestHeaders,
334 [out] LPWSTR *pszAdditionalRequestHeaders);
337 /*****************************************************************************
338 * IHttpNegotiate2 interface
341 object,
342 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
343 pointer_default(unique)
345 interface IHttpNegotiate2 : IHttpNegotiate
347 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
349 HRESULT GetRootSecurityId(
350 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
351 [in, out] DWORD *pcbSecurityId,
352 [in] DWORD_PTR dwReserved);
355 /*****************************************************************************
356 * IBindHost interface
358 cpp_quote("#define SID_IBindHost IID_IBindHost")
359 cpp_quote("#define SID_SBindHost IID_IBindHost")
361 object,
362 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
363 pointer_default(unique)
365 interface IBindHost : IUnknown
367 typedef [unique] IBindHost *LPBINDHOST;
369 HRESULT CreateMoniker(
370 [in] LPOLESTR szName,
371 [in] IBindCtx *pBC,
372 [out] IMoniker** ppmk,
373 [in] DWORD dwReserved);
375 [local]
376 HRESULT MonikerBindToStorage(
377 [in] IMoniker *pMk,
378 [in] IBindCtx *pBC,
379 [in] IBindStatusCallback *pBSC,
380 [in] REFIID riid,
381 [out] void **ppvObj);
383 [call_as(MonikerBindToStorage)]
384 HRESULT RemoteMonikerBindToStorage(
385 [in, unique] IMoniker *pMk,
386 [in, unique] IBindCtx *pBC,
387 [in, unique] IBindStatusCallback *pBSC,
388 [in] REFIID riid,
389 [out, iid_is(riid)] IUnknown **ppvObj);
391 [local]
392 HRESULT MonikerBindToObject(
393 [in] IMoniker *pMk,
394 [in] IBindCtx *pBC,
395 [in] IBindStatusCallback *pBSC,
396 [in] REFIID riid,
397 [out] void **ppvObj);
399 [call_as(MonikerBindToObject)]
400 HRESULT RemoteMonikerBindToObject(
401 [in, unique] IMoniker *pMk,
402 [in, unique] IBindCtx *pBC,
403 [in, unique] IBindStatusCallback *pBSC,
404 [in] REFIID riid,
405 [out, iid_is(riid)] IUnknown **ppvObj);
409 /*****************************************************************************
410 * IWinInetInfo interface
413 object,
414 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
415 pointer_default(unique)
417 interface IWinInetInfo : IUnknown
419 typedef [unique] IWinInetInfo *LPWININETINFO;
421 [local]
422 HRESULT QueryOption(
423 [in] DWORD dwOption,
424 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
425 [in, out] DWORD *pcbBuf);
427 [call_as(QueryOption)]
428 HRESULT RemoteQueryOption(
429 [in] DWORD dwOption,
430 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
431 [in, out] DWORD *pcbBuf);
436 /*****************************************************************************
437 * IWinInetHttpInfo interface
440 object,
441 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
442 pointer_default(unique)
444 interface IWinInetHttpInfo : IWinInetInfo
446 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
448 [local]
449 HRESULT QueryInfo(
450 [in] DWORD dwOption,
451 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
452 [in, out] DWORD *pcbBuf,
453 [in, out] DWORD *pdwFlags,
454 [in, out] DWORD *pdwReserved);
456 [call_as(QueryInfo)]
457 HRESULT RemoteQueryInfo(
458 [in] DWORD dwOption,
459 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
460 [in, out] DWORD *pcbBuf,
461 [in, out] DWORD *pdwFlags,
462 [in, out] DWORD *pdwReserved);
465 /*****************************************************************************
466 * IWindowForBindingUI interface
469 local,
470 object,
471 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
472 pointer_default(unique)
474 interface IWindowForBindingUI : IUnknown
476 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
478 HRESULT GetWindow(
479 [in] REFGUID rguidReason,
480 [out] HWND *phwnd);
483 /*****************************************************************************
484 * IHttpSecurity interface
487 object,
488 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
489 pointer_default(unique)
491 interface IHttpSecurity : IWindowForBindingUI
493 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
495 HRESULT OnSecurityProblem(
496 [in] DWORD dwProblem);
500 /*****************************************************************************
501 * IPersistMoniker interface
504 object,
505 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
506 pointer_default(unique)
508 interface IPersistMoniker : IUnknown
510 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
512 HRESULT GetClassID(
513 [out] CLSID *pClassID);
515 HRESULT IsDirty();
517 HRESULT Load(
518 [in] BOOL fFullyAvailable,
519 [in] IMoniker *pimkName,
520 [in] LPBC pibc,
521 [in] DWORD grfMode);
523 HRESULT Save(
524 [in] IMoniker *pimkName,
525 [in] LPBC pbc,
526 [in] BOOL fRemember);
528 HRESULT SaveCompleted(
529 [in] IMoniker *pimkName,
530 [in] LPBC pibc);
532 HRESULT GetCurMoniker(
533 [out] IMoniker **ppimkName);
536 /*****************************************************************************
537 * IMonikerProp interface
540 object,
541 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
542 pointer_default(unique)
544 interface IMonikerProp : IUnknown
546 typedef [unique] IMonikerProp *LPMONIKERPROP;
548 typedef enum {
549 MIMETYPEPROP = 0x00000000,
550 USE_SRC_URL = 0x00000001
551 } MONIKERPROPERTY;
553 HRESULT PutProperty(
554 [in] MONIKERPROPERTY mkp,
555 [in] LPCWSTR val);
558 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
559 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
561 /*****************************************************************************
562 * IBindProtocol interface
565 local,
566 object,
567 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
568 pointer_default(unique)
570 interface IBindProtocol : IUnknown
572 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
574 HRESULT CreateBinding(
575 [in] LPCWSTR szUrl,
576 [in] IBindCtx *pbc,
577 [out] IBinding **ppb);
580 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
582 /*****************************************************************************
583 * IInternetBindInfo interface
586 local,
587 object,
588 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
589 pointer_default(unique)
591 interface IInternetBindInfo : IUnknown
593 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
595 typedef enum tagBINDSTRING
597 BINDSTRING_HEADERS = 1,
598 BINDSTRING_ACCEPT_MIMES,
599 BINDSTRING_EXTRA_URL,
600 BINDSTRING_LANGUAGE,
601 BINDSTRING_USERNAME,
602 BINDSTRING_PASSWORD,
603 BINDSTRING_UA_PIXELS,
604 BINDSTRING_UA_COLOR,
605 BINDSTRING_OS,
606 BINDSTRING_USER_AGENT,
607 BINDSTRING_ACCEPT_ENCODINGS,
608 BINDSTRING_POST_COOKIE,
609 BINDSTRING_POST_DATA_MIME,
610 BINDSTRING_URL,
611 BINDSTRING_IID,
612 BINDSTRING_FLAG_BIND_TO_OBJECT,
613 BINDSTRING_PTR_BIND_CONTEXT
614 } BINDSTRING;
616 HRESULT GetBindInfo(
617 [out] DWORD *grfBINDF,
618 [in, out, unique] BINDINFO *pbindinfo);
620 HRESULT GetBindString(
621 [in] ULONG ulStringType,
622 [in, out] LPOLESTR *ppwzStr,
623 [in] ULONG cEl,
624 [in, out] ULONG *pcElFetched);
627 /*****************************************************************************
628 * IInternetPriority interface
631 local,
632 object,
633 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
634 pointer_default(unique)
636 interface IInternetPriority : IUnknown
638 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
640 HRESULT SetPriority([in] LONG nPriority);
641 HRESULT GetPriority([out] LONG *pnPriority);
644 /*****************************************************************************
645 * IInternetProtocolRoot interface
648 local,
649 object,
650 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
651 pointer_default(unique)
653 interface IInternetProtocolRoot : IUnknown
655 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
657 typedef enum _tagPI_FLAGS
659 PI_PARSE_URL = 0x00000001,
660 PI_FILTER_MODE = 0x00000002,
661 PI_FORCE_ASYNC = 0x00000004,
662 PI_USE_WORKERTHREAD = 0x00000008,
663 PI_MIMEVERIFICATION = 0x00000010,
664 PI_CLSIDLOOKUP = 0x00000020,
665 PI_DATAPROGRESS = 0x00000040,
666 PI_SYNCHRONOUS = 0x00000080,
667 PI_APARTMENTTHREADED = 0x00000100,
668 PI_CLASSINSTALL = 0x00000200,
669 PD_FORCE_SWITCH = 0x00010000
670 } PI_FLAGS;
672 typedef struct _tagPROTOCOLDATA
674 DWORD grfFlags;
675 DWORD dwState;
676 LPVOID pData;
677 ULONG cbData;
678 } PROTOCOLDATA;
680 HRESULT Start(
681 [in] LPCWSTR szUrl,
682 [in] IInternetProtocolSink *pOIProtSink,
683 [in] IInternetBindInfo *pOIBindInfo,
684 [in] DWORD grfPI,
685 [in] DWORD dwReserved);
687 HRESULT Continue(
688 [in] PROTOCOLDATA *pProtocolData);
690 HRESULT Abort(
691 [in] HRESULT hrReason,
692 [in] DWORD dwOptions);
694 HRESULT Terminate(
695 [in] DWORD dwOptions);
697 HRESULT Suspend();
699 HRESULT Resume();
702 /*****************************************************************************
703 * IInternetProtocolSink interface
706 local,
707 object,
708 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
709 pointer_default(unique)
711 interface IInternetProtocolSink : IUnknown
713 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
715 HRESULT Switch(
716 [in] PROTOCOLDATA *pProtocolData);
718 HRESULT ReportProgress(
719 [in] ULONG ulStatusCode,
720 [in] LPCWSTR szStatusText);
722 HRESULT ReportData(
723 [in] DWORD grfBSCF,
724 [in] ULONG ulProgress,
725 [in] ULONG ulProgressMax);
727 HRESULT ReportResult(
728 [in] HRESULT hrResult,
729 [in] DWORD dwError,
730 [in] LPCWSTR szResult);
733 /*****************************************************************************
734 * IInternetProtocol interface
737 local,
738 object,
739 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
740 pointer_default(unique)
742 interface IInternetProtocol : IInternetProtocolRoot
744 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
746 HRESULT Read(
747 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
748 [in] ULONG cb,
749 [out] ULONG *pcbRead);
751 HRESULT Seek(
752 [in] LARGE_INTEGER dlibMove,
753 [in] DWORD dwOrigin,
754 [out] ULARGE_INTEGER *plibNewPosition);
756 HRESULT LockRequest(
757 [in] DWORD dwOptions);
759 HRESULT UnlockRequest();
762 /*****************************************************************************
763 * IInternetProtocolInfo interface
766 local,
767 object,
768 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
769 pointer_default(unique)
771 interface IInternetProtocolInfo : IUnknown
773 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
775 typedef enum _tagPARSEACTION
777 PARSE_CANONICALIZE = 1,
778 PARSE_FRIENDLY,
779 PARSE_SECURITY_URL,
780 PARSE_ROOTDOCUMENT,
781 PARSE_DOCUMENT,
782 PARSE_ANCHOR,
783 PARSE_ENCODE,
784 PARSE_DECODE,
785 PARSE_PATH_FROM_URL,
786 PARSE_URL_FROM_PATH,
787 PARSE_MIME,
788 PARSE_SERVER,
789 PARSE_SCHEMA,
790 PARSE_SITE,
791 PARSE_DOMAIN,
792 PARSE_LOCATION,
793 PARSE_SECURITY_DOMAIN,
794 PARSE_ESCAPE,
795 PARSE_UNESCAPE
796 } PARSEACTION;
798 typedef enum _tagPSUACTION
800 PSU_DEFAULT = 1,
801 PSU_SECURITY_URL_ONLY
802 } PSUACTION;
804 typedef enum _tagQUERYOPTION
806 QUERY_EXPIRATION_DATE = 1,
807 QUERY_TIME_OF_LAST_CHANGE,
808 QUERY_CONTENT_ENCODING,
809 QUERY_CONTENT_TYPE,
810 QUERY_REFRESH,
811 QUERY_RECOMBINE,
812 QUERY_CAN_NAVIGATE,
813 QUERY_USES_NETWORK,
814 QUERY_IS_CACHED,
815 QUERY_IS_INSTALLEDENTRY,
816 QUERY_IS_CACHED_OR_MAPPED,
817 QUERY_USES_CACHE,
818 QUERY_IS_SECURE,
819 QUERY_IS_SAFE
820 } QUERYOPTION;
822 HRESULT ParseUrl(
823 [in] LPCWSTR pwzUrl,
824 [in] PARSEACTION ParseAction,
825 [in] DWORD dwParseFlags,
826 [out] LPWSTR pwzResult,
827 [in] DWORD cchResult,
828 [out] DWORD *pcchResult,
829 [in] DWORD dwReserved);
831 HRESULT CombineUrl(
832 [in] LPCWSTR pwzBaseUrl,
833 [in] LPCWSTR pwzRelativeUrl,
834 [in] DWORD dwCombineFlags,
835 [out] LPWSTR pwzResult,
836 [in] DWORD cchResult,
837 [out] DWORD *pcchResult,
838 [in] DWORD dwReserved);
840 HRESULT CompareUrl(
841 [in] LPCWSTR pwzUrl1,
842 [in] LPCWSTR pwzUrl2,
843 [in] DWORD dwCompareFlags);
845 HRESULT QueryInfo(
846 [in] LPCWSTR pwzUrl,
847 [in] QUERYOPTION OueryOption,
848 [in] DWORD dwQueryFlags,
849 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
850 [in] DWORD cbBuffer,
851 [in, out] DWORD *pcbBuf,
852 [in] DWORD dwReserved);
855 /*****************************************************************************
856 * IInternetSession interface
859 local,
860 object,
861 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
862 pointer_default(unique)
864 interface IInternetSession : IUnknown
866 typedef [unique] IInternetSession *LPIINTERNETSESSION;
868 typedef enum _tagOIBDG_FLAGS
870 OIBDG_APARTMENTTHREADED = 0x0100,
871 OIBDG_DATAONLY = 0x1000
872 } OIBDG_FLAGS;
874 HRESULT RegisterNameSpace(
875 [in] IClassFactory *pCF,
876 [in] REFCLSID rclsid,
877 [in] LPCWSTR pwzProtocol,
878 [in] ULONG cPatterns,
879 [in] const LPCWSTR *ppwzPatterns,
880 [in] DWORD dwReserved);
882 HRESULT UnregisterNameSpace(
883 [in] IClassFactory *pCF,
884 [in] LPCWSTR pszProtocol);
886 HRESULT RegisterMimeFilter(
887 [in] IClassFactory *pCF,
888 [in] REFCLSID rclsid,
889 [in] LPCWSTR pwzType);
891 HRESULT UnregisterMimeFilter(
892 [in] IClassFactory *pCF,
893 [in] LPCWSTR pwzType);
895 HRESULT CreateBinding(
896 [in] LPBC pBC,
897 [in] LPCWSTR szUrl,
898 [in] IUnknown *pUnkOuter,
899 [out, unique] IUnknown **ppUnk,
900 [out, unique] IInternetProtocol **ppOInetProt,
901 [in] DWORD dwOption);
903 HRESULT SetSessionOption(
904 [in] DWORD dwOption,
905 [in] LPVOID pBuffer,
906 [in] DWORD dwBufferLength,
907 [in] DWORD dwReserved);
910 /*****************************************************************************
911 * IInternetSecurityMgrSite interface
914 local,
915 object,
916 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
917 pointer_default(unique)
919 interface IInternetSecurityMgrSite : IUnknown
921 HRESULT GetWindow(
922 [out] HWND *phwnd);
924 HRESULT EnableModeless(
925 [in] BOOL fEnable);
929 /*****************************************************************************
930 * IInternetSecurityManager interface
932 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
935 object,
936 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
937 pointer_default(unique)
939 interface IInternetSecurityManager : IUnknown
941 HRESULT SetSecuritySite(
942 [in, unique] IInternetSecurityMgrSite *pSite);
944 HRESULT GetSecuritySite(
945 [out] IInternetSecurityMgrSite **ppSite);
947 HRESULT MapUrlToZone(
948 [in] LPCWSTR pwszUrl,
949 [out] DWORD *pdwZone,
950 [in] DWORD dwFlags);
952 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
954 HRESULT GetSecurityId(
955 [in] LPCWSTR pwszUrl,
956 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
957 [in, out] DWORD *pcbSecurityId,
958 [in] DWORD_PTR dwReserved);
961 typedef enum {
962 PUAF_DEFAULT = 0x00,
963 PUAF_NOUI = 0x01,
964 PUAF_ISFILE = 0x02,
965 PUAF_WARN_IF_DENIED = 0x04,
966 PUAF_FORCEUI_FOREGROUND = 0x08,
967 PUAF_CHECK_TIPS = 0x10
968 } PUAF;
970 HRESULT ProcessUrlAction(
971 [in] LPCWSTR pwszUrl,
972 [in] DWORD dwAction,
973 [out, size_is(cbPolicy)] BYTE *pPolicy,
974 [in] DWORD cbPolicy,
975 [in] BYTE *pContext,
976 [in] DWORD cbContext,
977 [in] DWORD dwFlags,
978 [in] DWORD dwReserved);
980 HRESULT QueryCustomPolicy(
981 [in] LPCWSTR pwszUrl,
982 [in] REFGUID guidKey,
983 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
984 [out] DWORD *pcbPolicy,
985 [in] BYTE *pContext,
986 [in] DWORD cbContext,
987 [in] DWORD dwReserved);
989 typedef enum {
990 SZM_CREATE = 0x0,
991 SZM_DELETE = 0x1
992 } SZM_FLAGS;
994 HRESULT SetZoneMapping(
995 [in] DWORD dwZone,
996 [in] LPCWSTR lpszPattern,
997 [in] DWORD dwFlags);
999 HRESULT GetZoneMappings(
1000 [in] DWORD dwZone,
1001 [out] IEnumString **ppenumString,
1002 [in] DWORD dwFlags);
1005 /*****************************************************************************
1006 * IInternetZoneManager interface
1009 local,
1010 object,
1011 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1012 pointer_default(unique)
1014 interface IInternetZoneManager : IUnknown
1016 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1018 typedef enum tagURLZONE
1020 URLZONE_PREDEFINED_MIN = 0,
1021 URLZONE_LOCAL_MACHINE = 0,
1022 URLZONE_INTRANET = 1,
1023 URLZONE_TRUSTED = 2,
1024 URLZONE_INTERNET = 3,
1025 URLZONE_UNTRUSTED = 4,
1026 URLZONE_PREDEFINED_MAX = 999,
1027 URLZONE_USER_MIN = 1000,
1028 URLZONE_USER_MAX = 10000,
1029 } URLZONE;
1031 typedef enum tagURLTEMPLATE
1033 URLTEMPLATE_CUSTOM = 0x00000,
1034 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1035 URLTEMPLATE_LOW = 0x10000,
1036 URLTEMPLATE_MEDIUM = 0x11000,
1037 URLTEMPLATE_HIGH = 0x12000,
1038 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1039 } URLTEMPLATE ;
1041 typedef enum {
1042 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1043 ZAFLAGS_ADD_SITES = 0x00000002,
1044 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1045 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1046 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1047 ZAFLAGS_NO_UI = 0x00000020,
1048 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1049 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1050 } ZAFLAGS ;
1052 enum {
1053 MAX_ZONE_PATH = 260,
1054 MAX_ZONE_DESCRIPTION = 200
1057 typedef struct _ZONEATTRIBUTES {
1058 ULONG cbSize;
1059 WCHAR szDisplayName[MAX_ZONE_PATH];
1060 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1061 WCHAR szIconPath[MAX_ZONE_PATH];
1062 DWORD dwTemplateMinLevel;
1063 DWORD dwTemplateRecommended;
1064 DWORD dwTemplateCurrentLevel;
1065 DWORD dwFlags;
1066 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1068 typedef enum _URLZONEREG {
1069 URLZONEREG_DEFAULT,
1070 URLZONEREG_HKLM,
1071 URLZONEREG_HKCU
1072 } URLZONEREG;
1074 HRESULT GetZoneAttributes(
1075 [in] DWORD dwZone,
1076 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1078 HRESULT SetZoneAttributes(
1079 [in] DWORD dwZone,
1080 [in] ZONEATTRIBUTES* pZoneAttributes);
1082 HRESULT GetZoneCustomPolicy(
1083 [in] DWORD dwZone,
1084 [in] REFGUID guidKey,
1085 [out] BYTE **ppPolicy,
1086 [out] DWORD* pcbPolicy,
1087 [in] URLZONEREG ulrZoneReg);
1089 HRESULT SetZoneCustomPolicy(
1090 [in] DWORD dwZone,
1091 [in] REFGUID guidKey,
1092 [in] BYTE *ppPolicy,
1093 [in] DWORD pcbPolicy,
1094 [in] URLZONEREG ulrZoneReg);
1096 HRESULT GetZoneActionPolicy(
1097 [in] DWORD dwZone,
1098 [in] DWORD dwAction,
1099 [out] BYTE* pPolicy,
1100 [in] DWORD cbPolicy,
1101 [in] URLZONEREG urlZoneReg);
1103 HRESULT SetZoneActionPolicy(
1104 [in] DWORD dwZone,
1105 [in] DWORD dwAction,
1106 [in] BYTE* pPolicy,
1107 [in] DWORD cbPolicy,
1108 [in] URLZONEREG urlZoneReg);
1110 HRESULT PromptAction(
1111 [in] DWORD dwAction,
1112 [in] HWND hwndParent,
1113 [in] LPCWSTR pwszUrl,
1114 [in] LPCWSTR pwszText,
1115 [in] DWORD dwPromptFlags );
1117 HRESULT LogAction(
1118 [in] DWORD dwAction,
1119 [in] LPCWSTR pwszUrl,
1120 [in] LPCWSTR pwszText,
1121 [in] DWORD dwLogFlags);
1123 HRESULT CreateZoneEnumerator(
1124 [out] DWORD* pdwEnum,
1125 [out] DWORD* pdwCount,
1126 [in] DWORD dwFlags);
1128 HRESULT GetZoneAt(
1129 [in] DWORD dwEnum,
1130 [in] DWORD dwIndex,
1131 [out] DWORD* pdwZone);
1133 HRESULT DestroyZoneEnumerator(
1134 [in] DWORD dwEnum);
1136 HRESULT CopyTemplatePoliciesToZone(
1137 [in] DWORD dwTemplate,
1138 [in] DWORD dwZone,
1139 [in] DWORD dwReserved);
1142 typedef struct _tagSOFTDISTINFO
1144 ULONG cbSize;
1145 DWORD dwFlags;
1146 DWORD dwAdState;
1147 LPWSTR szTitle;
1148 LPWSTR szAbstract;
1149 LPWSTR szHREF;
1150 DWORD dwInstalledVersionMS;
1151 DWORD dwInstalledVersionLS;
1152 DWORD dwUpdateVersionMS;
1153 DWORD dwUpdateVersionLS;
1154 DWORD dwAdvertisedVersionMS;
1155 DWORD dwAdvertisedVersionLS;
1156 DWORD dwReserved;
1157 } SOFTDISTINFO, *LPSOFTDISTINFO;
1159 typedef struct _tagCODEBASEHOLD
1161 DWORD cbSize;
1162 LPWSTR szDistUnit;
1163 LPWSTR szCodeBase;
1164 DWORD dwVersionMS;
1165 DWORD dwVersionLS;
1166 DWORD dwStyle;
1167 } CODEBASEHOLD, *LPCODEBASEHOLD;
1170 local,
1171 object,
1172 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1173 pointer_default(unique)
1175 interface ISoftDistExt : IUnknown
1177 HRESULT ProcessSoftDist(
1178 [in] LPCWSTR szCDFURL,
1179 [in] IXMLElement *pSoftDistElement,
1180 [in, out] LPSOFTDISTINFO lpsdi );
1182 HRESULT GetFirstCodeBase(
1183 [in] LPWSTR *szCodeBase,
1184 [in] LPDWORD dwMaxSize );
1186 HRESULT GetNextCodeBase(
1187 [in] LPWSTR *szCodeBase,
1188 [in] LPDWORD dwMaxSize );
1190 HRESULT AsyncInstallDistributionUnit(
1191 [in] IBindCtx *pbc,
1192 [in] LPVOID lpReserved,
1193 [in] DWORD flags,
1194 [in] LPCODEBASEHOLD lpcbh);
1197 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1198 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1199 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1200 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1201 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1203 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1204 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1205 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1206 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1207 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1208 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1209 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1211 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
1212 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
1213 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
1215 cpp_quote("#define MK_S_ASYNCHRONOUS 0x000401E8")
1216 cpp_quote("#ifndef S_ASYNCHRONOUS")
1217 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1218 cpp_quote("#endif")
1220 cpp_quote("#define INET_E_ERROR_FIRST 0x800C0002")
1221 cpp_quote("#define INET_E_INVALID_URL 0x800C0002")
1222 cpp_quote("#define INET_E_NO_SESSION 0x800C0003")
1223 cpp_quote("#define INET_E_CANNOT_CONNECT 0x800C0004")
1224 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND 0x800C0005")
1225 cpp_quote("#define INET_E_OBJECT_NOT_FOUND 0x800C0006")
1226 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE 0x800C0007")
1227 cpp_quote("#define INET_E_DOWNLOAD_FAILURE 0x800C0008")
1228 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED 0x800C0009")
1229 cpp_quote("#define INET_E_NO_VALID_MEDIA 0x800C000A")
1230 cpp_quote("#define INET_E_CONNECTION_TIMEOUT 0x800C000B")
1231 cpp_quote("#define INET_E_INVALID_REQUEST 0x800C000C")
1232 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL 0x800C000D")
1233 cpp_quote("#define INET_E_SECURITY_PROBLEM 0x800C000E")
1234 cpp_quote("#define INET_E_CANNOT_LOAD_DATA 0x800C000F")
1235 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010")
1236 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER 0x800C0011")
1237 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN 0x800C0013")
1238 cpp_quote("#define INET_E_REDIRECT_FAILED 0x800C0014")
1239 cpp_quote("#define INET_E_REDIRECT_TO_DIR 0x800C0015")
1240 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST 0x800C0016")
1241 cpp_quote("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1242 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1244 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1245 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1246 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1247 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1248 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1249 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1250 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1251 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1252 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1253 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1254 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1255 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1256 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1257 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1258 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1259 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1260 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1261 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1262 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1263 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1264 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1265 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1266 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1267 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1268 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1269 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1270 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1271 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1272 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1273 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1274 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1275 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1276 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1277 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1278 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
1279 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1280 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1282 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
1283 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
1284 cpp_quote("#define OInetGetSession CoInternetGetSession")
1286 cpp_quote("#define MKSYS_URLMONIKER 6")