Desktop Functions: Smart Device Functions:
|
MONITORINFO (user32)
The MONITORINFO structure contains information about a display monitor. The GetMonitorInfo function stores information in a MONITORINFO structure or a MONITORINFOEX structure. The MONITORINFO structure is a subset of the MONITORINFOEX structure. The MONITORINFOEX structure adds a string member to contain a name for the display monitor. C# Definition:
[StructLayout(LayoutKind.Sequential)] User-Defined Types:Alternative Managed API:Do you know one? Please contribute it! Notes:If the monitor is the primary monitor the flag will be set too MONITORINFOF_PRIMARY. The declaration for MONITORINFOF_PRIMARY is const uint MONITORINFOF_PRIMARY = 1; Tips & Tricks:Please add some! Sample Code:
MONITORINFO monitorInfo = new MONITORINFO(); Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|