2.4.2 FileAllInformation
This information class is used to query a collection of file information structures.
A FILE_ALL_INFORMATION data element, defined as follows, is returned by the server.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BasicInformation (40 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
StandardInformation (24 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
InternalInformation |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
EaInformation |
|||||||||||||||||||||||||||||||
AccessInformation |
|||||||||||||||||||||||||||||||
PositionInformation |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
ModeInformation |
|||||||||||||||||||||||||||||||
AlignmentInformation |
|||||||||||||||||||||||||||||||
NameInformation (variable) |
|||||||||||||||||||||||||||||||
... |
BasicInformation (40 bytes): A FILE_BASIC_INFORMATION structure specified in section 2.4.7.
StandardInformation (24 bytes): A FILE_STANDARD_INFORMATION structure specified in section 2.4.45.
InternalInformation (8 bytes): A FILE_INTERNAL_INFORMATION structure specified in section 2.4.26.
EaInformation (4 bytes): A FILE_EA_INFORMATION structure specified in section 2.4.12.
AccessInformation (4 bytes): A FILE_ACCESS_INFORMATION structure specified in section 2.4.1.
PositionInformation (8 bytes): A FILE_POSITION_INFORMATION structure specified in section 2.4.39.
ModeInformation (4 bytes): A FILE_MODE_INFORMATION structure specified in section 2.4.30.
AlignmentInformation (4 bytes): A FILE_ALIGNMENT_INFORMATION structure specified in section 2.4.3.
NameInformation (variable): A FILE_NAME_INFORMATION structure specified in section 2.4.31.
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_INFO_LENGTH_MISMATCH 0xC0000004 |
The specified information record length does not match the length that is required for the specified information class. |