FILE_POSITION_INFORMATION structure (wdm.h)
The FILE_POSITION_INFORMATION structure is used as an argument to routines that query or set file information.
Syntax
typedef struct _FILE_POSITION_INFORMATION {
LARGE_INTEGER CurrentByteOffset;
} FILE_POSITION_INFORMATION, *PFILE_POSITION_INFORMATION;
Members
CurrentByteOffset
The byte offset of the current file pointer.
Remarks
FILE_READ_DATA or FILE_WRITE_DATA access to the file is required to change this information about the file, and the file must be opened for synchronous I/O.
If the file was opened or created with the FILE_NO_INTERMEDIATE_BUFFERING option, the value of CurrentByteOffset must be an integral multiple of the sector size of the underlying device.
Requirements
Requirement | Value |
---|---|
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for