[StructLayout(LayoutKind.Sequential)]
struct DEV_BROADCAST_DEVICEINTERFACE
{
public int dbcc_size;
public int dbcc_devicetype;
public int dbcc_reserved;
public Guid dbcc_classguid;
public char dbcc_name;
public static readonly int Size = Marshal.SizeOf(typeof(DEV_BROADCAST_DEVICEINTERFACE));
}
Structure DEV_BROADCAST_DEVICEINTERFACE
Public TODO
End Structure
None.
If you need to read the dbcc_name, start reading as a buffer at "dbcc_name" address until you get a '\0' character.