// d3dumddi.h
typedef struct _D3DDDI_OVERLAYCOLORCONTROLSFLAGS {
union {
struct {
UINT Brightness : 1;
UINT Contrast : 1;
UINT Hue : 1;
UINT Saturation : 1;
UINT Sharpness : 1;
UINT Gamma : 1;
UINT ColorEnable : 1;
UINT Reserved : 25;
};
UINT Value;
};
} D3DDDI_OVERLAYCOLORCONTROLSFLAGS;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDI_OVERLAYCOLORCONTROLSFLAGS structure identifies color-control settings that the overlay hardware supports.
BrightnessA UINT value that specifies whether brightness adjustments to the overlay are enabled.
Setting this member is equivalent to setting the first bit of the 32-bit Value member (0x00000001).
ContrastA UINT value that specifies whether contrast adjustments to the overlay are enabled.
Setting this member is equivalent to setting the second bit of the 32-bit Value member (0x00000002).
HueA UINT value that specifies whether hue adjustments to the overlay are enabled.
Setting this member is equivalent to setting the third bit of the 32-bit Value member (0x00000004).
SaturationA UINT value that specifies whether saturation adjustments to the overlay are enabled.
Setting this member is equivalent to setting the fourth bit of the 32-bit Value member (0x00000008).
SharpnessA UINT value that specifies whether sharpness adjustments to the overlay are enabled.
Setting this member is equivalent to setting the fifth bit of the 32-bit Value member (0x00000010).
GammaA UINT value that specifies whether gamma adjustments to the overlay are enabled.
Setting this member is equivalent to setting the sixth bit of the 32-bit Value member (0x00000020).
ColorEnableA UINT value that specifies whether color-enable adjustments to the overlay are enabled.
Setting this member is equivalent to setting the seventh bit of the 32-bit Value member (0x00000040).
ReservedThis member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 25 bits (0xFFFFFF80) of the 32-bit Value member to zeros.
ValueA member in the union that is contained in D3DDDI_OVERLAYCOLORCONTROLSFLAGS that can hold one 32-bit value that identifies color-control settings that the overlay hardware supports.