From d07172eaaabf0992e4195df37f327d8ff7993e18 Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 20 Feb 2014 11:29:53 +0000 Subject: [PATCH] Core: LocalProcess: GetProcessHandle git-svn-id: svn://ultimatepp.org/upp/trunk@6938 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/LocalProcess.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/uppsrc/Core/LocalProcess.h b/uppsrc/Core/LocalProcess.h index c48244564..370ce891e 100644 --- a/uppsrc/Core/LocalProcess.h +++ b/uppsrc/Core/LocalProcess.h @@ -65,7 +65,11 @@ public: #ifdef PLATFORM_POSIX int GetPid() const { return pid; } #endif - + +#ifdef PLATFORM_WIN32 + int GetProcessHandle() const { return hProcess; } +#endif + LocalProcess& ConvertCharset(bool b = true) { convertcharset = b; return *this; } LocalProcess& NoConvertCharset() { return ConvertCharset(false); }