21 lines
362 B
C++
21 lines
362 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace il2cpp
|
|
{
|
|
namespace os
|
|
{
|
|
struct ProcessHandle;
|
|
|
|
class Process
|
|
{
|
|
public:
|
|
static int GetCurrentProcessId();
|
|
static ProcessHandle* GetProcess(int processId);
|
|
static void FreeProcess(ProcessHandle* handle);
|
|
static std::string GetProcessName(ProcessHandle* handle);
|
|
};
|
|
}
|
|
}
|