Next Topic

Previous Topic

Book Contents

SeekFromCurrent

int SeekFromCurrent(int iNumberofBytes)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling global function GetLastError.

Parameters

  • iNumberofBytes - Number of bytes to reposition the file pointer by, relative to its current position.

Remarks

The function will move the file pointer relative its current position. Both negative and positive values can be specified. The pointer can be positioned beyond the end of the file, it will then clear the end of file marker.