ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dwnl.c File Reference
#include <stdio.h>
#include <urlmon.h>
#include <wininet.h>
#include <tchar.h>

Go to the source code of this file.

Data Structures

struct  CBindStatusCallback

Defines

#define COBJMACROS
#define URLDownloadToFile   URLDownloadToFileA
#define DWNL_E_LASTERROR   0
#define DWNL_E_NEEDTARGETFILENAME   -1
#define DWNL_E_UNSUPPORTEDSCHEME   -2
#define impl_to_interface(impl, iface)   (struct iface *)(&(impl)->lp##iface##Vtbl)
#define interface_to_impl(instance, iface)   ((CBindStatusCallback*)((ULONG_PTR)instance - FIELD_OFFSET(CBindStatusCallback,lp##iface##Vtbl)))

Functions

static void CBindStatusCallback_Destroy (CBindStatusCallback *This)
static void write_status (LPCTSTR lpFmt,...)
static void CBindStatusCallback_UpdateProgress (CBindStatusCallback *This)
static ULONG STDMETHODCALLTYPE CBindStatusCallback_AddRef (IBindStatusCallback *iface)
static ULONG STDMETHODCALLTYPE CBindStatusCallback_Release (IBindStatusCallback *iface)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_QueryInterface (IBindStatusCallback *iface, REFIID iid, PVOID *pvObject)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_OnStartBinding (IBindStatusCallback *iface, DWORD dwReserved, IBinding *pib)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_GetPriority (IBindStatusCallback *iface, LONG *pnPriority)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_OnLowResource (IBindStatusCallback *iface, DWORD reserved)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_OnProgress (IBindStatusCallback *iface, ULONG ulProgress, ULONG ulProgressMax, ULONG ulStatusCode, LPCWSTR szStatusText)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_OnStopBinding (IBindStatusCallback *iface, HRESULT hresult, LPCWSTR szError)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_GetBindInfo (IBindStatusCallback *iface, DWORD *grfBINDF, BINDINFO *pbindinfo)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_OnDataAvailable (IBindStatusCallback *iface, DWORD grfBSCF, DWORD dwSize, FORMATETC *pformatetc, STGMEDIUM *pstgmed)
static HRESULT STDMETHODCALLTYPE CBindStatusCallback_OnObjectAvailable (IBindStatusCallback *iface, REFIID riid, IUnknown *punk)
static IBindStatusCallbackCreateBindStatusCallback (void)
static int get_display_url (IN LPURL_COMPONENTS purl, OUT TCHAR *szBuffer, IN PDWORD pdwBufferSize)
static int download_file (IN LPCTSTR pszUrl, IN LPCTSTR pszFile OPTIONAL)
static int print_err (int iErr)
int _tmain (int argc, TCHAR **argv)

Variables

static struct
IBindStatusCallbackVtbl 
vtblIBindStatusCallback

Generated on Sun May 27 2012 04:42:32 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.