IAPI::ReadBinaryFile

property ReadBinaryFile.

Reads binary data from a binary file.

 

HRESULT ReadBinaryFile(
  long hBinaryFile,
  long *pVal
);

Parameters

hBinaryFile

[in] .   Handle of binary data

pVal

[out, retval] The returned value is a pointer to binary data.

Use ReadBinaryBytes() to get the size of the data

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