Obtains the affinity masks for the process and the system
_WinAPI_GetProcessAffinityMask ( $hProcess )
|$hProcess||An open handle to the process whose affinity mask is desired.|
|Success:||Array with the following format:
$aMask - True on success, otherwise False
$aMask - Process affinity mask
$aMask - System affinity mask
|Failure:||Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information|
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.
Search GetProcessAffinityMask in MSDN Library.