CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.28,1.29 hookdll.vcproj,1.4,1.5

Pierre Ossman <[email protected]> Mon, 20 Mar 2006 02:30:39 -0800
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27823/ServerExe/HookDll

Modified Files:
	hookdll.c hookdll.vcproj 
Log Message:
Add serial numbers to protocol.


Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** hookdll.c	20 Mar 2006 09:36:23 -0000	1.28
--- hookdll.c	20 Mar 2006 10:30:25 -0000	1.29
***************
*** 89,93 ****
  		return;
  
! 	vchannel_write("POSITION,0x%p,%d,%d,%d,%d,0x%x",
  		       hwnd,
  		       rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, 0);
--- 89,93 ----
  		return;
  
! 	vchannel_write("POSITION", "0x%p,%d,%d,%d,%d,0x%x",
  		       hwnd,
  		       rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, 0);
***************
*** 121,125 ****
  		return;
  
! 	vchannel_write("ZCHANGE,0x%p,0x%p,0x%x", hwnd, behind, 0);
  }
  
--- 121,125 ----
  		return;
  
! 	vchannel_write("ZCHANGE", "0x%p,0x%p,0x%x", hwnd, behind, 0);
  }
  
***************
*** 169,177 ****
  					int state;
  
! 					vchannel_write("CREATE,0x%p,0x%p,0x%x", hwnd, parent, 0);
  
  					GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
  
! 					vchannel_write("TITLE,0x%x,%s,0x%x", hwnd,
  						       vchannel_strfilter_unicode(title), 0);
  
--- 169,177 ----
  					int state;
  
! 					vchannel_write("CREATE", "0x%p,0x%p,0x%x", hwnd, parent, 0);
  
  					GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
  
! 					vchannel_write("TITLE", "0x%x,%s,0x%x", hwnd,
  						       vchannel_strfilter_unicode(title), 0);
  
***************
*** 185,193 ****
  					update_position(hwnd);
  
! 					vchannel_write("STATE,0x%p,0x%x,0x%x", hwnd, state, 0);
  				}
  
  				if (wp->flags & SWP_HIDEWINDOW)
! 					vchannel_write("DESTROY,0x%p,0x%x", hwnd, 0);
  
  				if (!(style & WS_VISIBLE) || (style & WS_MINIMIZE))
--- 185,193 ----
  					update_position(hwnd);
  
! 					vchannel_write("STATE", "0x%p,0x%x,0x%x", hwnd, state, 0);
  				}
  
  				if (wp->flags & SWP_HIDEWINDOW)
! 					vchannel_write("DESTROY", "0x%p,0x%x", hwnd, 0);
  
  				if (!(style & WS_VISIBLE) || (style & WS_MINIMIZE))
***************
*** 215,219 ****
  			if (!(style & WS_VISIBLE))
  				break;
! 			vchannel_write("DESTROY,0x%p,0x%x", hwnd, 0);
  			break;
  
--- 215,219 ----
  			if (!(style & WS_VISIBLE))
  				break;
! 			vchannel_write("DESTROY", "0x%p,0x%x", hwnd, 0);
  			break;
  
***************
*** 284,288 ****
  				   we need unicode. */
  				GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
! 				vchannel_write("TITLE,0x%p,%s,0x%x", hwnd,
  					       vchannel_strfilter_unicode(title), 0);
  				break;
--- 284,288 ----
  				   we need unicode. */
  				GetWindowTextW(hwnd, title, sizeof(title) / sizeof(*title));
! 				vchannel_write("TITLE", "0x%p,%s,0x%x", hwnd,
  					       vchannel_strfilter_unicode(title), 0);
  				break;
***************
*** 339,344 ****
  
  				if ((blocked_hwnd != (HWND) wparam) || (blocked != state))
! 					vchannel_write("STATE,0x%p,0x%x,0x%x", (HWND) wparam, state,
! 						       0);
  
  				break;
--- 339,344 ----
  
  				if ((blocked_hwnd != (HWND) wparam) || (blocked != state))
! 					vchannel_write("STATE", "0x%p,0x%x,0x%x", (HWND) wparam,
! 						       state, 0);
  
  				break;

Index: hookdll.vcproj
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.vcproj,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** hookdll.vcproj	9 Mar 2006 16:42:26 -0000	1.4
--- hookdll.vcproj	20 Mar 2006 10:30:25 -0000	1.5
***************
*** 125,134 ****
  			RelativePath="hookdll.c">
  		</File>
- 		<File
- 			RelativePath="..\vchannel.c">
- 		</File>
- 		<File
- 			RelativePath="..\vchannel.h">
- 		</File>
  	</Files>
  	<Globals>
--- 125,128 ----



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642