Function Documentation

Authentication callback function registered by opptool and called by system when remote device requsts authentication

Parameters:

param

LPVOID*, Parameter from opptool given when registering the callback.

bdi

BLUETOOTH_DEVICE_INFO*, Pointer to the bluetooth device info specifying the device which requests authentication

Remarks:

The param contains the ascii string given to the program in --pin parameter, or NULL if it's not given. The functions calls BluetoothSendAuthenticationResponse to send the authentication response. If pin was NULL tries to guess PIN value.

Returns:

TRUE if function succeeds and FALSE if not. The system does not use the return value for anything.