Expand Minimize

DXGI_DDI_ARG_SETDISPLAYMODE structure

The DXGI_DDI_ARG_SETDISPLAYMODE structure describes parameters for setting the display mode.

Syntax


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

Members

hDevice

[in] 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.

hResource

[in] A handle to the resource that contains the display surface.

SubResourceIndex

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

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dxgiddi.h (include D3d10umddi.h)

See also

SetDisplayModeDXGI

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft