示例#1
0
 internal static extern int BluetoothEnumerateInstalledServices(IntPtr hRadio,
                                                                ref BLUETOOTH_DEVICE_INFO pbtdi,
                                                                ref int pcServices,
                                                                byte[] pGuidServices);
示例#2
0
 internal static extern bool BluetoothFindNextDevice(
     IntPtr hFind,
     ref BLUETOOTH_DEVICE_INFO pbtdi);
示例#3
0
 internal static extern int BluetoothGetDeviceInfo(IntPtr hRadio, ref BLUETOOTH_DEVICE_INFO pbtdi);
示例#4
0
 internal static extern IntPtr BluetoothFindFirstDevice(
     ref BLUETOOTH_DEVICE_SEARCH_PARAMS pbtsp,
     ref BLUETOOTH_DEVICE_INFO pbtdi);
示例#5
0
 internal static extern int BluetoothRegisterForAuthenticationEx(ref BLUETOOTH_DEVICE_INFO pbtdiln, out IntPtr phRegHandleOut, PFN_AUTHENTICATION_CALLBACK_EX pfnCallbackIn, IntPtr pvParam);
示例#6
0
 internal static extern int BluetoothAuthenticateDeviceEx(IntPtr hwndParentIn,
                                                          IntPtr hRadioIn,
                                                          ref BLUETOOTH_DEVICE_INFO pbtdiInout,
                                                          IntPtr pbtOobData,
                                                          AUTHENTICATION_REQUIREMENTS authenticationRequirement);
示例#7
0
 internal static extern int BluetoothAuthenticateDevice(IntPtr hwndParent, IntPtr hRadio, ref BLUETOOTH_DEVICE_INFO pbtdi, string pszPasskey, int ulPasskeyLength);
 internal BluetoothDevice(BLUETOOTH_DEVICE_INFO info)
 {
     _info = info;
 }