Update Process_WINCE.cpp

This commit is contained in:
Aleksandar Fabijanic 2014-08-12 18:39:01 -05:00
parent 83dd1ad16c
commit 2c36e51d8a

View File

@ -186,6 +186,7 @@ void ProcessImpl::killImpl(PIDImpl pid)
}
}
bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
{
BOOL fRC = true;
@ -196,6 +197,8 @@ bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
return fRC;
}
bool ProcessImpl::isRunningImpl(PIDImpl pid)
{
HANDLE hProc = OpenProcess(PROCESS_TERMINATE, FALSE, pid);