Expand Minimize

D3DKMT_SETDISPLAYMODE structure

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

Syntax


typedef struct _D3DKMT_SETDISPLAYMODE {
  D3DKMT_HANDLE                         hDevice;
  D3DKMT_HANDLE                         hPrimaryAllocation;
  D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering;
  D3DDDI_ROTATION                       DisplayOrientation;
  UINT                                  PrivateDriverFormatAttribute;
  D3DKMT_SETDISPLAYMODE_FLAGS           Flags;
} D3DKMT_SETDISPLAYMODE;

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

Supported in Windows 7 and later versions.

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

Requirements

Version

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

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DDDI_ROTATION
D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING
D3DKMT_SETDISPLAYMODE_FLAGS
D3DKMTSetDisplayMode

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft