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