2.2.6 TSMM_CAPABILITIES Structure
This structure defines the video redirection capabilities for the client and the server.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CapabilityType |
|||||||||||||||||||||||||||||||
cbCapabilityLength |
|||||||||||||||||||||||||||||||
pCapabilityData (variable) |
|||||||||||||||||||||||||||||||
... |
CapabilityType (4 bytes): A 32-bit unsigned integer that indicates the capability type.<3>
cbCapabilityLength (4 bytes): A 32-bit unsigned integer. This field MUST contain the number of bytes in the pCapabilityData field. TheĀ number of bytes in the pCapabilityData field is dependent on the CapabilityType.<4>
pCapabilityData (variable): An array of 8-bit unsigned integers. This field contains the capability value. When the CapabilityType field is set to 0x00000001 for a protocol version request, the pCapabilityData field MUST be a 32-bit unsigned integer with a value of 0x00000002 to indicate client support for the current protocol version. When the CapabilityType field is set to 0x00000002, the pCapabilityData field MUST be a 32-bit unsigned integer representing a supported platform. The value for the supported platforms is derived as a union of the MMREDIR_CAPABILITY_PLATFORM constants defined in section 2.2.10. When the CapabilityType field is set to 0x00000003, the pCapabilityData field MUST be a 32-bit unsigned integer from the MMREDIR_CAPABILITY_AUDIOSUPPORT constants defined in section 2.2.15. The value of this integer constant determines whether audio is supported. When the CapabilityType field is set to 0x00000004, the pCapabilityData field MUST be a 32-bit unsigned integer integer indicating the one-way network latency in milliseconds.