Got (more) info from Jeroen Meijer. Fixed the mysterious opcode 8
using that information. Added a thankyou-comment. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@427 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
e158625b07
commit
f31cfb5f31
12
rdp5.c
12
rdp5.c
@ -26,7 +26,7 @@ extern uint8 *next_packet;
|
||||
void
|
||||
rdp5_process(STREAM s, BOOL encryption)
|
||||
{
|
||||
uint16 length, count;
|
||||
uint16 length, count, x, y;
|
||||
uint8 type;
|
||||
uint8 *next;
|
||||
|
||||
@ -49,6 +49,10 @@ rdp5_process(STREAM s, BOOL encryption)
|
||||
|
||||
switch (type)
|
||||
{
|
||||
/* Thanks to Jeroen Meijer <jdmeijer at yahoo
|
||||
dot com> for finding out the meaning of
|
||||
most of the opcodes here. Especially opcode
|
||||
8! :) */
|
||||
case 0: /* orders */
|
||||
in_uint16_le(s, count);
|
||||
process_orders(s, count);
|
||||
@ -66,6 +70,12 @@ rdp5_process(STREAM s, BOOL encryption)
|
||||
case 5:
|
||||
process_null_system_pointer_pdu(s);
|
||||
break;
|
||||
case 8:
|
||||
in_uint16_le(s, x);
|
||||
in_uint16_le(s, y);
|
||||
if (s_check(s))
|
||||
ui_move_pointer(x, y);
|
||||
break;
|
||||
case 9:
|
||||
process_colour_pointer_pdu(s);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user