BB FlashBack SDK: FBRecorder

GetRecordMonitorsDesktopPosition

Description

Returns a desktop region that covers all recorded monitors.

Syntax

[C#/C++]
Public void GetRecordMonitorsDesktopPosition (long* topleft_x, long* topleft_y, long* bottomright_x, long* bottomright_y)

[VB.NET]
public sub GetRecordMonitorsDesktopPosition (ByRef topleft_x as Integer, ByRef topleft_y as Integer, ByRef bottomright_x as Integer, ByRef bottomright_y as Integer)

Parameters

topleft_x (out) - X position of the top left corner of the region

topleft_y (out) - Y position of the top left corner of the region

bottomright_x (out) - X position of the bottom right corner of the region

bottomright_y (out) - Y position of the bottom right corner of the region

Remarks

Use FBRecorder::MonitorsCount to find out how many monitors are available. Use FBRecorder::RecordMonitor to set which will be recorded. Monitors are automatically selected for recording if a region or window is set using FBRecorder::SetRecordRegion, FBRecorder::SetProcessId, FBRecorder::RegionFromHWND and FBRecorder::AddWndToList.

FBRecorder::GetRecordMonitorsDesktopSize returns the width and height of the recorded region.

See Also

FBRecorder::GetMonitor  FBRecorder::MonitorsCount  FBRecorder::RecordMonitor  FBRecorder::GetRecordMonitorsDesktopSize