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 cpp_quote
("#ifdef WINE_NO_UNICODE_MACROS")
26 cpp_quote
("#undef GetUserName")
29 interface IInternetProtocolSink
;
31 /*****************************************************************************
36 uuid(79eac9e0
-baf9
-11ce
-8c82
-00aa004ba90b
),
37 pointer_default(unique),
40 interface IInternet
: IUnknown
42 typedef [unique] IInternet
*LPIINTERNET
;
45 /*****************************************************************************
50 uuid(79eac9c0
-baf9
-11ce
-8c82
-00aa004ba90b
),
51 pointer_default(unique)
53 interface IBinding
: IUnknown
55 typedef [unique] IBinding
*LPBINDING
;
65 [out] LONG * pnPriority
);
68 HRESULT GetBindResult
(
69 [out] CLSID
*pclsidProtocol
,
70 [out] DWORD
*pdwResult
,
71 [out] LPOLESTR
*pszResult
,
72 [in, out] DWORD
*pdwReserved
);
74 [call_as
(GetBindResult
)]
75 HRESULT RemoteGetBindResult
(
76 [out] CLSID
*pclsidProtocol
,
77 [out] DWORD
*pdwResult
,
78 [out] LPOLESTR
*pszResult
,
79 [in] DWORD dwReserved
);
83 /*****************************************************************************
84 * IBindStatusCallback interface
88 uuid(79eac9c1
-baf9
-11ce
-8c82
-00aa004ba90b
),
89 pointer_default(unique)
91 interface IBindStatusCallback
: IUnknown
93 typedef [unique] IBindStatusCallback
*LPBINDSTATUSCALLBACK
;
97 BINDVERB_GET
= 0x00000000,
98 BINDVERB_POST
= 0x00000001,
99 BINDVERB_PUT
= 0x00000002,
100 BINDVERB_CUSTOM
= 0x00000003
105 BINDINFOF_URLENCODESTGMEDDATA
= 0x00000001,
106 BINDINFOF_URLENCODEDEXTRAINFO
= 0x00000002
111 BINDF_ASYNCHRONOUS
= 0x00000001,
112 BINDF_ASYNCSTORAGE
= 0x00000002,
113 BINDF_NOPROGRESSIVERENDERING
= 0x00000004,
114 BINDF_OFFLINEOPERATION
= 0x00000008,
115 BINDF_GETNEWESTVERSION
= 0x00000010,
116 BINDF_NOWRITECACHE
= 0x00000020,
117 BINDF_NEEDFILE
= 0x00000040,
118 BINDF_PULLDATA
= 0x00000080,
119 BINDF_IGNORESECURITYPROBLEM
= 0x00000100,
120 BINDF_RESYNCHRONIZE
= 0x00000200,
121 BINDF_HYPERLINK
= 0x00000400,
122 BINDF_NO_UI
= 0x00000800,
123 BINDF_SILENTOPERATION
= 0x00001000,
124 BINDF_PRAGMA_NO_CACHE
= 0x00002000,
125 BINDF_GETCLASSOBJECT
= 0x00004000,
126 BINDF_RESERVED_1
= 0x00008000,
127 BINDF_FREE_THREADED
= 0x00010000,
128 BINDF_DIRECT_READ
= 0x00020000,
129 BINDF_FORMS_SUBMIT
= 0x00040000,
130 BINDF_GETFROMCACHE_IF_NET_FAIL
= 0x00080000,
131 BINDF_FROMURLMON
= 0x00100000,
132 BINDF_FWD_BACK
= 0x00200000,
133 BINDF_PREFERDEFAULTHANDLER
= 0x00400000,
134 BINDF_ENFORCERESTRICTED
= 0x00800000
139 URL_ENCODING_NONE
= 0x00000000,
140 URL_ENCODING_ENABLE_UTF8
= 0x10000000,
141 URL_ENCODING_DISABLE_UTF8
= 0x20000000
144 typedef struct _tagBINDINFO
148 STGMEDIUM stgmedData
;
154 DWORD dwOptionsFlags
;
156 SECURITY_ATTRIBUTES securityAttributes
;
162 typedef struct _REMSECURITY_ATTRIBUTES
165 DWORD lpSecurityDescriptor
;
167 } REMSECURITY_ATTRIBUTES
, *PREMSECURITY_ATTRIBUTES
, *LPREMSECURITY_ATTRIBUTES
;
169 typedef struct _tagRemBINDINFO
178 DWORD dwOptionsFlags
;
180 REMSECURITY_ATTRIBUTES securityAttributes
;
186 typedef struct tagRemFORMATETC
193 } RemFORMATETC
, *LPREMFORMATETC
;
197 BSCF_FIRSTDATANOTIFICATION
= 0x01,
198 BSCF_INTERMEDIATEDATANOTIFICATION
= 0x02,
199 BSCF_LASTDATANOTIFICATION
= 0x04,
200 BSCF_DATAFULLYAVAILABLE
= 0x08,
201 BSCF_AVAILABLEDATASIZEUNKNOWN
= 0x10
204 typedef enum BINDSTATUS
206 BINDSTATUS_FINDINGRESOURCE
= 1,
207 BINDSTATUS_CONNECTING
,
208 BINDSTATUS_REDIRECTING
,
209 BINDSTATUS_BEGINDOWNLOADDATA
,
210 BINDSTATUS_DOWNLOADINGDATA
,
211 BINDSTATUS_ENDDOWNLOADDATA
,
212 BINDSTATUS_BEGINDOWNLOADCOMPONENTS
,
213 BINDSTATUS_INSTALLINGCOMPONENTS
,
214 BINDSTATUS_ENDDOWNLOADCOMPONENTS
,
215 BINDSTATUS_USINGCACHEDCOPY
,
216 BINDSTATUS_SENDINGREQUEST
,
217 BINDSTATUS_CLASSIDAVAILABLE
,
218 BINDSTATUS_MIMETYPEAVAILABLE
,
219 BINDSTATUS_CACHEFILENAMEAVAILABLE
,
220 BINDSTATUS_BEGINSYNCOPERATION
,
221 BINDSTATUS_ENDSYNCOPERATION
,
222 BINDSTATUS_BEGINUPLOADDATA
,
223 BINDSTATUS_UPLOADINGDATA
,
224 BINDSTATUS_ENDUPLOADINGDATA
,
225 BINDSTATUS_PROTOCOLCLASSID
,
227 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE
,
228 BINDSTATUS_CLASSINSTALLLOCATION
,
230 BINDSTATUS_LOADINGMIMEHANDLER
,
231 BINDSTATUS_CONTENTDISPOSITIONATTACH
,
232 BINDSTATUS_FILTERREPORTMIMETYPE
,
233 BINDSTATUS_CLSIDCANINSTANTIATE
,
234 BINDSTATUS_IUNKNOWNAVAILABLE
,
235 BINDSTATUS_DIRECTBIND
,
236 BINDSTATUS_RAWMIMETYPE
,
237 BINDSTATUS_PROXYDETECTING
,
238 BINDSTATUS_ACCEPTRANGES
,
239 BINDSTATUS_COOKIE_SENT
,
240 BINDSTATUS_COMPACT_POLICY_RECEIVED
,
241 BINDSTATUS_COOKIE_SUPPRESSED
,
242 BINDSTATUS_COOKIE_STATE_UNKNOWN
,
243 BINDSTATUS_COOKIE_STATE_ACCEPT
,
244 BINDSTATUS_COOKIE_STATE_REJECT
,
245 BINDSTATUS_COOKIE_STATE_PROMPT
,
246 BINDSTATUS_COOKIE_STATE_LEASH
,
247 BINDSTATUS_COOKIE_STATE_DOWNGRADE
,
248 BINDSTATUS_POLICY_HREF
,
249 BINDSTATUS_P3P_HEADER
,
250 BINDSTATUS_SESSION_COOKIE_RECEIVED
,
251 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED
,
252 BINDSTATUS_SESSION_COOKIES_ALLOWED
,
253 BINDSTATUS_CACHECONTROL
,
254 BINDSTATUS_CONTENTDISPOSITIONFILENAME
,
255 BINDSTATUS_MIMETEXTPLAINMISMATCH
,
256 BINDSTATUS_PUBLISHERAVAILABLE
,
257 BINDSTATUS_DISPLAYNAMEAVAILABLE
261 HRESULT OnStartBinding
(
262 [in] DWORD dwReserved
,
263 [in] IBinding
* pib
);
266 [out] LONG * pnPriority
);
268 HRESULT OnLowResource
(
269 [in] DWORD reserved
);
272 [in] ULONG ulProgress
,
273 [in] ULONG ulProgressMax
,
274 [in] ULONG ulStatusCode
,
275 [in] LPCWSTR szStatusText
);
277 HRESULT OnStopBinding
(
278 [in] HRESULT hresult,
279 [in, unique] LPCWSTR szError
);
283 [out] DWORD
*grfBINDF
,
284 [in, out, unique] BINDINFO
* pbindinfo
);
286 [call_as
(GetBindInfo
)]
287 HRESULT RemoteGetBindInfo
(
288 [out] DWORD
*grfBINDF
,
289 [in, out, unique] RemBINDINFO
* pbindinfo
,
290 [in, out, unique] RemSTGMEDIUM
* pstgmed
);
293 HRESULT OnDataAvailable
(
296 [in] FORMATETC
* pformatetc
,
297 [in] STGMEDIUM
* pstgmed
);
299 [call_as
(OnDataAvailable
)]
300 HRESULT RemoteOnDataAvailable
(
303 [in] RemFORMATETC
*pformatetc
,
304 [in] RemSTGMEDIUM
* pstgmed
);
306 HRESULT OnObjectAvailable
(
308 [in, iid_is(riid
)] IUnknown
* punk
);
311 /*****************************************************************************
312 * IAuthenticate interface
317 uuid(79EAC9D0
-BAf9
-11CE
-8C82
-00AA004BA90B
),
318 pointer_default(unique)
320 interface IAuthenticate
: IUnknown
322 typedef [unique] IAuthenticate
*LPAUTHENTICATION
;
324 HRESULT Authenticate
(
326 [out] LPWSTR
*pszUsername
,
327 [out] LPWSTR
*pszPassword
);
330 /*****************************************************************************
331 * IHttpNegotiate interface
335 uuid(79EAC9D2
-BAF9
-11CE
-8C82
-00AA004BA90B
),
336 pointer_default(unique)
338 interface IHttpNegotiate
: IUnknown
340 typedef [unique] IHttpNegotiate
*LPHTTPNEGOTIATE
;
342 HRESULT BeginningTransaction
(
344 [in, unique] LPCWSTR szHeaders
,
345 [in] DWORD dwReserved
,
346 [out] LPWSTR
*pszAdditionalHeaders
);
349 [in] DWORD dwResponseCode
,
350 [in, unique] LPCWSTR szResponseHeaders
,
351 [in, unique] LPCWSTR szRequestHeaders
,
352 [out] LPWSTR
*pszAdditionalRequestHeaders
);
355 /*****************************************************************************
356 * IHttpNegotiate2 interface
360 uuid(4F9F9FCB
-E0F4
-48eb
-B7AB
-FA2EA9365CB4
),
361 pointer_default(unique)
363 interface IHttpNegotiate2
: IHttpNegotiate
365 typedef [unique] IHttpNegotiate2
*LPHTTPNEGOTIATE2
;
367 HRESULT GetRootSecurityId
(
368 [out, size_is(*pcbSecurityId
)] BYTE *pbSecurityId
,
369 [in, out] DWORD
*pcbSecurityId
,
370 [in] DWORD_PTR dwReserved
);
373 /*****************************************************************************
374 * IBindHost interface
376 cpp_quote
("#define SID_IBindHost IID_IBindHost")
377 cpp_quote
("#define SID_SBindHost IID_IBindHost")
380 uuid(fc4801a1
-2ba9
-11cf
-a229
-00aa003d7352
),
381 pointer_default(unique)
383 interface IBindHost
: IUnknown
385 typedef [unique] IBindHost
*LPBINDHOST
;
387 HRESULT CreateMoniker
(
388 [in] LPOLESTR szName
,
390 [out] IMoniker
** ppmk
,
391 [in] DWORD dwReserved
);
394 HRESULT MonikerBindToStorage
(
397 [in] IBindStatusCallback
*pBSC
,
399 [out] void **ppvObj
);
401 [call_as
(MonikerBindToStorage
)]
402 HRESULT RemoteMonikerBindToStorage
(
403 [in, unique] IMoniker
*pMk
,
404 [in, unique] IBindCtx
*pBC
,
405 [in, unique] IBindStatusCallback
*pBSC
,
407 [out, iid_is(riid
)] IUnknown
**ppvObj
);
410 HRESULT MonikerBindToObject
(
413 [in] IBindStatusCallback
*pBSC
,
415 [out] void **ppvObj
);
417 [call_as
(MonikerBindToObject
)]
418 HRESULT RemoteMonikerBindToObject
(
419 [in, unique] IMoniker
*pMk
,
420 [in, unique] IBindCtx
*pBC
,
421 [in, unique] IBindStatusCallback
*pBSC
,
423 [out, iid_is(riid
)] IUnknown
**ppvObj
);
427 /*****************************************************************************
428 * IWinInetInfo interface
432 uuid(79eac9d6
-bafa
-11ce
-8c82
-00aa004ba90b
),
433 pointer_default(unique)
435 interface IWinInetInfo
: IUnknown
437 typedef [unique] IWinInetInfo
*LPWININETINFO
;
442 [in, out, size_is(*pcbBuf
)] LPVOID pBuffer
,
443 [in, out] DWORD
*pcbBuf
);
445 [call_as
(QueryOption
)]
446 HRESULT RemoteQueryOption
(
448 [in, out, size_is(*pcbBuf
)] BYTE *pBuffer
,
449 [in, out] DWORD
*pcbBuf
);
454 /*****************************************************************************
455 * IWinInetHttpInfo interface
459 uuid(79eac9d8
-bafa
-11ce
-8c82
-00aa004ba90b
),
460 pointer_default(unique)
462 interface IWinInetHttpInfo
: IWinInetInfo
464 typedef [unique] IWinInetHttpInfo
*LPWININETHTTPINFO
;
469 [in, out,size_is(*pcbBuf
)] LPVOID pBuffer
,
470 [in, out] DWORD
*pcbBuf
,
471 [in, out] DWORD
*pdwFlags
,
472 [in, out] DWORD
*pdwReserved
);
475 HRESULT RemoteQueryInfo
(
477 [in,out,size_is(*pcbBuf
)] BYTE *pBuffer
,
478 [in, out] DWORD
*pcbBuf
,
479 [in, out] DWORD
*pdwFlags
,
480 [in, out] DWORD
*pdwReserved
);
483 /*****************************************************************************
484 * IWindowForBindingUI interface
489 uuid(79eac9d5
-bafa
-11ce
-8c82
-00aa004ba90b
),
490 pointer_default(unique)
492 interface IWindowForBindingUI
: IUnknown
494 typedef [unique] IWindowForBindingUI
*LPWINDOWFORBINDINGUI
;
497 [in] REFGUID rguidReason
,
501 /*****************************************************************************
502 * IHttpSecurity interface
506 uuid(79eac9d7
-bafa
-11ce
-8c82
-00aa004ba90b
),
507 pointer_default(unique)
509 interface IHttpSecurity
: IWindowForBindingUI
511 typedef [unique] IHttpSecurity
*LPHTTPSECURITY
;
513 HRESULT OnSecurityProblem
(
514 [in] DWORD dwProblem
);
518 /*****************************************************************************
519 * IPersistMoniker interface
523 uuid(79eac9c9
-baf9
-11ce
-8c82
-00aa004ba90b
),
524 pointer_default(unique)
526 interface IPersistMoniker
: IUnknown
528 typedef [unique] IPersistMoniker
*LPPERSISTMONIKER
;
531 [out] CLSID
*pClassID
);
536 [in] BOOL fFullyAvailable
,
537 [in] IMoniker
*pimkName
,
542 [in] IMoniker
*pimkName
,
544 [in] BOOL fRemember
);
546 HRESULT SaveCompleted
(
547 [in] IMoniker
*pimkName
,
550 HRESULT GetCurMoniker
(
551 [out] IMoniker
**ppimkName
);
554 /*****************************************************************************
555 * IMonikerProp interface
559 uuid(A5CA5F7F
-1847-4D87
-9C5B
-918509F7511D
),
560 pointer_default(unique)
562 interface IMonikerProp
: IUnknown
564 typedef [unique] IMonikerProp
*LPMONIKERPROP
;
570 TRUSTEDDOWNLOADPROP
= 3,
575 [in] MONIKERPROPERTY mkp
,
579 cpp_quote
("#ifndef _LPBINDPROTOCOL_DEFINED")
580 cpp_quote
("#define _LPBINDPROTOCOL_DEFINED")
582 /*****************************************************************************
583 * IBindProtocol interface
588 uuid(79EAC9CD
-BAF9
-11CE
-8C82
-00AA004BA90B
),
589 pointer_default(unique)
591 interface IBindProtocol
: IUnknown
593 typedef [unique] IBindProtocol
*LPBINDPROTOCOL
;
595 HRESULT CreateBinding
(
598 [out] IBinding
**ppb
);
601 cpp_quote
("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
603 /*****************************************************************************
604 * IInternetBindInfo interface
609 uuid(79EAC9E1
-BAF9
-11CE
-8C82
-00AA004BA90B
),
610 pointer_default(unique)
612 interface IInternetBindInfo
: IUnknown
614 typedef [unique] IInternetBindInfo
*LPIINTERNETBINDINFO
;
616 typedef enum tagBINDSTRING
618 BINDSTRING_HEADERS
= 1,
619 BINDSTRING_ACCEPT_MIMES
,
620 BINDSTRING_EXTRA_URL
,
624 BINDSTRING_UA_PIXELS
,
627 BINDSTRING_USER_AGENT
,
628 BINDSTRING_ACCEPT_ENCODINGS
,
629 BINDSTRING_POST_COOKIE
,
630 BINDSTRING_POST_DATA_MIME
,
633 BINDSTRING_FLAG_BIND_TO_OBJECT
,
634 BINDSTRING_PTR_BIND_CONTEXT
638 [out] DWORD
*grfBINDF
,
639 [in, out, unique] BINDINFO
*pbindinfo
);
641 HRESULT GetBindString
(
642 [in] ULONG ulStringType
,
643 [in, out] LPOLESTR
*ppwzStr
,
645 [in, out] ULONG
*pcElFetched
);
648 /*****************************************************************************
649 * IInternetPriority interface
654 uuid(79EAC9EB
-BAF9
-11CE
-8C82
-00AA004BA90B
),
655 pointer_default(unique)
657 interface IInternetPriority
: IUnknown
659 typedef [unique] IInternetPriority
*LPIINTERNETPRIORITY
;
661 HRESULT SetPriority
([in] LONG nPriority
);
662 HRESULT GetPriority
([out] LONG *pnPriority
);
665 /*****************************************************************************
666 * IInternetProtocolRoot interface
671 uuid(79EAC9E3
-BAF9
-11CE
-8C82
-00AA004BA90B
),
672 pointer_default(unique)
674 interface IInternetProtocolRoot
: IUnknown
676 typedef [unique] IInternetProtocolRoot
*LPIINTERNETPROTOCOLROOT
;
678 typedef enum _tagPI_FLAGS
680 PI_PARSE_URL
= 0x00000001,
681 PI_FILTER_MODE
= 0x00000002,
682 PI_FORCE_ASYNC
= 0x00000004,
683 PI_USE_WORKERTHREAD
= 0x00000008,
684 PI_MIMEVERIFICATION
= 0x00000010,
685 PI_CLSIDLOOKUP
= 0x00000020,
686 PI_DATAPROGRESS
= 0x00000040,
687 PI_SYNCHRONOUS
= 0x00000080,
688 PI_APARTMENTTHREADED
= 0x00000100,
689 PI_CLASSINSTALL
= 0x00000200,
690 PD_FORCE_SWITCH
= 0x00010000
693 typedef struct _tagPROTOCOLDATA
703 [in] IInternetProtocolSink
*pOIProtSink
,
704 [in] IInternetBindInfo
*pOIBindInfo
,
706 [in] HANDLE_PTR dwReserved
);
709 [in] PROTOCOLDATA
*pProtocolData
);
712 [in] HRESULT hrReason
,
713 [in] DWORD dwOptions
);
716 [in] DWORD dwOptions
);
723 /*****************************************************************************
724 * IInternetProtocolSink interface
729 uuid(79EAC9E5
-BAF9
-11CE
-8C82
-00AA004BA90B
),
730 pointer_default(unique)
732 interface IInternetProtocolSink
: IUnknown
734 typedef [unique] IInternetProtocolSink
*LPIINTERNETPROTOCOLSINK
;
737 [in] PROTOCOLDATA
*pProtocolData
);
739 HRESULT ReportProgress
(
740 [in] ULONG ulStatusCode
,
741 [in] LPCWSTR szStatusText
);
745 [in] ULONG ulProgress
,
746 [in] ULONG ulProgressMax
);
748 HRESULT ReportResult
(
749 [in] HRESULT hrResult
,
751 [in] LPCWSTR szResult
);
754 /*****************************************************************************
755 * IInternetProtocol interface
760 uuid(79EAC9E4
-BAF9
-11CE
-8C82
-00AA004BA90B
),
761 pointer_default(unique)
763 interface IInternetProtocol
: IInternetProtocolRoot
765 typedef [unique] IInternetProtocol
*LPIINTERNETPROTOCOL
;
768 [in,out, size_is(cb
), length_is(*pcbRead
)] void *pv
,
770 [out] ULONG
*pcbRead
);
773 [in] LARGE_INTEGER dlibMove
,
775 [out] ULARGE_INTEGER
*plibNewPosition
);
778 [in] DWORD dwOptions
);
780 HRESULT UnlockRequest
();
783 /*****************************************************************************
784 * IInternetProtocolInfo interface
789 uuid(79eac9ec
-baf9
-11ce
-8c82
-00aa004ba90b
),
790 pointer_default(unique)
792 interface IInternetProtocolInfo
: IUnknown
794 typedef [unique] IInternetProtocolInfo
*LPIINTERNETPROTOCOLINFO
;
796 typedef enum _tagPARSEACTION
798 PARSE_CANONICALIZE
= 1,
814 PARSE_SECURITY_DOMAIN
,
819 typedef enum _tagPSUACTION
822 PSU_SECURITY_URL_ONLY
825 typedef enum _tagQUERYOPTION
827 QUERY_EXPIRATION_DATE
= 1,
828 QUERY_TIME_OF_LAST_CHANGE
,
829 QUERY_CONTENT_ENCODING
,
836 QUERY_IS_INSTALLEDENTRY
,
837 QUERY_IS_CACHED_OR_MAPPED
,
841 QUERY_USES_HISTORYFOLDER
846 [in] PARSEACTION ParseAction
,
847 [in] DWORD dwParseFlags
,
848 [out] LPWSTR pwzResult
,
849 [in] DWORD cchResult
,
850 [out] DWORD
*pcchResult
,
851 [in] DWORD dwReserved
);
854 [in] LPCWSTR pwzBaseUrl
,
855 [in] LPCWSTR pwzRelativeUrl
,
856 [in] DWORD dwCombineFlags
,
857 [out] LPWSTR pwzResult
,
858 [in] DWORD cchResult
,
859 [out] DWORD
*pcchResult
,
860 [in] DWORD dwReserved
);
863 [in] LPCWSTR pwzUrl1
,
864 [in] LPCWSTR pwzUrl2
,
865 [in] DWORD dwCompareFlags
);
869 [in] QUERYOPTION OueryOption
,
870 [in] DWORD dwQueryFlags
,
871 [in, out,size_is(*pcbBuf
)] LPVOID pBuffer
,
873 [in, out] DWORD
*pcbBuf
,
874 [in] DWORD dwReserved
);
877 /*****************************************************************************
878 * IInternetSession interface
883 uuid(79eac9e7
-baf9
-11ce
-8c82
-00aa004ba90b
),
884 pointer_default(unique)
886 interface IInternetSession
: IUnknown
888 typedef [unique] IInternetSession
*LPIINTERNETSESSION
;
890 typedef enum _tagOIBDG_FLAGS
892 OIBDG_APARTMENTTHREADED
= 0x0100,
893 OIBDG_DATAONLY
= 0x1000
896 HRESULT RegisterNameSpace
(
897 [in] IClassFactory
*pCF
,
898 [in] REFCLSID rclsid
,
899 [in] LPCWSTR pwzProtocol
,
900 [in] ULONG cPatterns
,
901 [in] const LPCWSTR
*ppwzPatterns
,
902 [in] DWORD dwReserved
);
904 HRESULT UnregisterNameSpace
(
905 [in] IClassFactory
*pCF
,
906 [in] LPCWSTR pszProtocol
);
908 HRESULT RegisterMimeFilter
(
909 [in] IClassFactory
*pCF
,
910 [in] REFCLSID rclsid
,
911 [in] LPCWSTR pwzType
);
913 HRESULT UnregisterMimeFilter
(
914 [in] IClassFactory
*pCF
,
915 [in] LPCWSTR pwzType
);
917 HRESULT CreateBinding
(
920 [in] IUnknown
*pUnkOuter
,
921 [out, unique] IUnknown
**ppUnk
,
922 [out, unique] IInternetProtocol
**ppOInetProt
,
923 [in] DWORD dwOption
);
925 HRESULT SetSessionOption
(
928 [in] DWORD dwBufferLength
,
929 [in] DWORD dwReserved
);
932 /*****************************************************************************
933 * IInternetSecurityMgrSite interface
938 uuid(79eac9ed
-baf9
-11ce
-8c82
-00aa004ba90b
),
939 pointer_default(unique)
941 interface IInternetSecurityMgrSite
: IUnknown
946 HRESULT EnableModeless
(
951 /*****************************************************************************
952 * IInternetSecurityManager interface
954 cpp_quote
("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
958 uuid(79eac9ee
-baf9
-11ce
-8c82
-00aa004ba90b
),
959 pointer_default(unique)
961 interface IInternetSecurityManager
: IUnknown
963 HRESULT SetSecuritySite
(
964 [in, unique] IInternetSecurityMgrSite
*pSite
);
966 HRESULT GetSecuritySite
(
967 [out] IInternetSecurityMgrSite
**ppSite
);
969 HRESULT MapUrlToZone
(
970 [in] LPCWSTR pwszUrl
,
971 [out] DWORD
*pdwZone
,
974 cpp_quote
("#define MAX_SIZE_SECURITY_ID 512")
976 HRESULT GetSecurityId
(
977 [in] LPCWSTR pwszUrl
,
978 [out, size_is(*pcbSecurityId
)] BYTE *pbSecurityId
,
979 [in, out] DWORD
*pcbSecurityId
,
980 [in] DWORD_PTR dwReserved
);
987 PUAF_WARN_IF_DENIED
= 0x04,
988 PUAF_FORCEUI_FOREGROUND
= 0x08,
989 PUAF_CHECK_TIPS
= 0x10
992 HRESULT ProcessUrlAction
(
993 [in] LPCWSTR pwszUrl
,
995 [out, size_is(cbPolicy
)] BYTE *pPolicy
,
998 [in] DWORD cbContext
,
1000 [in] DWORD dwReserved
);
1002 HRESULT QueryCustomPolicy
(
1003 [in] LPCWSTR pwszUrl
,
1004 [in] REFGUID guidKey
,
1005 [out, size_is(,*pcbPolicy
)] BYTE **ppPolicy
,
1006 [out] DWORD
*pcbPolicy
,
1007 [in] BYTE *pContext
,
1008 [in] DWORD cbContext
,
1009 [in] DWORD dwReserved
);
1016 HRESULT SetZoneMapping
(
1018 [in] LPCWSTR lpszPattern
,
1019 [in] DWORD dwFlags
);
1021 HRESULT GetZoneMappings
(
1023 [out] IEnumString
**ppenumString
,
1024 [in] DWORD dwFlags
);
1027 cpp_quote
("#define URLACTION_MIN 0x00001000")
1028 cpp_quote
("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1029 cpp_quote
("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1030 cpp_quote
("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1031 cpp_quote
("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1032 cpp_quote
("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1034 cpp_quote
("#define URLACTION_ACTIVEX_MIN 0x00001200")
1035 cpp_quote
("#define URLACTION_ACTIVEX_RUN 0x00001200")
1036 cpp_quote
("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1037 cpp_quote
("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1038 cpp_quote
("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1039 cpp_quote
("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1040 cpp_quote
("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1041 cpp_quote
("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1042 cpp_quote
("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1043 cpp_quote
("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1044 cpp_quote
("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1046 cpp_quote
("#define URLACTION_SCRIPT_MIN 0x00001400")
1047 cpp_quote
("#define URLACTION_SCRIPT_RUN 0x00001400")
1048 cpp_quote
("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1049 cpp_quote
("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1050 cpp_quote
("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1051 cpp_quote
("#define URLACTION_SCRIPT_PASTE 0x00001407")
1052 cpp_quote
("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1053 cpp_quote
("#define URLACTION_SCRIPT_MAX 0x000015ff")
1055 cpp_quote
("#define URLACTION_HTML_MIN 0x00001600")
1056 cpp_quote
("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1057 cpp_quote
("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1058 cpp_quote
("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1059 cpp_quote
("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1060 cpp_quote
("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1061 cpp_quote
("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1062 cpp_quote
("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1063 cpp_quote
("#define URLACTION_HTML_META_REFRESH 0x00001608")
1064 cpp_quote
("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1065 cpp_quote
("#define URLACTION_HTML_MAX 0x000017ff")
1067 cpp_quote
("#define URLACTION_SHELL_MIN 0x00001800")
1068 cpp_quote
("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1069 cpp_quote
("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1070 cpp_quote
("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1071 cpp_quote
("#define URLACTION_SHELL_VERB 0x00001804")
1072 cpp_quote
("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1073 cpp_quote
("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1074 cpp_quote
("#define URLACTION_SHELL_MAX 0x000019ff")
1076 cpp_quote
("#define URLACTION_NETWORK_MIN 0x00001a00")
1077 cpp_quote
("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1078 cpp_quote
("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1079 cpp_quote
("#define URLACTION_COOKIES 0x00001a02")
1080 cpp_quote
("#define URLACTION_COOKIES_SESSION 0x00001a03")
1081 cpp_quote
("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1082 cpp_quote
("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1083 cpp_quote
("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1084 cpp_quote
("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1085 cpp_quote
("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1086 cpp_quote
("#define URLACTION_NETWORK_MAX 0x00001bff")
1088 cpp_quote
("#define URLACTION_JAVA_MIN 0x00001c00")
1089 cpp_quote
("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1090 cpp_quote
("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1091 cpp_quote
("#define URLPOLICY_JAVA_HIGH 0x00010000")
1092 cpp_quote
("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1093 cpp_quote
("#define URLPOLICY_JAVA_LOW 0x00030000")
1094 cpp_quote
("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1095 cpp_quote
("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1096 cpp_quote
("#define URLACTION_JAVA_MAX 0x00001cff")
1098 cpp_quote
("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1099 cpp_quote
("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1100 cpp_quote
("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1101 cpp_quote
("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1102 cpp_quote
("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1103 cpp_quote
("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1104 cpp_quote
("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1105 cpp_quote
("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1106 cpp_quote
("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1107 cpp_quote
("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1109 cpp_quote
("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1110 cpp_quote
("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1111 cpp_quote
("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1112 cpp_quote
("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1113 cpp_quote
("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1114 cpp_quote
("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1116 cpp_quote
("#define URLPOLICY_ALLOW 0x00")
1117 cpp_quote
("#define URLPOLICY_QUERY 0x01")
1118 cpp_quote
("#define URLPOLICY_DISALLOW 0x03")
1120 cpp_quote
("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1121 cpp_quote
("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1123 cpp_quote
("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1124 cpp_quote
("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1126 cpp_quote
("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1128 cpp_quote
("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1129 cpp_quote
("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1130 cpp_quote
("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1131 cpp_quote
("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1133 cpp_quote
("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1134 cpp_quote
("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1135 cpp_quote
("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1137 cpp_quote
("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1138 cpp_quote
("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1139 cpp_quote
("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1141 /*****************************************************************************
1142 * IInternetZoneManager interface
1147 uuid(79EAC9EF
-BAf9
-11CE
-8C82
-00AA004BA90B
),
1148 pointer_default(unique)
1150 interface IInternetZoneManager
: IUnknown
1152 typedef [unique] IInternetZoneManager
* LPURLZONEMANAGER
;
1154 typedef enum tagURLZONE
1156 URLZONE_PREDEFINED_MIN
= 0,
1157 URLZONE_LOCAL_MACHINE
= 0,
1158 URLZONE_INTRANET
= 1,
1159 URLZONE_TRUSTED
= 2,
1160 URLZONE_INTERNET
= 3,
1161 URLZONE_UNTRUSTED
= 4,
1162 URLZONE_PREDEFINED_MAX
= 999,
1163 URLZONE_USER_MIN
= 1000,
1164 URLZONE_USER_MAX
= 10000,
1167 typedef enum tagURLTEMPLATE
1169 URLTEMPLATE_CUSTOM
= 0x00000,
1170 URLTEMPLATE_PREDEFINED_MIN
= 0x10000,
1171 URLTEMPLATE_LOW
= 0x10000,
1172 URLTEMPLATE_MEDIUM
= 0x11000,
1173 URLTEMPLATE_HIGH
= 0x12000,
1174 URLTEMPLATE_PREDEFINED_MAX
= 0x20000,
1178 ZAFLAGS_CUSTOM_EDIT
= 0x00000001,
1179 ZAFLAGS_ADD_SITES
= 0x00000002,
1180 ZAFLAGS_REQUIRE_VERIFICATION
= 0x00000004,
1181 ZAFLAGS_INCLUDE_PROXY_OVERRIDE
= 0x00000008,
1182 ZAFLAGS_INCLUDE_INTRANET_SITES
= 0x00000010,
1183 ZAFLAGS_NO_UI
= 0x00000020,
1184 ZAFLAGS_SUPPORTS_VERIFICATION
= 0x00000040,
1185 ZAFLAGS_UNC_AS_INTRANET
= 0x00000080,
1189 MAX_ZONE_PATH
= 260,
1190 MAX_ZONE_DESCRIPTION
= 200
1193 typedef struct _ZONEATTRIBUTES
{
1195 WCHAR szDisplayName
[MAX_ZONE_PATH
];
1196 WCHAR szDescription
[MAX_ZONE_DESCRIPTION
];
1197 WCHAR szIconPath
[MAX_ZONE_PATH
];
1198 DWORD dwTemplateMinLevel
;
1199 DWORD dwTemplateRecommended
;
1200 DWORD dwTemplateCurrentLevel
;
1202 } ZONEATTRIBUTES
, *LPZONEATTRIBUTES
;
1204 typedef enum _URLZONEREG
{
1210 HRESULT GetZoneAttributes
(
1212 [in, out, unique] ZONEATTRIBUTES
* pZoneAttributes
);
1214 HRESULT SetZoneAttributes
(
1216 [in] ZONEATTRIBUTES
* pZoneAttributes
);
1218 HRESULT GetZoneCustomPolicy
(
1220 [in] REFGUID guidKey
,
1221 [out] BYTE **ppPolicy
,
1222 [out] DWORD
* pcbPolicy
,
1223 [in] URLZONEREG ulrZoneReg
);
1225 HRESULT SetZoneCustomPolicy
(
1227 [in] REFGUID guidKey
,
1228 [in] BYTE *ppPolicy
,
1229 [in] DWORD pcbPolicy
,
1230 [in] URLZONEREG ulrZoneReg
);
1232 HRESULT GetZoneActionPolicy
(
1234 [in] DWORD dwAction
,
1235 [out] BYTE* pPolicy
,
1236 [in] DWORD cbPolicy
,
1237 [in] URLZONEREG urlZoneReg
);
1239 HRESULT SetZoneActionPolicy
(
1241 [in] DWORD dwAction
,
1243 [in] DWORD cbPolicy
,
1244 [in] URLZONEREG urlZoneReg
);
1246 HRESULT PromptAction
(
1247 [in] DWORD dwAction
,
1248 [in] HWND hwndParent
,
1249 [in] LPCWSTR pwszUrl
,
1250 [in] LPCWSTR pwszText
,
1251 [in] DWORD dwPromptFlags
);
1254 [in] DWORD dwAction
,
1255 [in] LPCWSTR pwszUrl
,
1256 [in] LPCWSTR pwszText
,
1257 [in] DWORD dwLogFlags
);
1259 HRESULT CreateZoneEnumerator
(
1260 [out] DWORD
* pdwEnum
,
1261 [out] DWORD
* pdwCount
,
1262 [in] DWORD dwFlags
);
1267 [out] DWORD
* pdwZone
);
1269 HRESULT DestroyZoneEnumerator
(
1272 HRESULT CopyTemplatePoliciesToZone
(
1273 [in] DWORD dwTemplate
,
1275 [in] DWORD dwReserved
);
1278 typedef struct _tagSOFTDISTINFO
1286 DWORD dwInstalledVersionMS
;
1287 DWORD dwInstalledVersionLS
;
1288 DWORD dwUpdateVersionMS
;
1289 DWORD dwUpdateVersionLS
;
1290 DWORD dwAdvertisedVersionMS
;
1291 DWORD dwAdvertisedVersionLS
;
1293 } SOFTDISTINFO
, *LPSOFTDISTINFO
;
1295 typedef struct _tagCODEBASEHOLD
1303 } CODEBASEHOLD
, *LPCODEBASEHOLD
;
1308 uuid(b15b8dc1
-c7e1
-11d0
-8680-00aa00bdcb71
),
1309 pointer_default(unique)
1311 interface ISoftDistExt
: IUnknown
1313 HRESULT ProcessSoftDist
(
1314 [in] LPCWSTR szCDFURL
,
1315 [in] IXMLElement
*pSoftDistElement
,
1316 [in, out] LPSOFTDISTINFO lpsdi
);
1318 HRESULT GetFirstCodeBase
(
1319 [in] LPWSTR
*szCodeBase
,
1320 [in] LPDWORD dwMaxSize
);
1322 HRESULT GetNextCodeBase
(
1323 [in] LPWSTR
*szCodeBase
,
1324 [in] LPDWORD dwMaxSize
);
1326 HRESULT AsyncInstallDistributionUnit
(
1328 [in] LPVOID lpReserved
,
1330 [in] LPCODEBASEHOLD lpcbh
);
1333 typedef enum _tagINTERNETFEATURELIST
1335 FEATURE_OBJECT_CACHING
,
1336 FEATURE_ZONE_ELEVATION
,
1337 FEATURE_MIME_HANDLING
,
1338 FEATURE_MIME_SNIFFING
,
1339 FEATURE_WINDOW_RESTRICTIONS
,
1340 FEATURE_WEBOC_POPUPMANAGEMENT
,
1342 FEATURE_DISABLE_MK_PROTOCOL
,
1343 FEATURE_LOCALMACHINE_LOCKDOWN
,
1344 FEATURE_SECURITYBAND
,
1345 FEATURE_RESTRICT_ACTIVEXINSTALL
,
1346 FEATURE_VALIDATE_NAVIGATE_URL
,
1347 FEATURE_RESTRICT_FILEDOWNLOAD
,
1348 FEATURE_ADDON_MANAGEMENT
,
1349 FEATURE_PROTOCOL_LOCKDOWN
,
1350 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
,
1351 FEATURE_SAFE_BINDTOOBJECT
,
1352 FEATURE_UNC_SAVEDFILECHECK
,
1353 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED
,
1354 FEATURE_TABBED_BROWSING
,
1356 FEATURE_DISABLE_NAVIGATION_SOUNDS
,
1357 FEATURE_DISABLE_LEGACY_COMPRESSION
,
1358 FEATURE_FORCE_ADDR_AND_STATUS
,
1360 FEATURE_DISABLE_TELNET_PROTOCOL
,
1362 FEATURE_BLOCK_INPUT_PROMPTS
,
1364 FEATURE_XDOMAINREQUEST
,
1366 FEATURE_AJAX_CONNECTIONSERVICES
,
1368 } INTERNETFEATURELIST
;
1370 typedef struct _tagPROTOCOLFILTERDATA
{
1372 IInternetProtocolSink
*pProtocolSink
;
1373 IInternetProtocol
*pProtocol
;
1375 DWORD dwFilterFlags
;
1376 } PROTOCOLFILTERDATA
;
1378 /*****************************************************************************
1384 uuid(a39ee748
-6a27
-4817-a6f2
-13914bef5890
),
1385 pointer_default(unique)
1387 interface IUri
: IUnknown
1391 Uri_PROPERTY_ABSOLUTE_URI
= 0,
1392 Uri_PROPERTY_STRING_START
= Uri_PROPERTY_ABSOLUTE_URI
,
1393 Uri_PROPERTY_AUTHORITY
= 1,
1394 Uri_PROPERTY_DISPLAY_URI
= 2,
1395 Uri_PROPERTY_DOMAIN
= 3,
1396 Uri_PROPERTY_EXTENSION
= 4,
1397 Uri_PROPERTY_FRAGMENT
= 5,
1398 Uri_PROPERTY_HOST
= 6,
1399 Uri_PROPERTY_PASSWORD
= 7,
1400 Uri_PROPERTY_PATH
= 8,
1401 Uri_PROPERTY_PATH_AND_QUERY
= 9,
1402 Uri_PROPERTY_QUERY
= 10,
1403 Uri_PROPERTY_RAW_URI
= 11,
1404 Uri_PROPERTY_SCHEME_NAME
= 12,
1405 Uri_PROPERTY_USER_INFO
= 13,
1406 Uri_PROPERTY_USER_NAME
= 14,
1407 Uri_PROPERTY_STRING_LAST
= Uri_PROPERTY_USER_NAME
,
1408 Uri_PROPERTY_HOST_TYPE
= 15,
1409 Uri_PROPERTY_DWORD_START
= Uri_PROPERTY_HOST_TYPE
,
1410 Uri_PROPERTY_PORT
= 16,
1411 Uri_PROPERTY_SCHEME
= 17,
1412 Uri_PROPERTY_ZONE
= 18,
1413 Uri_PROPERTY_DWORD_LAST
= Uri_PROPERTY_ZONE
1416 HRESULT GetPropertyBSTR
(
1417 [in] Uri_PROPERTY uriProp
,
1418 [out] BSTR *pbstrProperty
,
1419 [in] DWORD dwFlags
);
1421 HRESULT GetPropertyLength
(
1422 [in] Uri_PROPERTY uriProp
,
1423 [out] DWORD
*pcchProperty
,
1424 [in] DWORD dwFlags
);
1426 HRESULT GetPropertyDWORD
(
1427 [in] Uri_PROPERTY uriProp
,
1428 [out] DWORD
*pdwProperty
,
1429 [in] DWORD dwFlags
);
1431 HRESULT HasProperty
(
1432 [in] Uri_PROPERTY uriProp
,
1433 [out] BOOL
*pfHasProperty
);
1435 HRESULT GetAbsoluteUri
(
1436 [out] BSTR *pbstrAbsoluteUri
);
1438 HRESULT GetAuthority
(
1439 [out] BSTR *pbstrAuthority
);
1441 HRESULT GetDisplayUri
(
1442 [out] BSTR *pbstrDisplayString
);
1445 [out] BSTR *pbstrDomain
);
1447 HRESULT GetExtension
(
1448 [out] BSTR *pbstrExtension
);
1450 HRESULT GetFragment
(
1451 [out] BSTR *pbstrFragment
);
1454 [out] BSTR *pbstrHost
);
1456 HRESULT GetPassword
(
1457 [out] BSTR *pbstrPassword
);
1460 [out] BSTR *pbstrPath
);
1462 HRESULT GetPathAndQuery
(
1463 [out] BSTR *pbstrPathAndQuery
);
1466 [out] BSTR *pbstrQuery
);
1469 [out] BSTR *pbstrRawUri
);
1471 HRESULT GetSchemeName
(
1472 [out] BSTR *pbstrSchemeName
);
1474 HRESULT GetUserInfo
(
1475 [out] BSTR *pbstrUserInfo
);
1477 HRESULT GetUserName
(
1478 [out] BSTR *pbstrUserName
);
1480 HRESULT GetHostType
(
1481 [out] DWORD
*pdwHostType
);
1484 [out] DWORD
*pdwPort
);
1487 [out] DWORD
*pdwScheme
);
1490 [out] DWORD
*pdwZone
);
1492 HRESULT GetProperties
(
1493 [out] LPDWORD pdwFlags
);
1497 [out] BOOL
*pfEqual
);
1500 /*****************************************************************************
1501 * IInternetProtocolEx interface
1506 uuid(c7a98e66
-1010-492c
-a1c8
-c809e1f75905
),
1507 pointer_default(unique)
1509 interface IInternetProtocolEx
: IInternetProtocol
1513 [in] IInternetProtocolSink
*pOIProtSink
,
1514 [in] IInternetBindInfo
*pOIBindInfo
,
1516 [in] HANDLE *dwReserved
);
1519 cpp_quote
("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1520 cpp_quote
("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1521 cpp_quote
("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1522 cpp_quote
("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1523 cpp_quote
("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1524 cpp_quote
("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
1526 cpp_quote
("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1527 cpp_quote
("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1528 cpp_quote
("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1529 cpp_quote
("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1530 cpp_quote
("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1531 cpp_quote
("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1532 cpp_quote
("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1534 cpp_quote
("#define URLMON_OPTION_USERAGENT 0x10000001")
1535 cpp_quote
("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
1536 cpp_quote
("#define URLMON_OPTION_URL_ENCODING 0x10000004")
1538 cpp_quote
("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
1539 cpp_quote
("#ifndef S_ASYNCHRONOUS")
1540 cpp_quote
("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1543 cpp_quote
("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
1544 cpp_quote
("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
1545 cpp_quote
("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
1546 cpp_quote
("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
1547 cpp_quote
("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
1548 cpp_quote
("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
1549 cpp_quote
("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
1550 cpp_quote
("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
1551 cpp_quote
("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
1552 cpp_quote
("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
1553 cpp_quote
("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
1554 cpp_quote
("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
1555 cpp_quote
("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
1556 cpp_quote
("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
1557 cpp_quote
("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
1558 cpp_quote
("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
1559 cpp_quote
("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
1560 cpp_quote
("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
1561 cpp_quote
("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
1562 cpp_quote
("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
1563 cpp_quote
("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
1564 cpp_quote
("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1565 cpp_quote
("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1567 cpp_quote
("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1568 cpp_quote
("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1569 cpp_quote
("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1570 cpp_quote
("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1571 cpp_quote
("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1572 cpp_quote
("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1573 cpp_quote
("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1574 cpp_quote
("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1575 cpp_quote
("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1576 cpp_quote
("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1577 cpp_quote
("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1578 cpp_quote
("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1579 cpp_quote
("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1580 cpp_quote
("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1581 cpp_quote
("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1582 cpp_quote
("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1583 cpp_quote
("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1584 cpp_quote
("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1585 cpp_quote
("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1586 cpp_quote
("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
1587 cpp_quote
("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1588 cpp_quote
("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1589 cpp_quote
("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1590 cpp_quote
("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1591 cpp_quote
("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
1592 cpp_quote
("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1593 cpp_quote
("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1594 cpp_quote
("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1595 cpp_quote
("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1596 cpp_quote
("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1597 cpp_quote
("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1598 cpp_quote
("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1599 cpp_quote
("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1600 cpp_quote
("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1601 cpp_quote
("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1602 cpp_quote
("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1603 cpp_quote
("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
1604 cpp_quote
("void WINAPI ReleaseBindInfo(BINDINFO*);")
1605 cpp_quote
("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1606 cpp_quote
("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1607 cpp_quote
("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1608 cpp_quote
("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1609 cpp_quote
("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1610 cpp_quote
("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1611 cpp_quote
("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1612 cpp_quote
("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1614 cpp_quote
("#define OInetCombineUrl CoInternetCombineUrl")
1615 cpp_quote
("#define OInetCompareUrl CoInternetCompareUrl")
1616 cpp_quote
("#define OInetGetSession CoInternetGetSession")
1618 cpp_quote
("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
1619 cpp_quote
("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
1620 cpp_quote
("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
1622 cpp_quote
("#define MKSYS_URLMONIKER 6")
1623 cpp_quote
("#define URL_MK_LEGACY 0")
1624 cpp_quote
("#define URL_MK_UNIFORM 1")