// d3dkmdt.h
typedef struct _D3DKMT_WDDM_1_2_CAPS {
D3DKMDT_PREEMPTION_CAPS PreemptionCaps;
union {
struct {
UINT SupportNonVGA : 1;
UINT SupportSmoothRotation : 1;
UINT SupportPerEngineTDR : 1;
UINT SupportKernelModeCommandBuffer : 1;
UINT SupportCCD : 1;
UINT SupportSoftwareDeviceBitmaps : 1;
UINT SupportGammaRamp : 1;
UINT SupportHWCursor : 1;
UINT SupportHWVSync : 1;
UINT SupportSurpriseRemovalInHibernation : 1;
UINT Reserved : 22;
};
UINT Value;
};
} D3DKMT_WDDM_1_2_CAPS;
View the official Windows Driver Kit DDI referenceNo description available.
Reserved for system use. Do not use.
PreemptionCapsHas preemption capabilities.
SupportNonVGASupports non-VGA.
SupportSmoothRotationSupports smooth rotation.
SupportPerEngineTDRSupports per-engine timeout detection and recovery (TDR).
SupportKernelModeCommandBufferSupports kernel-mode command buffer.
SupportCCDSupports Connecting and Configuring Displays (CCD).
SupportSoftwareDeviceBitmapsSupports software device bitmaps.
SupportGammaRampSupports gamma ramp.
SupportHWCursorSupports hardware cursor.
SupportHWVSyncSupports hardware Vsync.
SupportSurpriseRemovalInHibernationSupports surprise removal in hibernation.
ReservedReserved.
ValueAn alternative way to access the cap bits.
The graphics kernel uses D3DKMT_WDDM_1_2_CAPS to store various capabilities introduced in Windows Display Driver Model (WDDM) version 1.2. The driver provides its support capabilities during initialization, so it already knows all the values specified in this structure.