FILE_STANDARD_INFO structure (winbase.h)

Receives extended information for the file. Used for file handles. Use only when calling GetFileInformationByHandleEx.

Syntax

typedef struct _FILE_STANDARD_INFO {
  LARGE_INTEGER AllocationSize;
  LARGE_INTEGER EndOfFile;
  DWORD         NumberOfLinks;
  BOOLEAN       DeletePending;
  BOOLEAN       Directory;
} FILE_STANDARD_INFO, *PFILE_STANDARD_INFO;

Members

AllocationSize

The amount of space that is allocated for the file.

EndOfFile

The end of the file.

NumberOfLinks

The number of links to the file.

DeletePending

TRUE if the file in the delete queue; otherwise, false.

Directory

TRUE if the file is a directory; otherwise, false.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header winbase.h (include Windows.h)
Redistributable Windows SDK on Windows Server 2003 and Windows XP.

See also

FILE_INFO_BY_HANDLE_CLASS

GetFileInformationByHandleEx