Example #1
0
        public static BLUETOOTH_DEVICE_SEARCH_PARAMS Create()
        {
            BLUETOOTH_DEVICE_SEARCH_PARAMS search = new BLUETOOTH_DEVICE_SEARCH_PARAMS();

            search.dwSize = Marshal.SizeOf(search);
            return(search);
        }
 internal static extern IntPtr BluetoothFindFirstDevice(ref BLUETOOTH_DEVICE_SEARCH_PARAMS pbtsp, ref BLUETOOTH_DEVICE_INFO pbtdi);