Skip to content

Commit f3a52a6

Browse files
authored
Merge pull request #5351 from peperronii/master
Added GetThreadDescription kernel32.odin
2 parents 91b5cec + a0e2931 commit f3a52a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/sys/windows/kernel32.odin

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ foreign kernel32 {
168168
ResumeThread :: proc(thread: HANDLE) -> DWORD ---
169169
GetThreadPriority :: proc(thread: HANDLE) -> c_int ---
170170
SetThreadPriority :: proc(thread: HANDLE, priority: c_int) -> BOOL ---
171+
GetThreadDescription :: proc(hThread: HANDLE, ppszThreadDescription: ^PCWSTR) -> HRESULT ---
171172
SetThreadDescription :: proc(hThread: HANDLE, lpThreadDescription: PCWSTR) -> HRESULT ---
172173
GetExitCodeThread :: proc(thread: HANDLE, exit_code: ^DWORD) -> BOOL ---
173174
TerminateThread :: proc(thread: HANDLE, exit_code: DWORD) -> BOOL ---

0 commit comments

Comments
 (0)