IPresentationSurface::SetBuffer method (presentation.h)

Sets the presentation buffer associated with this presentation surface.

Syntax

HRESULT SetBuffer(
  IPresentationBuffer *presentationBuffer
);

Parameters

presentationBuffer

Type: IPresentationBuffer

The presentation buffer associated with this presentation surface.

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