// dxgiddi.h
typedef struct DXGI_DDI_ARG_SETDISPLAYMODE {
[in] DXGI_DDI_HDEVICE hDevice;
[in] DXGI_DDI_HRESOURCE hResource;
[in] UINT SubResourceIndex;
} DXGI_DDI_ARG_SETDISPLAYMODE;
View the official Windows Driver Kit DDI referenceNo description available.
The DXGI_DDI_ARG_SETDISPLAYMODE structure describes parameters for setting the display mode.
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.