Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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[1]
The file name that is returned.
Remarks
If the call to GetFileInformationByHandleEx fails with ERROR_MORE_DATA because there was not enough
buffer space for the full length of the FileName then the FileNameLength
field will contain the required length of the FileName in bytes.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
| Header | winbase.h (include Windows.h) |
| Redistributable | Windows SDK on Windows Server 2003 and Windows XP. |