Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 133 of file rdp.c.
Referenced by rdp_enum_bmpcache2(), rdp_send_client_window_status(), rdp_send_control(), rdp_send_fonts(), rdp_send_input(), and rdp_send_synchronise().
{ uint16 length; s_pop_layer(s, rdp_hdr); length = s->end - s->p; out_uint16_le(s, length); out_uint16_le(s, (RDP_PDU_DATA | 0x10)); out_uint16_le(s, (g_mcs_userid + 1001)); out_uint32_le(s, g_rdp_shareid); out_uint8(s, 0); /* pad */ out_uint8(s, 1); /* streamid */ out_uint16_le(s, (length - 14)); out_uint8(s, data_pdu_type); out_uint8(s, 0); /* compress_type */ out_uint16(s, 0); /* compress_len */ sec_send(s, g_encryption ? SEC_ENCRYPT : 0); }