IAPI::HttpReadFile

property HttpReadFile.

Reads a Web based file opened with OpenHttpFile().

 

HRESULT HttpReadFile(
  long httpFileHandle,
  long *pVal
);

Parameters

httpFileHandle

[in] .   Handle of the Web file

pVal

[out, retval] The returned value is 1 if succeeded, 0 if end of file or error occurred.

If httpFileHandle is passed as negative, the returned value is the file size

in Kbytes (positive) or Bytes (negative)

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI