[CMAKE] Some arm cmake fixes
[reactos.git] / modules / rostests / rosautotest / CProcess.h
1 /*
2 * PROJECT: ReactOS Automatic Testing Utility
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
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 };