BluetoothFindNextRadio 함수(bluetoothapis.h)

BluetoothFindNextRadio 함수는 다음 Bluetooth 라디오를 찾습니다.

구문

BOOL BluetoothFindNextRadio(
  [in]  HBLUETOOTH_RADIO_FIND hFind,
  [out] HANDLE                *phRadio
);

매개 변수

[in] hFind

BluetoothFindFirstRadio 함수에 대한 이전 호출에서 반환된 핸들입니다. BluetoothFindRadioClose를 사용하여 더 이상 필요하지 않은 경우 이 핸들을 닫습니다.

[out] phRadio

다음 열거형 라디오 핸들이 반환되는 위치에 대한 포인터입니다. 더 이상 필요하지 않은 경우 CloseHandle을 통해 이 핸들을 해제해야 합니다.

반환 값

사용 가능한 다음 라디오가 발견되면 TRUE 를 반환합니다.

새 라디오를 찾을 수 없는 경우 FALSE 를 반환합니다. 오류에 대한 자세한 내용은 GetLastError 함수를 호출합니다. 다음 표에서는 일반적인 오류를 설명합니다.

반환 코드 설명
ERROR_INVALID_HANDLE
핸들이 NULL입니다.
ERROR_NO_MORE_ITEMS
더 이상 라디오를 찾을 수 없습니다.
ERROR_OUTOFMEMORY
메모리가 부족합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows Vista, WINDOWS XP SP2 [데스크톱 앱만 해당]
지원되는 최소 서버 지원되는 버전 없음
대상 플랫폼 Windows
헤더 bluetoothapis.h(Bthsdpdef.h, BluetoothAPIs.h 포함)
라이브러리 Bthprops.lib
DLL bthprops.cpl

추가 정보

BLUETOOTH_FIND_RADIO_PARAMS

BluetoothFindFirstRadio

BluetoothFindRadioClose

BluetoothGetRadioInfo

GetLastError