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