- or download this
HRESULT -> N or I, not sure
URLDownloadToFile(
...
DWORD dwReserved, -> N
LPBINDSTATUSCALLBACK lpfnCB -> P
);
- or download this
Win32::API->Import(
'urlmon', 'URLDownloadToFile', 'PPPNP', 'N',
...
$dwReserved,
$lpfnCB,
) or die Win32::FormatMessage(Win32::GetLastError);
- or download this
HRESULT WINAPI URLDownloadToFile(
LPUNKNOWN pCaller,
...
DWORD dwReserved,
LPBINDSTATUSCALLBACK lpfnCB
);