The BluetoothRemoveDevice function removes authentication between a Bluetooth device and the computer and clears cached service information for the device.
DWORD BluetoothRemoveDevice( const BLUETOOTH_ADDRESS *pAddress );
A pointer to the address of the Bluetooth device to be removed.
Returns ERROR_SUCCESS upon successful removal of the Bluetooth device. Returns ERROR_NOT_FOUND if the device was not found.
The BluetoothRemoveDevice function fails if the device indicated by pAddress is not a remembered device.
|Windows version||Windows Vista, Windows XP with SP2 [desktop apps only] None supported|
|Header||bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h)|