Parameters
hFile
[in] Handle to the file whose file pointer is to be moved. The file handle must have been created with GENERIC_READ or GENERIC_WRITE access to the file.
lDistanceToMove
Low-order 32 bits of a signed value that specifies the number of bytes to move the file pointer. A positive value for lDistanceToMove moves the file pointer forward in the file, and a negative value moves the file pointer backward. Note that you cannot use a negative value to move back past beyond the beginning of a file.
lpDistanceToMoveHigh
Not supported; must be NULL or point to a value of zero.
dwMoveMethod
[in] Starting point for the file pointer move. The following table shows possible values for this parameter.
Value Description
FILE_BEGIN Indicates that the starting point is zero or the beginning of the file.
FILE_CURRENT Indicates that the starting point is the current value of the file pointer.
FILE_END Indicates that the starting point is the current EOF position.