BB FlashBack SDK: FBRecorder

GetMonitor

Description

Returns information on a selected monitor, given its index in the list of monitors detected by Windows.

Syntax

[C#/C++]
Public void GetMonitor (long index, BSTR *DeviceName , long *flags, long *left, long *top, long *right, long *bottom)

[VB.NET]
public Sub GetMonitor (ByVal index as Integer, ByRef DeviceName as String, ByRef flags as Integer, ByRef left as Integer, ByRef top as Integer, ByRef right as Integer, ByRef bottom as Integer)

Parameters

Index (in): the index of the monitor. Use FBRecorder::MonitorsCount to get the number of attached monitors.

DeviceName (out): specifies the name of the display monitor.

Flags (out): if the monitor is the primary monitor, this parameter will be set to MONITORINFOF_PRIMARY, #defined in Win32 SDK as 0x00000001.

Left, Top, Right, Bottom (out): the position of the monitor within the Windows desktop. Note that if the monitor is not the primary monitor, these can be negative values.

Remarks

Use FBRecorder::MonitorsCount to get the number of attached monitors. Use FBRecorder::SelectMonitor to select a monitor for recording and FBRecorder::GetCurrentMonitor to get the currently selected monitor.

See Also

FBRecorder::SelectMonitor  FBRecorder::MonitorsCount  FBRecorder::GetCurrentMonitor