BOOL rdp_server_accept_mcs_attach_user_request(rdpRdp* rdp, wStream* s) { if (!mcs_recv_attach_user_request(rdp->mcs, s)) return FALSE; if (!mcs_send_attach_user_confirm(rdp->mcs)) return FALSE; rdp_server_transition_to_state(rdp, CONNECTION_STATE_MCS_ATTACH_USER); return TRUE; }
boolean rdp_server_accept_mcs_attach_user_request(rdpRdp* rdp, STREAM* s) { if (!mcs_recv_attach_user_request(rdp->mcs, s)) return false; if (!mcs_send_attach_user_confirm(rdp->mcs)) return false; rdp->state = CONNECTION_STATE_MCS_ATTACH_USER; return true; }