Function Reference


_WinAPI_SetFilePointerEx

Moves the file pointer of the specified file

#include <WinAPIFiles.au3>
_WinAPI_SetFilePointerEx ( $hFile, $iPos [, $iMethod = 0] )

Parameters

$hFile Handle to the file.
$iPos The number of bytes to move the file pointer. A positive value moves the pointer forward in the
file and a negative value moves the file pointer backward.
$iMethod [optional] The starting point for the file pointer move. This parameter can be one of the following values.
$FILE_BEGIN (Default)
$FILE_CURRENT
$FILE_END

Return Value

Success: True.
Failure: False, call _WinAPI_GetLastError() to get extended error information.

See Also

Search SetFilePointerEx in MSDN Library.