void freerdp_channels_dummy() { audin_server_context_new(NULL); audin_server_context_free(NULL); rdpsnd_server_context_new(NULL); rdpsnd_server_context_free(NULL); cliprdr_server_context_new(NULL); cliprdr_server_context_free(NULL); echo_server_context_new(NULL); echo_server_context_free(NULL); rdpdr_server_context_new(NULL); rdpdr_server_context_free(NULL); drdynvc_server_context_new(NULL); drdynvc_server_context_free(NULL); rdpei_server_context_new(NULL); rdpei_server_context_free(NULL); remdesk_server_context_new(NULL); remdesk_server_context_free(NULL); encomsp_server_context_new(NULL); encomsp_server_context_free(NULL); rdpgfx_server_context_new(NULL); rdpgfx_server_context_free(NULL); }
int shadow_client_remdesk_init(rdpShadowClient* client) { RemdeskServerContext* remdesk; remdesk = client->remdesk = remdesk_server_context_new(client->vcm); remdesk->custom = (void*) client; if (client->remdesk) client->remdesk->Start(client->remdesk); return 1; }