ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

static void rdp_send_data ( STREAM  s,
uint8  data_pdu_type 
) [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);
}

Generated on Sun May 27 2012 04:42:17 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.