if (rdp->do_secure_checksum)
rdp->sec_flags |= SEC_SECURE_CHECKSUM;
}
- stream_seek(s, fastpath_get_sec_bytes(rdp));
+
+ Stream_Seek(s, fastpath_get_sec_bytes(rdp));
+
+ return s;
+ }
+
+ wStream* fastpath_input_pdu_init(rdpFastPath* fastpath, BYTE eventFlags, BYTE eventCode)
+ {
+ rdpRdp *rdp;
+ wStream* s;
+
+ rdp = fastpath->rdp;
+
+ s = fastpath_input_pdu_init_header(fastpath);
stream_write_BYTE(s, eventFlags | (eventCode << 5)); /* eventHeader (1 byte) */
+
return s;
}
}
eventHeader = FASTPATH_INPUT_ACTION_FASTPATH;
++<<<<<<< HEAD
+ eventHeader |= (1 << 2); /* numberEvents */
+
++=======
+ eventHeader |= (iNumEvents << 2); /* numberEvents */
++>>>>>>> f1672948ff0b5f6a9d3cda658a18104df3c3d1e4
if (rdp->sec_flags & SEC_ENCRYPT)
eventHeader |= (FASTPATH_INPUT_ENCRYPTED << 6);
if (rdp->sec_flags & SEC_SECURE_CHECKSUM)