PFILE_NETWORK_OPEN_INFORMATION Struct Reference

Used as an argument to ZwQueryInformationFile. More...

#include <fileinfo.h>

Data Fields

LARGE_INTEGER CreationTime
 
LARGE_INTEGER LastAccessTime
 
LARGE_INTEGER LastWriteTime
 
LARGE_INTEGER ChangeTime
 
LARGE_INTEGER AllocationSize
 
LARGE_INTEGER EndOfFile
 
ULONG FileAttributes
 

Detailed Description

Used as an argument to ZwQueryInformationFile.

The struct is requested during IRP_MJ_QUERY_VOLUME_INFORMATION query FileNetworkOpenInformation

Field Documentation

LARGE_INTEGER PFILE_NETWORK_OPEN_INFORMATION::AllocationSize

Specifies the file allocation size, in bytes. Usually, this value is a multiple of the sector or cluster size of the underlying physical device.

LARGE_INTEGER PFILE_NETWORK_OPEN_INFORMATION::ChangeTime

Specifies the time that the file was last changed.

LARGE_INTEGER PFILE_NETWORK_OPEN_INFORMATION::CreationTime

Specifies the time that the file was created.

LARGE_INTEGER PFILE_NETWORK_OPEN_INFORMATION::EndOfFile

Specifies the absolute end-of-file position as a byte offset from the start of the file. EndOfFile specifies the byte offset to the end of the file. Because this value is zero-based, it actually refers to the first free byte in the file. In other words, EndOfFile is the offset to the byte immediately following the last valid byte in the file.

ULONG PFILE_NETWORK_OPEN_INFORMATION::FileAttributes

Specifies one or more FILE_ATTRIBUTE_XXX flags. For descriptions of these flags, see the documentation of the GetFileAttributes function in the Microsoft Windows SDK.

LARGE_INTEGER PFILE_NETWORK_OPEN_INFORMATION::LastAccessTime

Specifies the time that the file was last accessed.

LARGE_INTEGER PFILE_NETWORK_OPEN_INFORMATION::LastWriteTime

Specifies he time that the file was last written to.


The documentation for this struct was generated from the following file: