BluetoothUnregisterAuthentication 函数 (bluetoothapis.h)
BluetoothUnregisterAuthentication 函数删除以前通过调用 BluetoothRegisterForAuthentication 函数注册的回调例程的注册。
语法
BOOL BluetoothUnregisterAuthentication(
HBLUETOOTH_AUTHENTICATION_REGISTRATION hRegHandle
);
参数
hRegHandle
以前调用 BluetoothRegisterForAuthentication 函数返回的句柄。
返回值
成功删除身份验证注册后,返回 TRUE 。 如果未成功关闭指定的句柄,则返回 FALSE 。
调用 GetLastError 函数以获取有关错误的详细信息。 下表描述了一个常见错误:
返回代码 | 说明 |
---|---|
|
句柄为 NULL。 |
要求
要求 | 值 |
---|---|
最低受支持的客户端 | Windows Vista、Windows XP 和 SP2 [仅限桌面应用] |
最低受支持的服务器 | 无受支持的版本 |
目标平台 | Windows |
标头 | bluetoothapis.h (包括 Bthsdpdef.h、BluetoothAPIs.h) |
Library | Bthprops.lib |
DLL | bthprops.cpl |
另请参阅
BluetoothAuthenticateMultipleDevices
BluetoothEnableIncomingConnections
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈