CVS: seamlessrdp/ServerExe/HookDll hookdll.c,1.36,1.37

Pierre Ossman <[email protected]> Fri, 28 Apr 2006 00:57:00 -0700
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-serv26548/ServerExe/HookDll

Modified Files:
	hookdll.c 
Log Message:
Send a destroy group command when a process is killed off.


Index: hookdll.c
===================================================================
RCS file: /cvsroot/rdesktop/seamlessrdp/ServerExe/HookDll/hookdll.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** hookdll.c	20 Apr 2006 12:56:18 -0000	1.36
--- hookdll.c	28 Apr 2006 07:56:57 -0000	1.37
***************
*** 597,600 ****
--- 597,602 ----
  
  		case DLL_PROCESS_DETACH:
+ 			vchannel_write("DESTROYGRP", "0x%08lx, 0x%08lx", GetCurrentProcessId(), 0);
+ 
  			WaitForSingleObject(g_mutex, INFINITE);
  			--g_instance_count;



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642