Función BluetoothUnregisterAuthentication (bluetoothapis.h)
La función BluetoothUnregisterAuthentication quita el registro de una rutina de devolución de llamada que se registró anteriormente con una llamada a la función BluetoothRegisterForAuthentication .
Sintaxis
BOOL BluetoothUnregisterAuthentication(
HBLUETOOTH_AUTHENTICATION_REGISTRATION hRegHandle
);
Parámetros
hRegHandle
Identificador devuelto por una llamada anterior a la función BluetoothRegisterForAuthentication .
Valor devuelto
Devuelve TRUE cuando el registro de autenticación se quita correctamente. Devuelve FALSE si el identificador especificado no se cierra correctamente.
Llame a la función GetLastError para obtener más información sobre el error. En la tabla siguiente se describe un error común:
Código devuelto | Descripción |
---|---|
|
El identificador es NULL. |
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 (incluya Bthsdpdef.h, BluetoothAPIs.h) |
Library | Bthprops.lib |
Archivo DLL | bthprops.cpl |
Consulte también
BluetoothAuthenticateMultipleDevices
BluetoothEnableIncomingConnections