D3DDDIARG_PRESENTSURFACE structure (d3dumddi.h)

Describes a surface to display.

Syntax

typedef struct D3DDDIARG_PRESENTSURFACE {
  [in] HANDLE hResource;
  [in] UINT   SubResourceIndex;
} D3DDDIARG_PRESENTSURFACE;

Members

[in] hResource

A handle to the resource that contains the surface. hResource can be NULL if the user-mode display driver should perform a color-fill operation to the screen.

[in] SubResourceIndex

The zero-based index into the resource, which is specified by the handle in the hResource member. This index indicates the subresource or surface to display.

Requirements

Requirement Value
Minimum supported client Windows 8.1,WDDM 1.3 and later
Minimum supported server Windows Server 2012 R2
Header d3dumddi.h (include D3d10umddi.h)

See also

Present