Funzione BluetoothUnregisterAuthentication (bluetoothapis.h)
La funzione BluetoothUnregisterAuthentication rimuove la registrazione per una routine di callback registrata in precedenza con una chiamata alla funzione BluetoothRegisterForAuthentication .
Sintassi
BOOL BluetoothUnregisterAuthentication(
HBLUETOOTH_AUTHENTICATION_REGISTRATION hRegHandle
);
Parametri
hRegHandle
Handle restituito da una chiamata precedente alla funzione BluetoothRegisterForAuthentication .
Valore restituito
Restituisce TRUE quando la registrazione di autenticazione viene rimossa correttamente. Restituisce FALSE se l'handle specificato non viene chiuso correttamente.
Chiamare la funzione GetLastError per ottenere altre informazioni sull'errore. La tabella seguente descrive un errore comune:
Codice restituito | Descrizione |
---|---|
|
L'handle è NULL. |
Requisiti
Requisito | Valore |
---|---|
Client minimo supportato | Windows Vista, Windows XP con SP2 [solo app desktop] |
Server minimo supportato | Nessuno supportato |
Piattaforma di destinazione | Windows |
Intestazione | bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h) |
Libreria | Bthprops.lib |
DLL | bthprops.cpl |
Vedi anche
BluetoothAuthenticateMultipleDevices
BluetoothEnableIncomingConnections
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per