Compositor.CreateVisualSurface Method

Definition

Creates an instance of CompositionVisualSurface.

public:
 virtual CompositionVisualSurface ^ CreateVisualSurface() = CreateVisualSurface;
CompositionVisualSurface CreateVisualSurface();
public CompositionVisualSurface CreateVisualSurface();
function createVisualSurface()
Public Function CreateVisualSurface () As CompositionVisualSurface

Returns

Returns the created CompositionVisualSurface object.

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to