Expand Minimize

D3DKMT_CREATEDEVICEFLAGS structure

The D3DKMT_CREATEDEVICEFLAGS structure identifies the type of device context to be created in a call to the D3DKMTCreateDevice function.

Syntax


typedef struct _D3DKMT_CREATEDEVICEFLAGS {
  UINT LegacyMode  :1;
  UINT RequestVSync  :1;
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN8)
  UINT DisableGpuTimeout  :1;
  UINT Reserved  :29;
#else 
  UINT Reserved  :30;
#endif 
} D3DKMT_CREATEDEVICEFLAGS;

Members

LegacyMode

A UINT value that specifies whether the device should imitate several behaviors of legacy devices (that is, from Microsoft DirectDraw through Microsoft Direct3D 9.0 device types).

When legacy mode is enabled, the video memory manager does not allow the device to allocate more video memory than can fit in the combined GPU segment. Primaries are allocated in place in video memory and not preserved across mode switches.

Setting this member is equivalent to setting the first bit of a 32-bit value (0x00000001).

RequestVSync

A UINT value that specifies whether the device requires vertical sync to operate. If RequestVSync is set, the operating system will enable vertical sync on the graphics hardware until the display device is released.

Setting this member is equivalent to setting the second bit of a 32-bit value (0x00000002).

DisableGpuTimeout

Supported in Windows 8 and later versions.A UINT value that specifies whether the device has disabled Timeout Detection and Recovery (TDR).

Setting this member is equivalent to setting the second bit of a 32-bit value (0x00000004).

Reserved

This member is reserved and should be set to zero. Setting this member is equivalent to setting the remaining 29 bits (0xFFFFFFF8) of a 32-bit value to zeros.

Reserved

This member is reserved and should be set to zero. Setting this member is equivalent to setting the remaining 30 bits (0xFFFFFFFC) of a 32-bit value to zeros.

Requirements

Version

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

Header

D3dkmthk.h (include D3dkmthk.h)

See also

D3DKMT_CREATEDEVICE

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft