PFILE_STANDARD_INFORMATION Struct Reference

Used as an argument to routines that query or set file information. More...

#include <fileinfo.h>

Data Fields

LARGE_INTEGER AllocationSize
 
LARGE_INTEGER EndOfFile
 
ULONG NumberOfLinks
 
BOOLEAN DeletePending
 
BOOLEAN Directory
 

Detailed Description

Used as an argument to routines that query or set file information.

The struct is requested during IRP_MJ_QUERY_INFORMATION with query FileStandardInformation and FileAllInformation

Field Documentation

LARGE_INTEGER PFILE_STANDARD_INFORMATION::AllocationSize

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

BOOLEAN PFILE_STANDARD_INFORMATION::DeletePending

The delete pending status. TRUE indicates that a file deletion has been requested.

BOOLEAN PFILE_STANDARD_INFORMATION::Directory

The file directory status. TRUE indicates the file object represents a directory.

LARGE_INTEGER PFILE_STANDARD_INFORMATION::EndOfFile

The end of file location as a byte offset.

ULONG PFILE_STANDARD_INFORMATION::NumberOfLinks

The number of hard links to the file.


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