BluetoothUnregisterAuthentication function (bluetoothapis.h)
The BluetoothUnregisterAuthentication function removes registration for a callback routine that was previously registered with a call to the BluetoothRegisterForAuthentication function.
Syntax
BOOL BluetoothUnregisterAuthentication(
HBLUETOOTH_AUTHENTICATION_REGISTRATION hRegHandle
);
Parameters
hRegHandle
Handle returned by a previous call to the BluetoothRegisterForAuthentication function.
Return value
Returns TRUE when the authentication registration is successfully removed. Returns FALSE if the specified handle is not successfully closed.
Call the GetLastError function to obtain more information about the error. The following table describes a common error:
Return code | Description |
---|---|
|
The handle is NULL. |
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
BluetoothAuthenticateMultipleDevices
BluetoothEnableIncomingConnections