2.2.4.10.1 Request
SMB_Parameters
{
UCHAR WordCount;
Words
{
SMB_FILE_ATTRIBUTES FileAttributes;
UTIME LastWriteTime;
USHORT Reserved[5];
}
}
SMB_Data
{
USHORT ByteCount;
Bytes
{
UCHAR BufferFormat;
SMB_STRING FileName;
}
}
|
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
SMB_Parameters |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
... |
SMB_Data (variable) |
||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
-
SMB_Parameters (17 bytes):
-
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1WordCount
Words
...
...
...
...
-
-
-
WordCount (1 byte): This field MUST be 0x08.
-
-
-
Words (16 bytes):
-
-
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1FileAttributes
LastWriteTime
...
Reserved
...
...
-
FileAttributes (2 bytes): This field is a 16-bit unsigned bit field encoded as SMB_FILE_ATTRIBUTES (section 2.2.4.10.1)
LastWriteTime (4 bytes): The time of the last write to the file.
Reserved (10 bytes): This field is reserved, and all bytes MUST be set to 0x00.
-
SMB_Data (variable):
-
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1ByteCount
Bytes (variable)
...
-
-
-
ByteCount (2 bytes): This field MUST be greater than or equal to 0x0002.
-
-
-
Bytes (variable):
-
-
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1BufferFormat
FileName (variable)
...
-
BufferFormat (1 byte): This field MUST be 0x04.
FileName (variable): A null-terminated string that represents the fully qualified name of the file relative to the supplied TID. This is the file for which attributes are set.