void xf_process_rail_event(xfContext* xfc, rdpChannels* channels, wMessage* event) { switch (GetMessageType(event->id)) { case RailChannel_GetSystemParam: xf_process_rail_get_sysparams_event(xfc, channels, event); break; case RailChannel_ServerExecuteResult: xf_process_rail_exec_result_event(xfc, channels, event); break; case RailChannel_ServerSystemParam: xf_process_rail_server_sysparam_event(xfc, channels, event); break; case RailChannel_ServerMinMaxInfo: xf_process_rail_server_minmaxinfo_event(xfc, channels, event); break; case RailChannel_ServerLocalMoveSize: xf_process_rail_server_localmovesize_event(xfc, channels, event); break; case RailChannel_ServerGetAppIdResponse: xf_process_rail_appid_resp_event(xfc, channels, event); break; case RailChannel_ServerLanguageBarInfo: xf_process_rail_langbarinfo_event(xfc, channels, event); break; default: break; } }
void xf_process_rail_event(xfInfo* xfi, rdpChanMan* chanman, RDP_EVENT* event) { switch (event->event_type) { case RDP_EVENT_TYPE_RAIL_CHANNEL_GET_SYSPARAMS: xf_process_rail_get_sysparams_event(xfi, chanman, event); break; case RDP_EVENT_TYPE_RAIL_CHANNEL_EXEC_RESULTS: xf_process_rail_exec_result_event(xfi, chanman, event); break; case RDP_EVENT_TYPE_RAIL_CHANNEL_SERVER_SYSPARAM: xf_process_rail_server_sysparam_event(xfi, chanman, event); break; case RDP_EVENT_TYPE_RAIL_CHANNEL_SERVER_MINMAXINFO: xf_process_rail_server_minmaxinfo_event(xfi, chanman, event); break; case RDP_EVENT_TYPE_RAIL_CHANNEL_SERVER_LOCALMOVESIZE: xf_process_rail_server_localmovesize_event(xfi, chanman, event); break; case RDP_EVENT_TYPE_RAIL_CHANNEL_APPID_RESP: xf_process_rail_appid_resp_event(xfi, chanman, event); break; case RDP_EVENT_TYPE_RAIL_CHANNEL_LANGBARINFO: xf_process_rail_langbarinfo_event(xfi, chanman, event); break; default: break; } }