From d14be5730a5e9392b19d571ea8e05c903e2e99d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Thu, 14 Aug 2014 19:21:20 +0200 Subject: [PATCH] style fixes --- Foundation/src/Process_WIN32.cpp | 20 ++++++++++---------- Foundation/src/Process_WIN32U.cpp | 20 ++++++++++---------- Foundation/src/Process_WINCE.cpp | 20 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/Foundation/src/Process_WIN32.cpp b/Foundation/src/Process_WIN32.cpp index 7d63b1ea9..b944ce2a1 100644 --- a/Foundation/src/Process_WIN32.cpp +++ b/Foundation/src/Process_WIN32.cpp @@ -258,26 +258,26 @@ void ProcessImpl::killImpl(PIDImpl pid) bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle) { - BOOL fRC = true; - DWORD exit_code; + bool result = true; + DWORD exitCode; - GetExitCodeProcess(handle.process(), &exit_code); - if (exit_code != STILL_ACTIVE) fRC = false; + GetExitCodeProcess(handle.process(), &exitCode); + if (exitCode != STILL_ACTIVE) result = false; - return fRC; + return result; } bool ProcessImpl::isRunningImpl(PIDImpl pid) { HANDLE hProc = OpenProcess(PROCESS_TERMINATE, FALSE, pid); - BOOL fRC = true; - DWORD exit_code; + bool result = true; + DWORD exitCode; - GetExitCodeProcess(hProc, &exit_code); - if (exit_code != STILL_ACTIVE) fRC = false; + GetExitCodeProcess(hProc, &exitCode); + if (exitCode != STILL_ACTIVE) result = false; - return fRC; + return result; } diff --git a/Foundation/src/Process_WIN32U.cpp b/Foundation/src/Process_WIN32U.cpp index 05bed4042..505a166be 100644 --- a/Foundation/src/Process_WIN32U.cpp +++ b/Foundation/src/Process_WIN32U.cpp @@ -264,26 +264,26 @@ void ProcessImpl::killImpl(PIDImpl pid) bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle) { - BOOL fRC = true; - DWORD exit_code; + bool result = true; + DWORD exitCode; - GetExitCodeProcess(handle.process(), &exit_code); - if (exit_code != STILL_ACTIVE) fRC = false; + GetExitCodeProcess(handle.process(), &exitCode); + if (exitCode != STILL_ACTIVE) result = false; - return fRC; + return result; } bool ProcessImpl::isRunningImpl(PIDImpl pid) { HANDLE hProc = OpenProcess(PROCESS_TERMINATE, FALSE, pid); - BOOL fRC = true; - DWORD exit_code; + bool result = true; + DWORD exitCode; - GetExitCodeProcess(hProc, &exit_code); - if (exit_code != STILL_ACTIVE) fRC = false; + GetExitCodeProcess(hProc, &exitCode); + if (exitCode != STILL_ACTIVE) result = false; - return fRC; + return result; } diff --git a/Foundation/src/Process_WINCE.cpp b/Foundation/src/Process_WINCE.cpp index cc44c7d24..127a475a2 100644 --- a/Foundation/src/Process_WINCE.cpp +++ b/Foundation/src/Process_WINCE.cpp @@ -189,26 +189,26 @@ void ProcessImpl::killImpl(PIDImpl pid) bool ProcessImpl::isRunningImpl(const ProcessHandleImpl& handle) { - BOOL fRC = true; - DWORD exit_code; + bool result = true; + DWORD exitCode; - GetExitCodeProcess(handle.process(), &exit_code); - if (exit_code != STILL_ACTIVE) fRC = false; + GetExitCodeProcess(handle.process(), &exitCode); + if (exitCode != STILL_ACTIVE) result = false; - return fRC; + return result; } bool ProcessImpl::isRunningImpl(PIDImpl pid) { HANDLE hProc = OpenProcess(PROCESS_TERMINATE, FALSE, pid); - BOOL fRC = true; - DWORD exit_code; + bool result = true; + DWORD exitCode; - GetExitCodeProcess(hProc, &exit_code); - if (exit_code != STILL_ACTIVE) fRC = false; + GetExitCodeProcess(hProc, &exitCode); + if (exitCode != STILL_ACTIVE) result = false; - return fRC; + return result; }