GameModeConfiguration.MaxCpuCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The max number of CPUs the game will use, this cannot exceed the total logical cores across the systems device processor
public:
property IReference<int> ^ MaxCpuCount { IReference<int> ^ get(); void set(IReference<int> ^ value); };
IReference<int> MaxCpuCount();
void MaxCpuCount(IReference<int> value);
public System.Nullable<int> MaxCpuCount { get; set; }
var iReference = gameModeConfiguration.maxCpuCount;
gameModeConfiguration.maxCpuCount = iReference;
Public Property MaxCpuCount As Nullable(Of Integer)
Property Value
Windows requirements
App capabilities |
gameList
|
Remarks
This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.