19 #include <freerdp/config.h>
21 #include <freerdp/log.h>
24 #include "shadow_rdpgfx.h"
26 int shadow_client_rdpgfx_init(rdpShadowClient* client)
33 #if defined(CHANNEL_RDPGFX_SERVER)
34 RdpgfxServerContext* rdpgfx = client->rdpgfx = rdpgfx_server_context_new(client->vcm);
38 rdpgfx->rdpcontext = &client->context;
40 rdpgfx->custom = client;
42 if (!IFCALLRESULT(CHANNEL_RC_OK, rdpgfx->Initialize, rdpgfx, TRUE))
49 void shadow_client_rdpgfx_uninit(rdpShadowClient* client)
54 #if defined(CHANNEL_RDPGFX_SERVER)
55 rdpgfx_server_context_free(client->rdpgfx);
57 client->rdpgfx = NULL;
FREERDP_API BOOL freerdp_settings_get_bool(const rdpSettings *settings, FreeRDP_Settings_Keys_Bool id)
Returns a boolean settings value.