ICompositionDrawingSurfaceInterop2 interface (windows.ui.composition.interop.h)

A native interoperation interface that allows you to read back the contents of a composition drawing surface (or a composition virtual drawing surface). This interface is available in C++ only.

ICompositionDrawingSurfaceInterop2 inherits from the ICompositionDrawingSurfaceInterop interface.

Inheritance

The ICompositionDrawingSurfaceInterop2 interface inherits from the ICompositionDrawingSurfaceInterop interface.

Methods

The ICompositionDrawingSurfaceInterop2 interface has these methods.

 
ICompositionDrawingSurfaceInterop2::CopySurface

Reads back the contents of a composition drawing surface (or a composition virtual drawing surface).

Remarks

Note

This interface is available on Windows 10, version 1903 (10.0; Build 18362), but it is not defined in the windows.ui.composition.interop.h header file for that version of the Windows Software Development Kit (SDK). If you first obtain a pointer to an ICompositionDrawingSurfaceInterop interface, you can then query that (via QueryInterface) for a pointer to an ICompositionDrawingSurfaceInterop2 interface.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Target Platform Windows
Header windows.ui.composition.interop.h

See also

ICompositionDrawingSurfaceInterop interface

Composition native interoperation overview