Parses the SupportStatusInfoPdu early capability and send it to clients if supported
This commit is contained in:
parent
6af6aba144
commit
4e0003533e
@ -836,6 +836,9 @@ BOOL gcc_read_client_core_data(wStream* s, rdpMcs* mcs, UINT16 blockLength)
|
||||
settings->SupportMonitorLayoutPdu = (earlyCapabilityFlags &
|
||||
RNS_UD_CS_SUPPORT_MONITOR_LAYOUT_PDU) ? TRUE : FALSE;
|
||||
|
||||
if (settings->SupportStatusInfoPdu)
|
||||
settings->SupportStatusInfoPdu = (earlyCapabilityFlags & RNS_UD_CS_SUPPORT_STATUSINFO_PDU) ? TRUE : FALSE;
|
||||
|
||||
if (!(earlyCapabilityFlags & RNS_UD_CS_VALID_CONNECTION_TYPE))
|
||||
connectionType = 0;
|
||||
|
||||
@ -937,6 +940,9 @@ void gcc_write_client_core_data(wStream* s, rdpMcs* mcs)
|
||||
if (settings->SupportMonitorLayoutPdu)
|
||||
earlyCapabilityFlags |= RNS_UD_CS_SUPPORT_MONITOR_LAYOUT_PDU;
|
||||
|
||||
if (settings->SupportStatusInfoPdu)
|
||||
earlyCapabilityFlags |= RNS_UD_CS_SUPPORT_STATUSINFO_PDU;
|
||||
|
||||
Stream_Write_UINT16(s, highColorDepth); /* highColorDepth */
|
||||
Stream_Write_UINT16(s, supportedColorDepths); /* supportedColorDepths */
|
||||
Stream_Write_UINT16(s, earlyCapabilityFlags); /* earlyCapabilityFlags */
|
||||
|
Loading…
Reference in New Issue
Block a user