IAPI::SetBinaryFileHugePos

property SetBinaryFileHugePos.

Sets the binary file pointer at a given position in bytes when its size is more than 2 GB.

 

HRESULT SetBinaryFileHugePos(
  long hBinaryFile,
  BSTR Over2GBPos,
  BOOL *pVal
);

Parameters

hBinaryFile

[in] .   Handle of binary file

Over2GBPos

[in] .   String containing value over 2 GB

“-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