OS_IsFeaturePresent

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > OS (Operating System) >

OS_IsFeaturePresent

 

Description

 

Determines whether the specified processor feature is supported by the current computer.

 

Syntax

 

n = OS_IsFeaturePresent(lType)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

lType

Number

No

Possible values:

 

%PF_FLOATING_POINT_PRECISION_ERRATA

%PF_FLOATING_POINT_EMULATED

%PF_COMPARE_EXCHANGE_DOUBLE

%PF_MMX_INSTRUCTIONS_AVAILABLE

%PF_XMMI_INSTRUCTIONS_AVAILABLE

%PF_RDTSC_INSTRUCTION_AVAILABLE

%PF_3DNOW_INSTRUCTIONS_AVAILABLE

%PF_PAE_ENABLED

%PF_XMMI64_INSTRUCTIONS_AVAILABLE

%PF_NX_ENABLED

%PF_SSE3_INSTRUCTIONS_AVAILABLE

%PF_COMPARE_EXCHANGE128

%PF_COMPARE64_EXCHANGE128

%PF_CHANNELS_ENABLED                

 

 

Remarks

 

Restrictions

 

Function available only on WINNT class OS.

 

See also

 

Examples