IPresentationSurface::SetTransform method (presentation.h)

Sets the transform applied to the source buffer area to define the on-screen area where the buffer will appear.

Syntax

HRESULT SetTransform(
  PresentationTransform *transform
);

Parameters

transform

Type: PresentationTransform

A transform applied to the source buffer area to define the on-screen area where the buffer will appear.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK; otherwise, it returns an HRESULT value that indicates the error.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header presentation.h
Library dcomp.lib
DLL dcomp.dll