Reference

URLDownloadToFileA(3w)

NAME

URLDownloadToFileA (URLMON.@)

SYNOPSIS

HRESULT URLDownloadToFileA
(
LPUNKNOWN pCaller,
LPCSTR szURL,
LPCSTR szFileName,
DWORD dwReserved,
LPBINDSTATUSCALLBACK lpfnCB
)

DESCRIPTION

Downloads Url szURL to rile szFileName and call lpfnCB callback to report progress.

PARAMS

pCaller [In] controlling IUnknown interface.

szURL [In] Url of the file to download.

szFileName [In] file name to store the content of the URL.

dwReserved [In] reserved - set to 0.

lpfnCB [In] callback for progress report.

RETURNS

S_OK on success

IMPLEMENTATION

Declared in "urlmon.h".

Implemented in "dlls/urlmon/download.c".

Debug channel "urlmon".

History