IAPI::WriteBinaryFile

property WriteBinaryFile.

Writes binary data into a binary file.

 

HRESULT WriteBinaryFile(
  long hBinaryFile,
  long pBinaryData,
  long Size,
  long *pVal
);

Parameters

hBinaryFile

[in] .   Handle of binary file.

pBinaryData

[in] .   Pointer to binary data

Size

[in] .   Size of the binary data

pVal

[out, retval] The returned value is the amount of bytes.

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