Description:
function that exported from WEBLOAD.DLL replacements.
Definition:
function LoadFile(app: THandle; url, tempfile,
ua, ref: PChar):PChar; stdcall;
Variables:
app - calling process handle
url - "http://" url of file to download
tempfile - temporary file path, where downloaded file
should be saved
ua - string, that should be used as HTTP user agent
ref - HTTP referer string
Should return:
content-type of downloaded file - if success
"Cancelled" string - if failed or cancelled
Notes:
- Strict usage of variables required!
- Currently Imager can display only GIF, JPEG and PNG downloaded via
WEBLOAD.DLL
|