DisplayDevice.CreateScanoutSource(DisplayTarget) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.