ReactOS 0.4.16-dev-598-gc07fba4
|
#include <CProcess.h>
Public Member Functions | |
CProcess (const wstring &CommandLine, LPSTARTUPINFOW StartupInfo) | |
~CProcess () | |
HANDLE | GetProcessHandle () const |
Private Attributes | |
PROCESS_INFORMATION | m_ProcessInfo |
Definition at line 8 of file CProcess.h.
CProcess::CProcess | ( | const wstring & | CommandLine, |
LPSTARTUPINFOW | StartupInfo | ||
) |
Constructs a CProcess object and uses the CreateProcessW function to start the process immediately.
CommandLine | A std::wstring containing the command line to run |
StartupInfo | Pointer to a STARTUPINFOW structure containing process startup information |
Definition at line 19 of file CProcess.cpp.
CProcess::~CProcess | ( | ) |
Destructs a CProcess object, terminates the process if running, and closes all handles belonging to the process.
Definition at line 32 of file CProcess.cpp.
|
inline |
Definition at line 17 of file CProcess.h.
|
private |
Definition at line 11 of file CProcess.h.
Referenced by CProcess(), GetProcessHandle(), and ~CProcess().