#pragma once #include #include "os/Process.h" #include "utils/Expected.h" #include #include namespace il2cpp { namespace os { class NativeMethods { public: static bool CloseProcess(ProcessHandle* handle); static utils::Expected GetExitCodeProcess(ProcessHandle* handle, int32_t* exitCode); static int32_t GetCurrentProcessId(); static utils::Expected GetCurrentProcess(); }; } }