19 #include <freerdp/config.h>
23 #include "shadow_channels.h"
25 UINT shadow_client_channels_post_connect(rdpShadowClient* client)
27 if (WTSVirtualChannelManagerIsChannelJoined(client->vcm, ENCOMSP_SVC_CHANNEL_NAME))
29 shadow_client_encomsp_init(client);
32 if (WTSVirtualChannelManagerIsChannelJoined(client->vcm, REMDESK_SVC_CHANNEL_NAME))
34 shadow_client_remdesk_init(client);
37 if (WTSVirtualChannelManagerIsChannelJoined(client->vcm, RDPSND_CHANNEL_NAME))
39 shadow_client_rdpsnd_init(client);
42 shadow_client_audin_init(client);
44 shadow_client_rdpgfx_init(client);
49 void shadow_client_channels_free(rdpShadowClient* client)
51 shadow_client_rdpgfx_uninit(client);
52 shadow_client_audin_uninit(client);
53 shadow_client_rdpsnd_uninit(client);
54 shadow_client_remdesk_uninit(client);
55 shadow_client_encomsp_uninit(client);