Freigeben über


2.2.1.2.4 SMB_FILE_ATTRIBUTES

An unsigned 16-bit field that defines the basic file attributes supported by the SMB Protocol. In addition, exclusive search attributes (those Names prefixed with SMB_SEARCH_ATTRIBUTE) are defined for use when searching for files within a directory.

Name and bitmask

Description

SMB_FILE_ATTRIBUTE_NORMAL

0x0000

Normal file.

SMB_FILE_ATTRIBUTE_READONLY

0x0001

Read-only file.

SMB_FILE_ATTRIBUTE_HIDDEN

0x0002

Hidden file.

SMB_FILE_ATTRIBUTE_SYSTEM

0x0004

System file.

SMB_FILE_ATTRIBUTE_VOLUME

0x0008

Volume Label.

SMB_FILE_ATTRIBUTE_DIRECTORY

0x0010

Directory file.

SMB_FILE_ATTRIBUTE_ARCHIVE

0x0020

File changed since last archive.

SMB_SEARCH_ATTRIBUTE_READONLY

0x0100

Search for Read-only files.

SMB_SEARCH_ATTRIBUTE_HIDDEN

0x0200

Search for Hidden files.

SMB_SEARCH_ATTRIBUTE_SYSTEM

0x0400

Search for System files.

SMB_SEARCH_ATTRIBUTE_DIRECTORY

0x1000

Search for Directory files.

SMB_SEARCH_ATTRIBUTE_ARCHIVE

0x2000

Search for files that have changed since they were last archived.

Other

0xC8C0

Reserved.