2.2.2.3.4 SET Information Level Codes

SET information levels are used in TRANS2_SET_PATH_INFORMATION (section 2.2.6.7) and TRANS2_SET_FILE_INFORMATION (section 2.2.6.9) subcommand requests to indicate what level of information is being set on the file or directory in the request.

Name

Code

Description

Dialect

SMB_INFO_STANDARD

0x0001

Set creation, access, and last write timestamps.

LANMAN2.0

SMB_INFO_SET_EAS

0x0002

Set a specific list of extended attributes (EAs).

LANMAN2.0

SMB_SET_FILE_BASIC_INFO

0x0101

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

NT LANMAN

SMB_SET_FILE_DISPOSITION_INFO

0x0102

Set whether or not the file is marked for deletion.

NT LANMAN

SMB_SET_FILE_ALLOCATION_INFO

0x0103

Set file allocation size.

NT LANMAN

SMB_SET_FILE_END_OF_FILE_INFO

0x0104

Set file EOF offset.

NT LANMAN