/[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 1102 by ossman_, Fri Mar 10 13:25:25 2006 UTC revision 1106 by ossman_, Fri Mar 10 13:47:41 2006 UTC
# Line 196  cbt_hook_proc(int code, WPARAM wparam, L Line 196  cbt_hook_proc(int code, WPARAM wparam, L
196    
197                                  show = LOWORD(lparam);                                  show = LOWORD(lparam);
198    
199                                  if (show == SW_SHOWNORMAL)                                  if ((show == SW_NORMAL) || (show == SW_SHOWNORMAL))
200                                          state = 0;                                          state = 0;
201                                  else if (show == SW_SHOWMINIMIZED)                                  else if ((show == SW_MINIMIZE) || (show == SW_SHOWMINIMIZED))
202                                          state = 1;                                          state = 1;
203                                  else if (show == SW_SHOWMAXIMIZED)                                  else if ((show == SW_MAXIMIZE) || (show == SW_SHOWMAXIMIZED))
204                                          state = 2;                                          state = 2;
205                                  else                                  else
206                                    {
207                                            debug("Unexpected show: %d", show);
208                                          break;                                          break;
209                                    }
210                                  vchannel_write("STATE,0x%p,0x%x,0x%x", (HWND) wparam, state, 0);                                  vchannel_write("STATE,0x%p,0x%x,0x%x", (HWND) wparam, state, 0);
211                                  break;                                  break;
212                          }                          }

Legend:
Removed from v.1102  
changed lines
  Added in v.1106

  ViewVC Help
Powered by ViewVC 1.1.26