This command applies the data set by
mnToggleAffinity to the specified thread and changes its affinity.
This command must be used after mnStart. The thread ID must be between 0 and the number of threads set by mnStart. If the thread ID is 0 then all threads will be affected.
int ThreadID: This is the thread that the command should use.
0 if no error occurred
-1 if an error occurred.
C++
DBP
.Net