DXGI_DDI_ARG_SETDISPLAYMODE structure (dxgiddi.h)

The DXGI_DDI_ARG_SETDISPLAYMODE structure describes parameters for setting the display mode.

Syntax

typedef struct DXGI_DDI_ARG_SETDISPLAYMODE {
  [in] DXGI_DDI_HDEVICE   hDevice;
  [in] DXGI_DDI_HRESOURCE hResource;
  [in] UINT               SubResourceIndex;
} DXGI_DDI_ARG_SETDISPLAYMODE;

Members

[in] hDevice

A handle to the display device (graphics context) on which the driver sets the display mode. The Direct3D runtime passes this handle to the driver in the hDrvDevice member of the D3D10DDIARG_CREATEDEVICE structure when the runtime calls the driver's CreateDevice(D3D10) function to create the display device.

[in] hResource

A handle to the resource that contains the display surface.

[in] SubResourceIndex

The zero-based index into the resource, which the handle in the hResource member specifies. The SubResourceIndex index indicates the display surface.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header dxgiddi.h (include D3d10umddi.h)

See also

SetDisplayModeDXGI