BluetoothGetRadioInfo 関数 (bluetoothapis.h)

BluetoothGetRadioInfo 関数は、Bluetooth 無線に関する情報を取得します。

構文

DWORD BluetoothGetRadioInfo(
  HANDLE                hRadio,
  PBLUETOOTH_RADIO_INFO pRadioInfo
);

パラメーター

hRadio

BluetoothFindFirstRadio などの関数または SetupDiEnumerateDeviceInterfances 関数を呼び出して取得した、ローカル Bluetooth 無線へのハンドル。

pRadioInfo

無線に関する情報が配置される BLUETOOTH_RADIO_INFO 構造体へのポインター。 BLUETOOTH_RADIO_INFO構造体の dwSize メンバーは、構造体のサイズと一致している必要があります。

戻り値

次の表に、一般的な戻り値を示します。

リターン コード 説明
ERROR_SUCCESS
無線情報が正常に取得されました。
ERROR_INVALID_PARAMETER
hRadio または pRadioInfo パラメーターが NULL です
ERROR_REVISION_MISMATCH
pRadioInfo が指すBLUETOOTH_RADIO_INFO構造体の dwSize メンバーが無効です。

要件

要件
サポートされている最小のクライアント Windows Vista、WINDOWS XP と SP2 [デスクトップ アプリのみ]
サポートされている最小のサーバー サポートなし
対象プラットフォーム Windows
ヘッダー bluetoothapis.h (Bthsdpdef.h、BluetoothAPIs.h を含む)
Library Bthprops.lib
[DLL] bthprops.cpl

こちらもご覧ください

BLUETOOTH_FIND_RADIO_PARAMS

BluetoothFindFirstRadio

BluetoothFindNextRadio

BluetoothFindRadioClose

GetLastError