2.2.1.2.1 SMB_GEA

The SMB_GEA data structure is used in Transaction2 subcommand requests to request specific extended attribute (EA) name/value pairs by name. This structure is used when the SMB_INFO_QUERY_EAS_FROM_LIST information level is specified. "GEA" stands for "get extended attribute".

 SMB_GEA
   {        
   
   UCHAR      AttributeNameLengthInBytes;
   
   UCHAR AttributeName[AttributeNameLengthInBytes + 1];
   
   }


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

AttributeNameLengthInBytes

AttributeName (variable)

...

AttributeNameLengthInBytes (1 byte): This field MUST contain the length, in bytes (excluding the trailing null padding byte), of the AttributeName field.

AttributeName (variable): This field contains the name, in extended ASCII (OEM) characters, of an extended attribute. The length of the name MUST NOT exceed 255 bytes. An additional byte is added to store a null padding byte. This field MAY be interpreted as an OEM_STRING.