Export (0) Print
Expand All
IRP
MDL
Expand Minimize

FILE_NAME_INFORMATION structure

The FILE_NAME_INFORMATION structure is used as argument to the ZwQueryInformationFile and ZwSetInformationFile routines.

Syntax


typedef struct _FILE_NAME_INFORMATION {
  ULONG FileNameLength;
  WCHAR FileName[1];
} FILE_NAME_INFORMATION, *PFILE_NAME_INFORMATION;

Members

FileNameLength

Specifies the length, in bytes, of the file name string.

FileName

Specifies the first character of the file name string. This is followed in memory by the remainder of the string.

Remarks

The ZwQueryInformationFile routine uses this structure to return the file name string to the caller. For more information about the form of the name returned, see ZwQueryInformationFile.

Callers of ZwSetInformationFile can use this structure to specify a new short name for a file.

Requirements

Header

Ntddk.h (include Ntddk.h)

See also

ZwQueryInformationFile
ZwSetInformationFile

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft