Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

2.1.5.11.4 FileAlternateNameInformation

OutputBuffer is of type FILE_NAME_INFORMATION as described in [MS-FSCC]2.4.5.

Pseudocode for the operation is as follows:

  • If OutputBufferSize is smaller than BlockAlign(FieldOffset(FILE_NAME_INFORMATION.FileName) + 2, 4), the operation MUST be failed with STATUS_INFO_LENGTH_MISMATCH.

  • If Open.Link.ShortName is empty, the operation MUST be failed with STATUS_OBJECT_NAME_NOT_FOUND.

  • OutputBuffer MUST be constructed as follows:

    • OutputBuffer.FileNameLength set to the length, in bytes, of Open.Link.ShortName.

    • OutputBuffer.FileName set to Open.Link.ShortName.

  • Upon successful completion of the operation, the object store MUST return:

    • ByteCount set to FieldOffset(FILE_NAME_INFORMATION.FileName) + OutputBuffer.FileNameLength.

    • Status set to STATUS_SUCCESS.

 
Show:
© 2014 Microsoft. All rights reserved.