Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
FILE_NAME_INFORMATION structure (ntddk.h)
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[1]
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
| Requirement | Value |
|---|---|
| Header | ntddk.h (include Ntddk.h) |
See also
Feedback
Was this page helpful?
