Функция _WinAPI_SetProcessAffinityMask

 ↑  ←  Описание функции


_WinAPI_SetProcessAffinityMask

Sets a processor affinity mask for the threads of a specified process

#include <WinAPI.au3>
_WinAPI_SetProcessAffinityMask($hProcess, $iMask)

Параметры

$hProcess A handle to the process whose affinity mask the function sets
$iMask Affinity mask

Возвращаемое значение

Успех:Возвращает True
Ошибка:Возвращает False

Примечания

An affinity mask is a bit mask in which each bit represents a processor on which the threads of the process
are allowed to run. For example, if you pass a mask of 0x05, processors 1 and 3 are allowed to run.

См. также

Искать SetProcessAffinityMask в библиотеке MSDN