Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The BluetoothRemoveDevice function removes authentication between a Bluetooth device and the computer and clears cached service information for the device.
Syntax
DWORD BluetoothRemoveDevice(
const BLUETOOTH_ADDRESS *pAddress
);
Parameters
pAddress
A pointer to the address of the Bluetooth device to be removed.
Return value
Returns ERROR_SUCCESS upon successful removal of the Bluetooth device. Returns ERROR_NOT_FOUND if the device was not found.
Remarks
The BluetoothRemoveDevice function fails if the device indicated by pAddress is not a remembered device.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows XP with SP2 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h) |
Library | Bthprops.lib |
DLL | bthprops.cpl |
See also
BLUETOOTH_DEVICE_SEARCH_PARAMS