commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r802455 - /commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
Date Sat, 08 Aug 2009 20:47:02 GMT
Author: mturk
Date: Sat Aug  8 20:47:02 2009
New Revision: 802455

URL: http://svn.apache.org/viewvc?rev=802455&view=rev
Log:
Grab ExitProcess from kernel32.dll so it can be injected into remote process for shutting
down

Modified:
    commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h

Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h?rev=802455&r1=802454&r2=802455&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h Sat Aug
 8 20:47:02 2009
@@ -440,6 +440,13 @@
 
 #define ACR_HAVE_LATE_DLL_FUNC(fn) acr_winapi_ld_##fn()
 
+ACR_DECLARE_LATE_DLL_VOID(SYSDLL_KERNEL32, WINAPI,
+                          ExitProcess, 0, (
+    IN UINT uExitCode),
+    (uExitCode));
+#undef  fnExitProcess
+#define fnExitProcess acr_winapi_ExitProcess
+
 ACR_DECLARE_LATE_DLL_FUNC(SYSDLL_KERNEL32, BOOL, FALSE,
                           WINAPI, GetSystemTimes, 0, (
     OUT LPFILETIME lpIdleTime,



Mime
View raw message