D3DKMT_SETDISPLAYMODE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmthk.h

typedef struct _D3DKMT_SETDISPLAYMODE {
  [in]  D3DKMT_HANDLE                         hDevice;
  [in]  D3DKMT_HANDLE                         hPrimaryAllocation;
  [in]  D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering;
  [in]  D3DDDI_ROTATION                       DisplayOrientation;
  [out] UINT                                  PrivateDriverFormatAttribute;
  [in]  D3DKMT_SETDISPLAYMODE_FLAGS           Flags;
} D3DKMT_SETDISPLAYMODE;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dkmthk-_d3dkmt_setdisplaymode)

_D3DKMT_SETDISPLAYMODE structure

Description

The D3DKMT_SETDISPLAYMODE structure describes the primary allocation that is used for scanning out to the display.

Members

hDevice [in]

A handle to the device that requests setting of the display mode.

hPrimaryAllocation [in]

A D3DKMT_HANDLE data type that represents the kernel-mode handle to the primary allocation for scanning out.

ScanLineOrdering [in]

A D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING-typed value that indicates how scan lines are ordered in the display mode.

DisplayOrientation [in]

A D3DDDI_ROTATION-typed value that identifies the orientation of the display mode.

PrivateDriverFormatAttribute [out]

A UINT value that specifies a private format attribute that the OpenGL installable client driver (ICD) should use to convert the current primary surface if a call to the D3DKMTSetDisplayMode function failed with STATUS_GRAPHICS_INCOMPATIBLE_PRIVATE_FORMAT.

Flags [in]

Supported in Windows 7 and later versions.

A D3DKMT_SETDISPLAYMODE_FLAGS structure that specifies, in bit-field flags, attributes for setting the display mode.

See also

D3DDDI_ROTATION

D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING

D3DKMTSetDisplayMode

D3DKMT_SETDISPLAYMODE_FLAGS