BHT_BT_GetPowerStatus
Description
Acquires the Bluetooth device power status.
Syntax
DWORD BHT_BT_GetPowerStatus (
DWORD *pdwStatus )
Parameters
pdwStatus
[in] Device status storage location address
The following values are returned for the device status.
pdwStatus Specification
BHT_BT_POWER_ON The Bluetooth device power is ON.
BHT_BT_POWER_OFF The Bluetooth device power is OFF.
Return value
Error code
Meaning
ERROR_SUCCESS Successful completion
ERROR_DEV_NOT_EXIST
The unit is not equipped with a Bluetooth
device.
ERROR_INVALID_PARAMETER Storage location address unset
134
Commentaires sur ces manuels