IAPI::SetBinaryFilePos

property SetBinaryFilePos.

Sets the binary file pointer at a given position in bytes.

 

HRESULT SetBinaryFilePos(
  long hBinaryFile,
  long PosInByte,
  BOOL *pVal
);

Parameters

hBinaryFile

[in] . Handle of binary file

PosInByte

[in,defaultvalue(-1)] .

-1 positions at the end of file

n, positions n bytes from the beginning

pVal

[out, retval] The returned value is TRUE (success), FALSE (failed)

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