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

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

revision 1008 by astrand, Tue Aug 30 12:31:58 2005 UTC revision 1009 by astrand, Wed Aug 31 07:20:19 2005 UTC
# Line 26  HWND hWnd = 0; Line 26  HWND hWnd = 0;
26    
27  #define snprintf _snprintf  #define snprintf _snprintf
28    
29  HHOOK hCbtProc = 0;  HHOOK hCbtProc = 0;
30  HHOOK hShellProc = 0;  HHOOK hShellProc = 0;
31  HHOOK hWndProc = 0;  HHOOK hWndProc = 0;
32  HINSTANCE hInst = 0;  HINSTANCE hInst = 0;
# Line 103  LRESULT CALLBACK CallWndProc( int nCode, Line 103  LRESULT CALLBACK CallWndProc( int nCode,
103              break;              break;
104                            
105          snprintf( result, sizeof( result ),          snprintf( result, sizeof( result ),
106                    "POSITION1,0x%p,%d,%d,%d,%d,0x%x",                    "POSITION1,0x%p,%d,%d,%d,%d,0x%x\n",
107                    details->hwnd,                    details->hwnd,
108                    rect->left, rect->top,                    rect->left, rect->top,
109                    rect->right - rect->left,                    rect->right - rect->left,
# Line 155  LRESULT CALLBACK CallWndProc( int nCode, Line 155  LRESULT CALLBACK CallWndProc( int nCode,
155                        "SETSTATE1,0x%p,%s,0x%x,0x%x\n",                        "SETSTATE1,0x%p,%s,0x%x,0x%x\n",
156                        details->hwnd,                        details->hwnd,
157                        cs->lpszName,                        cs->lpszName,
158                        1,     // FIXME: Check for WS_MAXIMIZE/WS_MINIMIZE                        1,      // FIXME: Check for WS_MAXIMIZE/WS_MINIMIZE
159                        0 );                        0 );
160              result[ sizeof( result ) - 1 ] = '\0';              result[ sizeof( result ) - 1 ] = '\0';
161              WriteToChannel( result );              WriteToChannel( result );
162                            
163              snprintf( result, sizeof( result ),              snprintf( result, sizeof( result ),
164                        "POSITION1,0x%p,%d,%d,%d,%d,0x%x",                        "POSITION1,0x%p,%d,%d,%d,%d,0x%x\n",
165                        details->hwnd,                        details->hwnd,
166                        cs->x,                        cs->x,
167                        cs->y,                        cs->y,

Legend:
Removed from v.1008  
changed lines
  Added in v.1009

  ViewVC Help
Powered by ViewVC 1.1.26