SetCpu Function | |
Note: This API is now obsolete.
Return and optionally change the setting that determines the type of central processor you have.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.22 GA
Syntax [ObsoleteAttribute]
FUNCTION SetCpu() AS DWORD
[ObsoleteAttribute]
public static uint SetCpu()
Request Example
View SourceReturn Value
Type:
DWord
If
lNewSetting is not specified, SetCPU() returns the current setting.
If
lNewSetting is specified, the previous setting is returned.
Remarks
SetCPU is a compatibility function. It does not really do anything in X#.
See Also