msvcrt: Implement _wspawnl{, e, p, pe}.
[wine.git] / include / urlmon.idl
blobab59c409385e3f17f06b1bbdff167bb04f709419
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 = 0,
550 USE_SRC_URL = 1,
551 CLASSIDPROP = 2,
552 TRUSTEDDOWNLOADPROP = 3,
553 POPUPLEVELPROP = 4
554 } MONIKERPROPERTY;
556 HRESULT PutProperty(
557 [in] MONIKERPROPERTY mkp,
558 [in] LPCWSTR val);
561 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
562 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
564 /*****************************************************************************
565 * IBindProtocol interface
568 local,
569 object,
570 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
571 pointer_default(unique)
573 interface IBindProtocol : IUnknown
575 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
577 HRESULT CreateBinding(
578 [in] LPCWSTR szUrl,
579 [in] IBindCtx *pbc,
580 [out] IBinding **ppb);
583 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
585 /*****************************************************************************
586 * IInternetBindInfo interface
589 local,
590 object,
591 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
592 pointer_default(unique)
594 interface IInternetBindInfo : IUnknown
596 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
598 typedef enum tagBINDSTRING
600 BINDSTRING_HEADERS = 1,
601 BINDSTRING_ACCEPT_MIMES,
602 BINDSTRING_EXTRA_URL,
603 BINDSTRING_LANGUAGE,
604 BINDSTRING_USERNAME,
605 BINDSTRING_PASSWORD,
606 BINDSTRING_UA_PIXELS,
607 BINDSTRING_UA_COLOR,
608 BINDSTRING_OS,
609 BINDSTRING_USER_AGENT,
610 BINDSTRING_ACCEPT_ENCODINGS,
611 BINDSTRING_POST_COOKIE,
612 BINDSTRING_POST_DATA_MIME,
613 BINDSTRING_URL,
614 BINDSTRING_IID,
615 BINDSTRING_FLAG_BIND_TO_OBJECT,
616 BINDSTRING_PTR_BIND_CONTEXT
617 } BINDSTRING;
619 HRESULT GetBindInfo(
620 [out] DWORD *grfBINDF,
621 [in, out, unique] BINDINFO *pbindinfo);
623 HRESULT GetBindString(
624 [in] ULONG ulStringType,
625 [in, out] LPOLESTR *ppwzStr,
626 [in] ULONG cEl,
627 [in, out] ULONG *pcElFetched);
630 /*****************************************************************************
631 * IInternetPriority interface
634 local,
635 object,
636 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
637 pointer_default(unique)
639 interface IInternetPriority : IUnknown
641 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
643 HRESULT SetPriority([in] LONG nPriority);
644 HRESULT GetPriority([out] LONG *pnPriority);
647 /*****************************************************************************
648 * IInternetProtocolRoot interface
651 local,
652 object,
653 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
654 pointer_default(unique)
656 interface IInternetProtocolRoot : IUnknown
658 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
660 typedef enum _tagPI_FLAGS
662 PI_PARSE_URL = 0x00000001,
663 PI_FILTER_MODE = 0x00000002,
664 PI_FORCE_ASYNC = 0x00000004,
665 PI_USE_WORKERTHREAD = 0x00000008,
666 PI_MIMEVERIFICATION = 0x00000010,
667 PI_CLSIDLOOKUP = 0x00000020,
668 PI_DATAPROGRESS = 0x00000040,
669 PI_SYNCHRONOUS = 0x00000080,
670 PI_APARTMENTTHREADED = 0x00000100,
671 PI_CLASSINSTALL = 0x00000200,
672 PD_FORCE_SWITCH = 0x00010000
673 } PI_FLAGS;
675 typedef struct _tagPROTOCOLDATA
677 DWORD grfFlags;
678 DWORD dwState;
679 LPVOID pData;
680 ULONG cbData;
681 } PROTOCOLDATA;
683 HRESULT Start(
684 [in] LPCWSTR szUrl,
685 [in] IInternetProtocolSink *pOIProtSink,
686 [in] IInternetBindInfo *pOIBindInfo,
687 [in] DWORD grfPI,
688 [in] DWORD dwReserved);
690 HRESULT Continue(
691 [in] PROTOCOLDATA *pProtocolData);
693 HRESULT Abort(
694 [in] HRESULT hrReason,
695 [in] DWORD dwOptions);
697 HRESULT Terminate(
698 [in] DWORD dwOptions);
700 HRESULT Suspend();
702 HRESULT Resume();
705 /*****************************************************************************
706 * IInternetProtocolSink interface
709 local,
710 object,
711 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
712 pointer_default(unique)
714 interface IInternetProtocolSink : IUnknown
716 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
718 HRESULT Switch(
719 [in] PROTOCOLDATA *pProtocolData);
721 HRESULT ReportProgress(
722 [in] ULONG ulStatusCode,
723 [in] LPCWSTR szStatusText);
725 HRESULT ReportData(
726 [in] DWORD grfBSCF,
727 [in] ULONG ulProgress,
728 [in] ULONG ulProgressMax);
730 HRESULT ReportResult(
731 [in] HRESULT hrResult,
732 [in] DWORD dwError,
733 [in] LPCWSTR szResult);
736 /*****************************************************************************
737 * IInternetProtocol interface
740 local,
741 object,
742 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
743 pointer_default(unique)
745 interface IInternetProtocol : IInternetProtocolRoot
747 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
749 HRESULT Read(
750 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
751 [in] ULONG cb,
752 [out] ULONG *pcbRead);
754 HRESULT Seek(
755 [in] LARGE_INTEGER dlibMove,
756 [in] DWORD dwOrigin,
757 [out] ULARGE_INTEGER *plibNewPosition);
759 HRESULT LockRequest(
760 [in] DWORD dwOptions);
762 HRESULT UnlockRequest();
765 /*****************************************************************************
766 * IInternetProtocolInfo interface
769 local,
770 object,
771 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
772 pointer_default(unique)
774 interface IInternetProtocolInfo : IUnknown
776 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
778 typedef enum _tagPARSEACTION
780 PARSE_CANONICALIZE = 1,
781 PARSE_FRIENDLY,
782 PARSE_SECURITY_URL,
783 PARSE_ROOTDOCUMENT,
784 PARSE_DOCUMENT,
785 PARSE_ANCHOR,
786 PARSE_ENCODE,
787 PARSE_DECODE,
788 PARSE_PATH_FROM_URL,
789 PARSE_URL_FROM_PATH,
790 PARSE_MIME,
791 PARSE_SERVER,
792 PARSE_SCHEMA,
793 PARSE_SITE,
794 PARSE_DOMAIN,
795 PARSE_LOCATION,
796 PARSE_SECURITY_DOMAIN,
797 PARSE_ESCAPE,
798 PARSE_UNESCAPE
799 } PARSEACTION;
801 typedef enum _tagPSUACTION
803 PSU_DEFAULT = 1,
804 PSU_SECURITY_URL_ONLY
805 } PSUACTION;
807 typedef enum _tagQUERYOPTION
809 QUERY_EXPIRATION_DATE = 1,
810 QUERY_TIME_OF_LAST_CHANGE,
811 QUERY_CONTENT_ENCODING,
812 QUERY_CONTENT_TYPE,
813 QUERY_REFRESH,
814 QUERY_RECOMBINE,
815 QUERY_CAN_NAVIGATE,
816 QUERY_USES_NETWORK,
817 QUERY_IS_CACHED,
818 QUERY_IS_INSTALLEDENTRY,
819 QUERY_IS_CACHED_OR_MAPPED,
820 QUERY_USES_CACHE,
821 QUERY_IS_SECURE,
822 QUERY_IS_SAFE
823 } QUERYOPTION;
825 HRESULT ParseUrl(
826 [in] LPCWSTR pwzUrl,
827 [in] PARSEACTION ParseAction,
828 [in] DWORD dwParseFlags,
829 [out] LPWSTR pwzResult,
830 [in] DWORD cchResult,
831 [out] DWORD *pcchResult,
832 [in] DWORD dwReserved);
834 HRESULT CombineUrl(
835 [in] LPCWSTR pwzBaseUrl,
836 [in] LPCWSTR pwzRelativeUrl,
837 [in] DWORD dwCombineFlags,
838 [out] LPWSTR pwzResult,
839 [in] DWORD cchResult,
840 [out] DWORD *pcchResult,
841 [in] DWORD dwReserved);
843 HRESULT CompareUrl(
844 [in] LPCWSTR pwzUrl1,
845 [in] LPCWSTR pwzUrl2,
846 [in] DWORD dwCompareFlags);
848 HRESULT QueryInfo(
849 [in] LPCWSTR pwzUrl,
850 [in] QUERYOPTION OueryOption,
851 [in] DWORD dwQueryFlags,
852 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
853 [in] DWORD cbBuffer,
854 [in, out] DWORD *pcbBuf,
855 [in] DWORD dwReserved);
858 /*****************************************************************************
859 * IInternetSession interface
862 local,
863 object,
864 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
865 pointer_default(unique)
867 interface IInternetSession : IUnknown
869 typedef [unique] IInternetSession *LPIINTERNETSESSION;
871 typedef enum _tagOIBDG_FLAGS
873 OIBDG_APARTMENTTHREADED = 0x0100,
874 OIBDG_DATAONLY = 0x1000
875 } OIBDG_FLAGS;
877 HRESULT RegisterNameSpace(
878 [in] IClassFactory *pCF,
879 [in] REFCLSID rclsid,
880 [in] LPCWSTR pwzProtocol,
881 [in] ULONG cPatterns,
882 [in] const LPCWSTR *ppwzPatterns,
883 [in] DWORD dwReserved);
885 HRESULT UnregisterNameSpace(
886 [in] IClassFactory *pCF,
887 [in] LPCWSTR pszProtocol);
889 HRESULT RegisterMimeFilter(
890 [in] IClassFactory *pCF,
891 [in] REFCLSID rclsid,
892 [in] LPCWSTR pwzType);
894 HRESULT UnregisterMimeFilter(
895 [in] IClassFactory *pCF,
896 [in] LPCWSTR pwzType);
898 HRESULT CreateBinding(
899 [in] LPBC pBC,
900 [in] LPCWSTR szUrl,
901 [in] IUnknown *pUnkOuter,
902 [out, unique] IUnknown **ppUnk,
903 [out, unique] IInternetProtocol **ppOInetProt,
904 [in] DWORD dwOption);
906 HRESULT SetSessionOption(
907 [in] DWORD dwOption,
908 [in] LPVOID pBuffer,
909 [in] DWORD dwBufferLength,
910 [in] DWORD dwReserved);
913 /*****************************************************************************
914 * IInternetSecurityMgrSite interface
917 local,
918 object,
919 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
920 pointer_default(unique)
922 interface IInternetSecurityMgrSite : IUnknown
924 HRESULT GetWindow(
925 [out] HWND *phwnd);
927 HRESULT EnableModeless(
928 [in] BOOL fEnable);
932 /*****************************************************************************
933 * IInternetSecurityManager interface
935 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
938 object,
939 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
940 pointer_default(unique)
942 interface IInternetSecurityManager : IUnknown
944 HRESULT SetSecuritySite(
945 [in, unique] IInternetSecurityMgrSite *pSite);
947 HRESULT GetSecuritySite(
948 [out] IInternetSecurityMgrSite **ppSite);
950 HRESULT MapUrlToZone(
951 [in] LPCWSTR pwszUrl,
952 [out] DWORD *pdwZone,
953 [in] DWORD dwFlags);
955 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
957 HRESULT GetSecurityId(
958 [in] LPCWSTR pwszUrl,
959 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
960 [in, out] DWORD *pcbSecurityId,
961 [in] DWORD_PTR dwReserved);
964 typedef enum {
965 PUAF_DEFAULT = 0x00,
966 PUAF_NOUI = 0x01,
967 PUAF_ISFILE = 0x02,
968 PUAF_WARN_IF_DENIED = 0x04,
969 PUAF_FORCEUI_FOREGROUND = 0x08,
970 PUAF_CHECK_TIPS = 0x10
971 } PUAF;
973 HRESULT ProcessUrlAction(
974 [in] LPCWSTR pwszUrl,
975 [in] DWORD dwAction,
976 [out, size_is(cbPolicy)] BYTE *pPolicy,
977 [in] DWORD cbPolicy,
978 [in] BYTE *pContext,
979 [in] DWORD cbContext,
980 [in] DWORD dwFlags,
981 [in] DWORD dwReserved);
983 HRESULT QueryCustomPolicy(
984 [in] LPCWSTR pwszUrl,
985 [in] REFGUID guidKey,
986 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
987 [out] DWORD *pcbPolicy,
988 [in] BYTE *pContext,
989 [in] DWORD cbContext,
990 [in] DWORD dwReserved);
992 typedef enum {
993 SZM_CREATE = 0x0,
994 SZM_DELETE = 0x1
995 } SZM_FLAGS;
997 HRESULT SetZoneMapping(
998 [in] DWORD dwZone,
999 [in] LPCWSTR lpszPattern,
1000 [in] DWORD dwFlags);
1002 HRESULT GetZoneMappings(
1003 [in] DWORD dwZone,
1004 [out] IEnumString **ppenumString,
1005 [in] DWORD dwFlags);
1008 /*****************************************************************************
1009 * IInternetZoneManager interface
1012 local,
1013 object,
1014 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1015 pointer_default(unique)
1017 interface IInternetZoneManager : IUnknown
1019 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1021 typedef enum tagURLZONE
1023 URLZONE_PREDEFINED_MIN = 0,
1024 URLZONE_LOCAL_MACHINE = 0,
1025 URLZONE_INTRANET = 1,
1026 URLZONE_TRUSTED = 2,
1027 URLZONE_INTERNET = 3,
1028 URLZONE_UNTRUSTED = 4,
1029 URLZONE_PREDEFINED_MAX = 999,
1030 URLZONE_USER_MIN = 1000,
1031 URLZONE_USER_MAX = 10000,
1032 } URLZONE;
1034 typedef enum tagURLTEMPLATE
1036 URLTEMPLATE_CUSTOM = 0x00000,
1037 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1038 URLTEMPLATE_LOW = 0x10000,
1039 URLTEMPLATE_MEDIUM = 0x11000,
1040 URLTEMPLATE_HIGH = 0x12000,
1041 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1042 } URLTEMPLATE ;
1044 typedef enum {
1045 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1046 ZAFLAGS_ADD_SITES = 0x00000002,
1047 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1048 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1049 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1050 ZAFLAGS_NO_UI = 0x00000020,
1051 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1052 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1053 } ZAFLAGS ;
1055 enum {
1056 MAX_ZONE_PATH = 260,
1057 MAX_ZONE_DESCRIPTION = 200
1060 typedef struct _ZONEATTRIBUTES {
1061 ULONG cbSize;
1062 WCHAR szDisplayName[MAX_ZONE_PATH];
1063 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1064 WCHAR szIconPath[MAX_ZONE_PATH];
1065 DWORD dwTemplateMinLevel;
1066 DWORD dwTemplateRecommended;
1067 DWORD dwTemplateCurrentLevel;
1068 DWORD dwFlags;
1069 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1071 typedef enum _URLZONEREG {
1072 URLZONEREG_DEFAULT,
1073 URLZONEREG_HKLM,
1074 URLZONEREG_HKCU
1075 } URLZONEREG;
1077 HRESULT GetZoneAttributes(
1078 [in] DWORD dwZone,
1079 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1081 HRESULT SetZoneAttributes(
1082 [in] DWORD dwZone,
1083 [in] ZONEATTRIBUTES* pZoneAttributes);
1085 HRESULT GetZoneCustomPolicy(
1086 [in] DWORD dwZone,
1087 [in] REFGUID guidKey,
1088 [out] BYTE **ppPolicy,
1089 [out] DWORD* pcbPolicy,
1090 [in] URLZONEREG ulrZoneReg);
1092 HRESULT SetZoneCustomPolicy(
1093 [in] DWORD dwZone,
1094 [in] REFGUID guidKey,
1095 [in] BYTE *ppPolicy,
1096 [in] DWORD pcbPolicy,
1097 [in] URLZONEREG ulrZoneReg);
1099 HRESULT GetZoneActionPolicy(
1100 [in] DWORD dwZone,
1101 [in] DWORD dwAction,
1102 [out] BYTE* pPolicy,
1103 [in] DWORD cbPolicy,
1104 [in] URLZONEREG urlZoneReg);
1106 HRESULT SetZoneActionPolicy(
1107 [in] DWORD dwZone,
1108 [in] DWORD dwAction,
1109 [in] BYTE* pPolicy,
1110 [in] DWORD cbPolicy,
1111 [in] URLZONEREG urlZoneReg);
1113 HRESULT PromptAction(
1114 [in] DWORD dwAction,
1115 [in] HWND hwndParent,
1116 [in] LPCWSTR pwszUrl,
1117 [in] LPCWSTR pwszText,
1118 [in] DWORD dwPromptFlags );
1120 HRESULT LogAction(
1121 [in] DWORD dwAction,
1122 [in] LPCWSTR pwszUrl,
1123 [in] LPCWSTR pwszText,
1124 [in] DWORD dwLogFlags);
1126 HRESULT CreateZoneEnumerator(
1127 [out] DWORD* pdwEnum,
1128 [out] DWORD* pdwCount,
1129 [in] DWORD dwFlags);
1131 HRESULT GetZoneAt(
1132 [in] DWORD dwEnum,
1133 [in] DWORD dwIndex,
1134 [out] DWORD* pdwZone);
1136 HRESULT DestroyZoneEnumerator(
1137 [in] DWORD dwEnum);
1139 HRESULT CopyTemplatePoliciesToZone(
1140 [in] DWORD dwTemplate,
1141 [in] DWORD dwZone,
1142 [in] DWORD dwReserved);
1145 typedef struct _tagSOFTDISTINFO
1147 ULONG cbSize;
1148 DWORD dwFlags;
1149 DWORD dwAdState;
1150 LPWSTR szTitle;
1151 LPWSTR szAbstract;
1152 LPWSTR szHREF;
1153 DWORD dwInstalledVersionMS;
1154 DWORD dwInstalledVersionLS;
1155 DWORD dwUpdateVersionMS;
1156 DWORD dwUpdateVersionLS;
1157 DWORD dwAdvertisedVersionMS;
1158 DWORD dwAdvertisedVersionLS;
1159 DWORD dwReserved;
1160 } SOFTDISTINFO, *LPSOFTDISTINFO;
1162 typedef struct _tagCODEBASEHOLD
1164 DWORD cbSize;
1165 LPWSTR szDistUnit;
1166 LPWSTR szCodeBase;
1167 DWORD dwVersionMS;
1168 DWORD dwVersionLS;
1169 DWORD dwStyle;
1170 } CODEBASEHOLD, *LPCODEBASEHOLD;
1173 local,
1174 object,
1175 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1176 pointer_default(unique)
1178 interface ISoftDistExt : IUnknown
1180 HRESULT ProcessSoftDist(
1181 [in] LPCWSTR szCDFURL,
1182 [in] IXMLElement *pSoftDistElement,
1183 [in, out] LPSOFTDISTINFO lpsdi );
1185 HRESULT GetFirstCodeBase(
1186 [in] LPWSTR *szCodeBase,
1187 [in] LPDWORD dwMaxSize );
1189 HRESULT GetNextCodeBase(
1190 [in] LPWSTR *szCodeBase,
1191 [in] LPDWORD dwMaxSize );
1193 HRESULT AsyncInstallDistributionUnit(
1194 [in] IBindCtx *pbc,
1195 [in] LPVOID lpReserved,
1196 [in] DWORD flags,
1197 [in] LPCODEBASEHOLD lpcbh);
1200 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1201 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1202 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1203 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1204 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1206 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1207 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1208 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1209 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1210 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1211 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1212 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1214 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
1215 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
1216 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
1218 cpp_quote("#define MK_S_ASYNCHRONOUS 0x000401E8")
1219 cpp_quote("#ifndef S_ASYNCHRONOUS")
1220 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1221 cpp_quote("#endif")
1223 cpp_quote("#define INET_E_ERROR_FIRST 0x800C0002")
1224 cpp_quote("#define INET_E_INVALID_URL 0x800C0002")
1225 cpp_quote("#define INET_E_NO_SESSION 0x800C0003")
1226 cpp_quote("#define INET_E_CANNOT_CONNECT 0x800C0004")
1227 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND 0x800C0005")
1228 cpp_quote("#define INET_E_OBJECT_NOT_FOUND 0x800C0006")
1229 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE 0x800C0007")
1230 cpp_quote("#define INET_E_DOWNLOAD_FAILURE 0x800C0008")
1231 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED 0x800C0009")
1232 cpp_quote("#define INET_E_NO_VALID_MEDIA 0x800C000A")
1233 cpp_quote("#define INET_E_CONNECTION_TIMEOUT 0x800C000B")
1234 cpp_quote("#define INET_E_INVALID_REQUEST 0x800C000C")
1235 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL 0x800C000D")
1236 cpp_quote("#define INET_E_SECURITY_PROBLEM 0x800C000E")
1237 cpp_quote("#define INET_E_CANNOT_LOAD_DATA 0x800C000F")
1238 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010")
1239 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER 0x800C0011")
1240 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN 0x800C0013")
1241 cpp_quote("#define INET_E_REDIRECT_FAILED 0x800C0014")
1242 cpp_quote("#define INET_E_REDIRECT_TO_DIR 0x800C0015")
1243 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST 0x800C0016")
1244 cpp_quote("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1245 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1247 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1248 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1249 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1250 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1251 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1252 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1253 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1254 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1255 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1256 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1257 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1258 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1259 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1260 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1261 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1262 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1263 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1264 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1265 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1266 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1267 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1268 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1269 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1270 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
1271 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1272 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1273 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1274 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1275 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1276 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1277 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1278 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1279 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1280 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1281 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1282 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
1283 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1284 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1285 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1286 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1287 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1288 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1289 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1290 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1292 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
1293 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
1294 cpp_quote("#define OInetGetSession CoInternetGetSession")
1296 cpp_quote("#define MKSYS_URLMONIKER 6")
1297 cpp_quote("#define URL_MK_LEGACY 0")
1298 cpp_quote("#define URL_MK_UNIFORM 1")