Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

DISPLAY (Structures)
 
.

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

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions