Directory Contents Search << >>


IFSSeekFile

long IFSSeekFile(HIFSFILE ifsfile, DWORD pos, int whence)

Positions an Internal File for subsequent calls to IFSREadFile.

Defined in: C:/HLPACCES/IFS.C

Return Value

The new file-position in the internal file relative to the start of the internal file.

Parameters

ifsfile

Handle of the internal file returned by IFSOpenFile

pos

new file-Postion

whence

0-Postion relative to start of file, 1-Postion relative to current position, 2-Position relative to end of file

Comments

This Function is also useful to retrieve the size of a internal File. by Specifying 2 (SEEK_END) for whence and 0 for pos

This function will not detect if the new position is before the start or after the end of the file.

logo