Next Topic

Previous Topic

Book Contents

SeekFromStart

int SeekFromStart(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, counted from the start of the file.

Remarks

The function will move the current position of the file pointer to iNumberofBytes from the start of the file. The pointer can be positioned beyond the end of the file, it will then clear the end of file marker.