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 포함)
라이브러리 Bthprops.lib
DLL bthprops.cpl

추가 정보

BLUETOOTH_FIND_RADIO_PARAMS

BluetoothFindFirstRadio

BluetoothFindNextRadio

BluetoothFindRadioClose

GetLastError