This topic has not yet been rated - Rate this topic

FILE_NAME_INFO structure

Applies to: desktop apps | Metro style apps

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Redistributable

Windows SDK on Windows Server 2003 and Windows XP.

Header

WinBase.h (include Windows.h);
FileExtd.h on Windows Server 2003 and Windows XP

See also

FILE_INFO_BY_HANDLE_CLASS
GetFileInformationByHandleEx

 

 

Send comments about this topic to Microsoft

Build date: 4/17/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ