Output "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest
[reactos.git] / rostests / rosautotest / CProcess.h
1 /*
2 * PROJECT: ReactOS Automatic Testing Utility
3 * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation
4 * PURPOSE: Class able to create a new process and closing its handles on destruction (exception-safe)
5 * COPYRIGHT: Copyright 2009 Colin Finck <colin@reactos.org>
6 */
7
8 class CProcess
9 {
10 private:
11 PROCESS_INFORMATION m_ProcessInfo;
12
13 public:
14 CProcess(const wstring& CommandLine, LPSTARTUPINFOW StartupInfo);
15 ~CProcess();
16
17 HANDLE GetProcessHandle() const { return m_ProcessInfo.hProcess; }
18 };