Reference

URLDownloadToFileW(3w)

NAME

URLDownloadToFileW (URLMON.@)

SYNOPSIS

HRESULT URLDownloadToFileW
(
LPUNKNOWN pCaller,
LPCWSTR szURL,
LPCWSTR szFileName,
DWORD dwReserved,
LPBINDSTATUSCALLBACK lpfnCB
)

DESCRIPTION

Downloads Url szURL to file 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