/[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 1165 by ossman_, Mon Mar 20 12:28:03 2006 UTC revision 1177 by ossman_, Tue Mar 21 14:42:25 2006 UTC
# Line 96  enum_cb(HWND hwnd, LPARAM lparam) Line 96  enum_cb(HWND hwnd, LPARAM lparam)
96          LONG styles;          LONG styles;
97          int state;          int state;
98          HWND parent;          HWND parent;
99            DWORD pid;
100            int flags;
101    
102          styles = GetWindowLong(hwnd, GWL_STYLE);          styles = GetWindowLong(hwnd, GWL_STYLE);
103    
# Line 107  enum_cb(HWND hwnd, LPARAM lparam) Line 109  enum_cb(HWND hwnd, LPARAM lparam)
109          else          else
110                  parent = NULL;                  parent = NULL;
111    
112          vchannel_write("CREATE", "0x%p,0x%p,0x%x", hwnd, parent, 0);          GetWindowThreadProcessId(hwnd, &pid);
113    
114            flags = 0;
115            if (styles & DS_MODALFRAME)
116                    flags |= SEAMLESS_CREATE_MODAL;
117    
118            vchannel_write("CREATE", "0x%08lx,0x%08lx,0x%08lx,0x%08x", (long) hwnd, (long) pid,
119                           (long) parent, flags);
120    
121          if (!GetWindowRect(hwnd, &rect))          if (!GetWindowRect(hwnd, &rect))
122          {          {

Legend:
Removed from v.1165  
changed lines
  Added in v.1177

  ViewVC Help
Powered by ViewVC 1.1.26