/[rdesktop]/sourceforge.net/trunk/seamlessrdp/ServerExe/main.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/seamlessrdp/ServerExe/main.c

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

revision 1134 by ossman_, Wed Mar 15 12:11:02 2006 UTC revision 1135 by ossman_, Wed Mar 15 13:45:42 2006 UTC
# Line 71  static BOOL CALLBACK Line 71  static BOOL CALLBACK
71  enum_cb(HWND hwnd, LPARAM lparam)  enum_cb(HWND hwnd, LPARAM lparam)
72  {  {
73          RECT rect;          RECT rect;
74          char title[150];          unsigned short title[150];
75          LONG styles;          LONG styles;
76          int state;          int state;
77          HWND parent;          HWND parent;
# Line 98  enum_cb(HWND hwnd, LPARAM lparam) Line 98  enum_cb(HWND hwnd, LPARAM lparam)
98                         hwnd,                         hwnd,
99                         rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, 0);                         rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, 0);
100    
101          GetWindowText(hwnd, title, sizeof(title));          GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
102    
103          vchannel_write("TITLE,0x%x,%s,0x%x", hwnd, vchannel_strfilter(title), 0);          vchannel_write("TITLE,0x%x,%s,0x%x", hwnd, vchannel_strfilter_unicode(title), 0);
104    
105          if (styles & WS_MAXIMIZE)          if (styles & WS_MAXIMIZE)
106                  state = 2;                  state = 2;

Legend:
Removed from v.1134  
changed lines
  Added in v.1135

  ViewVC Help
Powered by ViewVC 1.1.26