gdi: Metafile records must be at least 3 words long.
[wine/hacks.git] / include / urlmon.idl
blob85a9277eee9ecda37f1965f5bd3833ad51b7d7d7
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 BINDF_ASYNCHRONOUS = 0x00000001,
88 BINDF_ASYNCSTORAGE = 0x00000002,
89 BINDF_NOPROGRESSIVERENDERING = 0x00000004,
90 BINDF_OFFLINEOPERATION = 0x00000008,
91 BINDF_GETNEWESTVERSION = 0x00000010,
92 BINDF_NOWRITECACHE = 0x00000020,
93 BINDF_NEEDFILE = 0x00000040,
94 BINDF_PULLDATA = 0x00000080,
95 BINDF_IGNORESECURITYPROBLEM = 0x00000100,
96 BINDF_RESYNCHRONIZE = 0x00000200,
97 BINDF_HYPERLINK = 0x00000400,
98 BINDF_NO_UI = 0x00000800,
99 BINDF_SILENTOPERATION = 0x00001000,
100 BINDF_PRAGMA_NO_CACHE = 0x00002000,
101 BINDF_GETCLASSOBJECT = 0x00004000,
102 BINDF_RESERVED_1 = 0x00008000,
103 BINDF_FREE_THREADED = 0x00010000,
104 BINDF_DIRECT_READ = 0x00020000,
105 BINDF_FORMS_SUBMIT = 0x00040000,
106 BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
107 BINDF_FROMURLMON = 0x00100000,
108 BINDF_FWD_BACK = 0x00200000,
109 BINDF_PREFERDEFAULTHANDLER = 0x00400000,
110 BINDF_ENFORCERESTRICTED = 0x00800000
111 } BINDF;
113 typedef struct _tagBINDINFO
115 ULONG cbSize;
116 LPWSTR szExtraInfo;
117 STGMEDIUM stgmedData;
118 DWORD grfBindInfoF;
119 DWORD dwBindVerb;
120 LPWSTR szCustomVerb;
121 DWORD cbStgmedData;
122 DWORD dwOptions;
123 DWORD dwOptionsFlags;
124 DWORD dwCodePage;
125 SECURITY_ATTRIBUTES securityAttributes;
126 IID iid;
127 IUnknown *pUnk;
128 DWORD dwReserved;
129 } BINDINFO;
131 typedef struct _REMSECURITY_ATTRIBUTES
133 DWORD nLength;
134 DWORD lpSecurityDescriptor;
135 BOOL bInheritHandle;
136 } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
138 typedef struct _tagRemBINDINFO
140 ULONG cbSize;
141 LPWSTR szExtraInfo;
142 DWORD grfBindInfoF;
143 DWORD dwBindVerb;
144 LPWSTR szCustomVerb;
145 DWORD cbstgmedData;
146 DWORD dwOptions;
147 DWORD dwOptionsFlags;
148 DWORD dwCodePage;
149 REMSECURITY_ATTRIBUTES securityAttributes;
150 IID iid;
151 IUnknown *pUnk;
152 DWORD dwReserved;
153 } RemBINDINFO;
155 typedef struct tagRemFORMATETC
157 DWORD cfFormat;
158 DWORD ptd;
159 DWORD dwAspect;
160 LONG lindex;
161 DWORD tymed;
162 } RemFORMATETC, *LPREMFORMATETC;
164 typedef enum
166 BSCF_FIRSTDATANOTIFICATION = 0x01,
167 BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
168 BSCF_LASTDATANOTIFICATION = 0x04,
169 BSCF_DATAFULLYAVAILABLE = 0x08,
170 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
171 } BSCF;
173 typedef enum BINDSTATUS
175 BINDSTATUS_FINDINGRESOURCE = 1,
176 BINDSTATUS_CONNECTING,
177 BINDSTATUS_REDIRECTING,
178 BINDSTATUS_BEGINDOWNLOADDATA,
179 BINDSTATUS_DOWNLOADINGDATA,
180 BINDSTATUS_ENDDOWNLOADDATA,
181 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
182 BINDSTATUS_INSTALLINGCOMPONENTS,
183 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
184 BINDSTATUS_USINGCACHEDCOPY,
185 BINDSTATUS_SENDINGREQUEST,
186 BINDSTATUS_CLASSIDAVAILABLE,
187 BINDSTATUS_MIMETYPEAVAILABLE,
188 BINDSTATUS_CACHEFILENAMEAVAILABLE,
189 BINDSTATUS_BEGINSYNCOPERATION,
190 BINDSTATUS_ENDSYNCOPERATION,
191 BINDSTATUS_BEGINUPLOADDATA,
192 BINDSTATUS_UPLOADINGDATA,
193 BINDSTATUS_ENDUPLOADINGDATA,
194 BINDSTATUS_PROTOCOLCLASSID,
195 BINDSTATUS_ENCODING,
196 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
197 BINDSTATUS_CLASSINSTALLLOCATION,
198 BINDSTATUS_DECODING,
199 BINDSTATUS_LOADINGMIMEHANDLER,
200 BINDSTATUS_CONTENTDISPOSITIONATTACH,
201 BINDSTATUS_FILTERREPORTMIMETYPE,
202 BINDSTATUS_CLSIDCANINSTANTIATE,
203 BINDSTATUS_IUNKNOWNAVAILABLE,
204 BINDSTATUS_DIRECTBIND,
205 BINDSTATUS_RAWMIMETYPE,
206 BINDSTATUS_PROXYDETECTING,
207 BINDSTATUS_ACCEPTRANGES,
208 BINDSTATUS_COOKIE_SENT,
209 BINDSTATUS_COMPACT_POLICY_RECEIVED,
210 BINDSTATUS_COOKIE_SUPPRESSED,
211 BINDSTATUS_COOKIE_STATE_UNKNOWN,
212 BINDSTATUS_COOKIE_STATE_ACCEPT,
213 BINDSTATUS_COOKIE_STATE_REJECT,
214 BINDSTATUS_COOKIE_STATE_PROMPT,
215 BINDSTATUS_COOKIE_STATE_LEASH,
216 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
217 BINDSTATUS_POLICY_HREF,
218 BINDSTATUS_P3P_HEADER,
219 BINDSTATUS_SESSION_COOKIE_RECEIVED,
220 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
221 BINDSTATUS_SESSION_COOKIES_ALLOWED,
222 BINDSTATUS_CACHECONTROL,
223 BINDSTATUS_CONTENTDISPOSITIONFILENAME,
224 BINDSTATUS_MIMETEXTPLAINMISMATCH,
225 BINDSTATUS_PUBLISHERAVAILABLE,
226 BINDSTATUS_DISPLAYNAMEAVAILABLE
227 } BINDSTATUS;
230 HRESULT OnStartBinding(
231 [in] DWORD dwReserved,
232 [in] IBinding * pib);
234 HRESULT GetPriority(
235 [out] LONG * pnPriority);
237 HRESULT OnLowResource(
238 [in] DWORD reserved);
240 HRESULT OnProgress(
241 [in] ULONG ulProgress,
242 [in] ULONG ulProgressMax,
243 [in] ULONG ulStatusCode,
244 [in] LPCWSTR szStatusText);
246 HRESULT OnStopBinding(
247 [in] HRESULT hresult,
248 [in, unique] LPCWSTR szError);
250 [local]
251 HRESULT GetBindInfo(
252 [out] DWORD *grfBINDF,
253 [in, out, unique] BINDINFO * pbindinfo);
255 [call_as(GetBindInfo)]
256 HRESULT RemoteGetBindInfo(
257 [out] DWORD *grfBINDF,
258 [in, out, unique] RemBINDINFO * pbindinfo,
259 [in, out, unique] RemSTGMEDIUM* pstgmed);
261 [local]
262 HRESULT OnDataAvailable(
263 [in] DWORD grfBSCF,
264 [in] DWORD dwSize,
265 [in] FORMATETC* pformatetc,
266 [in] STGMEDIUM* pstgmed);
268 [call_as(OnDataAvailable)]
269 HRESULT RemoteOnDataAvailable(
270 [in] DWORD grfBSCF,
271 [in] DWORD dwSize,
272 [in] RemFORMATETC *pformatetc,
273 [in] RemSTGMEDIUM* pstgmed);
275 HRESULT OnObjectAvailable(
276 [in] REFIID riid,
277 [in, iid_is(riid)] IUnknown* punk);
280 /*****************************************************************************
281 * IAuthenticate interface
284 local,
285 object,
286 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
287 pointer_default(unique)
289 interface IAuthenticate : IUnknown
291 typedef [unique] IAuthenticate *LPAUTHENTICATION;
293 HRESULT Authenticate(
294 [out] HWND* phwnd,
295 [out] LPWSTR *pszUsername,
296 [out] LPWSTR *pszPassword);
299 /*****************************************************************************
300 * IHttpNegotiate interface
303 object,
304 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
305 pointer_default(unique)
307 interface IHttpNegotiate : IUnknown
309 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
311 HRESULT BeginningTransaction(
312 [in] LPCWSTR szURL,
313 [in, unique] LPCWSTR szHeaders,
314 [in] DWORD dwReserved,
315 [out] LPWSTR *pszAdditionalHeaders);
317 HRESULT OnResponse(
318 [in] DWORD dwResponseCode,
319 [in, unique] LPCWSTR szResponseHeaders,
320 [in, unique] LPCWSTR szRequestHeaders,
321 [out] LPWSTR *pszAdditionalRequestHeaders);
324 /*****************************************************************************
325 * IHttpNegotiate2 interface
328 object,
329 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
330 pointer_default(unique)
332 interface IHttpNegotiate2 : IHttpNegotiate
334 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
336 HRESULT GetRootSecurityId(
337 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
338 [in, out] DWORD *pcbSecurityId,
339 [in] DWORD_PTR dwReserved);
342 /*****************************************************************************
343 * IBindHost interface
345 cpp_quote("#define SID_IBindHost IID_IBindHost")
346 cpp_quote("#define SID_SBindHost IID_IBindHost")
348 object,
349 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
350 pointer_default(unique)
352 interface IBindHost : IUnknown
354 typedef [unique] IBindHost *LPBINDHOST;
356 HRESULT CreateMoniker(
357 [in] LPOLESTR szName,
358 [in] IBindCtx *pBC,
359 [out] IMoniker** ppmk,
360 [in] DWORD dwReserved);
362 [local]
363 HRESULT MonikerBindToStorage(
364 [in] IMoniker *pMk,
365 [in] IBindCtx *pBC,
366 [in] IBindStatusCallback *pBSC,
367 [in] REFIID riid,
368 [out] void **ppvObj);
370 [call_as(MonikerBindToStorage)]
371 HRESULT RemoteMonikerBindToStorage(
372 [in, unique] IMoniker *pMk,
373 [in, unique] IBindCtx *pBC,
374 [in, unique] IBindStatusCallback *pBSC,
375 [in] REFIID riid,
376 [out, iid_is(riid)] IUnknown **ppvObj);
378 [local]
379 HRESULT MonikerBindToObject(
380 [in] IMoniker *pMk,
381 [in] IBindCtx *pBC,
382 [in] IBindStatusCallback *pBSC,
383 [in] REFIID riid,
384 [out] void **ppvObj);
386 [call_as(MonikerBindToObject)]
387 HRESULT RemoteMonikerBindToObject(
388 [in, unique] IMoniker *pMk,
389 [in, unique] IBindCtx *pBC,
390 [in, unique] IBindStatusCallback *pBSC,
391 [in] REFIID riid,
392 [out, iid_is(riid)] IUnknown **ppvObj);
396 /*****************************************************************************
397 * IWinInetInfo interface
400 object,
401 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
402 pointer_default(unique)
404 interface IWinInetInfo : IUnknown
406 typedef [unique] IWinInetInfo *LPWININETINFO;
408 [local]
409 HRESULT QueryOption(
410 [in] DWORD dwOption,
411 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
412 [in, out] DWORD *pcbBuf);
414 [call_as(QueryOption)]
415 HRESULT RemoteQueryOption(
416 [in] DWORD dwOption,
417 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
418 [in, out] DWORD *pcbBuf);
423 /*****************************************************************************
424 * IWinInetHttpInfo interface
427 object,
428 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
429 pointer_default(unique)
431 interface IWinInetHttpInfo : IWinInetInfo
433 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
435 [local]
436 HRESULT QueryInfo(
437 [in] DWORD dwOption,
438 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
439 [in, out] DWORD *pcbBuf,
440 [in, out] DWORD *pdwFlags,
441 [in, out] DWORD *pdwReserved);
443 [call_as(QueryInfo)]
444 HRESULT RemoteQueryInfo(
445 [in] DWORD dwOption,
446 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
447 [in, out] DWORD *pcbBuf,
448 [in, out] DWORD *pdwFlags,
449 [in, out] DWORD *pdwReserved);
454 /*****************************************************************************
455 * IPersistMoniker interface
458 object,
459 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
460 pointer_default(unique)
462 interface IPersistMoniker : IUnknown
464 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
466 HRESULT GetClassID(
467 [out] CLSID *pClassID);
469 HRESULT IsDirty();
471 HRESULT Load(
472 [in] BOOL fFullyAvailable,
473 [in] IMoniker *pimkName,
474 [in] LPBC pibc,
475 [in] DWORD grfMode);
477 HRESULT Save(
478 [in] IMoniker *pimkName,
479 [in] LPBC pbc,
480 [in] BOOL fRemember);
482 HRESULT SaveCompleted(
483 [in] IMoniker *pimkName,
484 [in] LPBC pibc);
486 HRESULT GetCurMoniker(
487 [out] IMoniker **ppimkName);
490 /*****************************************************************************
491 * IMonikerProp interface
494 object,
495 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
496 pointer_default(unique)
498 interface IMonikerProp : IUnknown
500 typedef [unique] IMonikerProp *LPMONIKERPROP;
502 typedef enum {
503 MIMETYPEPROP = 0x00000000,
504 USE_SRC_URL = 0x00000001
505 } MONIKERPROPERTY;
507 HRESULT PutProperty(
508 [in] MONIKERPROPERTY mkp,
509 [in] LPCWSTR val);
512 /*****************************************************************************
513 * IInternetBindInfo interface
516 local,
517 object,
518 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
519 pointer_default(unique)
521 interface IInternetBindInfo : IUnknown
523 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
525 typedef enum tagBINDSTRING
527 BINDSTRING_HEADERS = 1,
528 BINDSTRING_ACCEPT_MIMES,
529 BINDSTRING_EXTRA_URL,
530 BINDSTRING_LANGUAGE,
531 BINDSTRING_USERNAME,
532 BINDSTRING_PASSWORD,
533 BINDSTRING_UA_PIXELS,
534 BINDSTRING_UA_COLOR,
535 BINDSTRING_OS,
536 BINDSTRING_USER_AGENT,
537 BINDSTRING_ACCEPT_ENCODINGS,
538 BINDSTRING_POST_COOKIE,
539 BINDSTRING_POST_DATA_MIME,
540 BINDSTRING_URL,
541 BINDSTRING_IID,
542 BINDSTRING_FLAG_BIND_TO_OBJECT,
543 BINDSTRING_PTR_BIND_CONTEXT
544 } BINDSTRING;
546 HRESULT GetBindInfo(
547 [out] DWORD *grfBINDF,
548 [in, out, unique] BINDINFO *pbindinfo);
550 HRESULT GetBindString(
551 [in] ULONG ulStringType,
552 [in, out] LPOLESTR *ppwzStr,
553 [in] ULONG cEl,
554 [in, out] ULONG *pcElFetched);
557 /*****************************************************************************
558 * IInternetPriority interface
561 local,
562 object,
563 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
564 pointer_default(unique)
566 interface IInternetPriority : IUnknown
568 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
570 HRESULT SetPriority([in] LONG nPriority);
571 HRESULT GetPriority([out] LONG *pnPriority);
574 /*****************************************************************************
575 * IInternetProtocolRoot interface
578 local,
579 object,
580 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
581 pointer_default(unique)
583 interface IInternetProtocolRoot : IUnknown
585 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
587 typedef enum _tagPI_FLAGS
589 PI_PARSE_URL = 0x00000001,
590 PI_FILTER_MODE = 0x00000002,
591 PI_FORCE_ASYNC = 0x00000004,
592 PI_USE_WORKERTHREAD = 0x00000008,
593 PI_MIMEVERIFICATION = 0x00000010,
594 PI_CLSIDLOOKUP = 0x00000020,
595 PI_DATAPROGRESS = 0x00000040,
596 PI_SYNCHRONOUS = 0x00000080,
597 PI_APARTMENTTHREADED = 0x00000100,
598 PI_CLASSINSTALL = 0x00000200,
599 PD_FORCE_SWITCH = 0x00010000
600 } PI_FLAGS;
602 typedef struct _tagPROTOCOLDATA
604 DWORD grfFlags;
605 DWORD dwState;
606 LPVOID pData;
607 ULONG cbData;
608 } PROTOCOLDATA;
610 HRESULT Start(
611 [in] LPCWSTR szUrl,
612 [in] IInternetProtocolSink *pOIProtSink,
613 [in] IInternetBindInfo *pOIBindInfo,
614 [in] DWORD grfPI,
615 [in] DWORD dwReserved);
617 HRESULT Continue(
618 [in] PROTOCOLDATA *pProtocolData);
620 HRESULT Abort(
621 [in] HRESULT hrReason,
622 [in] DWORD dwOptions);
624 HRESULT Terminate(
625 [in] DWORD dwOptions);
627 HRESULT Suspend();
629 HRESULT Resume();
632 /*****************************************************************************
633 * IInternetProtocolSink interface
636 local,
637 object,
638 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
639 pointer_default(unique)
641 interface IInternetProtocolSink : IUnknown
643 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
645 HRESULT Switch(
646 [in] PROTOCOLDATA *pProtocolData);
648 HRESULT ReportProgress(
649 [in] ULONG ulStatusCode,
650 [in] LPCWSTR szStatusText);
652 HRESULT ReportData(
653 [in] DWORD grfBSCF,
654 [in] ULONG ulProgress,
655 [in] ULONG ulProgressMax);
657 HRESULT ReportResult(
658 [in] HRESULT hrResult,
659 [in] DWORD dwError,
660 [in] LPCWSTR szResult);
663 /*****************************************************************************
664 * IInternetProtocol interface
667 local,
668 object,
669 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
670 pointer_default(unique)
672 interface IInternetProtocol : IInternetProtocolRoot
674 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
676 HRESULT Read(
677 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
678 [in] ULONG cb,
679 [out] ULONG *pcbRead);
681 HRESULT Seek(
682 [in] LARGE_INTEGER dlibMove,
683 [in] DWORD dwOrigin,
684 [out] ULARGE_INTEGER *plibNewPosition);
686 HRESULT LockRequest(
687 [in] DWORD dwOptions);
689 HRESULT UnlockRequest();
692 /*****************************************************************************
693 * IInternetProtocolInfo interface
696 local,
697 object,
698 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
699 pointer_default(unique)
701 interface IInternetProtocolInfo : IUnknown
703 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
705 typedef enum _tagPARSEACTION
707 PARSE_CANONICALIZE = 1,
708 PARSE_FRIENDLY,
709 PARSE_SECURITY_URL,
710 PARSE_ROOTDOCUMENT,
711 PARSE_DOCUMENT,
712 PARSE_ANCHOR,
713 PARSE_ENCODE,
714 PARSE_DECODE,
715 PARSE_PATH_FROM_URL,
716 PARSE_URL_FROM_PATH,
717 PARSE_MIME,
718 PARSE_SERVER,
719 PARSE_SCHEMA,
720 PARSE_SITE,
721 PARSE_DOMAIN,
722 PARSE_LOCATION,
723 PARSE_SECURITY_DOMAIN,
724 PARSE_ESCAPE,
725 PARSE_UNESCAPE
726 } PARSEACTION;
728 typedef enum _tagPSUACTION
730 PSU_DEFAULT = 1,
731 PSU_SECURITY_URL_ONLY
732 } PSUACTION;
734 typedef enum _tagQUERYOPTION
736 QUERY_EXPIRATION_DATE = 1,
737 QUERY_TIME_OF_LAST_CHANGE,
738 QUERY_CONTENT_ENCODING,
739 QUERY_CONTENT_TYPE,
740 QUERY_REFRESH,
741 QUERY_RECOMBINE,
742 QUERY_CAN_NAVIGATE,
743 QUERY_USES_NETWORK,
744 QUERY_IS_CACHED,
745 QUERY_IS_INSTALLEDENTRY,
746 QUERY_IS_CACHED_OR_MAPPED,
747 QUERY_USES_CACHE,
748 QUERY_IS_SECURE,
749 QUERY_IS_SAFE
750 } QUERYOPTION;
752 HRESULT ParseUrl(
753 [in] LPCWSTR pwzUrl,
754 [in] PARSEACTION ParseAction,
755 [in] DWORD dwParseFlags,
756 [out] LPWSTR pwzResult,
757 [in] DWORD cchResult,
758 [out] DWORD *pcchResult,
759 [in] DWORD dwReserved);
761 HRESULT CombineUrl(
762 [in] LPCWSTR pwzBaseUrl,
763 [in] LPCWSTR pwzRelativeUrl,
764 [in] DWORD dwCombineFlags,
765 [out] LPWSTR pwzResult,
766 [in] DWORD cchResult,
767 [out] DWORD *pcchResult,
768 [in] DWORD dwReserved);
770 HRESULT CompareUrl(
771 [in] LPCWSTR pwzUrl1,
772 [in] LPCWSTR pwzUrl2,
773 [in] DWORD dwCompareFlags);
775 HRESULT QueryInfo(
776 [in] LPCWSTR pwzUrl,
777 [in] QUERYOPTION OueryOption,
778 [in] DWORD dwQueryFlags,
779 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
780 [in] DWORD cbBuffer,
781 [in, out] DWORD *pcbBuf,
782 [in] DWORD dwReserved);
785 /*****************************************************************************
786 * IInternetSession interface
789 local,
790 object,
791 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
792 pointer_default(unique)
794 interface IInternetSession : IUnknown
796 typedef [unique] IInternetSession *LPIINTERNETSESSION;
798 typedef enum _tagOIBDG_FLAGS
800 OIBDG_APARTMENTTHREADED = 0x0100,
801 OIBDG_DATAONLY = 0x1000
802 } OIBDG_FLAGS;
804 HRESULT RegisterNameSpace(
805 [in] IClassFactory *pCF,
806 [in] REFCLSID rclsid,
807 [in] LPCWSTR pwzProtocol,
808 [in] ULONG cPatterns,
809 [in] const LPCWSTR *ppwzPatterns,
810 [in] DWORD dwReserved);
812 HRESULT UnregisterNameSpace(
813 [in] IClassFactory *pCF,
814 [in] LPCWSTR pszProtocol);
816 HRESULT RegisterMimeFilter(
817 [in] IClassFactory *pCF,
818 [in] REFCLSID rclsid,
819 [in] LPCWSTR pwzType);
821 HRESULT UnregisterMimeFilter(
822 [in] IClassFactory *pCF,
823 [in] LPCWSTR pwzType);
825 HRESULT CreateBinding(
826 [in] LPBC pBC,
827 [in] LPCWSTR szUrl,
828 [in] IUnknown *pUnkOuter,
829 [out, unique] IUnknown **ppUnk,
830 [out, unique] IInternetProtocol **ppOInetProt,
831 [in] DWORD dwOption);
833 HRESULT SetSessionOption(
834 [in] DWORD dwOption,
835 [in] LPVOID pBuffer,
836 [in] DWORD dwBufferLength,
837 [in] DWORD dwReserved);
840 /*****************************************************************************
841 * IInternetSecurityMgrSite interface
844 local,
845 object,
846 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
847 pointer_default(unique)
849 interface IInternetSecurityMgrSite : IUnknown
851 HRESULT GetWindow(
852 [out] HWND *phwnd);
854 HRESULT EnableModeless(
855 [in] BOOL fEnable);
859 /*****************************************************************************
860 * IInternetSecurityManager interface
862 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
865 object,
866 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
867 pointer_default(unique)
869 interface IInternetSecurityManager : IUnknown
871 HRESULT SetSecuritySite(
872 [in, unique] IInternetSecurityMgrSite *pSite);
874 HRESULT GetSecuritySite(
875 [out] IInternetSecurityMgrSite **ppSite);
877 HRESULT MapUrlToZone(
878 [in] LPCWSTR pwszUrl,
879 [out] DWORD *pdwZone,
880 [in] DWORD dwFlags);
882 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
884 HRESULT GetSecurityId(
885 [in] LPCWSTR pwszUrl,
886 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
887 [in, out] DWORD *pcbSecurityId,
888 [in] DWORD_PTR dwReserved);
891 typedef enum {
892 PUAF_DEFAULT = 0x00,
893 PUAF_NOUI = 0x01,
894 PUAF_ISFILE = 0x02,
895 PUAF_WARN_IF_DENIED = 0x04,
896 PUAF_FORCEUI_FOREGROUND = 0x08,
897 PUAF_CHECK_TIPS = 0x10
898 } PUAF;
900 HRESULT ProcessUrlAction(
901 [in] LPCWSTR pwszUrl,
902 [in] DWORD dwAction,
903 [out, size_is(cbPolicy)] BYTE *pPolicy,
904 [in] DWORD cbPolicy,
905 [in] BYTE *pContext,
906 [in] DWORD cbContext,
907 [in] DWORD dwFlags,
908 [in] DWORD dwReserved);
910 HRESULT QueryCustomPolicy(
911 [in] LPCWSTR pwszUrl,
912 [in] REFGUID guidKey,
913 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
914 [out] DWORD *pcbPolicy,
915 [in] BYTE *pContext,
916 [in] DWORD cbContext,
917 [in] DWORD dwReserved);
919 typedef enum {
920 SZM_CREATE = 0x0,
921 SZM_DELETE = 0x1
922 } SZM_FLAGS;
924 HRESULT SetZoneMapping(
925 [in] DWORD dwZone,
926 [in] LPCWSTR lpszPattern,
927 [in] DWORD dwFlags);
929 HRESULT GetZoneMappings(
930 [in] DWORD dwZone,
931 [out] IEnumString **ppenumString,
932 [in] DWORD dwFlags);
935 /*****************************************************************************
936 * IInternetZoneManager interface
939 local,
940 object,
941 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
942 pointer_default(unique)
944 interface IInternetZoneManager : IUnknown
946 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
948 typedef enum tagURLZONE
950 URLZONE_PREDEFINED_MIN = 0,
951 URLZONE_LOCAL_MACHINE = 0,
952 URLZONE_INTRANET = 1,
953 URLZONE_TRUSTED = 2,
954 URLZONE_INTERNET = 3,
955 URLZONE_UNTRUSTED = 4,
956 URLZONE_PREDEFINED_MAX = 999,
957 URLZONE_USER_MIN = 1000,
958 URLZONE_USER_MAX = 10000,
959 } URLZONE;
961 typedef enum tagURLTEMPLATE
963 URLTEMPLATE_CUSTOM = 0x00000,
964 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
965 URLTEMPLATE_LOW = 0x10000,
966 URLTEMPLATE_MEDIUM = 0x11000,
967 URLTEMPLATE_HIGH = 0x12000,
968 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
969 } URLTEMPLATE ;
971 typedef enum {
972 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
973 ZAFLAGS_ADD_SITES = 0x00000002,
974 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
975 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
976 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
977 ZAFLAGS_NO_UI = 0x00000020,
978 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
979 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
980 } ZAFLAGS ;
982 enum {
983 MAX_ZONE_PATH = 260,
984 MAX_ZONE_DESCRIPTION = 200
987 typedef struct _ZONEATTRIBUTES {
988 ULONG cbSize;
989 WCHAR szDisplayName[MAX_ZONE_PATH];
990 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
991 WCHAR szIconPath[MAX_ZONE_PATH];
992 DWORD dwTemplateMinLevel;
993 DWORD dwTemplateRecommended;
994 DWORD dwTemplateCurrentLevel;
995 DWORD dwFlags;
996 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
998 typedef enum _URLZONEREG {
999 URLZONEREG_DEFAULT,
1000 URLZONEREG_HKLM,
1001 URLZONEREG_HKCU
1002 } URLZONEREG;
1004 HRESULT GetZoneAttributes(
1005 [in] DWORD dwZone,
1006 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1008 HRESULT SetZoneAttributes(
1009 [in] DWORD dwZone,
1010 [in] ZONEATTRIBUTES* pZoneAttributes);
1012 HRESULT GetZoneCustomPolicy(
1013 [in] DWORD dwZone,
1014 [in] REFGUID guidKey,
1015 [out] BYTE **ppPolicy,
1016 [out] DWORD* pcbPolicy,
1017 [in] URLZONEREG ulrZoneReg);
1019 HRESULT SetZoneCustomPolicy(
1020 [in] DWORD dwZone,
1021 [in] REFGUID guidKey,
1022 [in] BYTE *ppPolicy,
1023 [in] DWORD pcbPolicy,
1024 [in] URLZONEREG ulrZoneReg);
1026 HRESULT GetZoneActionPolicy(
1027 [in] DWORD dwZone,
1028 [in] DWORD dwAction,
1029 [out] BYTE* pPolicy,
1030 [in] DWORD cbPolicy,
1031 [in] URLZONEREG urlZoneReg);
1033 HRESULT SetZoneActionPolicy(
1034 [in] DWORD dwZone,
1035 [in] DWORD dwAction,
1036 [in] BYTE* pPolicy,
1037 [in] DWORD cbPolicy,
1038 [in] URLZONEREG urlZoneReg);
1040 HRESULT PromptAction(
1041 [in] DWORD dwAction,
1042 [in] HWND hwndParent,
1043 [in] LPCWSTR pwszUrl,
1044 [in] LPCWSTR pwszText,
1045 [in] DWORD dwPromptFlags );
1047 HRESULT LogAction(
1048 [in] DWORD dwAction,
1049 [in] LPCWSTR pwszUrl,
1050 [in] LPCWSTR pwszText,
1051 [in] DWORD dwLogFlags);
1053 HRESULT CreateZoneEnumerator(
1054 [out] DWORD* pdwEnum,
1055 [out] DWORD* pdwCount,
1056 [in] DWORD dwFlags);
1058 HRESULT GetZoneAt(
1059 [in] DWORD dwEnum,
1060 [in] DWORD dwIndex,
1061 [out] DWORD* pdwZone);
1063 HRESULT DestroyZoneEnumerator(
1064 [in] DWORD dwEnum);
1066 HRESULT CopyTemplatePoliciesToZone(
1067 [in] DWORD dwTemplate,
1068 [in] DWORD dwZone,
1069 [in] DWORD dwReserved);
1072 typedef struct _tagSOFTDISTINFO
1074 ULONG cbSize;
1075 DWORD dwFlags;
1076 DWORD dwAdState;
1077 LPWSTR szTitle;
1078 LPWSTR szAbstract;
1079 LPWSTR szHREF;
1080 DWORD dwInstalledVersionMS;
1081 DWORD dwInstalledVersionLS;
1082 DWORD dwUpdateVersionMS;
1083 DWORD dwUpdateVersionLS;
1084 DWORD dwAdvertisedVersionMS;
1085 DWORD dwAdvertisedVersionLS;
1086 DWORD dwReserved;
1087 } SOFTDISTINFO, *LPSOFTDISTINFO;
1089 typedef struct _tagCODEBASEHOLD
1091 DWORD cbSize;
1092 LPWSTR szDistUnit;
1093 LPWSTR szCodeBase;
1094 DWORD dwVersionMS;
1095 DWORD dwVersionLS;
1096 DWORD dwStyle;
1097 } CODEBASEHOLD, *LPCODEBASEHOLD;
1100 local,
1101 object,
1102 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1103 pointer_default(unique)
1105 interface ISoftDistExt : IUnknown
1107 HRESULT ProcessSoftDist(
1108 [in] LPCWSTR szCDFURL,
1109 [in] IXMLElement *pSoftDistElement,
1110 [in, out] LPSOFTDISTINFO lpsdi );
1112 HRESULT GetFirstCodeBase(
1113 [in] LPWSTR *szCodeBase,
1114 [in] LPDWORD dwMaxSize );
1116 HRESULT GetNextCodeBase(
1117 [in] LPWSTR *szCodeBase,
1118 [in] LPDWORD dwMaxSize );
1120 HRESULT AsyncInstallDistributionUnit(
1121 [in] IBindCtx *pbc,
1122 [in] LPVOID lpReserved,
1123 [in] DWORD flags,
1124 [in] LPCODEBASEHOLD lpcbh);
1127 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1128 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1129 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1130 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1131 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1133 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1134 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1135 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1136 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1137 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1138 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1139 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1142 cpp_quote("#define MK_S_ASYNCHRONOUS 0x000401E8")
1143 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1145 cpp_quote("#define INET_E_ERROR_FIRST 0x800C0002")
1146 cpp_quote("#define INET_E_INVALID_URL 0x800C0002")
1147 cpp_quote("#define INET_E_NO_SESSION 0x800C0003")
1148 cpp_quote("#define INET_E_CANNOT_CONNECT 0x800C0004")
1149 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND 0x800C0005")
1150 cpp_quote("#define INET_E_OBJECT_NOT_FOUND 0x800C0006")
1151 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE 0x800C0007")
1152 cpp_quote("#define INET_E_DOWNLOAD_FAILURE 0x800C0008")
1153 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED 0x800C0009")
1154 cpp_quote("#define INET_E_NO_VALID_MEDIA 0x800C000A")
1155 cpp_quote("#define INET_E_CONNECTION_TIMEOUT 0x800C000B")
1156 cpp_quote("#define INET_E_INVALID_REQUEST 0x800C000C")
1157 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL 0x800C000D")
1158 cpp_quote("#define INET_E_SECURITY_PROBLEM 0x800C000E")
1159 cpp_quote("#define INET_E_CANNOT_LOAD_DATA 0x800C000F")
1160 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010")
1161 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER 0x800C0011")
1162 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN 0x800C0013")
1163 cpp_quote("#define INET_E_REDIRECT_FAILED 0x800C0014")
1164 cpp_quote("#define INET_E_REDIRECT_TO_DIR 0x800C0015")
1165 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST 0x800C0016")
1166 cpp_quote("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1167 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1169 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1170 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1171 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1172 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1173 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1174 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1175 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1176 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1177 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1178 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1179 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1180 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1181 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1182 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1183 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1184 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1185 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1186 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1187 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1188 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1189 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1190 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1191 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1192 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1193 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1194 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1195 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1196 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1197 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1198 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1199 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1200 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1201 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1202 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1203 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
1204 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1205 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1207 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
1208 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
1209 cpp_quote("#define OInetGetSession CoInternetGetSession")
1211 cpp_quote("#define MKSYS_URLMONIKER 6")