IDCompositionSurface interface

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.

Methods

The IDCompositionSurface interface has these methods.

Method Description
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

   
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