/[rdesktop]/sourceforge.net/trunk/rdesktop/rdp.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 733 by jsorg71, Mon Jul 5 19:09:07 2004 UTC revision 738 by astrand, Mon Jul 12 21:07:39 2004 UTC
# Line 410  rdp_enum_bmpcache2(void) Line 410  rdp_enum_bmpcache2(void)
410                  out_uint32_le(s, flags);                  out_uint32_le(s, flags);
411    
412                  /* list */                  /* list */
413                  out_uint8a(s, idlist + offset * sizeof(BITMAP_ID),                  out_uint8a(s, idlist + offset * sizeof(BITMAP_ID), count * sizeof(BITMAP_ID));
                                 count * sizeof(BITMAP_ID));  
414    
415                  s_mark_end(s);                  s_mark_end(s);
416                  rdp_send_data(s, 0x2b);                  rdp_send_data(s, 0x2b);
# Line 561  rdp_out_bmpcache2_caps(STREAM s) Line 560  rdp_out_bmpcache2_caps(STREAM s)
560          {          {
561                  out_uint32_le(s, BMPCACHE2_C2_CELLS);                  out_uint32_le(s, BMPCACHE2_C2_CELLS);
562          }          }
563          out_uint8s(s, 20);              /* other bitmap caches not used */          out_uint8s(s, 20);      /* other bitmap caches not used */
564  }  }
565    
566  /* Output control capability set */  /* Output control capability set */
# Line 652  static uint8 caps_0x10[] = { Line 651  static uint8 caps_0x10[] = {
651    
652  /* Output unknown capability sets */  /* Output unknown capability sets */
653  static void  static void
654  rdp_out_unknown_caps(STREAM s, uint16 id, uint16 length, uint8 *caps)  rdp_out_unknown_caps(STREAM s, uint16 id, uint16 length, uint8 * caps)
655  {  {
656          out_uint16_le(s, id);          out_uint16_le(s, id);
657          out_uint16_le(s, length);          out_uint16_le(s, length);
# Line 672  rdp_send_confirm_active(void) Line 671  rdp_send_confirm_active(void)
671                  RDP_CAPLEN_BMPCACHE + RDP_CAPLEN_COLCACHE +                  RDP_CAPLEN_BMPCACHE + RDP_CAPLEN_COLCACHE +
672                  RDP_CAPLEN_ACTIVATE + RDP_CAPLEN_CONTROL +                  RDP_CAPLEN_ACTIVATE + RDP_CAPLEN_CONTROL +
673                  RDP_CAPLEN_POINTER + RDP_CAPLEN_SHARE +                  RDP_CAPLEN_POINTER + RDP_CAPLEN_SHARE +
674                  0x58 + 0x08 + 0x08 + 0x34 /* unknown caps */ +                  0x58 + 0x08 + 0x08 + 0x34 /* unknown caps */  +
675                  4 /* w2k fix, why? */ ;                  4 /* w2k fix, why? */ ;
676    
677          s = sec_init(sec_flags, 6 + 14 + caplen + sizeof(RDP_SOURCE));          s = sec_init(sec_flags, 6 + 14 + caplen + sizeof(RDP_SOURCE));
# Line 700  rdp_send_confirm_active(void) Line 699  rdp_send_confirm_active(void)
699          rdp_out_pointer_caps(s);          rdp_out_pointer_caps(s);
700          rdp_out_share_caps(s);          rdp_out_share_caps(s);
701    
702          rdp_out_unknown_caps(s, 0x0d, 0x58, caps_0x0d); /* international? */          rdp_out_unknown_caps(s, 0x0d, 0x58, caps_0x0d); /* international? */
703          rdp_out_unknown_caps(s, 0x0c, 0x08, caps_0x0c);          rdp_out_unknown_caps(s, 0x0c, 0x08, caps_0x0c);
704          rdp_out_unknown_caps(s, 0x0e, 0x08, caps_0x0e);          rdp_out_unknown_caps(s, 0x0e, 0x08, caps_0x0e);
705          rdp_out_unknown_caps(s, 0x10, 0x34, caps_0x10); /* glyph cache? */          rdp_out_unknown_caps(s, 0x10, 0x34, caps_0x10); /* glyph cache? */
706                                    
707          s_mark_end(s);          s_mark_end(s);
708          sec_send(s, sec_flags);          sec_send(s, sec_flags);
709  }  }
# Line 748  rdp_process_bitmap_caps(STREAM s) Line 747  rdp_process_bitmap_caps(STREAM s)
747          if (g_width != width || g_height != height)          if (g_width != width || g_height != height)
748          {          {
749                  warning("screen size changed from %dx%d to %dx%d\n", g_width, g_height,                  warning("screen size changed from %dx%d to %dx%d\n", g_width, g_height,
750                                  width, height);                          width, height);
751                  g_width = width;                  g_width = width;
752                  g_height = height;                  g_height = height;
753                  ui_resize_window();                  ui_resize_window();

Legend:
Removed from v.733  
changed lines
  Added in v.738

  ViewVC Help
Powered by ViewVC 1.1.26