// d3dkmthk.h
typedef struct _D3DKMT_CREATEDEVICEFLAGS {
UINT LegacyMode : 1;
UINT RequestVSync : 1;
UINT DisableGpuTimeout : 1;
UINT TestDevice : 1;
#if ...
UINT Reserved : 28;
#elif
UINT Reserved : 29;
#else
UINT Reserved : 30;
#endif
} D3DKMT_CREATEDEVICEFLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DKMT_CREATEDEVICEFLAGS structure identifies the type of device context to be created in a call to D3DKMT_CREATEDEVICE.
LegacyModeA 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.
RequestVSyncA 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.
DisableGpuTimeoutSupported in Windows 8 and later versions.A UINT value that specifies whether the device has disabled Timeout Detection and Recovery (TDR).
TestDeviceThe device is created by a test. Supported starting in Windows 11, version 22H2 (WDDM 3.1).
ReservedThis member is reserved and should be set to zero.