mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Merge pull request #3184 from Lperlind/master
Add more window procedures
This commit is contained in:
@@ -130,6 +130,7 @@ foreign kernel32 {
|
|||||||
ResumeThread :: proc(thread: HANDLE) -> DWORD ---
|
ResumeThread :: proc(thread: HANDLE) -> DWORD ---
|
||||||
GetThreadPriority :: proc(thread: HANDLE) -> c_int ---
|
GetThreadPriority :: proc(thread: HANDLE) -> c_int ---
|
||||||
SetThreadPriority :: proc(thread: HANDLE, priority: c_int) -> BOOL ---
|
SetThreadPriority :: proc(thread: HANDLE, priority: c_int) -> BOOL ---
|
||||||
|
SetThreadDescription :: proc(hThread: HANDLE, lpThreadDescription: PCWSTR) -> HRESULT ---
|
||||||
GetExitCodeThread :: proc(thread: HANDLE, exit_code: ^DWORD) -> BOOL ---
|
GetExitCodeThread :: proc(thread: HANDLE, exit_code: ^DWORD) -> BOOL ---
|
||||||
TerminateThread :: proc(thread: HANDLE, exit_code: DWORD) -> BOOL ---
|
TerminateThread :: proc(thread: HANDLE, exit_code: DWORD) -> BOOL ---
|
||||||
SuspendThread :: proc(hThread: HANDLE) -> DWORD ---
|
SuspendThread :: proc(hThread: HANDLE) -> DWORD ---
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ foreign user32 {
|
|||||||
DispatchMessageW :: proc(lpMsg: ^MSG) -> LRESULT ---
|
DispatchMessageW :: proc(lpMsg: ^MSG) -> LRESULT ---
|
||||||
|
|
||||||
WaitMessage :: proc() -> BOOL ---
|
WaitMessage :: proc() -> BOOL ---
|
||||||
|
MsgWaitForMultipleObjects :: proc(nCount: DWORD, pHandles: ^HANDLE, fWaitAll: bool, dwMilliseconds: DWORD, dwWakeMask: DWORD) -> DWORD ---
|
||||||
|
|
||||||
PeekMessageA :: proc(lpMsg: ^MSG, hWnd: HWND, wMsgFilterMin: UINT, wMsgFilterMax: UINT, wRemoveMsg: UINT) -> BOOL ---
|
PeekMessageA :: proc(lpMsg: ^MSG, hWnd: HWND, wMsgFilterMin: UINT, wMsgFilterMax: UINT, wRemoveMsg: UINT) -> BOOL ---
|
||||||
PeekMessageW :: proc(lpMsg: ^MSG, hWnd: HWND, wMsgFilterMin: UINT, wMsgFilterMax: UINT, wRemoveMsg: UINT) -> BOOL ---
|
PeekMessageW :: proc(lpMsg: ^MSG, hWnd: HWND, wMsgFilterMin: UINT, wMsgFilterMax: UINT, wRemoveMsg: UINT) -> BOOL ---
|
||||||
|
|||||||
Reference in New Issue
Block a user