71 |
|
|
72 |
#if WITH_DEBUG |
#if WITH_DEBUG |
73 |
DEBUG(("RDP packet #%d, (type %x)\n", ++g_packetno, *type)); |
DEBUG(("RDP packet #%d, (type %x)\n", ++g_packetno, *type)); |
74 |
// hexdump(g_next_packet, length); |
hexdump(g_next_packet, length); |
75 |
#endif /* */ |
#endif /* */ |
76 |
|
|
77 |
g_next_packet += length; |
g_next_packet += length; |
724 |
DEBUG(("BITMAP_UPDATE(l=%d,t=%d,r=%d,b=%d,w=%d,h=%d,Bpp=%d,cmp=%d)\n", |
DEBUG(("BITMAP_UPDATE(l=%d,t=%d,r=%d,b=%d,w=%d,h=%d,Bpp=%d,cmp=%d)\n", |
725 |
left, top, right, bottom, width, height, Bpp, compress)); |
left, top, right, bottom, width, height, Bpp, compress)); |
726 |
|
|
727 |
|
/* Server may limit bpp - this is how we find out */ |
728 |
|
if (g_server_bpp != bpp) |
729 |
|
{ |
730 |
|
warning("Server limited colour depth to %d bits\n", bpp); |
731 |
|
g_server_bpp = bpp; |
732 |
|
} |
733 |
|
|
734 |
if (!compress) |
if (!compress) |
735 |
{ |
{ |
736 |
int y; |
int y; |
865 |
/* User logged on */ |
/* User logged on */ |
866 |
break; |
break; |
867 |
|
|
868 |
|
case RDP_DATA_PDU_DISCONNECT: |
869 |
|
/* Normally received when user logs out or disconnects from a |
870 |
|
console session on Windows XP and 2003 Server */ |
871 |
|
DEBUG(("Received disconnect PDU\n")); |
872 |
|
break; |
873 |
|
|
874 |
default: |
default: |
875 |
unimpl("data PDU %d\n", data_pdu_type); |
unimpl("data PDU %d\n", data_pdu_type); |
876 |
} |
} |