Kernel32IsProcessorFeaturePresent Method
Determines whether the specified processor feature is supported by the current computer.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", SetLastError = true)]
public static bool IsProcessorFeaturePresent(
ProcessorFeature feature
)
<DllImportAttribute("Kernel32.dll", SetLastError := true>]
Public Shared Function IsProcessorFeaturePresent (
feature As ProcessorFeature
) As Boolean
Dim feature As ProcessorFeature
Dim returnValue As Boolean
returnValue = Kernel32.IsProcessorFeaturePresent(feature)
public:
[DllImportAttribute(L"Kernel32.dll", SetLastError = true)]
static bool IsProcessorFeaturePresent(
ProcessorFeature feature
)
[<DllImportAttribute("Kernel32.dll", SetLastError = true)>]
static member IsProcessorFeaturePresent :
feature : ProcessorFeature -> bool
No code example is currently available or this language may not be supported.
- feature ProcessorFeature
-
The processor feature to be tested.
Boolean
If the feature is supported, the return value is
.
If the feature is not supported, the return value is
.
If the HAL does not support detection of the feature, whether or not the hardware supports the feature,
the return value is also
.
To get extended error information, call
GetLastWin32Error.