| 1 |
/*** Autogenerated by WIDL 6.4 from include/downloadmgr.idl - Do not edit ***/ |
| 2 |
|
| 3 |
#ifdef _WIN32 |
| 4 |
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 5 |
#define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| 6 |
#endif |
| 7 |
#include <rpc.h> |
| 8 |
#include <rpcndr.h> |
| 9 |
#endif |
| 10 |
|
| 11 |
#ifndef COM_NO_WINDOWS_H |
| 12 |
#include <windows.h> |
| 13 |
#include <ole2.h> |
| 14 |
#endif |
| 15 |
|
| 16 |
#ifndef __downloadmgr_h__ |
| 17 |
#define __downloadmgr_h__ |
| 18 |
|
| 19 |
/* Forward declarations */ |
| 20 |
|
| 21 |
#ifndef __IDownloadManager_FWD_DEFINED__ |
| 22 |
#define __IDownloadManager_FWD_DEFINED__ |
| 23 |
typedef interface IDownloadManager IDownloadManager; |
| 24 |
#ifdef __cplusplus |
| 25 |
interface IDownloadManager; |
| 26 |
#endif /* __cplusplus */ |
| 27 |
#endif |
| 28 |
|
| 29 |
/* Headers for imported files */ |
| 30 |
|
| 31 |
#include <unknwn.h> |
| 32 |
#include <ocidl.h> |
| 33 |
#include <oleidl.h> |
| 34 |
#include <oaidl.h> |
| 35 |
|
| 36 |
#ifdef __cplusplus |
| 37 |
extern "C" { |
| 38 |
#endif |
| 39 |
|
| 40 |
/***************************************************************************** |
| 41 |
* IDownloadManager interface |
| 42 |
*/ |
| 43 |
#ifndef __IDownloadManager_INTERFACE_DEFINED__ |
| 44 |
#define __IDownloadManager_INTERFACE_DEFINED__ |
| 45 |
|
| 46 |
DEFINE_GUID(IID_IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb,0x80, 0x00,0x10,0x4b,0x35,0xe7,0xf9); |
| 47 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 48 |
MIDL_INTERFACE("988934a4-064b-11d3-bb80-00104b35e7f9") |
| 49 |
IDownloadManager : public IUnknown |
| 50 |
{ |
| 51 |
virtual HRESULT STDMETHODCALLTYPE Download( |
| 52 |
IMoniker *pmk, |
| 53 |
IBindCtx *pbc, |
| 54 |
DWORD dwBindVerb, |
| 55 |
LONG grfBINDF, |
| 56 |
BINDINFO *pBindInfo, |
| 57 |
LPCOLESTR pszHeaders, |
| 58 |
LPCOLESTR pszRedir, |
| 59 |
UINT uiCP) = 0; |
| 60 |
|
| 61 |
}; |
| 62 |
#ifdef __CRT_UUID_DECL |
| 63 |
__CRT_UUID_DECL(IDownloadManager, 0x988934a4, 0x064b, 0x11d3, 0xbb,0x80, 0x00,0x10,0x4b,0x35,0xe7,0xf9) |
| 64 |
#endif |
| 65 |
#else |
| 66 |
typedef struct IDownloadManagerVtbl { |
| 67 |
BEGIN_INTERFACE |
| 68 |
|
| 69 |
/*** IUnknown methods ***/ |
| 70 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 71 |
IDownloadManager *This, |
| 72 |
REFIID riid, |
| 73 |
void **ppvObject); |
| 74 |
|
| 75 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 76 |
IDownloadManager *This); |
| 77 |
|
| 78 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 79 |
IDownloadManager *This); |
| 80 |
|
| 81 |
/*** IDownloadManager methods ***/ |
| 82 |
HRESULT (STDMETHODCALLTYPE *Download)( |
| 83 |
IDownloadManager *This, |
| 84 |
IMoniker *pmk, |
| 85 |
IBindCtx *pbc, |
| 86 |
DWORD dwBindVerb, |
| 87 |
LONG grfBINDF, |
| 88 |
BINDINFO *pBindInfo, |
| 89 |
LPCOLESTR pszHeaders, |
| 90 |
LPCOLESTR pszRedir, |
| 91 |
UINT uiCP); |
| 92 |
|
| 93 |
END_INTERFACE |
| 94 |
} IDownloadManagerVtbl; |
| 95 |
|
| 96 |
interface IDownloadManager { |
| 97 |
CONST_VTBL IDownloadManagerVtbl* lpVtbl; |
| 98 |
}; |
| 99 |
|
| 100 |
#ifdef COBJMACROS |
| 101 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 102 |
/*** IUnknown methods ***/ |
| 103 |
#define IDownloadManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 104 |
#define IDownloadManager_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 105 |
#define IDownloadManager_Release(This) (This)->lpVtbl->Release(This) |
| 106 |
/*** IDownloadManager methods ***/ |
| 107 |
#define IDownloadManager_Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP) (This)->lpVtbl->Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP) |
| 108 |
#else |
| 109 |
/*** IUnknown methods ***/ |
| 110 |
static FORCEINLINE HRESULT IDownloadManager_QueryInterface(IDownloadManager* This,REFIID riid,void **ppvObject) { |
| 111 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 112 |
} |
| 113 |
static FORCEINLINE ULONG IDownloadManager_AddRef(IDownloadManager* This) { |
| 114 |
return This->lpVtbl->AddRef(This); |
| 115 |
} |
| 116 |
static FORCEINLINE ULONG IDownloadManager_Release(IDownloadManager* This) { |
| 117 |
return This->lpVtbl->Release(This); |
| 118 |
} |
| 119 |
/*** IDownloadManager methods ***/ |
| 120 |
static FORCEINLINE HRESULT IDownloadManager_Download(IDownloadManager* This,IMoniker *pmk,IBindCtx *pbc,DWORD dwBindVerb,LONG grfBINDF,BINDINFO *pBindInfo,LPCOLESTR pszHeaders,LPCOLESTR pszRedir,UINT uiCP) { |
| 121 |
return This->lpVtbl->Download(This,pmk,pbc,dwBindVerb,grfBINDF,pBindInfo,pszHeaders,pszRedir,uiCP); |
| 122 |
} |
| 123 |
#endif |
| 124 |
#endif |
| 125 |
|
| 126 |
#endif |
| 127 |
|
| 128 |
|
| 129 |
#endif /* __IDownloadManager_INTERFACE_DEFINED__ */ |
| 130 |
|
| 131 |
/* Begin additional prototypes for all interfaces */ |
| 132 |
|
| 133 |
|
| 134 |
/* End additional prototypes */ |
| 135 |
|
| 136 |
#ifdef __cplusplus |
| 137 |
} |
| 138 |
#endif |
| 139 |
|
| 140 |
#endif /* __downloadmgr_h__ */ |