[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public struct BluetoothDeviceInfo
{
public UInt32 dwSize;
public UInt64 Address;
public uint ulClassofDevice;
public bool fConnected;
public bool fRemembered;
public bool fAuthenticated;
public SystemTime stLastSeen;
public SystemTime stLastUsed;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 248)]
public string szName;
public void Initialize()
{
this.dwSize = (uint)Marshal.SizeOf(typeof(BluetoothDeviceInfo));
}
}
Structure BLUETOOTH_DEVICE_INFO
Public TODO
End Structure
None.
None.