/[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 1005 by astrand, Tue Aug 30 11:34:05 2005 UTC revision 1006 by astrand, Tue Aug 30 11:52:38 2005 UTC
# Line 147  LRESULT CALLBACK CallWndProc( int nCode, Line 147  LRESULT CALLBACK CallWndProc( int nCode,
147                    
148          case WM_CREATE:          case WM_CREATE:
149          if ( cs->style & WS_DLGFRAME ) {          if ( cs->style & WS_DLGFRAME ) {
150            
151              snprintf( result, sizeof( result ),              snprintf( result, sizeof( result ),
152                        "CREATE1,0x%p,0x%x\n",                        "CREATE1,0x%p,0x%x\n",
153                        details->hwnd, 0 );                        details->hwnd, 0 );
154              result[ sizeof( result ) - 1 ] = '\0';              result[ sizeof( result ) - 1 ] = '\0';
155              WriteToChannel( result );              WriteToChannel( result );
156                
157                snprintf( result, sizeof( result ),
158                          "SETSTATE1,0x%p,%s,0x%x,0x%x\n",
159                          details->hwnd,
160                          cs->lpszName,
161                          1,  // FIXME: Check for WS_MAXIMIZE/WS_MINIMIZE
162                          0 );
163                result[ sizeof( result ) - 1 ] = '\0';
164                WriteToChannel( result );
165                
166                snprintf( result, sizeof( result ),
167                          "POSITION1,0x%p,%d,%d,%d,%d,0x%x",
168                          details->hwnd,
169                          cs->x,
170                          cs->y,
171                          cs->cx,
172                          cs->cy,
173                          0 );
174                result[ sizeof( result ) - 1 ] = '\0';
175                WriteToChannel( result );
176                
177          }          }
178          break;          break;
179                    

Legend:
Removed from v.1005  
changed lines
  Added in v.1006

  ViewVC Help
Powered by ViewVC 1.1.26