2.2.2.3.3 QUERY Information Level Codes

QUERY information levels are used in TRANS2_QUERY_PATH_INFORMATION (section 2.2.6.6) and TRANS2_QUERY_FILE_INFORMATION (section 2.2.6.8) subcommand requests to indicate the level of information that a server MUST respond with for the file or directory indicated in the request.

Name

Code

Description

Dialect

SMB_INFO_STANDARD

0x0001

Query creation, access, and last write timestamps, size and file attributes.

LANMAN2.0

SMB_INFO_QUERY_EA_SIZE

0x0002

Query the SMB_INFO_STANDARD data along with the size of the file's extended attributes (EAs).

LANMAN2.0

SMB_INFO_QUERY_EAS_FROM_LIST

0x0003

Query a file's specific EAs by attribute name.

LANMAN2.0

SMB_INFO_QUERY_ALL_EAS

0x0004

Query all of a file's EAs.

LANMAN2.0

SMB_INFO_IS_NAME_VALID

0x0006

Validate the syntax of the path provided in the request. Not supported for TRANS2_QUERY_FILE_INFORMATION.

LANMAN2.0

SMB_QUERY_FILE_BASIC_INFO

0x0101

Query 64-bit create, access, write, and change timestamps along with extended file attributes.

NT LANMAN

SMB_QUERY_FILE_STANDARD_INFO

0x0102

Query size, number of links, if a delete is pending, and if the path is a directory.

NT LANMAN

SMB_QUERY_FILE_EA_INFO

0x0103

Query the size of the file's EAs.

NT LANMAN

SMB_QUERY_FILE_NAME_INFO

0x0104

Query the long file name in Unicode format.

NT LANMAN

SMB_QUERY_FILE_ALL_INFO

0x0107

Query the SMB_QUERY_FILE_BASIC_INFO, SMB_QUERY_FILE_STANDARD_INFO, SMB_QUERY_FILE_EA_INFO, and SMB_QUERY_FILE_NAME_INFO data as well as access flags, access mode, and alignment information in a single request.

NT LANMAN

SMB_QUERY_FILE_ALT_NAME_INFO

0x0108

Query the 8.3 file name.<22>

NT LANMAN

SMB_QUERY_FILE_STREAM_INFO

0x0109

Query file stream information.

NT LANMAN

SMB_QUERY_FILE_COMPRESSION_INFO

0x010B

Query file compression information.

NT LANMAN