PartyXblManager::GetThreadAffinityMask
Retrieves the current set of processors on which internal Party Xbox Live Helper library threads will run or are running as an affinity mask.
Syntax
PartyError GetThreadAffinityMask(
PartyXblThreadId threadId,
uint64_t* threadAffinityMask
)
Parameters
threadId
PartyXblThreadId
The type of internal library thread for which processor affinity should be retrieved.
threadAffinityMask
uint64_t*
output
A place to store the affinity mask for this type of Party thread.
Return value
PartyError
c_partyErrorSuccess
if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via GetErrorMessage().
Remarks
This retrieves the current processor affinity for internal Party threads Xbox Live Helper library of a given type.
This method does not require Initialize() to have been called first.
A reported value of c_anyProcessor
written to threadAffinityMask
indicates that the thread is free to run on any processor.
Requirements
Header: PartyXboxLive.h