Reference

GetThreadPriority(3w)

NAME

GetThreadPriority (KERNEL32.@)

SYNOPSIS

INT GetThreadPriority
(
HANDLE hthread
)

PARAMS

hthread [In] Handle to thread.

DESCRIPTION

GetThreadPriority [KERNEL32.@] Returns priority for thread.

RETURNS

Success: Thread's priority level.

Failure: THREAD_PRIORITY_ERROR_RETURN

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/thread.c".

Debug channel "thread".

History