aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows
diff options
context:
space:
mode:
authorPePerRoNii <wachiraphol.yin@gmail.com>2025-06-17 15:36:48 +0700
committerPePerRoNii <wachiraphol.yin@gmail.com>2025-06-17 15:36:48 +0700
commita0e2931dc2c749421e9ef98162b5914c9c168efb (patch)
tree7e14608f9df2b24a772ed8c5d69e6a805636dd0e /core/sys/windows
parent91b5cec8e82b93941fa236fd6ccf59e1e63dccb5 (diff)
Added GetThreadDescription kernal32.odin
Diffstat (limited to 'core/sys/windows')
-rw-r--r--core/sys/windows/kernel32.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/sys/windows/kernel32.odin b/core/sys/windows/kernel32.odin
index 5c02cecf2..76f2897ac 100644
--- a/core/sys/windows/kernel32.odin
+++ b/core/sys/windows/kernel32.odin
@@ -168,6 +168,7 @@ foreign kernel32 {
ResumeThread :: proc(thread: HANDLE) -> DWORD ---
GetThreadPriority :: proc(thread: HANDLE) -> c_int ---
SetThreadPriority :: proc(thread: HANDLE, priority: c_int) -> BOOL ---
+ GetThreadDescription :: proc(hThread: HANDLE, ppszThreadDescription: ^PCWSTR) -> HRESULT ---
SetThreadDescription :: proc(hThread: HANDLE, lpThreadDescription: PCWSTR) -> HRESULT ---
GetExitCodeThread :: proc(thread: HANDLE, exit_code: ^DWORD) -> BOOL ---
TerminateThread :: proc(thread: HANDLE, exit_code: DWORD) -> BOOL ---