Fonction BluetoothUnregisterAuthentication (bluetoothapis.h)
La fonction BluetoothUnregisterAuthentication supprime l’inscription pour une routine de rappel précédemment inscrite avec un appel à la fonction BluetoothRegisterForAuthentication .
Syntaxe
BOOL BluetoothUnregisterAuthentication(
HBLUETOOTH_AUTHENTICATION_REGISTRATION hRegHandle
);
Paramètres
hRegHandle
Handle retourné par un appel précédent à la fonction BluetoothRegisterForAuthentication .
Valeur retournée
Retourne TRUE lorsque l’inscription d’authentification est supprimée. Retourne FALSE si le handle spécifié n’est pas fermé.
Appelez la fonction GetLastError pour obtenir plus d’informations sur l’erreur. Le tableau suivant décrit une erreur courante :
Code de retour | Description |
---|---|
|
Le handle est NULL. |
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows Vista, Windows XP avec SP2 [applications de bureau uniquement] |
Serveur minimal pris en charge | Aucun pris en charge |
Plateforme cible | Windows |
En-tête | bluetoothapis.h (inclure Bthsdpdef.h, BluetoothAPIs.h) |
Bibliothèque | Bthprops.lib |
DLL | bthprops.cpl |
Voir aussi
BluetoothAuthenticateMultipleDevices
BluetoothEnableIncomingConnections
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour