2000-04-11 22:07:00 +02:00
|
|
|
/*
|
2002-03-10 00:29:33 +01:00
|
|
|
* Copyright (C) 2000 Ulrich Czekalla
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
2000-04-11 22:07:00 +02:00
|
|
|
*/
|
|
|
|
|
2001-07-18 22:04:08 +02:00
|
|
|
#include "rpc.h"
|
|
|
|
#include "rpcndr.h"
|
|
|
|
#ifndef COM_NO_WINDOWS_H
|
|
|
|
#include "windows.h"
|
|
|
|
#include "ole2.h"
|
|
|
|
#endif
|
|
|
|
|
2000-04-11 22:07:00 +02:00
|
|
|
#ifndef __WINE_URLMON_H
|
|
|
|
#define __WINE_URLMON_H
|
|
|
|
|
2001-05-31 23:38:38 +02:00
|
|
|
#include "winbase.h"
|
2002-12-05 21:33:07 +01:00
|
|
|
#include "objbase.h"
|
2001-05-31 23:38:38 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* defined(__cplusplus) */
|
|
|
|
|
|
|
|
DEFINE_GUID(IID_IBinding, 0x79EAC9C0, 0xBAF9, 0x11CE,
|
|
|
|
0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);
|
|
|
|
typedef struct IBinding IBinding,*LPBINDING;
|
|
|
|
|
|
|
|
DEFINE_GUID(IID_IBindStatusCallback, 0x79EAC9C1, 0xBAF9, 0x11CE,
|
|
|
|
0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);
|
|
|
|
typedef struct IBindStatusCallback IBindStatusCallback,*LPBINDSTATUSCALLBACK;
|
|
|
|
|
2001-07-02 19:58:01 +02:00
|
|
|
DEFINE_GUID(IID_IBindHost, 0XFC4801A1, 0X2BA9, 0X11CF,
|
|
|
|
0XA2, 0X29, 0X00, 0XAA, 0X00, 0X3D, 0X73, 0X52);
|
|
|
|
typedef struct IBindHost IBindHost,*LPBINDHOST;
|
|
|
|
|
|
|
|
DEFINE_GUID(IID_IWinInetInfo, 0x79EAC9D6, 0xBAFA, 0x11CE,
|
|
|
|
0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0X0B);
|
|
|
|
typedef struct IWinInetInfo IWinInetInfo,*LPWININETINFO;
|
|
|
|
|
|
|
|
DEFINE_GUID(IID_IWinInetHttpInfo, 0x79EAC9D8, 0xBAFA, 0x11CE,
|
|
|
|
0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0X0B);
|
|
|
|
typedef struct IWinInetHttpInfo IWinInetHttpInfo,*LPWININETHTTPINFO;
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
BINDF_ASYNCHRONOUS = 0x00000001,
|
|
|
|
BINDF_ASYNCSTORAGE = 0x00000002,
|
|
|
|
BINDF_NOPROGRESSIVERENDERING = 0x00000004,
|
|
|
|
BINDF_OFFLINEOPERATION = 0x00000008,
|
|
|
|
BINDF_GETNEWESTVERSION = 0x00000010,
|
|
|
|
BINDF_NOWRITECACHE = 0x00000020,
|
|
|
|
BINDF_NEEDFILE = 0x00000040,
|
|
|
|
BINDF_PULLDATA = 0x00000080,
|
|
|
|
BINDF_IGNORESECURITYPROBLEM = 0x00000100,
|
|
|
|
BINDF_RESYNCHRONIZE = 0x00000200,
|
|
|
|
BINDF_HYPERLINK = 0x00000400,
|
|
|
|
BINDF_NO_UI = 0x00000800,
|
|
|
|
BINDF_SILENTOPERATION = 0x00001000,
|
|
|
|
BINDF_PRAGMA_NO_CACHE = 0x00002000,
|
|
|
|
BINDF_GETCLASSOBJECT = 0x00004000,
|
|
|
|
BINDF_RESERVED_1 = 0x00008000,
|
|
|
|
BINDF_FREE_THREADED = 0x00010000,
|
|
|
|
BINDF_DIRECT_READ = 0x00020000,
|
|
|
|
BINDF_FORMS_SUBMIT = 0x00040000,
|
|
|
|
BINDF_GETFROMCACHE_IF_NET_FAIL = 0x00080000,
|
|
|
|
BINDF_FROMURLMON = 0x00100000,
|
|
|
|
BINDF_FWD_BACK = 0x00200000,
|
|
|
|
BINDF_PREFERDEFAULTHANDLER = 0x00400000,
|
|
|
|
BINDF_RESERVED_3 = 0x00800000
|
|
|
|
} BINDF;
|
|
|
|
|
2001-05-31 23:38:38 +02:00
|
|
|
typedef struct _tagBINDINFO {
|
|
|
|
ULONG cbSize;
|
|
|
|
LPWSTR szExtraInfo;
|
|
|
|
STGMEDIUM stgmedData;
|
2001-10-05 21:38:43 +02:00
|
|
|
DWORD grfBindInfoF;
|
2001-05-31 23:38:38 +02:00
|
|
|
DWORD dwBindVerb;
|
|
|
|
LPWSTR szCustomVerb;
|
|
|
|
DWORD cbStgmedData;
|
|
|
|
DWORD dwOptions;
|
|
|
|
DWORD dwOptionsFlags;
|
|
|
|
DWORD dwCodePage;
|
|
|
|
SECURITY_ATTRIBUTES securityAttributes;
|
|
|
|
IID iid;
|
|
|
|
IUnknown *pUnk;
|
|
|
|
DWORD dwReserved;
|
|
|
|
} BINDINFO;
|
|
|
|
|
|
|
|
typedef enum {
|
2001-06-19 20:14:25 +02:00
|
|
|
BSCF_FIRSTDATANOTIFICATION = 0x01,
|
|
|
|
BSCF_INTERMEDIATEDATANOTIFICATION = 0x02,
|
|
|
|
BSCF_LASTDATANOTIFICATION = 0x04,
|
|
|
|
BSCF_DATAFULLYAVAILABLE = 0x08,
|
|
|
|
BSCF_AVAILABLEDATASIZEUNKNOWN = 0x10
|
2001-05-31 23:38:38 +02:00
|
|
|
} BSCF;
|
|
|
|
|
2001-07-02 19:58:01 +02:00
|
|
|
typedef enum BINDSTATUS {
|
|
|
|
BINDSTATUS_FINDINGRESOURCE,
|
|
|
|
BINDSTATUS_CONNECTING,
|
|
|
|
BINDSTATUS_REDIRECTING,
|
|
|
|
BINDSTATUS_BEGINDOWNLOADDATA,
|
|
|
|
BINDSTATUS_DOWNLOADINGDATA,
|
|
|
|
BINDSTATUS_ENDDOWNLOADDATA,
|
|
|
|
BINDSTATUS_BEGINDOWNLOADCOMPONENTS,
|
|
|
|
BINDSTATUS_INSTALLINGCOMPONENTS,
|
|
|
|
BINDSTATUS_ENDDOWNLOADCOMPONENTS,
|
|
|
|
BINDSTATUS_USINGCACHEDCOPY,
|
|
|
|
BINDSTATUS_SENDINGREQUEST,
|
|
|
|
BINDSTATUS_CLASSIDAVAILABLE,
|
|
|
|
BINDSTATUS_MIMETYPEAVAILABLE,
|
|
|
|
BINDSTATUS_CACHEFILENAMEAVAILABLE,
|
|
|
|
BINDSTATUS_BEGINSYNCOPERATION,
|
|
|
|
BINDSTATUS_ENDSYNCOPERATION,
|
|
|
|
BINDSTATUS_BEGINUPLOADDATA,
|
|
|
|
BINDSTATUS_UPLOADINGDATA,
|
|
|
|
BINDSTATUS_ENDUPLOADINGDATA,
|
|
|
|
BINDSTATUS_PROTOCOLCLASSID,
|
|
|
|
BINDSTATUS_ENCODING,
|
|
|
|
BINDSTATUS_VERFIEDMIMETYPEAVAILABLE,
|
|
|
|
BINDSTATUS_CLASSINSTALLLOCATION,
|
|
|
|
BINDSTATUS_DECODING,
|
|
|
|
BINDSTATUS_LOADINGMIMEHANDLER,
|
|
|
|
BINDSTATUS_CONTENTDISPOSITIONATTACH,
|
|
|
|
BINDSTATUS_FILTERREPORTMIMETYPE,
|
|
|
|
BINDSTATUS_CLSIDCANINSTANTIATE,
|
|
|
|
BINDSTATUS_IUNKNOWNAVAILABLE,
|
|
|
|
BINDSTATUS_DIRECTBIND,
|
|
|
|
BINDSTATUS_RAWMIMETYPE,
|
|
|
|
BINDSTATUS_PROXYDETECTING,
|
|
|
|
BINDSTATUS_ACCEPTRANGES
|
|
|
|
} BINDSTATUS;
|
|
|
|
|
2001-05-31 23:38:38 +02:00
|
|
|
#define MK_S_ASYNCHRONOUS 0x000401E8
|
|
|
|
#define S_ASYNCHRONOUS MK_S_ASYNCHRONOUS
|
|
|
|
|
2002-04-09 01:40:13 +02:00
|
|
|
#define INET_E_ERROR_FIRST 0x800C0002L
|
|
|
|
#define INET_E_INVALID_URL 0x800C0002L
|
|
|
|
#define INET_E_NO_SESSION 0x800C0003L
|
|
|
|
#define INET_E_CANNOT_CONNECT 0x800C0004L
|
|
|
|
#define INET_E_RESOURCE_NOT_FOUND 0x800C0005L
|
|
|
|
#define INET_E_OBJECT_NOT_FOUND 0x800C0006L
|
|
|
|
#define INET_E_DATA_NOT_AVAILABLE 0x800C0007L
|
|
|
|
#define INET_E_DOWNLOAD_FAILURE 0x800C0008L
|
|
|
|
#define INET_E_AUTHENTICATION_REQUIRED 0x800C0009L
|
|
|
|
#define INET_E_NO_VALID_MEDIA 0x800C000AL
|
|
|
|
#define INET_E_CONNECTION_TIMEOUT 0x800C000BL
|
|
|
|
#define INET_E_INVALID_REQUEST 0x800C000CL
|
|
|
|
#define INET_E_UNKNOWN_PROTOCOL 0x800C000DL
|
|
|
|
#define INET_E_SECURITY_PROBLEM 0x800C000EL
|
|
|
|
#define INET_E_CANNOT_LOAD_DATA 0x800C000FL
|
|
|
|
#define INET_E_CANNOT_INSTANTIATE_OBJECT 0x800C0010L
|
2002-11-18 20:43:10 +01:00
|
|
|
#define INET_E_QUERYOPTION_UNKNOWN 0x800C0013L
|
2002-04-09 01:40:13 +02:00
|
|
|
#define INET_E_REDIRECT_FAILED 0x800C0014L
|
|
|
|
#define INET_E_REDIRECT_TO_DIR 0x800C0015L
|
|
|
|
#define INET_E_CANNOT_LOCK_REQUEST 0x800C0016L
|
|
|
|
#define INET_E_ERROR_LAST INET_E_REDIRECT_TO_DIR
|
|
|
|
|
|
|
|
|
2001-05-31 23:38:38 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* IBinding interface
|
|
|
|
*/
|
2003-04-10 02:19:24 +02:00
|
|
|
#define INTERFACE IBinding
|
2001-05-31 23:38:38 +02:00
|
|
|
#define IBinding_METHODS \
|
2003-04-11 02:31:02 +02:00
|
|
|
IUnknown_METHODS \
|
2003-04-10 02:19:24 +02:00
|
|
|
STDMETHOD(Abort)(THIS) PURE; \
|
|
|
|
STDMETHOD(Suspend)(THIS) PURE; \
|
|
|
|
STDMETHOD(Resume)(THIS) PURE; \
|
|
|
|
STDMETHOD(SetPriority)(THIS_ LONG nPriority) PURE; \
|
|
|
|
STDMETHOD(GetPriority)(THIS_ LONG *pnPriority) PURE; \
|
|
|
|
STDMETHOD(GetBindResult)(THIS_ CLSID *pclsidProtocol, DWORD *pdwResult, LPOLESTR *pszResult, DWORD *pdwReserved) PURE;
|
2001-05-31 23:38:38 +02:00
|
|
|
ICOM_DEFINE(IBinding,IUnknown)
|
2003-04-10 02:19:24 +02:00
|
|
|
#undef INTERFACE
|
2001-05-31 23:38:38 +02:00
|
|
|
|
2003-04-10 23:13:58 +02:00
|
|
|
#ifdef COBJMACROS
|
2001-05-31 23:38:38 +02:00
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IBinding_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
|
|
|
#define IBinding_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IBinding_Release(p) (p)->lpVtbl->Release(p)
|
2001-05-31 23:38:38 +02:00
|
|
|
/*** IBinding methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IBinding_Abort(p) (p)->lpVtbl->Abort(p)
|
|
|
|
#define IBinding_Suspend(p) (p)->lpVtbl->Suspend(p)
|
|
|
|
#define IBinding_Resume(p) (p)->lpVtbl->Resume(p)
|
|
|
|
#define IBinding_SetPriority(p,a) (p)->lpVtbl->SetPriority(p,a)
|
|
|
|
#define IBinding_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
|
|
|
|
#define IBinding_GetBindResult(p,a,b,c,d) (p)->lpVtbl->GetBindResult(p,a,b,c,d)
|
|
|
|
#endif
|
2001-05-31 23:38:38 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IBindStatusCallback interface
|
|
|
|
*/
|
2003-04-10 02:19:24 +02:00
|
|
|
#define INTERFACE IBindStatusCallback
|
2001-05-31 23:38:38 +02:00
|
|
|
#define IBindStatusCallback_METHODS \
|
2003-04-11 02:31:02 +02:00
|
|
|
IUnknown_METHODS \
|
2003-04-10 02:19:24 +02:00
|
|
|
STDMETHOD(OnStartBinding)(THIS_ DWORD dwReserved, IBinding *pib) PURE; \
|
|
|
|
STDMETHOD(GetPriority)(THIS_ LONG *pnPriority) PURE; \
|
|
|
|
STDMETHOD(OnLowResource)(THIS) PURE; \
|
|
|
|
STDMETHOD(OnProgress)(THIS_ ULONG ulProgress, ULONG ulProgressMax, ULONG ulStatusCode, LPCWSTR szStatusText) PURE; \
|
|
|
|
STDMETHOD(OnStopBinding)(THIS_ HRESULT hresult, LPCWSTR szError) PURE; \
|
|
|
|
STDMETHOD(GetBindInfo)(THIS_ DWORD *grfBINDF, BINDINFO *pbindinfo) PURE; \
|
|
|
|
STDMETHOD(OnDataAvailable)(THIS_ DWORD grfBSCF, DWORD dwSize, FORMATETC *pformatetc, STGMEDIUM *pstgmed) PURE; \
|
|
|
|
STDMETHOD(OnObjectAvailable)(THIS_ REFIID iid, IUnknown *punk) PURE;
|
2001-05-31 23:38:38 +02:00
|
|
|
ICOM_DEFINE(IBindStatusCallback,IUnknown)
|
2003-04-10 02:19:24 +02:00
|
|
|
#undef INTERFACE
|
2001-05-31 23:38:38 +02:00
|
|
|
|
2003-04-10 23:13:58 +02:00
|
|
|
#ifdef COBJMACROS
|
2001-05-31 23:38:38 +02:00
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IBindStatusCallback_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
|
|
|
#define IBindStatusCallback_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IBindStatusCallback_Release(p) (p)->lpVtbl->Release(p)
|
2001-05-31 23:38:38 +02:00
|
|
|
/*** IBindStatusCallback methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IBindStatusCallback_OnStartBinding(p,a,b) (p)->lpVtbl->OnStartBinding(p,a,b)
|
|
|
|
#define IBindStatusCallback_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
|
|
|
|
#define IBindStatusCallback_OnLowResource(p) (p)->lpVtbl->OnLowResource(p)
|
|
|
|
#define IBindStatusCallback_OnProgress(p,a,b,c,d) (p)->lpVtbl->OnProgress(p,a,b,c,d)
|
|
|
|
#define IBindStatusCallback_OnStopBinding(p,a,b) (p)->lpVtbl->OnStopBinding(p,a,b)
|
|
|
|
#define IBindStatusCallback_GetBindInfo(p,a,b) (p)->lpVtbl->GetBindInfo(p,a,b)
|
|
|
|
#define IBindStatusCallback_OnDataAvailable(p,a,b,c,d) (p)->lpVtbl->OnDataAvailable(p,a,b,c,d)
|
|
|
|
#define IBindStatusCallback_OnObjectAvailable(p,a,b) (p)->lpVtbl->OnObjectAvailable(p,a,b)
|
|
|
|
#endif
|
2001-05-31 23:38:38 +02:00
|
|
|
|
2001-07-02 19:58:01 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* IBindHost interface
|
|
|
|
*/
|
2003-04-10 02:19:24 +02:00
|
|
|
#define INTERFACE IBindHost
|
2001-07-02 19:58:01 +02:00
|
|
|
#define IBindHost_METHODS \
|
2003-04-11 02:31:02 +02:00
|
|
|
IUnknown_METHODS \
|
2003-04-10 02:19:24 +02:00
|
|
|
STDMETHOD(CreateMoniker)(THIS_ LPOLESTR szName, IBindCtx *pBC, IMoniker **ppmk, DWORD dwReserved) PURE; \
|
|
|
|
STDMETHOD(MonikerBindToStorage)(THIS_ IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC, REFIID riid, LPVOID *ppvObj) PURE; \
|
|
|
|
STDMETHOD(MonikerBindToObject)(THIS_ IMoniker *pMk, IBindCtx *pBC, IBindStatusCallback *pBSC, REFIID riid, LPVOID *ppvObj) PURE;
|
2001-07-02 19:58:01 +02:00
|
|
|
ICOM_DEFINE(IBindHost,IUnknown)
|
2003-04-10 02:19:24 +02:00
|
|
|
#undef INTERFACE
|
2001-07-02 19:58:01 +02:00
|
|
|
|
2003-04-10 23:13:58 +02:00
|
|
|
#ifdef COBJMACROS
|
2001-07-02 19:58:01 +02:00
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IBindHost_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
|
|
|
#define IBindHost_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IBindHost_Release(p) (p)->lpVtbl->Release(p)
|
2001-07-02 19:58:01 +02:00
|
|
|
/*** IBindHost methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IBindHost_CreateMoniker(p,a,b,c,d) (p)->lpVtbl->CreateMoniker(p,a,b,c,d)
|
|
|
|
#define IBindHost_MonikerBindToStorage(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToStorage(p,a,b,c,d,e)
|
|
|
|
#define IBindHost_MonikerBindToObject(p,a,b,c,d,e) (p)->lpVtbl->MonikerBindToObject(p,a,b,c,d,e)
|
|
|
|
#endif
|
2001-07-02 19:58:01 +02:00
|
|
|
|
|
|
|
/*** IUnknown methods ***/
|
|
|
|
typedef enum _tagQUERYOPTION {
|
|
|
|
QUERY_EXPIRATION_DATE = 1,
|
|
|
|
QUERY_TIME_OF_LAST_CHANGE,
|
|
|
|
QUERY_CONTENT_ENCODING,
|
|
|
|
QUERY_CONTENT_TYPE,
|
|
|
|
QUERY_REFRESH,
|
|
|
|
QUERY_RECOMBINE,
|
|
|
|
QUERY_CAN_NAVIGATE,
|
|
|
|
QUERY_USES_NETWORK,
|
|
|
|
QUERY_IS_CACHED,
|
|
|
|
QUERY_IS_INSTALLEDENTRY,
|
|
|
|
QUERY_IS_CACHED_OR_MAPPED,
|
|
|
|
QUERY_USES_CACHE,
|
|
|
|
QUERY_IS_SECURE,
|
|
|
|
QUERY_IS_SAFE
|
|
|
|
} QUERYOPTION;
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IWinInetInfo interface
|
|
|
|
*/
|
2003-04-10 02:19:24 +02:00
|
|
|
#define INTERFACE IWinInetInfo
|
2001-07-02 19:58:01 +02:00
|
|
|
#define IWinInetInfo_METHODS \
|
2003-04-11 02:31:02 +02:00
|
|
|
IUnknown_METHODS \
|
2003-04-10 02:19:24 +02:00
|
|
|
STDMETHOD(QueryOption)(THIS_ DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf) PURE;
|
2001-07-02 19:58:01 +02:00
|
|
|
ICOM_DEFINE(IWinInetInfo,IUnknown)
|
2003-04-10 02:19:24 +02:00
|
|
|
#undef INTERFACE
|
2001-07-02 19:58:01 +02:00
|
|
|
|
2003-04-10 23:13:58 +02:00
|
|
|
#ifdef COBJMACROS
|
2001-07-02 19:58:01 +02:00
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IWinInetInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
|
|
|
#define IWinInetInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IWinInetInfo_Release(p) (p)->lpVtbl->Release(p)
|
2001-07-02 19:58:01 +02:00
|
|
|
/*** IWinInetInfo methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IWinInetInfo_QueryOption(p,a,b,c) (p)->lpVtbl->QueryOption(p,a,b,c)
|
|
|
|
#endif
|
2001-07-02 19:58:01 +02:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* IWinInetHttpInfo interface
|
|
|
|
*/
|
2003-04-10 02:19:24 +02:00
|
|
|
#define INTERFACE IWinInetHttpInfo
|
2001-07-02 19:58:01 +02:00
|
|
|
#define IWinInetHttpInfo_METHODS \
|
2003-04-11 02:31:02 +02:00
|
|
|
IWinInetInfo_METHODS \
|
2003-04-10 02:19:24 +02:00
|
|
|
STDMETHOD(QueryInfo)(THIS_ DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf, DWORD *pdwFlags, DWORD *pdwReserved) PURE;
|
2001-07-02 19:58:01 +02:00
|
|
|
ICOM_DEFINE(IWinInetHttpInfo,IWinInetInfo)
|
2003-04-10 02:19:24 +02:00
|
|
|
#undef INTERFACE
|
2001-07-02 19:58:01 +02:00
|
|
|
|
2003-04-10 23:13:58 +02:00
|
|
|
#ifdef COBJMACROS
|
2001-07-02 19:58:01 +02:00
|
|
|
/*** IUnknown methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IWinInetHttpInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
|
|
|
#define IWinInetHttpInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
|
|
|
|
#define IWinInetHttpInfo_Release(p) (p)->lpVtbl->Release(p)
|
2001-07-02 19:58:01 +02:00
|
|
|
/*** IWinInetHttpInfo methods ***/
|
2003-04-10 23:13:58 +02:00
|
|
|
#define IWinInetHttpInfo_QueryInfo(p,a,b,c,d,e) (p)->lpVtbl->QueryInfo(p,a,b,c,d,e)
|
|
|
|
#endif
|
2001-07-02 19:58:01 +02:00
|
|
|
|
2001-10-08 22:27:01 +02:00
|
|
|
HRESULT WINAPI CreateURLMoniker(IMoniker *pmkContext, LPCWSTR szURL, IMoniker **ppmk);
|
2001-05-31 23:38:38 +02:00
|
|
|
HRESULT WINAPI RegisterBindStatusCallback(IBindCtx *pbc, IBindStatusCallback *pbsc, IBindStatusCallback **ppbsc, DWORD dwReserved);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* defined(__cplusplus) */
|
2000-04-11 22:07:00 +02:00
|
|
|
|
|
|
|
#endif /* __WINE_URLMON_H */
|