aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-06-16 13:37:36 +0200
committerStefan Boberg <[email protected]>2023-06-16 13:37:36 +0200
commit5be092be044c2c1a3ed829b8796078d22648016e (patch)
treef3c6fffebba6f53037ed744eaa9829511bb17a2b /src/zencore/include
parentImprove resonse messages from jupiter upstream (#333) (diff)
downloadzen-5be092be044c2c1a3ed829b8796078d22648016e.tar.xz
zen-5be092be044c2c1a3ed829b8796078d22648016e.zip
added GetProcessId
this enables mapping the result of a CreateProc call to an integer pid
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/thread.h b/src/zencore/include/zencore/thread.h
index cc1a692a0..9ff98de8c 100644
--- a/src/zencore/include/zencore/thread.h
+++ b/src/zencore/include/zencore/thread.h
@@ -278,6 +278,7 @@ private:
ZENCORE_API bool IsProcessRunning(int pid);
ZENCORE_API int GetCurrentProcessId();
ZENCORE_API int GetCurrentThreadId();
+int GetProcessId(CreateProcResult ProcId);
ZENCORE_API void Sleep(int ms);