DDRAW_CAPS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

typedef struct _DDRAW_CAPS {
  [out] UINT Caps;
  [out] UINT Caps2;
  [out] UINT CKeyCaps;
  [out] UINT FxCaps;
  [out] UINT MaxVideoPorts;
} DDRAW_CAPS;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_ddraw_caps)

_DDRAW_CAPS structure

Description

The DDRAW_CAPS structure describes general Microsoft DirectDraw capabilities that the user-mode display driver supports.

Members

Caps [out]

A valid bitwise OR of the following general capability bits that the driver supports.

Capability bit Meaning
DDRAW_CAPS_ZBLTS Z-buffers can be used in bit-block transfer (bitblt) operations.
DDRAW_CAPS_COLORKEY Some form of color key can be used in either overlay or bitblt operations. For more specific color key capability information, see the CKeyCaps member.
DDRAW_CAPS_BLTDEPTHFILL Z-buffers can be depth-filled in bitblt operations.

Caps2 [out]

A valid bitwise OR of more of the following general capability bits that the driver supports.

Capability bit Meaning
DDRAW_CAPS2_VIDEOPORT A hardware video port can be used.
DDRAW_CAPS2_CANDROPZ16BIT Sixteen-bit RGBZ values can be converted into 16-bit RGB values. (The system does not support 8-bit conversions.)
DDRAW_CAPS2_FLIPINTERVAL The driver responds to the Flip bit-field flag.
DDRAW_CAPS2_FLIPNOVSYNC The driver responds to the FlipWithNoWait bit-field flag.
DDRAW_CAPS2_DYNAMICTEXTURES The driver supports dynamic textures.

CKeyCaps [out]

A valid bitwise OR of the following color key capability bits that the driver supports.

Capability bit Meaning
DDRAW_CKEYCAPS_SRCBLT Transparent bit-block transfers can be performed with a color key that identifies bits of the source surface that are copied to the destination surface.
DDRAW_CKEYCAPS_DESTBLT Transparent bit-block transfers (bitblts) can be performed with a color key that identifies the replaceable bits of the destination surface.

FxCaps [out]

A valid bitwise OR of the following stretching and effects capability bits that the driver supports.

Capability bit Meaning
DDRAW_FXCAPS_BLTMIRRORLEFTRIGHT Bit-block transfers (bitblts) that flip the contents of the source surface to the destination surface horizontally along the center axis can be performed.
DDRAW_FXCAPS_BLTMIRRORUPDOWN Bit-block transfers (bitblts) that flip the contents of the source surface to the destination surface vertically along the center axis can be performed.

MaxVideoPorts [out]

The maximum number of video ports that the device supports.

See also

D3DDDIARG_GETCAPS

D3DDDICAPS_TYPE

GetCaps