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
22 import "servprov.idl";
25 interface IInternetProtocolSink;
27 /*****************************************************************************
32 uuid(79eac9e0-baf9-11ce-8c82-00aa004ba90b),
33 pointer_default(unique),
36 interface IInternet : IUnknown
38 typedef [unique] IInternet *LPIINTERNET;
41 /*****************************************************************************
46 uuid(79eac9c0-baf9-11ce-8c82-00aa004ba90b),
47 pointer_default(unique)
49 interface IBinding : IUnknown
51 typedef [unique] IBinding *LPBINDING;
61 [out] LONG * pnPriority);
64 HRESULT GetBindResult(
65 [out] CLSID *pclsidProtocol,
66 [out] DWORD *pdwResult,
67 [out] LPOLESTR *pszResult,
68 [in, out] DWORD *pdwReserved);
70 [call_as(GetBindResult)]
71 HRESULT RemoteGetBindResult(
72 [out] CLSID *pclsidProtocol,
73 [out] DWORD *pdwResult,
74 [out] LPOLESTR *pszResult,
75 [in] DWORD dwReserved);
79 /*****************************************************************************
80 * IBindStatusCallback interface
84 uuid(79eac9c1-baf9-11ce-8c82-00aa004ba90b),
85 pointer_default(unique)
87 interface IBindStatusCallback : IUnknown
89 typedef [unique] IBindStatusCallback *LPBINDSTATUSCALLBACK;
93 BINDVERB_GET = 0x00000000,
94 BINDVERB_POST = 0x00000001,
95 BINDVERB_PUT = 0x00000002,
96 BINDVERB_CUSTOM = 0x00000003
101 BINDINFOF_URLENCODESTGMEDDATA = 0x00000001,
102 BINDINFOF_URLENCODEDEXTRAINFO = 0x00000002
107 BINDF_ASYNCHRONOUS = 0x00000001,
108 BINDF_ASYNCSTORAGE = 0x00000002,
109 BINDF_NOPROGRESSIVERENDERING = 0x00000004,
110 BINDF_OFFLINEOPERATION = 0x00000008,
111 BINDF_GETNEWESTVERSION = 0x00000010,
112 BINDF_NOWRITECACHE = 0x00000020,
113 BINDF_NEEDFILE = 0x00000040,
114 BINDF_PULLDATA = 0x00000080,
115 BINDF_IGNORESECURITYPROBLEM = 0x00000100,
116 BINDF_RESYNCHRONIZE = 0x00000200,
117 BINDF_HYPERLINK = 0x00000400,
118 BINDF_NO_UI = 0x00000800,
119 BINDF_SILENTOPERATION = 0x00001000,
120 BINDF_PRAGMA_NO_CACHE = 0x00002000,
121 BINDF_GETCLASSOBJECT = 0x00004000,
122 BINDF_RESERVED_1 = 0x00008000,
123 BINDF_FREE_THREADED = 0x00010000,
124 BINDF_DIRECT_READ = 0x00020000,
125 BINDF_FORMS_SUBMIT = 0x00040000,
126 BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
127 BINDF_FROMURLMON = 0x00100000,
128 BINDF_FWD_BACK = 0x00200000,
129 BINDF_PREFERDEFAULTHANDLER = 0x00400000,
130 BINDF_ENFORCERESTRICTED = 0x00800000
135 URL_ENCODING_NONE = 0x00000000,
136 URL_ENCODING_ENABLE_UTF8 = 0x10000000,
137 URL_ENCODING_DISABLE_UTF8 = 0x20000000
140 typedef struct _tagBINDINFO
144 STGMEDIUM stgmedData;
150 DWORD dwOptionsFlags;
152 SECURITY_ATTRIBUTES securityAttributes;
158 typedef struct _REMSECURITY_ATTRIBUTES
161 DWORD lpSecurityDescriptor;
163 } REMSECURITY_ATTRIBUTES, *PREMSECURITY_ATTRIBUTES, *LPREMSECURITY_ATTRIBUTES;
165 typedef struct _tagRemBINDINFO
174 DWORD dwOptionsFlags;
176 REMSECURITY_ATTRIBUTES securityAttributes;
182 typedef struct tagRemFORMATETC
189 } RemFORMATETC, *LPREMFORMATETC;
193 BSCF_FIRSTDATANOTIFICATION = 0x01,
194 BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
195 BSCF_LASTDATANOTIFICATION = 0x04,
196 BSCF_DATAFULLYAVAILABLE = 0x08,
197 BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
200 typedef enum BINDSTATUS
202 BINDSTATUS_FINDINGRESOURCE = 1,
203 BINDSTATUS_CONNECTING,
204 BINDSTATUS_REDIRECTING,
205 BINDSTATUS_BEGINDOWNLOADDATA,
206 BINDSTATUS_DOWNLOADINGDATA,
207 BINDSTATUS_ENDDOWNLOADDATA,
208 BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
209 BINDSTATUS_INSTALLINGCOMPONENTS,
210 BINDSTATUS_ENDDOWNLOADCOMPONENTS,
211 BINDSTATUS_USINGCACHEDCOPY,
212 BINDSTATUS_SENDINGREQUEST,
213 BINDSTATUS_CLASSIDAVAILABLE,
214 BINDSTATUS_MIMETYPEAVAILABLE,
215 BINDSTATUS_CACHEFILENAMEAVAILABLE,
216 BINDSTATUS_BEGINSYNCOPERATION,
217 BINDSTATUS_ENDSYNCOPERATION,
218 BINDSTATUS_BEGINUPLOADDATA,
219 BINDSTATUS_UPLOADINGDATA,
220 BINDSTATUS_ENDUPLOADINGDATA,
221 BINDSTATUS_PROTOCOLCLASSID,
223 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE,
224 BINDSTATUS_CLASSINSTALLLOCATION,
226 BINDSTATUS_LOADINGMIMEHANDLER,
227 BINDSTATUS_CONTENTDISPOSITIONATTACH,
228 BINDSTATUS_FILTERREPORTMIMETYPE,
229 BINDSTATUS_CLSIDCANINSTANTIATE,
230 BINDSTATUS_IUNKNOWNAVAILABLE,
231 BINDSTATUS_DIRECTBIND,
232 BINDSTATUS_RAWMIMETYPE,
233 BINDSTATUS_PROXYDETECTING,
234 BINDSTATUS_ACCEPTRANGES,
235 BINDSTATUS_COOKIE_SENT,
236 BINDSTATUS_COMPACT_POLICY_RECEIVED,
237 BINDSTATUS_COOKIE_SUPPRESSED,
238 BINDSTATUS_COOKIE_STATE_UNKNOWN,
239 BINDSTATUS_COOKIE_STATE_ACCEPT,
240 BINDSTATUS_COOKIE_STATE_REJECT,
241 BINDSTATUS_COOKIE_STATE_PROMPT,
242 BINDSTATUS_COOKIE_STATE_LEASH,
243 BINDSTATUS_COOKIE_STATE_DOWNGRADE,
244 BINDSTATUS_POLICY_HREF,
245 BINDSTATUS_P3P_HEADER,
246 BINDSTATUS_SESSION_COOKIE_RECEIVED,
247 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED,
248 BINDSTATUS_SESSION_COOKIES_ALLOWED,
249 BINDSTATUS_CACHECONTROL,
250 BINDSTATUS_CONTENTDISPOSITIONFILENAME,
251 BINDSTATUS_MIMETEXTPLAINMISMATCH,
252 BINDSTATUS_PUBLISHERAVAILABLE,
253 BINDSTATUS_DISPLAYNAMEAVAILABLE
257 HRESULT OnStartBinding(
258 [in] DWORD dwReserved,
259 [in] IBinding * pib);
262 [out] LONG * pnPriority);
264 HRESULT OnLowResource(
265 [in] DWORD reserved);
268 [in] ULONG ulProgress,
269 [in] ULONG ulProgressMax,
270 [in] ULONG ulStatusCode,
271 [in] LPCWSTR szStatusText);
273 HRESULT OnStopBinding(
274 [in] HRESULT hresult,
275 [in, unique] LPCWSTR szError);
279 [out] DWORD *grfBINDF,
280 [in, out, unique] BINDINFO * pbindinfo);
282 [call_as(GetBindInfo)]
283 HRESULT RemoteGetBindInfo(
284 [out] DWORD *grfBINDF,
285 [in, out, unique] RemBINDINFO * pbindinfo,
286 [in, out, unique] RemSTGMEDIUM* pstgmed);
289 HRESULT OnDataAvailable(
292 [in] FORMATETC* pformatetc,
293 [in] STGMEDIUM* pstgmed);
295 [call_as(OnDataAvailable)]
296 HRESULT RemoteOnDataAvailable(
299 [in] RemFORMATETC *pformatetc,
300 [in] RemSTGMEDIUM* pstgmed);
302 HRESULT OnObjectAvailable(
304 [in, iid_is(riid)] IUnknown* punk);
307 /*****************************************************************************
308 * IAuthenticate interface
313 uuid(79EAC9D0-BAf9-11CE-8C82-00AA004BA90B),
314 pointer_default(unique)
316 interface IAuthenticate : IUnknown
318 typedef [unique] IAuthenticate *LPAUTHENTICATION;
320 HRESULT Authenticate(
322 [out] LPWSTR *pszUsername,
323 [out] LPWSTR *pszPassword);
326 /*****************************************************************************
327 * IHttpNegotiate interface
331 uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
332 pointer_default(unique)
334 interface IHttpNegotiate : IUnknown
336 typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
338 HRESULT BeginningTransaction(
340 [in, unique] LPCWSTR szHeaders,
341 [in] DWORD dwReserved,
342 [out] LPWSTR *pszAdditionalHeaders);
345 [in] DWORD dwResponseCode,
346 [in, unique] LPCWSTR szResponseHeaders,
347 [in, unique] LPCWSTR szRequestHeaders,
348 [out] LPWSTR *pszAdditionalRequestHeaders);
351 /*****************************************************************************
352 * IHttpNegotiate2 interface
356 uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
357 pointer_default(unique)
359 interface IHttpNegotiate2 : IHttpNegotiate
361 typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
363 HRESULT GetRootSecurityId(
364 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
365 [in, out] DWORD *pcbSecurityId,
366 [in] DWORD_PTR dwReserved);
369 /*****************************************************************************
370 * IBindHost interface
372 cpp_quote("#define SID_IBindHost IID_IBindHost")
373 cpp_quote("#define SID_SBindHost IID_IBindHost")
376 uuid(fc4801a1-2ba9-11cf-a229-00aa003d7352),
377 pointer_default(unique)
379 interface IBindHost : IUnknown
381 typedef [unique] IBindHost *LPBINDHOST;
383 HRESULT CreateMoniker(
384 [in] LPOLESTR szName,
386 [out] IMoniker** ppmk,
387 [in] DWORD dwReserved);
390 HRESULT MonikerBindToStorage(
393 [in] IBindStatusCallback *pBSC,
395 [out] void **ppvObj);
397 [call_as(MonikerBindToStorage)]
398 HRESULT RemoteMonikerBindToStorage(
399 [in, unique] IMoniker *pMk,
400 [in, unique] IBindCtx *pBC,
401 [in, unique] IBindStatusCallback *pBSC,
403 [out, iid_is(riid)] IUnknown **ppvObj);
406 HRESULT MonikerBindToObject(
409 [in] IBindStatusCallback *pBSC,
411 [out] void **ppvObj);
413 [call_as(MonikerBindToObject)]
414 HRESULT RemoteMonikerBindToObject(
415 [in, unique] IMoniker *pMk,
416 [in, unique] IBindCtx *pBC,
417 [in, unique] IBindStatusCallback *pBSC,
419 [out, iid_is(riid)] IUnknown **ppvObj);
423 /*****************************************************************************
424 * IWinInetInfo interface
428 uuid(79eac9d6-bafa-11ce-8c82-00aa004ba90b),
429 pointer_default(unique)
431 interface IWinInetInfo : IUnknown
433 typedef [unique] IWinInetInfo *LPWININETINFO;
438 [in, out, size_is(*pcbBuf)] LPVOID pBuffer,
439 [in, out] DWORD *pcbBuf);
441 [call_as(QueryOption)]
442 HRESULT RemoteQueryOption(
444 [in, out, size_is(*pcbBuf)] BYTE *pBuffer,
445 [in, out] DWORD *pcbBuf);
450 /*****************************************************************************
451 * IWinInetHttpInfo interface
455 uuid(79eac9d8-bafa-11ce-8c82-00aa004ba90b),
456 pointer_default(unique)
458 interface IWinInetHttpInfo : IWinInetInfo
460 typedef [unique] IWinInetHttpInfo *LPWININETHTTPINFO;
465 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
466 [in, out] DWORD *pcbBuf,
467 [in, out] DWORD *pdwFlags,
468 [in, out] DWORD *pdwReserved);
471 HRESULT RemoteQueryInfo(
473 [in,out,size_is(*pcbBuf)] BYTE *pBuffer,
474 [in, out] DWORD *pcbBuf,
475 [in, out] DWORD *pdwFlags,
476 [in, out] DWORD *pdwReserved);
479 /*****************************************************************************
480 * IWindowForBindingUI interface
485 uuid(79eac9d5-bafa-11ce-8c82-00aa004ba90b),
486 pointer_default(unique)
488 interface IWindowForBindingUI : IUnknown
490 typedef [unique] IWindowForBindingUI *LPWINDOWFORBINDINGUI;
493 [in] REFGUID rguidReason,
497 /*****************************************************************************
498 * IHttpSecurity interface
502 uuid(79eac9d7-bafa-11ce-8c82-00aa004ba90b),
503 pointer_default(unique)
505 interface IHttpSecurity : IWindowForBindingUI
507 typedef [unique] IHttpSecurity *LPHTTPSECURITY;
509 HRESULT OnSecurityProblem(
510 [in] DWORD dwProblem);
514 /*****************************************************************************
515 * IPersistMoniker interface
519 uuid(79eac9c9-baf9-11ce-8c82-00aa004ba90b),
520 pointer_default(unique)
522 interface IPersistMoniker : IUnknown
524 typedef [unique] IPersistMoniker *LPPERSISTMONIKER;
527 [out] CLSID *pClassID);
532 [in] BOOL fFullyAvailable,
533 [in] IMoniker *pimkName,
538 [in] IMoniker *pimkName,
540 [in] BOOL fRemember);
542 HRESULT SaveCompleted(
543 [in] IMoniker *pimkName,
546 HRESULT GetCurMoniker(
547 [out] IMoniker **ppimkName);
550 /*****************************************************************************
551 * IMonikerProp interface
555 uuid(A5CA5F7F-1847-4D87-9C5B-918509F7511D),
556 pointer_default(unique)
558 interface IMonikerProp : IUnknown
560 typedef [unique] IMonikerProp *LPMONIKERPROP;
566 TRUSTEDDOWNLOADPROP = 3,
571 [in] MONIKERPROPERTY mkp,
575 cpp_quote("#ifndef _LPBINDPROTOCOL_DEFINED")
576 cpp_quote("#define _LPBINDPROTOCOL_DEFINED")
578 /*****************************************************************************
579 * IBindProtocol interface
584 uuid(79EAC9CD-BAF9-11CE-8C82-00AA004BA90B),
585 pointer_default(unique)
587 interface IBindProtocol : IUnknown
589 typedef [unique] IBindProtocol *LPBINDPROTOCOL;
591 HRESULT CreateBinding(
594 [out] IBinding **ppb);
597 cpp_quote("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
599 /*****************************************************************************
600 * IInternetBindInfo interface
605 uuid(79EAC9E1-BAF9-11CE-8C82-00AA004BA90B),
606 pointer_default(unique)
608 interface IInternetBindInfo : IUnknown
610 typedef [unique] IInternetBindInfo *LPIINTERNETBINDINFO;
612 typedef enum tagBINDSTRING
614 BINDSTRING_HEADERS = 1,
615 BINDSTRING_ACCEPT_MIMES,
616 BINDSTRING_EXTRA_URL,
620 BINDSTRING_UA_PIXELS,
623 BINDSTRING_USER_AGENT,
624 BINDSTRING_ACCEPT_ENCODINGS,
625 BINDSTRING_POST_COOKIE,
626 BINDSTRING_POST_DATA_MIME,
629 BINDSTRING_FLAG_BIND_TO_OBJECT,
630 BINDSTRING_PTR_BIND_CONTEXT
634 [out] DWORD *grfBINDF,
635 [in, out, unique] BINDINFO *pbindinfo);
637 HRESULT GetBindString(
638 [in] ULONG ulStringType,
639 [in, out] LPOLESTR *ppwzStr,
641 [in, out] ULONG *pcElFetched);
644 /*****************************************************************************
645 * IInternetPriority interface
650 uuid(79EAC9EB-BAF9-11CE-8C82-00AA004BA90B),
651 pointer_default(unique)
653 interface IInternetPriority : IUnknown
655 typedef [unique] IInternetPriority *LPIINTERNETPRIORITY;
657 HRESULT SetPriority([in] LONG nPriority);
658 HRESULT GetPriority([out] LONG *pnPriority);
661 /*****************************************************************************
662 * IInternetProtocolRoot interface
667 uuid(79EAC9E3-BAF9-11CE-8C82-00AA004BA90B),
668 pointer_default(unique)
670 interface IInternetProtocolRoot : IUnknown
672 typedef [unique] IInternetProtocolRoot *LPIINTERNETPROTOCOLROOT;
674 typedef enum _tagPI_FLAGS
676 PI_PARSE_URL = 0x00000001,
677 PI_FILTER_MODE = 0x00000002,
678 PI_FORCE_ASYNC = 0x00000004,
679 PI_USE_WORKERTHREAD = 0x00000008,
680 PI_MIMEVERIFICATION = 0x00000010,
681 PI_CLSIDLOOKUP = 0x00000020,
682 PI_DATAPROGRESS = 0x00000040,
683 PI_SYNCHRONOUS = 0x00000080,
684 PI_APARTMENTTHREADED = 0x00000100,
685 PI_CLASSINSTALL = 0x00000200,
686 PD_FORCE_SWITCH = 0x00010000
689 typedef struct _tagPROTOCOLDATA
699 [in] IInternetProtocolSink *pOIProtSink,
700 [in] IInternetBindInfo *pOIBindInfo,
702 [in] DWORD dwReserved);
705 [in] PROTOCOLDATA *pProtocolData);
708 [in] HRESULT hrReason,
709 [in] DWORD dwOptions);
712 [in] DWORD dwOptions);
719 /*****************************************************************************
720 * IInternetProtocolSink interface
725 uuid(79EAC9E5-BAF9-11CE-8C82-00AA004BA90B),
726 pointer_default(unique)
728 interface IInternetProtocolSink : IUnknown
730 typedef [unique] IInternetProtocolSink *LPIINTERNETPROTOCOLSINK;
733 [in] PROTOCOLDATA *pProtocolData);
735 HRESULT ReportProgress(
736 [in] ULONG ulStatusCode,
737 [in] LPCWSTR szStatusText);
741 [in] ULONG ulProgress,
742 [in] ULONG ulProgressMax);
744 HRESULT ReportResult(
745 [in] HRESULT hrResult,
747 [in] LPCWSTR szResult);
750 /*****************************************************************************
751 * IInternetProtocol interface
756 uuid(79EAC9E4-BAF9-11CE-8C82-00AA004BA90B),
757 pointer_default(unique)
759 interface IInternetProtocol : IInternetProtocolRoot
761 typedef [unique] IInternetProtocol *LPIINTERNETPROTOCOL;
764 [in,out, size_is(cb), length_is(*pcbRead)] void *pv,
766 [out] ULONG *pcbRead);
769 [in] LARGE_INTEGER dlibMove,
771 [out] ULARGE_INTEGER *plibNewPosition);
774 [in] DWORD dwOptions);
776 HRESULT UnlockRequest();
779 /*****************************************************************************
780 * IInternetProtocolInfo interface
785 uuid(79eac9ec-baf9-11ce-8c82-00aa004ba90b),
786 pointer_default(unique)
788 interface IInternetProtocolInfo : IUnknown
790 typedef [unique] IInternetProtocolInfo *LPIINTERNETPROTOCOLINFO;
792 typedef enum _tagPARSEACTION
794 PARSE_CANONICALIZE = 1,
810 PARSE_SECURITY_DOMAIN,
815 typedef enum _tagPSUACTION
818 PSU_SECURITY_URL_ONLY
821 typedef enum _tagQUERYOPTION
823 QUERY_EXPIRATION_DATE = 1,
824 QUERY_TIME_OF_LAST_CHANGE,
825 QUERY_CONTENT_ENCODING,
832 QUERY_IS_INSTALLEDENTRY,
833 QUERY_IS_CACHED_OR_MAPPED,
841 [in] PARSEACTION ParseAction,
842 [in] DWORD dwParseFlags,
843 [out] LPWSTR pwzResult,
844 [in] DWORD cchResult,
845 [out] DWORD *pcchResult,
846 [in] DWORD dwReserved);
849 [in] LPCWSTR pwzBaseUrl,
850 [in] LPCWSTR pwzRelativeUrl,
851 [in] DWORD dwCombineFlags,
852 [out] LPWSTR pwzResult,
853 [in] DWORD cchResult,
854 [out] DWORD *pcchResult,
855 [in] DWORD dwReserved);
858 [in] LPCWSTR pwzUrl1,
859 [in] LPCWSTR pwzUrl2,
860 [in] DWORD dwCompareFlags);
864 [in] QUERYOPTION OueryOption,
865 [in] DWORD dwQueryFlags,
866 [in, out,size_is(*pcbBuf)] LPVOID pBuffer,
868 [in, out] DWORD *pcbBuf,
869 [in] DWORD dwReserved);
872 /*****************************************************************************
873 * IInternetSession interface
878 uuid(79eac9e7-baf9-11ce-8c82-00aa004ba90b),
879 pointer_default(unique)
881 interface IInternetSession : IUnknown
883 typedef [unique] IInternetSession *LPIINTERNETSESSION;
885 typedef enum _tagOIBDG_FLAGS
887 OIBDG_APARTMENTTHREADED = 0x0100,
888 OIBDG_DATAONLY = 0x1000
891 HRESULT RegisterNameSpace(
892 [in] IClassFactory *pCF,
893 [in] REFCLSID rclsid,
894 [in] LPCWSTR pwzProtocol,
895 [in] ULONG cPatterns,
896 [in] const LPCWSTR *ppwzPatterns,
897 [in] DWORD dwReserved);
899 HRESULT UnregisterNameSpace(
900 [in] IClassFactory *pCF,
901 [in] LPCWSTR pszProtocol);
903 HRESULT RegisterMimeFilter(
904 [in] IClassFactory *pCF,
905 [in] REFCLSID rclsid,
906 [in] LPCWSTR pwzType);
908 HRESULT UnregisterMimeFilter(
909 [in] IClassFactory *pCF,
910 [in] LPCWSTR pwzType);
912 HRESULT CreateBinding(
915 [in] IUnknown *pUnkOuter,
916 [out, unique] IUnknown **ppUnk,
917 [out, unique] IInternetProtocol **ppOInetProt,
918 [in] DWORD dwOption);
920 HRESULT SetSessionOption(
923 [in] DWORD dwBufferLength,
924 [in] DWORD dwReserved);
927 /*****************************************************************************
928 * IInternetSecurityMgrSite interface
933 uuid(79eac9ed-baf9-11ce-8c82-00aa004ba90b),
934 pointer_default(unique)
936 interface IInternetSecurityMgrSite : IUnknown
941 HRESULT EnableModeless(
946 /*****************************************************************************
947 * IInternetSecurityManager interface
949 cpp_quote("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
953 uuid(79eac9ee-baf9-11ce-8c82-00aa004ba90b),
954 pointer_default(unique)
956 interface IInternetSecurityManager : IUnknown
958 HRESULT SetSecuritySite(
959 [in, unique] IInternetSecurityMgrSite *pSite);
961 HRESULT GetSecuritySite(
962 [out] IInternetSecurityMgrSite **ppSite);
964 HRESULT MapUrlToZone(
965 [in] LPCWSTR pwszUrl,
966 [out] DWORD *pdwZone,
969 cpp_quote("#define MAX_SIZE_SECURITY_ID 512")
971 HRESULT GetSecurityId(
972 [in] LPCWSTR pwszUrl,
973 [out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
974 [in, out] DWORD *pcbSecurityId,
975 [in] DWORD_PTR dwReserved);
982 PUAF_WARN_IF_DENIED = 0x04,
983 PUAF_FORCEUI_FOREGROUND = 0x08,
984 PUAF_CHECK_TIPS = 0x10
987 HRESULT ProcessUrlAction(
988 [in] LPCWSTR pwszUrl,
990 [out, size_is(cbPolicy)] BYTE *pPolicy,
993 [in] DWORD cbContext,
995 [in] DWORD dwReserved);
997 HRESULT QueryCustomPolicy(
998 [in] LPCWSTR pwszUrl,
999 [in] REFGUID guidKey,
1000 [out, size_is(,*pcbPolicy)] BYTE **ppPolicy,
1001 [out] DWORD *pcbPolicy,
1002 [in] BYTE *pContext,
1003 [in] DWORD cbContext,
1004 [in] DWORD dwReserved);
1011 HRESULT SetZoneMapping(
1013 [in] LPCWSTR lpszPattern,
1014 [in] DWORD dwFlags);
1016 HRESULT GetZoneMappings(
1018 [out] IEnumString **ppenumString,
1019 [in] DWORD dwFlags);
1022 cpp_quote("#define URLACTION_MIN 0x00001000")
1023 cpp_quote("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1024 cpp_quote("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1025 cpp_quote("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1026 cpp_quote("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1027 cpp_quote("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1029 cpp_quote("#define URLACTION_ACTIVEX_MIN 0x00001200")
1030 cpp_quote("#define URLACTION_ACTIVEX_RUN 0x00001200")
1031 cpp_quote("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1032 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1033 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1034 cpp_quote("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1035 cpp_quote("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1036 cpp_quote("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1037 cpp_quote("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1038 cpp_quote("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1039 cpp_quote("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1041 cpp_quote("#define URLACTION_SCRIPT_MIN 0x00001400")
1042 cpp_quote("#define URLACTION_SCRIPT_RUN 0x00001400")
1043 cpp_quote("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1044 cpp_quote("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1045 cpp_quote("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1046 cpp_quote("#define URLACTION_SCRIPT_PASTE 0x00001407")
1047 cpp_quote("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1048 cpp_quote("#define URLACTION_SCRIPT_MAX 0x000015ff")
1050 cpp_quote("#define URLACTION_HTML_MIN 0x00001600")
1051 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1052 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1053 cpp_quote("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1054 cpp_quote("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1055 cpp_quote("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1056 cpp_quote("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1057 cpp_quote("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1058 cpp_quote("#define URLACTION_HTML_META_REFRESH 0x00001608")
1059 cpp_quote("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1060 cpp_quote("#define URLACTION_HTML_MAX 0x000017ff")
1062 cpp_quote("#define URLACTION_SHELL_MIN 0x00001800")
1063 cpp_quote("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1064 cpp_quote("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1065 cpp_quote("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1066 cpp_quote("#define URLACTION_SHELL_VERB 0x00001804")
1067 cpp_quote("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1068 cpp_quote("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1069 cpp_quote("#define URLACTION_SHELL_MAX 0x000019ff")
1071 cpp_quote("#define URLACTION_NETWORK_MIN 0x00001a00")
1072 cpp_quote("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1073 cpp_quote("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1074 cpp_quote("#define URLACTION_COOKIES 0x00001a02")
1075 cpp_quote("#define URLACTION_COOKIES_SESSION 0x00001a03")
1076 cpp_quote("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1077 cpp_quote("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1078 cpp_quote("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1079 cpp_quote("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1080 cpp_quote("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1081 cpp_quote("#define URLACTION_NETWORK_MAX 0x00001bff")
1083 cpp_quote("#define URLACTION_JAVA_MIN 0x00001c00")
1084 cpp_quote("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1085 cpp_quote("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1086 cpp_quote("#define URLPOLICY_JAVA_HIGH 0x00010000")
1087 cpp_quote("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1088 cpp_quote("#define URLPOLICY_JAVA_LOW 0x00030000")
1089 cpp_quote("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1090 cpp_quote("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1091 cpp_quote("#define URLACTION_JAVA_MAX 0x00001cff")
1093 cpp_quote("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1094 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1095 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1096 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1097 cpp_quote("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1098 cpp_quote("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1099 cpp_quote("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1100 cpp_quote("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1101 cpp_quote("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1102 cpp_quote("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1104 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1105 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1106 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1107 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1108 cpp_quote("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1109 cpp_quote("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1111 cpp_quote("#define URLPOLICY_ALLOW 0x00")
1112 cpp_quote("#define URLPOLICY_QUERY 0x01")
1113 cpp_quote("#define URLPOLICY_DISALLOW 0x03")
1115 cpp_quote("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1116 cpp_quote("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1118 cpp_quote("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1119 cpp_quote("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1121 cpp_quote("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1123 cpp_quote("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1124 cpp_quote("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1125 cpp_quote("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1126 cpp_quote("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1128 cpp_quote("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1129 cpp_quote("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1130 cpp_quote("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1132 cpp_quote("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1133 cpp_quote("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1134 cpp_quote("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1136 /*****************************************************************************
1137 * IInternetZoneManager interface
1142 uuid(79EAC9EF-BAf9-11CE-8C82-00AA004BA90B),
1143 pointer_default(unique)
1145 interface IInternetZoneManager : IUnknown
1147 typedef [unique] IInternetZoneManager* LPURLZONEMANAGER;
1149 typedef enum tagURLZONE
1151 URLZONE_PREDEFINED_MIN = 0,
1152 URLZONE_LOCAL_MACHINE = 0,
1153 URLZONE_INTRANET = 1,
1154 URLZONE_TRUSTED = 2,
1155 URLZONE_INTERNET = 3,
1156 URLZONE_UNTRUSTED = 4,
1157 URLZONE_PREDEFINED_MAX = 999,
1158 URLZONE_USER_MIN = 1000,
1159 URLZONE_USER_MAX = 10000,
1162 typedef enum tagURLTEMPLATE
1164 URLTEMPLATE_CUSTOM = 0x00000,
1165 URLTEMPLATE_PREDEFINED_MIN = 0x10000,
1166 URLTEMPLATE_LOW = 0x10000,
1167 URLTEMPLATE_MEDIUM = 0x11000,
1168 URLTEMPLATE_HIGH = 0x12000,
1169 URLTEMPLATE_PREDEFINED_MAX = 0x20000,
1173 ZAFLAGS_CUSTOM_EDIT = 0x00000001,
1174 ZAFLAGS_ADD_SITES = 0x00000002,
1175 ZAFLAGS_REQUIRE_VERIFICATION = 0x00000004,
1176 ZAFLAGS_INCLUDE_PROXY_OVERRIDE = 0x00000008,
1177 ZAFLAGS_INCLUDE_INTRANET_SITES = 0x00000010,
1178 ZAFLAGS_NO_UI = 0x00000020,
1179 ZAFLAGS_SUPPORTS_VERIFICATION = 0x00000040,
1180 ZAFLAGS_UNC_AS_INTRANET = 0x00000080,
1184 MAX_ZONE_PATH = 260,
1185 MAX_ZONE_DESCRIPTION = 200
1188 typedef struct _ZONEATTRIBUTES {
1190 WCHAR szDisplayName[MAX_ZONE_PATH];
1191 WCHAR szDescription[MAX_ZONE_DESCRIPTION];
1192 WCHAR szIconPath[MAX_ZONE_PATH];
1193 DWORD dwTemplateMinLevel;
1194 DWORD dwTemplateRecommended;
1195 DWORD dwTemplateCurrentLevel;
1197 } ZONEATTRIBUTES, *LPZONEATTRIBUTES;
1199 typedef enum _URLZONEREG {
1205 HRESULT GetZoneAttributes(
1207 [in, out, unique] ZONEATTRIBUTES* pZoneAttributes);
1209 HRESULT SetZoneAttributes(
1211 [in] ZONEATTRIBUTES* pZoneAttributes);
1213 HRESULT GetZoneCustomPolicy(
1215 [in] REFGUID guidKey,
1216 [out] BYTE **ppPolicy,
1217 [out] DWORD* pcbPolicy,
1218 [in] URLZONEREG ulrZoneReg);
1220 HRESULT SetZoneCustomPolicy(
1222 [in] REFGUID guidKey,
1223 [in] BYTE *ppPolicy,
1224 [in] DWORD pcbPolicy,
1225 [in] URLZONEREG ulrZoneReg);
1227 HRESULT GetZoneActionPolicy(
1229 [in] DWORD dwAction,
1230 [out] BYTE* pPolicy,
1231 [in] DWORD cbPolicy,
1232 [in] URLZONEREG urlZoneReg);
1234 HRESULT SetZoneActionPolicy(
1236 [in] DWORD dwAction,
1238 [in] DWORD cbPolicy,
1239 [in] URLZONEREG urlZoneReg);
1241 HRESULT PromptAction(
1242 [in] DWORD dwAction,
1243 [in] HWND hwndParent,
1244 [in] LPCWSTR pwszUrl,
1245 [in] LPCWSTR pwszText,
1246 [in] DWORD dwPromptFlags );
1249 [in] DWORD dwAction,
1250 [in] LPCWSTR pwszUrl,
1251 [in] LPCWSTR pwszText,
1252 [in] DWORD dwLogFlags);
1254 HRESULT CreateZoneEnumerator(
1255 [out] DWORD* pdwEnum,
1256 [out] DWORD* pdwCount,
1257 [in] DWORD dwFlags);
1262 [out] DWORD* pdwZone);
1264 HRESULT DestroyZoneEnumerator(
1267 HRESULT CopyTemplatePoliciesToZone(
1268 [in] DWORD dwTemplate,
1270 [in] DWORD dwReserved);
1273 typedef struct _tagSOFTDISTINFO
1281 DWORD dwInstalledVersionMS;
1282 DWORD dwInstalledVersionLS;
1283 DWORD dwUpdateVersionMS;
1284 DWORD dwUpdateVersionLS;
1285 DWORD dwAdvertisedVersionMS;
1286 DWORD dwAdvertisedVersionLS;
1288 } SOFTDISTINFO, *LPSOFTDISTINFO;
1290 typedef struct _tagCODEBASEHOLD
1298 } CODEBASEHOLD, *LPCODEBASEHOLD;
1303 uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
1304 pointer_default(unique)
1306 interface ISoftDistExt : IUnknown
1308 HRESULT ProcessSoftDist(
1309 [in] LPCWSTR szCDFURL,
1310 [in] IXMLElement *pSoftDistElement,
1311 [in, out] LPSOFTDISTINFO lpsdi );
1313 HRESULT GetFirstCodeBase(
1314 [in] LPWSTR *szCodeBase,
1315 [in] LPDWORD dwMaxSize );
1317 HRESULT GetNextCodeBase(
1318 [in] LPWSTR *szCodeBase,
1319 [in] LPDWORD dwMaxSize );
1321 HRESULT AsyncInstallDistributionUnit(
1323 [in] LPVOID lpReserved,
1325 [in] LPCODEBASEHOLD lpcbh);
1328 typedef enum _tagINTERNETFEATURELIST
1330 FEATURE_OBJECT_CACHING,
1331 FEATURE_ZONE_ELEVATION,
1332 FEATURE_MIME_HANDLING,
1333 FEATURE_MIME_SNIFFING,
1334 FEATURE_WINDOW_RESTRICTIONS,
1335 FEATURE_WEBOC_POPUPMANAGEMENT,
1337 FEATURE_DISABLE_MK_PROTOCOL,
1338 FEATURE_LOCALMACHINE_LOCKDOWN,
1339 FEATURE_SECURITYBAND,
1340 FEATURE_RESTRICT_ACTIVEXINSTALL,
1341 FEATURE_VALIDATE_NAVIGATE_URL,
1342 FEATURE_RESTRICT_FILEDOWNLOAD,
1343 FEATURE_ADDON_MANAGEMENT,
1344 FEATURE_PROTOCOL_LOCKDOWN,
1345 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE,
1346 FEATURE_SAFE_BINDTOOBJECT,
1347 FEATURE_UNC_SAVEDFILECHECK,
1348 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED,
1349 FEATURE_TABBED_BROWSING,
1351 FEATURE_DISABLE_NAVIGATION_SOUNDS,
1352 FEATURE_DISABLE_LEGACY_COMPRESSION,
1353 FEATURE_FORCE_ADDR_AND_STATUS,
1355 FEATURE_DISABLE_TELNET_PROTOCOL,
1357 FEATURE_BLOCK_INPUT_PROMPTS,
1359 FEATURE_XDOMAINREQUEST,
1361 FEATURE_AJAX_CONNECTIONSERVICES,
1363 } INTERNETFEATURELIST;
1365 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1366 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1367 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1368 cpp_quote("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1369 cpp_quote("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1371 cpp_quote("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1372 cpp_quote("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1373 cpp_quote("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1374 cpp_quote("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1375 cpp_quote("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1376 cpp_quote("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1377 cpp_quote("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1379 cpp_quote("#define URLMON_OPTION_USERAGENT 0x10000001")
1380 cpp_quote("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
1381 cpp_quote("#define URLMON_OPTION_URL_ENCODING 0x10000004")
1383 cpp_quote("#define MK_S_ASYNCHRONOUS 0x000401E8")
1384 cpp_quote("#ifndef S_ASYNCHRONOUS")
1385 cpp_quote("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1388 cpp_quote("#define INET_E_ERROR_FIRST 0x800C0002")
1389 cpp_quote("#define INET_E_INVALID_URL 0x800C0002")
1390 cpp_quote("#define INET_E_NO_SESSION 0x800C0003")
1391 cpp_quote("#define INET_E_CANNOT_CONNECT 0x800C0004")
1392 cpp_quote("#define INET_E_RESOURCE_NOT_FOUND 0x800C0005")
1393 cpp_quote("#define INET_E_OBJECT_NOT_FOUND 0x800C0006")
1394 cpp_quote("#define INET_E_DATA_NOT_AVAILABLE 0x800C0007")
1395 cpp_quote("#define INET_E_DOWNLOAD_FAILURE 0x800C0008")
1396 cpp_quote("#define INET_E_AUTHENTICATION_REQUIRED 0x800C0009")
1397 cpp_quote("#define INET_E_NO_VALID_MEDIA 0x800C000A")
1398 cpp_quote("#define INET_E_CONNECTION_TIMEOUT 0x800C000B")
1399 cpp_quote("#define INET_E_INVALID_REQUEST 0x800C000C")
1400 cpp_quote("#define INET_E_UNKNOWN_PROTOCOL 0x800C000D")
1401 cpp_quote("#define INET_E_SECURITY_PROBLEM 0x800C000E")
1402 cpp_quote("#define INET_E_CANNOT_LOAD_DATA 0x800C000F")
1403 cpp_quote("#define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010")
1404 cpp_quote("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER 0x800C0011")
1405 cpp_quote("#define INET_E_QUERYOPTION_UNKNOWN 0x800C0013")
1406 cpp_quote("#define INET_E_REDIRECT_FAILED 0x800C0014")
1407 cpp_quote("#define INET_E_REDIRECT_TO_DIR 0x800C0015")
1408 cpp_quote("#define INET_E_CANNOT_LOCK_REQUEST 0x800C0016")
1409 cpp_quote("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1410 cpp_quote("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1412 cpp_quote("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1413 cpp_quote("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1414 cpp_quote("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1415 cpp_quote("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1416 cpp_quote("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1417 cpp_quote("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1418 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1419 cpp_quote("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1420 cpp_quote("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1421 cpp_quote("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1422 cpp_quote("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1423 cpp_quote("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1424 cpp_quote("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1425 cpp_quote("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1426 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1427 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1428 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1429 cpp_quote("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1430 cpp_quote("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1431 cpp_quote("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
1432 cpp_quote("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1433 cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1434 cpp_quote("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1435 cpp_quote("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1436 cpp_quote("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
1437 cpp_quote("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1438 cpp_quote("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1439 cpp_quote("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1440 cpp_quote("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1441 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1442 cpp_quote("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1443 cpp_quote("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1444 cpp_quote("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1445 cpp_quote("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1446 cpp_quote("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1447 cpp_quote("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1448 cpp_quote("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
1449 cpp_quote("void WINAPI ReleaseBindInfo(BINDINFO*);")
1450 cpp_quote("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1451 cpp_quote("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1452 cpp_quote("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1453 cpp_quote("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1454 cpp_quote("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1455 cpp_quote("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1456 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1457 cpp_quote("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1459 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
1460 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")
1461 cpp_quote("#define OInetGetSession CoInternetGetSession")
1463 cpp_quote("#define MKSYS_URLMONIKER 6")
1464 cpp_quote("#define URL_MK_LEGACY 0")
1465 cpp_quote("#define URL_MK_UNIFORM 1")