static void xf_send_rail_client_event(rdpChanMan* chanman, uint16 event_type, void* param) { RDP_EVENT* out_event = NULL; void * payload = NULL; payload = rail_clone_order(event_type, param); if (payload != NULL) { out_event = freerdp_event_new(RDP_EVENT_CLASS_RAIL, event_type, xf_on_free_rail_client_event, payload); freerdp_chanman_send_event(chanman, out_event); } }
static void xf_send_rail_client_event(rdpChannels* channels, UINT16 event_type, void* param) { wMessage* out_event = NULL; void* payload = NULL; payload = rail_clone_order(event_type, param); if (payload != NULL) { out_event = freerdp_event_new(RailChannel_Class, event_type, xf_on_free_rail_client_event, payload); freerdp_channels_send_event(channels, out_event); } }
void rail_send_channel_event(void* rail_object, uint16 event_type, void* param) { void * payload = NULL; RDP_EVENT* out_event = NULL; railPlugin* plugin = (railPlugin*) rail_object; payload = rail_clone_order(event_type, param); if (payload != NULL) { out_event = freerdp_event_new(RDP_EVENT_CLASS_RAIL, event_type, on_free_rail_channel_event, payload); svc_plugin_send_event((rdpSvcPlugin*) plugin, out_event); } }
void rail_send_channel_event(void* rail_object, UINT16 event_type, void* param) { void * payload = NULL; wMessage* out_event = NULL; railPlugin* plugin = (railPlugin*) rail_object; payload = rail_clone_order(event_type, param); if (payload != NULL) { out_event = freerdp_event_new(RailChannel_Class, event_type, on_free_rail_channel_event, payload); svc_plugin_send_event((rdpSvcPlugin*) plugin, out_event); } }
//----------------------------------------------------------------------------- static void send_ui_event2plugin( rdpChannels* chan_man, uint16 event_type, void * data ) { RDP_EVENT* out_event = NULL; void * payload = NULL; payload = rail_clone_order(event_type, data); if (payload != NULL) { out_event = freerdp_event_new(RDP_EVENT_CLASS_RAIL, event_type, test_on_free_rail_client_event, payload); freerdp_channels_send_event(chan_man, out_event); } }