Función BluetoothRemoveDevice (bluetoothapis.h)

La función BluetoothRemoveDevice elimina la autenticación entre un dispositivo Bluetooth y el equipo y borra la información del servicio en caché del dispositivo.

Sintaxis

DWORD BluetoothRemoveDevice(
  const BLUETOOTH_ADDRESS *pAddress
);

Parámetros

pAddress

Puntero a la dirección del dispositivo Bluetooth que se va a quitar.

Valor devuelto

Devuelve ERROR_SUCCESS tras la eliminación correcta del dispositivo Bluetooth. Devuelve ERROR_NOT_FOUND si no se encontró el dispositivo.

Comentarios

La función BluetoothRemoveDevice produce un error si el dispositivo indicado por pAddress no es un dispositivo recordado.

Requisitos

Requisito Value
Cliente mínimo compatible Windows Vista, Windows XP con SP2 [solo aplicaciones de escritorio]
Servidor mínimo compatible No se admite ninguno
Plataforma de destino Windows
Encabezado bluetoothapis.h (incluye Bthsdpdef.h, BluetoothAPIs.h)
Library Bthprops.lib
Archivo DLL bthprops.cpl

Consulte también

BLUETOOTH_DEVICE_INFO

BLUETOOTH_DEVICE_SEARCH_PARAMS

BluetoothDisplayDeviceProperties

BluetoothFindDeviceClose

BluetoothFindFirstDevice

BluetoothFindNextDevice

BluetoothGetDeviceInfo