Partager via


2.4.31 FileNameInformation

This information class is used locally to query the name of a file. This information class returns a FILE_NAME_INFORMATION data element containing an absolute pathname (section 2.1.5).

This operation returns a status code as specified in section 2.2. Upon success, the status code returned by the function that processes this file information class is STATUS_SUCCESS. The most common error codes are listed in the following table.

Error code

Meaning

STATUS_NOT_SUPPORTED

0xC00000BB

The resource is not supported.

STATUS_BUFFER_OVERFLOW

0x80000005

The output buffer was filled before the complete name could be returned.