Use defines instad of channel names

This commit is contained in:
Armin Novak
2021-08-25 10:02:46 +02:00
committed by akallabeth
parent d9ea91361c
commit 054f0ea260
25 changed files with 151 additions and 58 deletions

View File

@@ -36,7 +36,7 @@ UINT shadow_client_channels_post_connect(rdpShadowClient* client)
shadow_client_remdesk_init(client);
}
if (WTSVirtualChannelManagerIsChannelJoined(client->vcm, "rdpsnd"))
if (WTSVirtualChannelManagerIsChannelJoined(client->vcm, RDPSND_DVC_CHANNEL_NAME))
{
shadow_client_rdpsnd_init(client);
}