DisplayDevice.CreateScanoutSource(DisplayTarget) Method

Definition

Creates a DisplaySource object, which provides the ability to directly scan out/present to the DisplayTarget object or objects currently connected to this source.

public:
 virtual DisplaySource ^ CreateScanoutSource(DisplayTarget ^ target) = CreateScanoutSource;
DisplaySource CreateScanoutSource(DisplayTarget const& target);
public DisplaySource CreateScanoutSource(DisplayTarget target);
function createScanoutSource(target)
Public Function CreateScanoutSource (target As DisplayTarget) As DisplaySource

Parameters

target
DisplayTarget

An active DisplayTarget for which to create a display source.

Returns

A DisplaySource value.

Remarks

Creating a DisplaySource object implicitly takes ownership of the source, and prevents others from presenting content to the screen.

Applies to