Bewerken

Delen via


PFNBTH_IS_BLUETOOTH_VERSION_AVAILABLE callback function (bthddi.h)

The IsBluetoothVersionAvailable function checks whether a given Bluetooth version is supported by the operating system.

Syntax

PFNBTH_IS_BLUETOOTH_VERSION_AVAILABLE PfnbthIsBluetoothVersionAvailable;

BOOLEAN PfnbthIsBluetoothVersionAvailable(
  [in] UCHAR MajorVersion,
  [in] UCHAR MinorVersion
)
{...}

Parameters

[in] MajorVersion

This parameter specifies the major version number of Bluetooth that is requested.

[in] MinorVersion

This parameter specifies the minor version number of Bluetooth that is requested.

Return value

IsBluetoothVersionAvailable returns TRUE if the Bluetooth version that the operating system provides is greater than or equal to the Bluetooth version number that is being requested.

Remarks

Bluetooth profile drivers should call this function before performing any operations that are not supported in all Bluetooth versions.

Requirements

Requirement Value
Minimum supported client Versions:_Supported in Windows Vista, and later.
Target Platform Desktop
Header bthddi.h (include Bthddi.h)
IRQL <= DISPATCH_LEVEL