Scroll to navigation

SetThreadIdealProcessor(3w) Wine API SetThreadIdealProcessor(3w)

NAME

SetThreadIdealProcessor (KERNEL32.@)

SYNOPSIS

DWORD SetThreadIdealProcessor
(
HANDLE hThread,
DWORD dwIdealProcessor
)
 

PARAMS

hThread [In] Specifies the thread of interest.
dwIdealProcessor [In] Specifies the new preferred processor.
 

DESCRIPTION

SetThreadIdealProcessor [ KERNEL32.@] Sets preferred processor for thread.
 

RETURNS

Success: Value of last call to SetThreadIdealProcessor
Failure: -1
 

IMPLEMENTATION

Declared in "winbase.h".
Implemented in "dlls/kernel32/thread.c".
Debug channel "thread".
Oct 2012 Wine API