SetThreadIdealProcessor(3w)

SetThreadIdealProcessor3w

Usage

DWORD SetThreadIdealProcessor
(
HANDLE hThread,
DWORD dwIdealProcessor
)

Params

hThread [In] Specifies the thread of interest.

dwIdealProcessor [In] Specifies the new preferred processor.

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.