struttura BLUETOOTH_AUTHENTICATE_RESPONSE (bluetoothapis.h)

La struttura BLUETOOTH_AUTHENTICATE_RESPONSE contiene informazioni passate in risposta a un evento BTH_REMOTE_AUTHENTICATE_REQUEST.

Sintassi

typedef struct _BLUETOOTH_AUTHENTICATE_RESPONSE {
  BLUETOOTH_ADDRESS               bthAddressRemote;
  BLUETOOTH_AUTHENTICATION_METHOD authMethod;
  union {
    BLUETOOTH_PIN_INFO                pinInfo;
    BLUETOOTH_OOB_DATA_INFO           oobInfo;
    BLUETOOTH_NUMERIC_COMPARISON_INFO numericCompInfo;
    BLUETOOTH_PASSKEY_INFO            passkeyInfo;
  };
  UCHAR                           negativeResponse;
} BLUETOOTH_AUTHENTICATE_RESPONSE, *PBLUETOOTH_AUTHENTICATE_RESPONSE;

Members

bthAddressRemote

Struttura BLUETOOTH_ADDRESS che contiene l'indirizzo del dispositivo che richiede la risposta di autenticazione.

Nota Queste informazioni sono disponibili nella struttura PARAMS PBLUETOOTH_AUTHENTICATION_CALLBACK recuperata dal callback.
 

authMethod

Enumerazione BLUETOOTH_AUTHENTICATION_METHOD che definisce il metodo di autenticazione supportato.

Nota Queste informazioni sono disponibili nella struttura PARAMS PBLUETOOTH_AUTHENTICATION_CALLBACK recuperata dal callback.
 

pinInfo

Una delle strutture seguenti deve essere usata in base al metodo di autenticazione definito in authMethod. Ad esempio, se viene specificato BLUETOOTH_AUTHENTICATION_METHOD_LEGACY , è necessario popolare la struttura BLUETOOTH_PIN_INFO.

Contiene informazioni per l'autenticazione tramite pin.

oobInfo

Contiene dati fuori banda usati per autenticare il dispositivo.

numericCompInfo

Contiene informazioni per l'autenticazione di confronto numerico.

passkeyInfo

Contiene informazioni per l'autenticazione passkey.

negativeResponse

TRUE se la richiesta di autenticazione è stata rifiutata; in caso contrario FALSE.

Requisiti

Requisito Valore
Client minimo supportato Windows XP con SP2 [solo app desktop]
Server minimo supportato Nessuno supportato
Intestazione bluetoothapis.h (include Bthsdpdef.h, BluetoothAPIs.h)

Vedi anche

BLUETOOTH_AUTHENTICATION_METHOD