mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-06 00:31:10 +01:00
Update Process_WINCE.cpp
This commit is contained in:
parent
83dd1ad16c
commit
2c36e51d8a
@ -186,6 +186,7 @@ void ProcessImpl::killImpl(PIDImpl pid)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
|
bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
|
||||||
{
|
{
|
||||||
BOOL fRC = true;
|
BOOL fRC = true;
|
||||||
@ -196,6 +197,8 @@ bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle)
|
|||||||
|
|
||||||
return fRC;
|
return fRC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ProcessImpl::isRunningImpl(PIDImpl pid)
|
bool ProcessImpl::isRunningImpl(PIDImpl pid)
|
||||||
{
|
{
|
||||||
HANDLE hProc = OpenProcess(PROCESS_TERMINATE, FALSE, pid);
|
HANDLE hProc = OpenProcess(PROCESS_TERMINATE, FALSE, pid);
|
||||||
|
Loading…
Reference in New Issue
Block a user