/[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 1442 by astrand, Thu Mar 6 15:35:28 2008 UTC revision 1444 by astrand, Thu Mar 6 15:41:11 2008 UTC
# Line 379  wndproc_hook_proc(int code, WPARAM cur_t Line 379  wndproc_hook_proc(int code, WPARAM cur_t
379          wparam = ((CWPSTRUCT *) details)->wParam;          wparam = ((CWPSTRUCT *) details)->wParam;
380          lparam = ((CWPSTRUCT *) details)->lParam;          lparam = ((CWPSTRUCT *) details)->lParam;
381    
         style = GetWindowLong(hwnd, GWL_STYLE);  
   
382          if (!is_toplevel(hwnd))          if (!is_toplevel(hwnd))
383          {          {
384                  goto end;                  goto end;
385          }          }
386    
387            style = GetWindowLong(hwnd, GWL_STYLE);
388    
389          switch (msg)          switch (msg)
390          {          {
391                  case WM_WINDOWPOSCHANGED:                  case WM_WINDOWPOSCHANGED:
# Line 530  wndprocret_hook_proc(int code, WPARAM cu Line 530  wndprocret_hook_proc(int code, WPARAM cu
530          wparam = ((CWPRETSTRUCT *) details)->wParam;          wparam = ((CWPRETSTRUCT *) details)->wParam;
531          lparam = ((CWPRETSTRUCT *) details)->lParam;          lparam = ((CWPRETSTRUCT *) details)->lParam;
532    
         style = GetWindowLong(hwnd, GWL_STYLE);  
   
533          if (!is_toplevel(hwnd))          if (!is_toplevel(hwnd))
534          {          {
535                  goto end;                  goto end;
536          }          }
537    
538            style = GetWindowLong(hwnd, GWL_STYLE);
539    
540          switch (msg)          switch (msg)
541          {          {
542                  case WM_WINDOWPOSCHANGED:                  case WM_WINDOWPOSCHANGED:

Legend:
Removed from v.1442  
changed lines
  Added in v.1444

  ViewVC Help
Powered by ViewVC 1.1.26