SetFilePointerEx v0.1.0
Moves the file pointer of an open file.
Package: Windows
Microsoft documentation: SetFilePointerEx
Signature
func SetFilePointerEx(
file: *opaque,
distance: int64,
newPos: *int64,
moveMethod: SeekOrigin
) -> bool32;
Parameters
| Name | Description |
|---|---|
file | Open seekable handle. |
distance | Signed displacement from the selected origin. |
newPos | Receives the absolute position, or null. |
moveMethod | Begin, Current, or End. |
Returns
bool32 — nonzero on success or zero on failure.
See also
Windowstypes — shared type definitionsWindows— the package overview