Click to Rate and Give Feedback
MSDN
MSDN Library

  Switch on low bandwidth view
Windows Driver Kit: Kernel-Mode Driver Architecture
FILE_NAME_INFORMATION

The FILE_NAME_INFORMATION structure is used as argument to the ZwQueryInformationFile and ZwSetInformationFile routines.

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
Specifies the first character of the file name string. This is followed in memory by the remainder of the string.

Comments

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

Headers: Declared in Ntddk.h. Include Ntddk.h.

See Also

ZwQueryInformationFile, ZwSetInformationFile

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker