495 |
{ |
{ |
496 |
uint8 order_caps[32]; |
uint8 order_caps[32]; |
497 |
|
|
|
|
|
498 |
memset(order_caps, 0, 32); |
memset(order_caps, 0, 32); |
499 |
order_caps[0] = 1; /* dest blt */ |
order_caps[0] = 1; /* dest blt */ |
500 |
order_caps[1] = 1; /* pat blt */ |
order_caps[1] = 1; /* pat blt */ |
501 |
order_caps[2] = 1; /* screen blt */ |
order_caps[2] = 1; /* screen blt */ |
502 |
order_caps[3] = (g_bitmap_cache ? 1 : 0); /* memblt */ |
order_caps[3] = (g_bitmap_cache ? 1 : 0); /* memblt */ |
503 |
|
order_caps[4] = 0; /* triblt */ |
504 |
order_caps[8] = 1; /* line */ |
order_caps[8] = 1; /* line */ |
505 |
order_caps[9] = 1; /* line */ |
order_caps[9] = 1; /* line */ |
506 |
order_caps[10] = 1; /* rect */ |
order_caps[10] = 1; /* rect */ |
507 |
order_caps[11] = (g_desktop_save == False ? 0 : 1); /* desksave */ |
order_caps[11] = (g_desktop_save == False ? 0 : 1); /* desksave */ |
508 |
order_caps[13] = 1; /* memblt */ |
order_caps[13] = 1; /* memblt */ |
509 |
order_caps[14] = 1; /* triblt */ |
order_caps[14] = 1; /* triblt */ |
510 |
|
order_caps[20] = 1; /* polygon */ |
511 |
|
order_caps[21] = 1; /* polygon2 */ |
512 |
order_caps[22] = 1; /* polyline */ |
order_caps[22] = 1; /* polyline */ |
513 |
|
order_caps[25] = 1; /* ellipse */ |
514 |
|
order_caps[26] = 1; /* ellipse2 */ |
515 |
order_caps[27] = 1; /* text2 */ |
order_caps[27] = 1; /* text2 */ |
516 |
out_uint16_le(s, RDP_CAPSET_ORDER); |
out_uint16_le(s, RDP_CAPSET_ORDER); |
517 |
out_uint16_le(s, RDP_CAPLEN_ORDER); |
out_uint16_le(s, RDP_CAPLEN_ORDER); |