Reference

SetThreadPriority(3w)

NAME

SetThreadPriority (KERNEL32.@)

SYNOPSIS

BOOL SetThreadPriority
(
HANDLE hthread,
INT priority
)

PARAMS

hthread [In] Handle to thread.

priority [In] Thread priority level.

DESCRIPTION

SetThreadPriority [KERNEL32.@] Sets priority for thread.

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Declared in "winbase.h".

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

Debug channel "thread".

History