ICompositionDrawingSurfaceInterop2::CopySurface method (microsoft.ui.composition.interop.h)

Syntax

HRESULT CopySurface(
  ::IUnknown *destinationResource,
  int        destinationOffsetX,
  int        destinationOffsetY,
  const RECT *sourceRectangle
);

Parameters

destinationResource

destinationOffsetX

destinationOffsetY

sourceRectangle

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (with Windows App SDK 0.5 or later)
Header microsoft.ui.composition.interop.h