MonitorBounds
Delphi
function MonitorBounds (MonitorNumber: LongInt; var LeftBound: OleVariant; var TopBound: OleVariant; var RightBound: OleVariant; var BottomBound: OleVariant): Boolean;
C++Builder
bool __fastcall MonitorBounds(System::LongInt MonitorNumber, Winapi::Windows::TRect &Bounds);
C#
public bool MonitorBounds(int MonitorNumber, out int LeftBound, out int TopBound, out int RightBound, out int BottomBound);
VB.NET
Public Function MonitorBounds(MonitorNumber As Integer, ByRef LeftBound As Integer, ByRef TopBound As Integer, ByRef RightBound As Integer, ByRef BottomBound As Integer) As Boolean
C++/Qt
BOOL MonitorBounds (int MonitorNumber, int *LeftBound, int *TopBound, int *RightBound, int *BottomBound);
Returns the bounds of the specified video screen, in pixels. Note: the MonitorNumber parameter is in the [0 .. MonitorsCount - 1 ] range. Useful on platforms that have more than one video screen. See the Dual display chapter for more information.