#ifndef _NTIOAPI_H
typedef struct _FILE_NAME_INFORMATION
{
ULONG FileNameLength;
_Field_size_bytes_(FileNameLength) WCHAR FileName[1];
} FILE_NAME_INFORMATION, *PFILE_NAME_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.
Structure FILE_NAME_INFORMATION
contains name of queried file object. It's used as a result of call NtQueryInformationFile
with FileNameInformation
or FileAlternateNameInformation
information class.
Length of FileName
, in bytes.
UNICODE name of file. If caller query about FileNameInformation
, FileName
additionally contains path to file, and begins with '/' (full path to file relative to device).