Badminton-Scoreboard/Libraries/libil2cpp/include/os/NativeMethods.h

24 lines
481 B
C
Raw Normal View History

2023-10-08 02:24:48 +00:00
#pragma once
#include <stdint.h>
#include "os/Process.h"
#include "utils/Expected.h"
#include <vector>
#include <string>
namespace il2cpp
{
namespace os
{
class NativeMethods
{
public:
static bool CloseProcess(ProcessHandle* handle);
static utils::Expected<bool> GetExitCodeProcess(ProcessHandle* handle, int32_t* exitCode);
static int32_t GetCurrentProcessId();
static utils::Expected<ProcessHandle*> GetCurrentProcess();
};
}
}