@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The BluetoothAuthenticateDeviceEx function sends an authentication request to a remote Bluetooth device. Additionally, this function allows for out-of-band data to be passed into the function call for the device being authenticated. !!!!C# Signature: [DllImport("bthprops.cpl", SetLastError=true)] static extern uint BluetoothAuthenticateDeviceEx(IntPtr hwndParentIn, IntPtr hRadioIn, ref BLUETOOTH_DEVICE_INFO pbtdiInout, BLUETOOTH_OOB_DATA pbtOobData, uint authenticationRequirement); !!!!VB Signature: Declare Function BluetoothAuthenticateDeviceEx Lib "irprops.dll" (TODO) As TODO !!!!User-Defined Types: None. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: The authenticationRequirement is actually an enum defined as: typedef enum { MITMProtectionNotRequired = 0x00, MITMProtectionRequired = 0x01, MITMProtectionNotRequiredBonding = 0x02, MITMProtectionRequiredBonding = 0x03, MITMProtectionNotRequiredGeneralBonding = 0x04, MITMProtectionRequiredGeneralBonding = 0x05, MITMProtectionNotDefined = 0xff } AUTHENTICATION_REQUIREMENTS; !!!!Tips & Tricks: Please add some! !!!!Sample Code: Please add some! Documentation: BluetoothAuthenticateDeviceEx@msdn on MSDN
Edit irprops.bluetooth...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.