2.2.3.1 Client Device List Announce (DR_DEVICELIST_ANNOUNCE)
The client announces a list of new file system devices to redirect on the server.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header |
|||||||||||||||||||||||||||||||
DeviceCount |
|||||||||||||||||||||||||||||||
DeviceAnnounce (variable) |
|||||||||||||||||||||||||||||||
... |
Header (4 bytes): An RDPDR_HEADER header. The Component field MUST be set to RDPDR_CTYP_CORE, and the PacketId field MUST be set to PAKID_CORE_DEVICELIST_ANNOUNCE.
DeviceCount (4 bytes): A 32-bit unsigned integer that specifies the number of entries in the DeviceAnnounce field.
DeviceAnnounce (variable): A variable-length array of DEVICE_ANNOUNCE (section 2.2.1.3) headers. The number of entries is specified by the DeviceCount field. Each entry is a DEVICE_ANNOUNCE header in which the DeviceType field MUST be set to RDPDR_DTYP_FILESYSTEM.<11> The drive name MUST be specified in the PreferredDosName field; however, if the drive name is larger than the allocated size of the PreferredDosName field, then the drive name MUST be truncated to fit. If the client supports DRIVE_CAPABILITY_VERSION_02 in the Drive Capability Set, then the full name MUST also be specified in the DeviceData field, as a null-terminated Unicode string. If the DeviceDataLength field is nonzero, the content of the PreferredDosName field is ignored. There is no alignment padding between individual DEVICE_ANNOUNCE headers. They are ordered sequentially within this packet.
-
Note The PreferredDosName field is used for all device types and is not limited to drives.