win32process.SetProcessAffinityMask

SetProcessAffinityMask(hProcess, mask)

Sets a processor affinity mask for a specified process.

Parameters

hProcess : PyHANDLE

handle to the process of interest

mask : int

a processor affinity mask

Comments

This function does not exist on all platforms.