IDCompositionSurface interface (dcomp.h)

Represents a physical bitmap that can be associated with a visual for composition in a visual tree. This interface can also be used to update the bitmap contents.

Inheritance

The IDCompositionSurface interface inherits from the IUnknown interface. IDCompositionSurface also has these types of members:

Methods

The IDCompositionSurface interface has these methods.

 
IDCompositionSurface::BeginDraw

Initiates drawing on this Microsoft DirectComposition surface object.
IDCompositionSurface::EndDraw

Marks the end of drawing on this Microsoft DirectComposition surface object.
IDCompositionSurface::ResumeDraw

Resumes drawing on this Microsoft DirectComposition surface object.
IDCompositionSurface::Scroll

Scrolls a rectangular area of a Microsoft DirectComposition logical surface.
IDCompositionSurface::SuspendDraw

Suspends the drawing on this Microsoft DirectComposition surface object.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header dcomp.h

See also

DCompositionCreateSurfaceHandle

IDCompositionVirtualSurface

IDCompositionVisual::SetContent