static void rail_recv_notify_event(rdpRailOrder* rail_order, RDP_EVENT* event) { RAIL_NOTIFY_EVENT_ORDER* notify = (RAIL_NOTIFY_EVENT_ORDER*) event->user_data; memcpy(&rail_order->notify_event, notify, sizeof(RAIL_NOTIFY_EVENT_ORDER)); rail_send_client_notify_event_order(rail_order); }
static void rail_recv_notify_event(rdpRailOrder* rail_order, wMessage* event) { RAIL_NOTIFY_EVENT_ORDER* notify = (RAIL_NOTIFY_EVENT_ORDER*) event->wParam; CopyMemory(&rail_order->notify_event, notify, sizeof(RAIL_NOTIFY_EVENT_ORDER)); rail_send_client_notify_event_order(rail_order); }
int rail_client_notify_event(RailClientContext* context, RAIL_NOTIFY_EVENT_ORDER* notifyEvent) { railPlugin* rail = (railPlugin*) context->handle; rail_send_client_notify_event_order(rail, notifyEvent); return 0; }