BB FlashBack SDK: FBPlayer

GetMonitorInfoA

Description

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

Syntax

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

[VB.NET]
public Sub GetMonitorInfoA (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

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 GetMonitorInfo and MonitorCount to get information on monitors when setting the 'fullscreen' monitor - the monitor on which the movie plays full screen.

See Also

FBPlayer::MonitorsCount  FBPlayer::SetFullScreenMonitor  FBPlayer::GetFullScreenMonitor