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,
202 BSCF_SKIPDRAINDATAFORFILEURLS
= 0x20,
203 BSCF_64BITLENGTHDOWNLOAD
= 0x40
206 typedef enum BINDSTATUS
208 BINDSTATUS_FINDINGRESOURCE
= 1,
209 BINDSTATUS_CONNECTING
,
210 BINDSTATUS_REDIRECTING
,
211 BINDSTATUS_BEGINDOWNLOADDATA
,
212 BINDSTATUS_DOWNLOADINGDATA
,
213 BINDSTATUS_ENDDOWNLOADDATA
,
214 BINDSTATUS_BEGINDOWNLOADCOMPONENTS
,
215 BINDSTATUS_INSTALLINGCOMPONENTS
,
216 BINDSTATUS_ENDDOWNLOADCOMPONENTS
,
217 BINDSTATUS_USINGCACHEDCOPY
,
218 BINDSTATUS_SENDINGREQUEST
,
219 BINDSTATUS_CLASSIDAVAILABLE
,
220 BINDSTATUS_MIMETYPEAVAILABLE
,
221 BINDSTATUS_CACHEFILENAMEAVAILABLE
,
222 BINDSTATUS_BEGINSYNCOPERATION
,
223 BINDSTATUS_ENDSYNCOPERATION
,
224 BINDSTATUS_BEGINUPLOADDATA
,
225 BINDSTATUS_UPLOADINGDATA
,
226 BINDSTATUS_ENDUPLOADINGDATA
,
227 BINDSTATUS_PROTOCOLCLASSID
,
229 BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE
,
230 BINDSTATUS_CLASSINSTALLLOCATION
,
232 BINDSTATUS_LOADINGMIMEHANDLER
,
233 BINDSTATUS_CONTENTDISPOSITIONATTACH
,
234 BINDSTATUS_FILTERREPORTMIMETYPE
,
235 BINDSTATUS_CLSIDCANINSTANTIATE
,
236 BINDSTATUS_IUNKNOWNAVAILABLE
,
237 BINDSTATUS_DIRECTBIND
,
238 BINDSTATUS_RAWMIMETYPE
,
239 BINDSTATUS_PROXYDETECTING
,
240 BINDSTATUS_ACCEPTRANGES
,
241 BINDSTATUS_COOKIE_SENT
,
242 BINDSTATUS_COMPACT_POLICY_RECEIVED
,
243 BINDSTATUS_COOKIE_SUPPRESSED
,
244 BINDSTATUS_COOKIE_STATE_UNKNOWN
,
245 BINDSTATUS_COOKIE_STATE_ACCEPT
,
246 BINDSTATUS_COOKIE_STATE_REJECT
,
247 BINDSTATUS_COOKIE_STATE_PROMPT
,
248 BINDSTATUS_COOKIE_STATE_LEASH
,
249 BINDSTATUS_COOKIE_STATE_DOWNGRADE
,
250 BINDSTATUS_POLICY_HREF
,
251 BINDSTATUS_P3P_HEADER
,
252 BINDSTATUS_SESSION_COOKIE_RECEIVED
,
253 BINDSTATUS_PERSISTENT_COOKIE_RECEIVED
,
254 BINDSTATUS_SESSION_COOKIES_ALLOWED
,
255 BINDSTATUS_CACHECONTROL
,
256 BINDSTATUS_CONTENTDISPOSITIONFILENAME
,
257 BINDSTATUS_MIMETEXTPLAINMISMATCH
,
258 BINDSTATUS_PUBLISHERAVAILABLE
,
259 BINDSTATUS_DISPLAYNAMEAVAILABLE
263 HRESULT OnStartBinding
(
264 [in] DWORD dwReserved
,
265 [in] IBinding
* pib
);
268 [out] LONG * pnPriority
);
270 HRESULT OnLowResource
(
271 [in] DWORD reserved
);
274 [in] ULONG ulProgress
,
275 [in] ULONG ulProgressMax
,
276 [in] ULONG ulStatusCode
,
277 [in] LPCWSTR szStatusText
);
279 HRESULT OnStopBinding
(
280 [in] HRESULT hresult,
281 [in, unique] LPCWSTR szError
);
285 [out] DWORD
*grfBINDF
,
286 [in, out, unique] BINDINFO
* pbindinfo
);
288 [call_as
(GetBindInfo
)]
289 HRESULT RemoteGetBindInfo
(
290 [out] DWORD
*grfBINDF
,
291 [in, out, unique] RemBINDINFO
* pbindinfo
,
292 [in, out, unique] RemSTGMEDIUM
* pstgmed
);
295 HRESULT OnDataAvailable
(
298 [in] FORMATETC
* pformatetc
,
299 [in] STGMEDIUM
* pstgmed
);
301 [call_as
(OnDataAvailable
)]
302 HRESULT RemoteOnDataAvailable
(
305 [in] RemFORMATETC
*pformatetc
,
306 [in] RemSTGMEDIUM
* pstgmed
);
308 HRESULT OnObjectAvailable
(
310 [in, iid_is(riid
)] IUnknown
* punk
);
313 /*****************************************************************************
314 * IAuthenticate interface
319 uuid(79EAC9D0
-BAf9
-11CE
-8C82
-00AA004BA90B
),
320 pointer_default(unique)
322 interface IAuthenticate
: IUnknown
324 typedef [unique] IAuthenticate
*LPAUTHENTICATION
;
326 HRESULT Authenticate
(
328 [out] LPWSTR
*pszUsername
,
329 [out] LPWSTR
*pszPassword
);
332 /*****************************************************************************
333 * IHttpNegotiate interface
337 uuid(79EAC9D2
-BAF9
-11CE
-8C82
-00AA004BA90B
),
338 pointer_default(unique)
340 interface IHttpNegotiate
: IUnknown
342 typedef [unique] IHttpNegotiate
*LPHTTPNEGOTIATE
;
344 HRESULT BeginningTransaction
(
346 [in, unique] LPCWSTR szHeaders
,
347 [in] DWORD dwReserved
,
348 [out] LPWSTR
*pszAdditionalHeaders
);
351 [in] DWORD dwResponseCode
,
352 [in, unique] LPCWSTR szResponseHeaders
,
353 [in, unique] LPCWSTR szRequestHeaders
,
354 [out] LPWSTR
*pszAdditionalRequestHeaders
);
357 /*****************************************************************************
358 * IHttpNegotiate2 interface
362 uuid(4F9F9FCB
-E0F4
-48eb
-B7AB
-FA2EA9365CB4
),
363 pointer_default(unique)
365 interface IHttpNegotiate2
: IHttpNegotiate
367 typedef [unique] IHttpNegotiate2
*LPHTTPNEGOTIATE2
;
369 HRESULT GetRootSecurityId
(
370 [out, size_is(*pcbSecurityId
)] BYTE *pbSecurityId
,
371 [in, out] DWORD
*pcbSecurityId
,
372 [in] DWORD_PTR dwReserved
);
375 /*****************************************************************************
376 * IBindHost interface
378 cpp_quote
("#define SID_IBindHost IID_IBindHost")
379 cpp_quote
("#define SID_SBindHost IID_IBindHost")
382 uuid(fc4801a1
-2ba9
-11cf
-a229
-00aa003d7352
),
383 pointer_default(unique)
385 interface IBindHost
: IUnknown
387 typedef [unique] IBindHost
*LPBINDHOST
;
389 HRESULT CreateMoniker
(
390 [in] LPOLESTR szName
,
392 [out] IMoniker
** ppmk
,
393 [in] DWORD dwReserved
);
396 HRESULT MonikerBindToStorage
(
399 [in] IBindStatusCallback
*pBSC
,
401 [out] void **ppvObj
);
403 [call_as
(MonikerBindToStorage
)]
404 HRESULT RemoteMonikerBindToStorage
(
405 [in, unique] IMoniker
*pMk
,
406 [in, unique] IBindCtx
*pBC
,
407 [in, unique] IBindStatusCallback
*pBSC
,
409 [out, iid_is(riid
)] IUnknown
**ppvObj
);
412 HRESULT MonikerBindToObject
(
415 [in] IBindStatusCallback
*pBSC
,
417 [out] void **ppvObj
);
419 [call_as
(MonikerBindToObject
)]
420 HRESULT RemoteMonikerBindToObject
(
421 [in, unique] IMoniker
*pMk
,
422 [in, unique] IBindCtx
*pBC
,
423 [in, unique] IBindStatusCallback
*pBSC
,
425 [out, iid_is(riid
)] IUnknown
**ppvObj
);
429 /*****************************************************************************
430 * IWinInetInfo interface
434 uuid(79eac9d6
-bafa
-11ce
-8c82
-00aa004ba90b
),
435 pointer_default(unique)
437 interface IWinInetInfo
: IUnknown
439 typedef [unique] IWinInetInfo
*LPWININETINFO
;
444 [in, out, size_is(*pcbBuf
)] LPVOID pBuffer
,
445 [in, out] DWORD
*pcbBuf
);
447 [call_as
(QueryOption
)]
448 HRESULT RemoteQueryOption
(
450 [in, out, size_is(*pcbBuf
)] BYTE *pBuffer
,
451 [in, out] DWORD
*pcbBuf
);
456 /*****************************************************************************
457 * IWinInetHttpInfo interface
461 uuid(79eac9d8
-bafa
-11ce
-8c82
-00aa004ba90b
),
462 pointer_default(unique)
464 interface IWinInetHttpInfo
: IWinInetInfo
466 typedef [unique] IWinInetHttpInfo
*LPWININETHTTPINFO
;
471 [in, out,size_is(*pcbBuf
)] LPVOID pBuffer
,
472 [in, out] DWORD
*pcbBuf
,
473 [in, out] DWORD
*pdwFlags
,
474 [in, out] DWORD
*pdwReserved
);
477 HRESULT RemoteQueryInfo
(
479 [in,out,size_is(*pcbBuf
)] BYTE *pBuffer
,
480 [in, out] DWORD
*pcbBuf
,
481 [in, out] DWORD
*pdwFlags
,
482 [in, out] DWORD
*pdwReserved
);
485 /*****************************************************************************
486 * IWindowForBindingUI interface
491 uuid(79eac9d5
-bafa
-11ce
-8c82
-00aa004ba90b
),
492 pointer_default(unique)
494 interface IWindowForBindingUI
: IUnknown
496 typedef [unique] IWindowForBindingUI
*LPWINDOWFORBINDINGUI
;
499 [in] REFGUID rguidReason
,
503 /*****************************************************************************
504 * IHttpSecurity interface
508 uuid(79eac9d7
-bafa
-11ce
-8c82
-00aa004ba90b
),
509 pointer_default(unique)
511 interface IHttpSecurity
: IWindowForBindingUI
513 typedef [unique] IHttpSecurity
*LPHTTPSECURITY
;
515 HRESULT OnSecurityProblem
(
516 [in] DWORD dwProblem
);
520 /*****************************************************************************
521 * IPersistMoniker interface
525 uuid(79eac9c9
-baf9
-11ce
-8c82
-00aa004ba90b
),
526 pointer_default(unique)
528 interface IPersistMoniker
: IUnknown
530 typedef [unique] IPersistMoniker
*LPPERSISTMONIKER
;
533 [out] CLSID
*pClassID
);
538 [in] BOOL fFullyAvailable
,
539 [in] IMoniker
*pimkName
,
544 [in] IMoniker
*pimkName
,
546 [in] BOOL fRemember
);
548 HRESULT SaveCompleted
(
549 [in] IMoniker
*pimkName
,
552 HRESULT GetCurMoniker
(
553 [out] IMoniker
**ppimkName
);
556 /*****************************************************************************
557 * IMonikerProp interface
561 uuid(A5CA5F7F
-1847-4D87
-9C5B
-918509F7511D
),
562 pointer_default(unique)
564 interface IMonikerProp
: IUnknown
566 typedef [unique] IMonikerProp
*LPMONIKERPROP
;
572 TRUSTEDDOWNLOADPROP
= 3,
577 [in] MONIKERPROPERTY mkp
,
581 cpp_quote
("#ifndef _LPBINDPROTOCOL_DEFINED")
582 cpp_quote
("#define _LPBINDPROTOCOL_DEFINED")
584 /*****************************************************************************
585 * IBindProtocol interface
590 uuid(79EAC9CD
-BAF9
-11CE
-8C82
-00AA004BA90B
),
591 pointer_default(unique)
593 interface IBindProtocol
: IUnknown
595 typedef [unique] IBindProtocol
*LPBINDPROTOCOL
;
597 HRESULT CreateBinding
(
600 [out] IBinding
**ppb
);
603 cpp_quote
("#endif /* !defined _LPBINDPROTOCOL_DEFINED */")
605 /*****************************************************************************
606 * IInternetBindInfo interface
611 uuid(79EAC9E1
-BAF9
-11CE
-8C82
-00AA004BA90B
),
612 pointer_default(unique)
614 interface IInternetBindInfo
: IUnknown
616 typedef [unique] IInternetBindInfo
*LPIINTERNETBINDINFO
;
618 typedef enum tagBINDSTRING
620 BINDSTRING_HEADERS
= 1,
621 BINDSTRING_ACCEPT_MIMES
,
622 BINDSTRING_EXTRA_URL
,
626 BINDSTRING_UA_PIXELS
,
629 BINDSTRING_USER_AGENT
,
630 BINDSTRING_ACCEPT_ENCODINGS
,
631 BINDSTRING_POST_COOKIE
,
632 BINDSTRING_POST_DATA_MIME
,
635 BINDSTRING_FLAG_BIND_TO_OBJECT
,
636 BINDSTRING_PTR_BIND_CONTEXT
640 [out] DWORD
*grfBINDF
,
641 [in, out, unique] BINDINFO
*pbindinfo
);
643 HRESULT GetBindString
(
644 [in] ULONG ulStringType
,
645 [in, out] LPOLESTR
*ppwzStr
,
647 [in, out] ULONG
*pcElFetched
);
650 /*****************************************************************************
651 * IInternetPriority interface
656 uuid(79EAC9EB
-BAF9
-11CE
-8C82
-00AA004BA90B
),
657 pointer_default(unique)
659 interface IInternetPriority
: IUnknown
661 typedef [unique] IInternetPriority
*LPIINTERNETPRIORITY
;
663 HRESULT SetPriority
([in] LONG nPriority
);
664 HRESULT GetPriority
([out] LONG *pnPriority
);
667 /*****************************************************************************
668 * IInternetProtocolRoot interface
673 uuid(79EAC9E3
-BAF9
-11CE
-8C82
-00AA004BA90B
),
674 pointer_default(unique)
676 interface IInternetProtocolRoot
: IUnknown
678 typedef [unique] IInternetProtocolRoot
*LPIINTERNETPROTOCOLROOT
;
680 typedef enum _tagPI_FLAGS
682 PI_PARSE_URL
= 0x00000001,
683 PI_FILTER_MODE
= 0x00000002,
684 PI_FORCE_ASYNC
= 0x00000004,
685 PI_USE_WORKERTHREAD
= 0x00000008,
686 PI_MIMEVERIFICATION
= 0x00000010,
687 PI_CLSIDLOOKUP
= 0x00000020,
688 PI_DATAPROGRESS
= 0x00000040,
689 PI_SYNCHRONOUS
= 0x00000080,
690 PI_APARTMENTTHREADED
= 0x00000100,
691 PI_CLASSINSTALL
= 0x00000200,
692 PD_FORCE_SWITCH
= 0x00010000
695 typedef struct _tagPROTOCOLDATA
705 [in] IInternetProtocolSink
*pOIProtSink
,
706 [in] IInternetBindInfo
*pOIBindInfo
,
708 [in] HANDLE_PTR dwReserved
);
711 [in] PROTOCOLDATA
*pProtocolData
);
714 [in] HRESULT hrReason
,
715 [in] DWORD dwOptions
);
718 [in] DWORD dwOptions
);
725 /*****************************************************************************
726 * IInternetProtocolSink interface
731 uuid(79EAC9E5
-BAF9
-11CE
-8C82
-00AA004BA90B
),
732 pointer_default(unique)
734 interface IInternetProtocolSink
: IUnknown
736 typedef [unique] IInternetProtocolSink
*LPIINTERNETPROTOCOLSINK
;
739 [in] PROTOCOLDATA
*pProtocolData
);
741 HRESULT ReportProgress
(
742 [in] ULONG ulStatusCode
,
743 [in] LPCWSTR szStatusText
);
747 [in] ULONG ulProgress
,
748 [in] ULONG ulProgressMax
);
750 HRESULT ReportResult
(
751 [in] HRESULT hrResult
,
753 [in] LPCWSTR szResult
);
756 /*****************************************************************************
757 * IInternetProtocol interface
762 uuid(79EAC9E4
-BAF9
-11CE
-8C82
-00AA004BA90B
),
763 pointer_default(unique)
765 interface IInternetProtocol
: IInternetProtocolRoot
767 typedef [unique] IInternetProtocol
*LPIINTERNETPROTOCOL
;
770 [in,out, size_is(cb
), length_is(*pcbRead
)] void *pv
,
772 [out] ULONG
*pcbRead
);
775 [in] LARGE_INTEGER dlibMove
,
777 [out] ULARGE_INTEGER
*plibNewPosition
);
780 [in] DWORD dwOptions
);
782 HRESULT UnlockRequest
();
785 /*****************************************************************************
786 * IInternetProtocolInfo interface
791 uuid(79eac9ec
-baf9
-11ce
-8c82
-00aa004ba90b
),
792 pointer_default(unique)
794 interface IInternetProtocolInfo
: IUnknown
796 typedef [unique] IInternetProtocolInfo
*LPIINTERNETPROTOCOLINFO
;
798 typedef enum _tagPARSEACTION
800 PARSE_CANONICALIZE
= 1,
816 PARSE_SECURITY_DOMAIN
,
821 typedef enum _tagPSUACTION
824 PSU_SECURITY_URL_ONLY
827 typedef enum _tagQUERYOPTION
829 QUERY_EXPIRATION_DATE
= 1,
830 QUERY_TIME_OF_LAST_CHANGE
,
831 QUERY_CONTENT_ENCODING
,
838 QUERY_IS_INSTALLEDENTRY
,
839 QUERY_IS_CACHED_OR_MAPPED
,
843 QUERY_USES_HISTORYFOLDER
848 [in] PARSEACTION ParseAction
,
849 [in] DWORD dwParseFlags
,
850 [out] LPWSTR pwzResult
,
851 [in] DWORD cchResult
,
852 [out] DWORD
*pcchResult
,
853 [in] DWORD dwReserved
);
856 [in] LPCWSTR pwzBaseUrl
,
857 [in] LPCWSTR pwzRelativeUrl
,
858 [in] DWORD dwCombineFlags
,
859 [out] LPWSTR pwzResult
,
860 [in] DWORD cchResult
,
861 [out] DWORD
*pcchResult
,
862 [in] DWORD dwReserved
);
865 [in] LPCWSTR pwzUrl1
,
866 [in] LPCWSTR pwzUrl2
,
867 [in] DWORD dwCompareFlags
);
871 [in] QUERYOPTION OueryOption
,
872 [in] DWORD dwQueryFlags
,
873 [in, out,size_is(*pcbBuf
)] LPVOID pBuffer
,
875 [in, out] DWORD
*pcbBuf
,
876 [in] DWORD dwReserved
);
879 /*****************************************************************************
880 * IInternetSession interface
885 uuid(79eac9e7
-baf9
-11ce
-8c82
-00aa004ba90b
),
886 pointer_default(unique)
888 interface IInternetSession
: IUnknown
890 typedef [unique] IInternetSession
*LPIINTERNETSESSION
;
892 typedef enum _tagOIBDG_FLAGS
894 OIBDG_APARTMENTTHREADED
= 0x0100,
895 OIBDG_DATAONLY
= 0x1000
898 HRESULT RegisterNameSpace
(
899 [in] IClassFactory
*pCF
,
900 [in] REFCLSID rclsid
,
901 [in] LPCWSTR pwzProtocol
,
902 [in] ULONG cPatterns
,
903 [in] const LPCWSTR
*ppwzPatterns
,
904 [in] DWORD dwReserved
);
906 HRESULT UnregisterNameSpace
(
907 [in] IClassFactory
*pCF
,
908 [in] LPCWSTR pszProtocol
);
910 HRESULT RegisterMimeFilter
(
911 [in] IClassFactory
*pCF
,
912 [in] REFCLSID rclsid
,
913 [in] LPCWSTR pwzType
);
915 HRESULT UnregisterMimeFilter
(
916 [in] IClassFactory
*pCF
,
917 [in] LPCWSTR pwzType
);
919 HRESULT CreateBinding
(
922 [in] IUnknown
*pUnkOuter
,
923 [out, unique] IUnknown
**ppUnk
,
924 [out, unique] IInternetProtocol
**ppOInetProt
,
925 [in] DWORD dwOption
);
927 HRESULT SetSessionOption
(
930 [in] DWORD dwBufferLength
,
931 [in] DWORD dwReserved
);
934 /*****************************************************************************
935 * IInternetSecurityMgrSite interface
940 uuid(79eac9ed
-baf9
-11ce
-8c82
-00aa004ba90b
),
941 pointer_default(unique)
943 interface IInternetSecurityMgrSite
: IUnknown
948 HRESULT EnableModeless
(
953 /*****************************************************************************
954 * IInternetSecurityManager interface
956 cpp_quote
("#define SID_SInternetSecurityManager IID_IInternetSecurityManager")
960 uuid(79eac9ee
-baf9
-11ce
-8c82
-00aa004ba90b
),
961 pointer_default(unique)
963 interface IInternetSecurityManager
: IUnknown
965 HRESULT SetSecuritySite
(
966 [in, unique] IInternetSecurityMgrSite
*pSite
);
968 HRESULT GetSecuritySite
(
969 [out] IInternetSecurityMgrSite
**ppSite
);
971 HRESULT MapUrlToZone
(
972 [in] LPCWSTR pwszUrl
,
973 [out] DWORD
*pdwZone
,
976 cpp_quote
("#define MAX_SIZE_SECURITY_ID 512")
978 HRESULT GetSecurityId
(
979 [in] LPCWSTR pwszUrl
,
980 [out, size_is(*pcbSecurityId
)] BYTE *pbSecurityId
,
981 [in, out] DWORD
*pcbSecurityId
,
982 [in] DWORD_PTR dwReserved
);
989 PUAF_WARN_IF_DENIED
= 0x04,
990 PUAF_FORCEUI_FOREGROUND
= 0x08,
991 PUAF_CHECK_TIPS
= 0x10
994 HRESULT ProcessUrlAction
(
995 [in] LPCWSTR pwszUrl
,
997 [out, size_is(cbPolicy
)] BYTE *pPolicy
,
1000 [in] DWORD cbContext
,
1002 [in] DWORD dwReserved
);
1004 HRESULT QueryCustomPolicy
(
1005 [in] LPCWSTR pwszUrl
,
1006 [in] REFGUID guidKey
,
1007 [out, size_is(,*pcbPolicy
)] BYTE **ppPolicy
,
1008 [out] DWORD
*pcbPolicy
,
1009 [in] BYTE *pContext
,
1010 [in] DWORD cbContext
,
1011 [in] DWORD dwReserved
);
1018 HRESULT SetZoneMapping
(
1020 [in] LPCWSTR lpszPattern
,
1021 [in] DWORD dwFlags
);
1023 HRESULT GetZoneMappings
(
1025 [out] IEnumString
**ppenumString
,
1026 [in] DWORD dwFlags
);
1029 cpp_quote
("#define URLACTION_MIN 0x00001000")
1030 cpp_quote
("#define URLACTION_DOWNLOAD_MIN 0x00001000")
1031 cpp_quote
("#define URLACTION_DOWNLOAD_SIGNED_ACTIVEX 0x00001001")
1032 cpp_quote
("#define URLACTION_DOWNLOAD_UNSIGNED_ACTIVEX 0x00001004")
1033 cpp_quote
("#define URLACTION_DOWNLOAD_CURR_MAX 0x00001004")
1034 cpp_quote
("#define URLACTION_DOWNLOAD_MAX 0x000011ff")
1036 cpp_quote
("#define URLACTION_ACTIVEX_MIN 0x00001200")
1037 cpp_quote
("#define URLACTION_ACTIVEX_RUN 0x00001200")
1038 cpp_quote
("#define URLPOLICY_ACTIVEX_CHECK_LIST 0x00010000")
1039 cpp_quote
("#define URLACTION_ACTIVEX_OVERRIDE_OBJECT_SAFETY 0x00001201")
1040 cpp_quote
("#define URLACTION_ACTIVEX_OVERRIDE_DATA_SAFETY 0x00001202")
1041 cpp_quote
("#define URLACTION_ACTIVEX_OVERRIDE_SCRIPT_SAFETY 0x00001203")
1042 cpp_quote
("#define URLACTION_SCRIPT_OVERRIDE_SAFETY 0x00001401")
1043 cpp_quote
("#define URLACTION_ACTIVEX_CONFIRM_NOOBJECTSAFETY 0x00001204")
1044 cpp_quote
("#define URLACTION_ACTIVEX_TREATASUNTRUSTED 0x00001205")
1045 cpp_quote
("#define URLACTION_ACTIVEX_CURR_MAX 0x00001205")
1046 cpp_quote
("#define URLACTION_ACTIVEX_MAX 0x000013ff")
1048 cpp_quote
("#define URLACTION_SCRIPT_MIN 0x00001400")
1049 cpp_quote
("#define URLACTION_SCRIPT_RUN 0x00001400")
1050 cpp_quote
("#define URLACTION_SCRIPT_JAVA_USE 0x00001402")
1051 cpp_quote
("#define URLACTION_SCRIPT_SAFE_ACTIVEX 0x00001405")
1052 cpp_quote
("#define URLACTION_CROSS_DOMAIN_DATA 0x00001406")
1053 cpp_quote
("#define URLACTION_SCRIPT_PASTE 0x00001407")
1054 cpp_quote
("#define URLACTION_SCRIPT_CURR_MAX 0x00001407")
1055 cpp_quote
("#define URLACTION_SCRIPT_MAX 0x000015ff")
1057 cpp_quote
("#define URLACTION_HTML_MIN 0x00001600")
1058 cpp_quote
("#define URLACTION_HTML_SUBMIT_FORMS 0x00001601")
1059 cpp_quote
("#define URLACTION_HTML_SUBMIT_FORMS_FROM 0x00001602")
1060 cpp_quote
("#define URLACTION_HTML_SUBMIT_FORMS_TO 0x00001603")
1061 cpp_quote
("#define URLACTION_HTML_FONT_DOWNLOAD 0x00001604")
1062 cpp_quote
("#define URLACTION_HTML_JAVA_RUN 0x00001605")
1063 cpp_quote
("#define URLACTION_HTML_USERDATA_SAVE 0x00001606")
1064 cpp_quote
("#define URLACTION_HTML_SUBFRAME_NAVIGATE 0x00001607")
1065 cpp_quote
("#define URLACTION_HTML_META_REFRESH 0x00001608")
1066 cpp_quote
("#define URLACTION_HTML_MIXED_CONTENT 0x00001609")
1067 cpp_quote
("#define URLACTION_HTML_MAX 0x000017ff")
1069 cpp_quote
("#define URLACTION_SHELL_MIN 0x00001800")
1070 cpp_quote
("#define URLACTION_SHELL_INSTALL_DTITEMS 0x00001800")
1071 cpp_quote
("#define URLACTION_SHELL_MOVE_OR_COPY 0x00001802")
1072 cpp_quote
("#define URLACTION_SHELL_FILE_DOWNLOAD 0x00001803")
1073 cpp_quote
("#define URLACTION_SHELL_VERB 0x00001804")
1074 cpp_quote
("#define URLACTION_SHELL_WEBVIEW_VERB 0x00001805")
1075 cpp_quote
("#define URLACTION_SHELL_CURR_MAX 0x00001805")
1076 cpp_quote
("#define URLACTION_SHELL_MAX 0x000019ff")
1078 cpp_quote
("#define URLACTION_NETWORK_MIN 0x00001a00")
1079 cpp_quote
("#define URLACTION_CREDENTIALS_USE 0x00001a00")
1080 cpp_quote
("#define URLACTION_AUTHENTICATE_CLIENT 0x00001a01")
1081 cpp_quote
("#define URLACTION_COOKIES 0x00001a02")
1082 cpp_quote
("#define URLACTION_COOKIES_SESSION 0x00001a03")
1083 cpp_quote
("#define URLACTION_CLIENT_CERT_PROMPT 0x00001a04")
1084 cpp_quote
("#define URLACTION_COOKIES_THIRD_PARTY 0x00001a05")
1085 cpp_quote
("#define URLACTION_COOKIES_SESSION_THIRD_PARTY 0x00001a06")
1086 cpp_quote
("#define URLACTION_COOKIES_ENABLED 0x00001a10")
1087 cpp_quote
("#define URLACTION_NETWORK_CURR_MAX 0x00001a10")
1088 cpp_quote
("#define URLACTION_NETWORK_MAX 0x00001bff")
1090 cpp_quote
("#define URLACTION_JAVA_MIN 0x00001c00")
1091 cpp_quote
("#define URLACTION_JAVA_PERMISSIONS 0x00001c00")
1092 cpp_quote
("#define URLPOLICY_JAVA_PROHIBIT 0x00000000")
1093 cpp_quote
("#define URLPOLICY_JAVA_HIGH 0x00010000")
1094 cpp_quote
("#define URLPOLICY_JAVA_MEDIUM 0x00020000")
1095 cpp_quote
("#define URLPOLICY_JAVA_LOW 0x00030000")
1096 cpp_quote
("#define URLPOLICY_JAVA_CUSTOM 0x00800000")
1097 cpp_quote
("#define URLACTION_JAVA_CURR_MAX 0x00001c00")
1098 cpp_quote
("#define URLACTION_JAVA_MAX 0x00001cff")
1100 cpp_quote
("#define URLACTION_INFODELIVERY_MIN 0x00001d00")
1101 cpp_quote
("#define URLACTION_INFODELIVERY_NO_ADDING_CHANNELS 0x00001d00")
1102 cpp_quote
("#define URLACTION_INFODELIVERY_NO_EDITING_CHANNELS 0x00001d01")
1103 cpp_quote
("#define URLACTION_INFODELIVERY_NO_REMOVING_CHANNELS 0x00001d02")
1104 cpp_quote
("#define URLACTION_INFODELIVERY_NO_ADDING_SUBSCRIPTIONS 0x00001d03")
1105 cpp_quote
("#define URLACTION_INFODELIVERY_NO_EDITING_SUBSCRIPTIONS 0x00001d04")
1106 cpp_quote
("#define URLACTION_INFODELIVERY_NO_REMOVING_SUBSCRIPTIONS 0x00001d05")
1107 cpp_quote
("#define URLACTION_INFODELIVERY_NO_CHANNEL_LOGGING 0x00001d06")
1108 cpp_quote
("#define URLACTION_INFODELIVERY_CURR_MAX 0x00001d06")
1109 cpp_quote
("#define URLACTION_INFODELIVERY_MAX 0x00001dff")
1111 cpp_quote
("#define URLACTION_CHANNEL_SOFTDIST_MIN 0x00001e00")
1112 cpp_quote
("#define URLACTION_CHANNEL_SOFTDIST_PERMISSIONS 0x00001e05")
1113 cpp_quote
("#define URLPOLICY_CHANNEL_SOFTDIST_PROHIBIT 0x00010000")
1114 cpp_quote
("#define URLPOLICY_CHANNEL_SOFTDIST_PRECACHE 0x00020000")
1115 cpp_quote
("#define URLPOLICY_CHANNEL_SOFTDIST_AUTOINSTALL 0x00030000")
1116 cpp_quote
("#define URLACTION_CHANNEL_SOFTDIST_MAX 0x00001eff")
1118 cpp_quote
("#define URLPOLICY_ALLOW 0x00")
1119 cpp_quote
("#define URLPOLICY_QUERY 0x01")
1120 cpp_quote
("#define URLPOLICY_DISALLOW 0x03")
1122 cpp_quote
("#define URLPOLICY_NOTIFY_ON_ALLOW 0x10")
1123 cpp_quote
("#define URLPOLICY_NOTIFY_ON_DISALLOW 0x20")
1125 cpp_quote
("#define URLPOLICY_LOG_ON_ALLOW 0x40")
1126 cpp_quote
("#define URLPOLICY_LOG_ON_DISALLOW 0x80")
1128 cpp_quote
("#define URLPOLICY_DONTCHECKDLGBOX 0x100")
1130 cpp_quote
("#define URLPOLICY_CREDENTIALS_SILENT_LOGON_OK 0x00000000")
1131 cpp_quote
("#define URLPOLICY_CREDENTIALS_MUST_PROMPT_USER 0x00010000")
1132 cpp_quote
("#define URLPOLICY_CREDENTIALS_CONDITIONAL_PROMPT 0x00020000")
1133 cpp_quote
("#define URLPOLICY_CREDENTIALS_ANONYMOUS_ONLY 0x00030000")
1135 cpp_quote
("#define URLPOLICY_AUTHENTICATE_CLEARTEXT_OK 0x00000000")
1136 cpp_quote
("#define URLPOLICY_AUTHENTICATE_CHALLENGE_RESPONSE 0x00010000")
1137 cpp_quote
("#define URLPOLICY_AUTHENTICATE_MUTUAL_ONLY 0x00030000")
1139 cpp_quote
("#define URLPOLICY_MASK_PERMISSIONS 0x0f")
1140 cpp_quote
("#define GetUrlPolicyPermissions(dw) (dw & URLPOLICY_MASK_PERMISSIONS)")
1141 cpp_quote
("#define SetUrlPolicyPermissions(dw,dw2) ((dw) = ((dw) & ~URLPOLICY_MASK_PERMISSIONS) | (dw2))")
1143 /*****************************************************************************
1144 * IInternetZoneManager interface
1149 uuid(79EAC9EF
-BAf9
-11CE
-8C82
-00AA004BA90B
),
1150 pointer_default(unique)
1152 interface IInternetZoneManager
: IUnknown
1154 typedef [unique] IInternetZoneManager
* LPURLZONEMANAGER
;
1156 typedef enum tagURLZONE
1158 URLZONE_PREDEFINED_MIN
= 0,
1159 URLZONE_LOCAL_MACHINE
= 0,
1160 URLZONE_INTRANET
= 1,
1161 URLZONE_TRUSTED
= 2,
1162 URLZONE_INTERNET
= 3,
1163 URLZONE_UNTRUSTED
= 4,
1164 URLZONE_PREDEFINED_MAX
= 999,
1165 URLZONE_USER_MIN
= 1000,
1166 URLZONE_USER_MAX
= 10000,
1169 typedef enum tagURLTEMPLATE
1171 URLTEMPLATE_CUSTOM
= 0x00000,
1172 URLTEMPLATE_PREDEFINED_MIN
= 0x10000,
1173 URLTEMPLATE_LOW
= 0x10000,
1174 URLTEMPLATE_MEDIUM
= 0x11000,
1175 URLTEMPLATE_HIGH
= 0x12000,
1176 URLTEMPLATE_PREDEFINED_MAX
= 0x20000,
1180 ZAFLAGS_CUSTOM_EDIT
= 0x00000001,
1181 ZAFLAGS_ADD_SITES
= 0x00000002,
1182 ZAFLAGS_REQUIRE_VERIFICATION
= 0x00000004,
1183 ZAFLAGS_INCLUDE_PROXY_OVERRIDE
= 0x00000008,
1184 ZAFLAGS_INCLUDE_INTRANET_SITES
= 0x00000010,
1185 ZAFLAGS_NO_UI
= 0x00000020,
1186 ZAFLAGS_SUPPORTS_VERIFICATION
= 0x00000040,
1187 ZAFLAGS_UNC_AS_INTRANET
= 0x00000080,
1191 MAX_ZONE_PATH
= 260,
1192 MAX_ZONE_DESCRIPTION
= 200
1195 typedef struct _ZONEATTRIBUTES
{
1197 WCHAR szDisplayName
[MAX_ZONE_PATH
];
1198 WCHAR szDescription
[MAX_ZONE_DESCRIPTION
];
1199 WCHAR szIconPath
[MAX_ZONE_PATH
];
1200 DWORD dwTemplateMinLevel
;
1201 DWORD dwTemplateRecommended
;
1202 DWORD dwTemplateCurrentLevel
;
1204 } ZONEATTRIBUTES
, *LPZONEATTRIBUTES
;
1206 typedef enum _URLZONEREG
{
1212 HRESULT GetZoneAttributes
(
1214 [in, out, unique] ZONEATTRIBUTES
* pZoneAttributes
);
1216 HRESULT SetZoneAttributes
(
1218 [in] ZONEATTRIBUTES
* pZoneAttributes
);
1220 HRESULT GetZoneCustomPolicy
(
1222 [in] REFGUID guidKey
,
1223 [out] BYTE **ppPolicy
,
1224 [out] DWORD
* pcbPolicy
,
1225 [in] URLZONEREG ulrZoneReg
);
1227 HRESULT SetZoneCustomPolicy
(
1229 [in] REFGUID guidKey
,
1230 [in] BYTE *ppPolicy
,
1231 [in] DWORD pcbPolicy
,
1232 [in] URLZONEREG ulrZoneReg
);
1234 HRESULT GetZoneActionPolicy
(
1236 [in] DWORD dwAction
,
1237 [out] BYTE* pPolicy
,
1238 [in] DWORD cbPolicy
,
1239 [in] URLZONEREG urlZoneReg
);
1241 HRESULT SetZoneActionPolicy
(
1243 [in] DWORD dwAction
,
1245 [in] DWORD cbPolicy
,
1246 [in] URLZONEREG urlZoneReg
);
1248 HRESULT PromptAction
(
1249 [in] DWORD dwAction
,
1250 [in] HWND hwndParent
,
1251 [in] LPCWSTR pwszUrl
,
1252 [in] LPCWSTR pwszText
,
1253 [in] DWORD dwPromptFlags
);
1256 [in] DWORD dwAction
,
1257 [in] LPCWSTR pwszUrl
,
1258 [in] LPCWSTR pwszText
,
1259 [in] DWORD dwLogFlags
);
1261 HRESULT CreateZoneEnumerator
(
1262 [out] DWORD
* pdwEnum
,
1263 [out] DWORD
* pdwCount
,
1264 [in] DWORD dwFlags
);
1269 [out] DWORD
* pdwZone
);
1271 HRESULT DestroyZoneEnumerator
(
1274 HRESULT CopyTemplatePoliciesToZone
(
1275 [in] DWORD dwTemplate
,
1277 [in] DWORD dwReserved
);
1280 typedef struct _tagSOFTDISTINFO
1288 DWORD dwInstalledVersionMS
;
1289 DWORD dwInstalledVersionLS
;
1290 DWORD dwUpdateVersionMS
;
1291 DWORD dwUpdateVersionLS
;
1292 DWORD dwAdvertisedVersionMS
;
1293 DWORD dwAdvertisedVersionLS
;
1295 } SOFTDISTINFO
, *LPSOFTDISTINFO
;
1297 typedef struct _tagCODEBASEHOLD
1305 } CODEBASEHOLD
, *LPCODEBASEHOLD
;
1310 uuid(b15b8dc1
-c7e1
-11d0
-8680-00aa00bdcb71
),
1311 pointer_default(unique)
1313 interface ISoftDistExt
: IUnknown
1315 HRESULT ProcessSoftDist
(
1316 [in] LPCWSTR szCDFURL
,
1317 [in] IXMLElement
*pSoftDistElement
,
1318 [in, out] LPSOFTDISTINFO lpsdi
);
1320 HRESULT GetFirstCodeBase
(
1321 [in] LPWSTR
*szCodeBase
,
1322 [in] LPDWORD dwMaxSize
);
1324 HRESULT GetNextCodeBase
(
1325 [in] LPWSTR
*szCodeBase
,
1326 [in] LPDWORD dwMaxSize
);
1328 HRESULT AsyncInstallDistributionUnit
(
1330 [in] LPVOID lpReserved
,
1332 [in] LPCODEBASEHOLD lpcbh
);
1335 typedef enum _tagINTERNETFEATURELIST
1337 FEATURE_OBJECT_CACHING
,
1338 FEATURE_ZONE_ELEVATION
,
1339 FEATURE_MIME_HANDLING
,
1340 FEATURE_MIME_SNIFFING
,
1341 FEATURE_WINDOW_RESTRICTIONS
,
1342 FEATURE_WEBOC_POPUPMANAGEMENT
,
1344 FEATURE_DISABLE_MK_PROTOCOL
,
1345 FEATURE_LOCALMACHINE_LOCKDOWN
,
1346 FEATURE_SECURITYBAND
,
1347 FEATURE_RESTRICT_ACTIVEXINSTALL
,
1348 FEATURE_VALIDATE_NAVIGATE_URL
,
1349 FEATURE_RESTRICT_FILEDOWNLOAD
,
1350 FEATURE_ADDON_MANAGEMENT
,
1351 FEATURE_PROTOCOL_LOCKDOWN
,
1352 FEATURE_HTTP_USERNAME_PASSWORD_DISABLE
,
1353 FEATURE_SAFE_BINDTOOBJECT
,
1354 FEATURE_UNC_SAVEDFILECHECK
,
1355 FEATURE_GET_URL_DOM_FILEPATH_UNENCODED
,
1356 FEATURE_TABBED_BROWSING
,
1358 FEATURE_DISABLE_NAVIGATION_SOUNDS
,
1359 FEATURE_DISABLE_LEGACY_COMPRESSION
,
1360 FEATURE_FORCE_ADDR_AND_STATUS
,
1362 FEATURE_DISABLE_TELNET_PROTOCOL
,
1364 FEATURE_BLOCK_INPUT_PROMPTS
,
1366 FEATURE_XDOMAINREQUEST
,
1368 FEATURE_AJAX_CONNECTIONSERVICES
,
1370 } INTERNETFEATURELIST
;
1372 typedef struct _tagPROTOCOLFILTERDATA
{
1374 IInternetProtocolSink
*pProtocolSink
;
1375 IInternetProtocol
*pProtocol
;
1377 DWORD dwFilterFlags
;
1378 } PROTOCOLFILTERDATA
;
1380 /*****************************************************************************
1386 uuid(a39ee748
-6a27
-4817-a6f2
-13914bef5890
),
1387 pointer_default(unique)
1389 interface IUri
: IUnknown
1393 Uri_PROPERTY_ABSOLUTE_URI
= 0,
1394 Uri_PROPERTY_STRING_START
= Uri_PROPERTY_ABSOLUTE_URI
,
1395 Uri_PROPERTY_AUTHORITY
= 1,
1396 Uri_PROPERTY_DISPLAY_URI
= 2,
1397 Uri_PROPERTY_DOMAIN
= 3,
1398 Uri_PROPERTY_EXTENSION
= 4,
1399 Uri_PROPERTY_FRAGMENT
= 5,
1400 Uri_PROPERTY_HOST
= 6,
1401 Uri_PROPERTY_PASSWORD
= 7,
1402 Uri_PROPERTY_PATH
= 8,
1403 Uri_PROPERTY_PATH_AND_QUERY
= 9,
1404 Uri_PROPERTY_QUERY
= 10,
1405 Uri_PROPERTY_RAW_URI
= 11,
1406 Uri_PROPERTY_SCHEME_NAME
= 12,
1407 Uri_PROPERTY_USER_INFO
= 13,
1408 Uri_PROPERTY_USER_NAME
= 14,
1409 Uri_PROPERTY_STRING_LAST
= Uri_PROPERTY_USER_NAME
,
1410 Uri_PROPERTY_HOST_TYPE
= 15,
1411 Uri_PROPERTY_DWORD_START
= Uri_PROPERTY_HOST_TYPE
,
1412 Uri_PROPERTY_PORT
= 16,
1413 Uri_PROPERTY_SCHEME
= 17,
1414 Uri_PROPERTY_ZONE
= 18,
1415 Uri_PROPERTY_DWORD_LAST
= Uri_PROPERTY_ZONE
1418 HRESULT GetPropertyBSTR
(
1419 [in] Uri_PROPERTY uriProp
,
1420 [out] BSTR *pbstrProperty
,
1421 [in] DWORD dwFlags
);
1423 HRESULT GetPropertyLength
(
1424 [in] Uri_PROPERTY uriProp
,
1425 [out] DWORD
*pcchProperty
,
1426 [in] DWORD dwFlags
);
1428 HRESULT GetPropertyDWORD
(
1429 [in] Uri_PROPERTY uriProp
,
1430 [out] DWORD
*pdwProperty
,
1431 [in] DWORD dwFlags
);
1433 HRESULT HasProperty
(
1434 [in] Uri_PROPERTY uriProp
,
1435 [out] BOOL
*pfHasProperty
);
1437 HRESULT GetAbsoluteUri
(
1438 [out] BSTR *pbstrAbsoluteUri
);
1440 HRESULT GetAuthority
(
1441 [out] BSTR *pbstrAuthority
);
1443 HRESULT GetDisplayUri
(
1444 [out] BSTR *pbstrDisplayString
);
1447 [out] BSTR *pbstrDomain
);
1449 HRESULT GetExtension
(
1450 [out] BSTR *pbstrExtension
);
1452 HRESULT GetFragment
(
1453 [out] BSTR *pbstrFragment
);
1456 [out] BSTR *pbstrHost
);
1458 HRESULT GetPassword
(
1459 [out] BSTR *pbstrPassword
);
1462 [out] BSTR *pbstrPath
);
1464 HRESULT GetPathAndQuery
(
1465 [out] BSTR *pbstrPathAndQuery
);
1468 [out] BSTR *pbstrQuery
);
1471 [out] BSTR *pbstrRawUri
);
1473 HRESULT GetSchemeName
(
1474 [out] BSTR *pbstrSchemeName
);
1476 HRESULT GetUserInfo
(
1477 [out] BSTR *pbstrUserInfo
);
1479 HRESULT GetUserName
(
1480 [out] BSTR *pbstrUserName
);
1482 HRESULT GetHostType
(
1483 [out] DWORD
*pdwHostType
);
1486 [out] DWORD
*pdwPort
);
1489 [out] DWORD
*pdwScheme
);
1492 [out] DWORD
*pdwZone
);
1494 HRESULT GetProperties
(
1495 [out] LPDWORD pdwFlags
);
1499 [out] BOOL
*pfEqual
);
1502 /*****************************************************************************
1503 * IUriContainer interface
1508 uuid(a158a630
-ed6f
-45fb
-b987
-f68676f57752
),
1509 pointer_default(unique)
1511 interface IUriContainer
: IUnknown
1513 HRESULT GetIUri
([out] IUri
**ppIUri
);
1516 /*****************************************************************************
1517 * IInternetProtocolEx interface
1522 uuid(c7a98e66
-1010-492c
-a1c8
-c809e1f75905
),
1523 pointer_default(unique)
1525 interface IInternetProtocolEx
: IInternetProtocol
1529 [in] IInternetProtocolSink
*pOIProtSink
,
1530 [in] IInternetBindInfo
*pOIBindInfo
,
1532 [in] HANDLE *dwReserved
);
1535 cpp_quote
("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
1536 cpp_quote
("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
1537 cpp_quote
("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1538 cpp_quote
("DEFINE_GUID(IID_IAsyncBindCtx, 0x79EAC9D4, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1539 cpp_quote
("DEFINE_GUID(CLSID_StdURLMoniker, 0x79EAC9E0, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
1540 cpp_quote
("DEFINE_GUID(CLSID_DeCompMimeFilter, 0x8f6b0360, 0xb80d, 0x11d0, 0xa9,0xb3, 0x00,0x60,0x97,0x94,0x23,0x11);")
1542 cpp_quote
("DEFINE_GUID(CLSID_CdlProtocol, 0x3dd53d40, 0x7b8b, 0x11D0, 0xb0,0x13, 0x00,0xaa,0x00,0x59,0xce,0x02);")
1543 cpp_quote
("DEFINE_GUID(CLSID_FileProtocol, 0x79EAC9E7, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1544 cpp_quote
("DEFINE_GUID(CLSID_FtpProtocol, 0x79EAC9E3, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1545 cpp_quote
("DEFINE_GUID(CLSID_GopherProtocol, 0x79EAC9E4, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1546 cpp_quote
("DEFINE_GUID(CLSID_HttpProtocol, 0x79EAC9E2, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1547 cpp_quote
("DEFINE_GUID(CLSID_HttpSProtocol, 0x79EAC9E5, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1548 cpp_quote
("DEFINE_GUID(CLSID_MkProtocol, 0x79EAC9E6, 0xBAF9, 0x11CE, 0x8C,0x82, 0x00,0xAA,0x00,0x4B,0xA9,0x0B);")
1550 cpp_quote
("#define URLMON_OPTION_USERAGENT 0x10000001")
1551 cpp_quote
("#define URLMON_OPTION_USERAGENT_REFRESH 0x10000002")
1552 cpp_quote
("#define URLMON_OPTION_URL_ENCODING 0x10000004")
1554 cpp_quote
("#define MK_S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x000401E8)")
1555 cpp_quote
("#ifndef S_ASYNCHRONOUS")
1556 cpp_quote
("#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS")
1559 cpp_quote
("#define INET_E_ERROR_FIRST _HRESULT_TYPEDEF_(0x800C0002)")
1560 cpp_quote
("#define INET_E_INVALID_URL _HRESULT_TYPEDEF_(0x800C0002)")
1561 cpp_quote
("#define INET_E_NO_SESSION _HRESULT_TYPEDEF_(0x800C0003)")
1562 cpp_quote
("#define INET_E_CANNOT_CONNECT _HRESULT_TYPEDEF_(0x800C0004)")
1563 cpp_quote
("#define INET_E_RESOURCE_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0005)")
1564 cpp_quote
("#define INET_E_OBJECT_NOT_FOUND _HRESULT_TYPEDEF_(0x800C0006)")
1565 cpp_quote
("#define INET_E_DATA_NOT_AVAILABLE _HRESULT_TYPEDEF_(0x800C0007)")
1566 cpp_quote
("#define INET_E_DOWNLOAD_FAILURE _HRESULT_TYPEDEF_(0x800C0008)")
1567 cpp_quote
("#define INET_E_AUTHENTICATION_REQUIRED _HRESULT_TYPEDEF_(0x800C0009)")
1568 cpp_quote
("#define INET_E_NO_VALID_MEDIA _HRESULT_TYPEDEF_(0x800C000A)")
1569 cpp_quote
("#define INET_E_CONNECTION_TIMEOUT _HRESULT_TYPEDEF_(0x800C000B)")
1570 cpp_quote
("#define INET_E_INVALID_REQUEST _HRESULT_TYPEDEF_(0x800C000C)")
1571 cpp_quote
("#define INET_E_UNKNOWN_PROTOCOL _HRESULT_TYPEDEF_(0x800C000D)")
1572 cpp_quote
("#define INET_E_SECURITY_PROBLEM _HRESULT_TYPEDEF_(0x800C000E)")
1573 cpp_quote
("#define INET_E_CANNOT_LOAD_DATA _HRESULT_TYPEDEF_(0x800C000F)")
1574 cpp_quote
("#define INET_E_CANNOT_INSTANTIATE_OBJECT _HRESULT_TYPEDEF_(0x800C0010)")
1575 cpp_quote
("#define INET_E_USE_DEFAULT_PROTOCOLHANDLER _HRESULT_TYPEDEF_(0x800C0011)")
1576 cpp_quote
("#define INET_E_QUERYOPTION_UNKNOWN _HRESULT_TYPEDEF_(0x800C0013)")
1577 cpp_quote
("#define INET_E_REDIRECT_FAILED _HRESULT_TYPEDEF_(0x800C0014)")
1578 cpp_quote
("#define INET_E_REDIRECT_TO_DIR _HRESULT_TYPEDEF_(0x800C0015)")
1579 cpp_quote
("#define INET_E_CANNOT_LOCK_REQUEST _HRESULT_TYPEDEF_(0x800C0016)")
1580 cpp_quote
("#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR")
1581 cpp_quote
("#define INET_E_DEFAULT_ACTION INET_E_USE_DEFAULT_PROTOCOLHANDLER")
1583 cpp_quote
("HRESULT WINAPI CoGetClassObjectFromURL(REFCLSID, LPCWSTR, DWORD, DWORD, LPCWSTR, LPBINDCTX, DWORD, LPVOID, REFIID, LPVOID*);")
1584 cpp_quote
("HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);")
1585 cpp_quote
("HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);")
1586 cpp_quote
("HRESULT WINAPI CompareSecurityIds(BYTE*,DWORD,BYTE*,DWORD,DWORD);")
1587 cpp_quote
("HRESULT WINAPI URLDownloadToFileA(LPUNKNOWN,LPCSTR,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1588 cpp_quote
("HRESULT WINAPI URLDownloadToFileW(LPUNKNOWN,LPCWSTR,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1589 cpp_quote
("HRESULT WINAPI URLDownloadToCacheFileA(LPUNKNOWN,LPCSTR,LPSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1590 cpp_quote
("HRESULT WINAPI URLDownloadToCacheFileW(LPUNKNOWN,LPCWSTR,LPWSTR,DWORD,DWORD,LPBINDSTATUSCALLBACK);")
1591 cpp_quote
("HRESULT WINAPI CoInternetGetSession(DWORD,IInternetSession**,DWORD);")
1592 cpp_quote
("HRESULT WINAPI MkParseDisplayNameEx(IBindCtx*,LPCWSTR,ULONG*,IMoniker**);")
1593 cpp_quote
("HRESULT WINAPI IsAsyncMoniker(IMoniker* pmk);")
1594 cpp_quote
("HRESULT WINAPI CreateAsyncBindCtx(DWORD, IBindStatusCallback*, IEnumFORMATETC*, IBindCtx**);")
1595 cpp_quote
("HRESULT WINAPI CreateAsyncBindCtxEx(IBindCtx*,DWORD,IBindStatusCallback*,IEnumFORMATETC*,IBindCtx**,DWORD);")
1596 cpp_quote
("HRESULT WINAPI CoInternetCreateSecurityManager(IServiceProvider*,IInternetSecurityManager**,DWORD);")
1597 cpp_quote
("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1598 cpp_quote
("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);")
1599 cpp_quote
("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);")
1600 cpp_quote
("HRESULT WINAPI CoInternetParseUrl(LPCWSTR,PARSEACTION,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
1601 cpp_quote
("HRESULT WINAPI CoInternetQueryInfo(LPCWSTR,QUERYOPTION,DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1602 cpp_quote
("HRESULT WINAPI CoInternetSetFeatureEnabled(INTERNETFEATURELIST,DWORD,BOOL);")
1603 cpp_quote
("HRESULT WINAPI CreateFormatEnumerator(UINT,FORMATETC*,IEnumFORMATETC**);")
1604 cpp_quote
("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);")
1605 cpp_quote
("HRESULT WINAPI FaultInIEFeature(HWND,uCLSSPEC*,QUERYCONTEXT*,DWORD);")
1606 cpp_quote
("HRESULT WINAPI FindMimeFromData(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,LPWSTR*,DWORD);")
1607 cpp_quote
("HRESULT WINAPI GetClassFileOrMime(LPBC,LPCWSTR,LPVOID,DWORD,LPCWSTR,DWORD,CLSID*);")
1608 cpp_quote
("HRESULT WINAPI HlinkGoBack(IUnknown*);")
1609 cpp_quote
("HRESULT WINAPI HlinkGoForward(IUnknown*);")
1610 cpp_quote
("HRESULT WINAPI HlinkNavigateMoniker(IUnknown*,IMoniker*);")
1611 cpp_quote
("HRESULT WINAPI HlinkNavigateString(IUnknown*,LPCWSTR);")
1612 cpp_quote
("HRESULT WINAPI HlinkSimpleNavigateToMoniker(IMoniker*,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1613 cpp_quote
("HRESULT WINAPI HlinkSimpleNavigateToString(LPCWSTR,LPCWSTR,LPCWSTR,IUnknown*,IBindCtx*,IBindStatusCallback*,DWORD,DWORD);")
1614 cpp_quote
("HRESULT WINAPI IsValidURL(LPBC,LPCWSTR,DWORD);")
1615 cpp_quote
("HRESULT WINAPI ObtainUserAgentString(DWORD,LPSTR,DWORD*);")
1616 cpp_quote
("HRESULT WINAPI RegisterFormatEnumerator(LPBC,IEnumFORMATETC*,DWORD);")
1617 cpp_quote
("HRESULT WINAPI RevokeFormatEnumerator(LPBC,IEnumFORMATETC*);")
1618 cpp_quote
("HRESULT WINAPI RevokeBindStatusCallback(LPBC,IBindStatusCallback*);")
1619 cpp_quote
("HRESULT WINAPI CopyStgMedium(const STGMEDIUM*,STGMEDIUM*);")
1620 cpp_quote
("void WINAPI ReleaseBindInfo(BINDINFO*);")
1621 cpp_quote
("HRESULT WINAPI UrlMkGetSessionOption(DWORD,LPVOID,DWORD,DWORD*,DWORD);")
1622 cpp_quote
("HRESULT WINAPI UrlMkSetSessionOption(DWORD,LPVOID,DWORD,DWORD);")
1623 cpp_quote
("HRESULT WINAPI URLOpenStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1624 cpp_quote
("HRESULT WINAPI URLOpenStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1625 cpp_quote
("HRESULT WINAPI URLOpenPullStreamA(LPUNKNOWN,LPCSTR,DWORD,LPBINDSTATUSCALLBACK);")
1626 cpp_quote
("HRESULT WINAPI URLOpenPullStreamW(LPUNKNOWN,LPCWSTR,DWORD,LPBINDSTATUSCALLBACK);")
1627 cpp_quote
("HRESULT WINAPI URLOpenBlockingStreamA(LPUNKNOWN,LPCSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1628 cpp_quote
("HRESULT WINAPI URLOpenBlockingStreamW(LPUNKNOWN,LPCWSTR,LPSTREAM*,DWORD,LPBINDSTATUSCALLBACK);")
1630 cpp_quote
("#define OInetCombineUrl CoInternetCombineUrl")
1631 cpp_quote
("#define OInetCompareUrl CoInternetCompareUrl")
1632 cpp_quote
("#define OInetGetSession CoInternetGetSession")
1634 cpp_quote
("BOOL WINAPI IsLoggingEnabledA(LPCSTR);")
1635 cpp_quote
("BOOL WINAPI IsLoggingEnabledW(LPCWSTR);")
1636 cpp_quote
("#define IsLoggingEnabled WINELIB_NAME_AW(IsLoggingEnabled)")
1638 cpp_quote
("#define MKSYS_URLMONIKER 6")
1639 cpp_quote
("#define URL_MK_LEGACY 0")
1640 cpp_quote
("#define URL_MK_UNIFORM 1")