_FILE_NAME_INFO structure

Receives the file name. Used for any handles. Use only when calling GetFileInformationByHandleEx.

Syntax

typedef struct _FILE_NAME_INFO {
  DWORD FileNameLength;
  WCHAR FileName[1];
} FILE_NAME_INFO, *PFILE_NAME_INFO;

Members

FileNameLength

The size of the FileName string, in bytes.

FileName

The file name that is returned.

Requirements

   
Windows version Windows Vista [desktop apps | UWP apps] Windows Server 2008 [desktop apps | UWP apps]
Header winbase.h (include Windows.h)

See Also

FILE_INFO_BY_HANDLE_CLASS

GetFileInformationByHandleEx