Skip to content

Latest commit

 

History

History
76 lines (60 loc) · 2.45 KB

ns-wdm-_file_position_information.md

File metadata and controls

76 lines (60 loc) · 2.45 KB
UID title description old-location tech.root ms.date author keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:wdm._FILE_POSITION_INFORMATION
_FILE_POSITION_INFORMATION (wdm.h)
The FILE_POSITION_INFORMATION structure is used as an argument to routines that query or set file information.
kernel\file_position_information.htm
kernel
04/30/2018
lorihollasch
FILE_POSITION_INFORMATION structure
*PFILE_POSITION_INFORMATION, FILE_POSITION_INFORMATION, FILE_POSITION_INFORMATION structure [Kernel-Mode Driver Architecture], PFILE_POSITION_INFORMATION, PFILE_POSITION_INFORMATION structure pointer [Kernel-Mode Driver Architecture], _FILE_POSITION_INFORMATION, kernel.file_position_information, kstruct_b_5edd5ea9-9229-4764-86aa-24054a1ec9b9.xml, wdm/FILE_POSITION_INFORMATION, wdm/PFILE_POSITION_INFORMATION
wdm.h
Wdm.h, Ntddk.h, Ntifs.h
Windows
Windows
FILE_POSITION_INFORMATION, *PFILE_POSITION_INFORMATION
_FILE_POSITION_INFORMATION
wdm/_FILE_POSITION_INFORMATION
PFILE_POSITION_INFORMATION
wdm/PFILE_POSITION_INFORMATION
FILE_POSITION_INFORMATION
wdm/FILE_POSITION_INFORMATION
APIRef
kbSyntax
HeaderDef
Wdm.h
_FILE_POSITION_INFORMATION
PFILE_POSITION_INFORMATION
FILE_POSITION_INFORMATION

_FILE_POSITION_INFORMATION structure

-description

The FILE_POSITION_INFORMATION structure is used as an argument to routines that query or set file information.

-struct-fields

-field 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.

-see-also

ZwCreateFile

ZwSetInformationFile