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

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

revision 1176 by ossman_, Mon Mar 20 14:35:02 2006 UTC revision 1177 by ossman_, Tue Mar 21 14:42:25 2006 UTC
# Line 187  wndproc_hook_proc(int code, WPARAM cur_t Line 187  wndproc_hook_proc(int code, WPARAM cur_t
187                                  {                                  {
188                                          unsigned short title[150];                                          unsigned short title[150];
189                                          int state;                                          int state;
190                                            DWORD pid;
191                                            int flags;
192    
193                                          vchannel_write("CREATE", "0x%p,0x%p,0x%x", hwnd, parent, 0);                                          GetWindowThreadProcessId(hwnd, &pid);
194    
195                                            flags = 0;
196                                            if (style & DS_MODALFRAME)
197                                                    flags |= SEAMLESS_CREATE_MODAL;
198    
199                                            vchannel_write("CREATE", "0x%08lx,0x%08lx,0x%08lx,0x%08x",
200                                                           (long) hwnd, (long) pid, (long) parent,
201                                                           flags);
202    
203                                          GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));                                          GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
204    

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

  ViewVC Help
Powered by ViewVC 1.1.26