[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
private struct BluetoothRadioInfo
{
internal UInt32 dwSize;
internal UInt64 address;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = BLUETOOTH_MAX_NAME_SIZE)]
internal string szName;
internal UInt32 ulClassOfDevice;
internal UInt16 lmpSubversion;
internal UInt16 manufacturer;
internal void Initialize()
{
this.dwSize = (UInt32)Marshal.SizeOf(typeof(BluetoothRadioInfo));
}
}
private const int BLUETOOTH_MAX_NAME_SIZE = 248;
Structure BLUETOOTH_RADIO_INFO
Public TODO
End Structure
None.
None.