다음을 통해 공유


PFN_AUTHENTICATION_CALLBACK 콜백 함수(bluetoothapis.h)

PFN_AUTHENTICATION_CALLBACK 함수는 BluetoothRegisterForAuthentication 함수와 함께 사용되는 콜백 함수 프로토타입입니다.

참고 Windows Vista SP2 및 Windows 7용으로 개발하는 경우 PFN_AUTHENTICATION_CALLBACK_EX 사용하는 것이 좋습니다.
 

구문

PFN_AUTHENTICATION_CALLBACK PfnAuthenticationCallback;

BOOL PfnAuthenticationCallback(
  LPVOID pvParam,
  PBLUETOOTH_DEVICE_INFO pDevice
)
{...}

매개 변수

pvParam

선택 사항입니다. BluetoothRegisterForAuthentication 함수에 이전에 전달된 컨텍스트 포인터입니다.

pDevice

인증을 요청하는 원격 Bluetooth 디바이스입니다. 원격 주소는 BluetoothRegisterForAuthentication 함수에 대한 이전 호출 중에 콜백을 등록하는 데 사용되는 동일한 주소입니다.

반환 값

이 함수의 반환 값은 시스템에서 무시됩니다.

설명

호출자는 동일한 콜백 함수를 사용하여 여러 주소에 등록할 수 있습니다.

요구 사항

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

추가 정보

BluetoothRegisterForAuthentication