DISPLAY (Structures)
Last changed: -67.70.0.13

.

The DISPLAY_DEVICE structure receives information about the display device specified by the iDevNum parameter of the EnumDisplayDevices function.

C# Definition:

        [StructLayout(LayoutKind.Sequential, CharSet=CharSet.Ansi)]
        public class DISPLAY_DEVICE {
              public int cb=0;
            [MarshalAs(UnmanagedType.ByValTStr,SizeConst=32)]
              public string DeviceName=new String(' ',32);
            [MarshalAs( UnmanagedType.ByValTStr, SizeConst=128)]
              public string DeviceString=new String(' ',128);
              public int StateFlags=0;
            [MarshalAs( UnmanagedType.ByValTStr, SizeConst=128)]
              public string DeviceID=new String(' ',128);
            [MarshalAs( UnmanagedType.ByValTStr, SizeConst=128)]
              public string DeviceKey=new String(' ',128);
        }

VB Definition:

Structure DISPLAY
   Public TODO
End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation