共用方式為


BLUETOOTH_PASSKEY_INFO結構 (bluetoothapis.h)

BLUETOOTH_PASSKEY_INFO結構包含用於驗證的複雜金鑰值。 傳遞金鑰類似於密碼,不同之處在於傳遞金鑰值只會用於驗證一次。

語法

typedef struct _BLUETOOTH_PASSKEY_INFO {
  ULONG passkey;
} BLUETOOTH_PASSKEY_INFO, *PBLUETOOTH_PASSKEY_INFO;

成員

passkey

用於驗證的通行金鑰。

規格需求

需求
最低支援的用戶端 Windows Vista、Windows XP SP2 [僅限傳統型應用程式]
最低支援的伺服器 都不支援
標頭 bluetoothapis.h (包括 Bthsdpdef.h、BluetoothAPIs.h)

另請參閱

BLUETOOTH_AUTHENTICATION_METHODS

BluetoothAuthenticateDevice

BluetoothAuthenticateDeviceEx