BluetoothEnableRadio function

The radio support DLL implements BluetoothEnableRadio to enable Windows to turn power to the radio on or off.

Syntax


DWORD WINAPI BluetoothEnableRadio(
   BOOL fEnable
);

Parameters

fEnable

Set to TRUE to turn radio power on. Set to FALSE to turn radio power off.

Return value

Return ERROR_SUCCESS if current state was changed to state of fEnable. Otherwise, returns a WIN32 error code if current state was not changed.

Remarks

Note  
 

Beginning with Windows 8.1 vendors are no longer required to implement radio on/off capability (for Bluetooth 4.0 radios) in a software DLL as described in this topic, because the operating system now handles this functionality. Windows 8.1 will ignore any such DLL, even if present.

See also

Bluetooth Software Radio Sample Sources

 

 

Send comments about this topic to Microsoft

Show: