Parameters & Returns
Parameters
This function takes no parameters.
Returns
Quick Summary
Returns the height of the primary display screen in pixels.
Takes no parameters.
Returns the height of the primary monitor's screen in pixels.
Technical Exegesis...
Returns the height of the primary monitor's screen in pixels. Uses GetSystemMetrics with SM_CYSCREEN to retrieve the screen height. This returns the full height of the primary display, regardless of taskbar or other UI elements.
The value is in pixels and represents the primary monitor only in multi-monitor setups. Useful for centering windows, fullscreen applications, or determining available screen space for graphics.