DDCAPS
The DDCAPS type represents the capabilities of the hardware exposed through the DirectDraw object. This type contains a DDSCAPS2 type used in this context to describe what kinds of DirectDrawSurface objects can be created. It might not be possible to simultaneously create all the surfaces described by these capabilities. This type is used with the DirectDraw7.GetCaps method.
Type DDCAPS
ddsCaps As DDSCAPS2
lAlignBoundaryDest As Long
lAlignBoundarySrc As Long
lAlignSizeDest As Long
lAlignSizeSrc As Long
lAlignStrideAlign As Long
lAlphaBltConstBitDepths As Long
lAlphaBltPixelBitDepths As Long
lAlphaBltSurfaceBitDepths As Long
lAlphaOverlayConstBitDepths As Long
lAlphaOverlayPixelBitDepths As Long
lAlphaOverlaySurfaceBitDepths As Long
lCaps As CONST_DDCAPS1FLAGS
lCaps2 As CONST_DDCAPS2FLAGS
lCKeyCaps As CONST_DDCKEYCAPSFLAGS
lCurrVideoPorts As Long
lCurrVisibleOverlays As Long
lFXCaps As CONST_DDFXCAPSFLAGS
lMaxHwCodecStretch As Long
lMaxLiveVideoStretch As Long
lMaxOverlayStretch As Long
lMaxVideoPorts As Long
lMaxVisibleOverlays As Long
lMinHwCodecStretch As Long
lMinLiveVideoStretch As Long
lMinOverlayStretch As Long
lNLVBCaps As CONST_DDCAPS1FLAGS
lNLVBCaps2 As CONST_DDCAPS2FLAGS
lNLVBCKeyCaps As CONST_DDCKEYCAPSFLAGS
lNLVBFXCaps As CONST_DDFXCAPSFLAGS
lNLVBRops (0 To 7) As Long
lNumFourCCCodes As Long
lPalCaps As CONST_DDPCAPSFLAGS
lReserved1 As Long
lReserved2 As Long
lReserved3 As Long
lReservedCaps As Long
lRops (0 To 7) As Long
lSSBCaps As CONST_DDCAPS1FLAGS
lSSBCKeyCaps As CONST_DDCKEYCAPSFLAGS
lSSBFXCaps As CONST_DDFXCAPSFLAGS
lSSBRops (0 To 7) As Long
lSVBCaps As CONST_DDCAPS1FLAGS
lSVBCaps2 As CONST_DDCAPS2FLAGS
lSVBCKeyCaps As CONST_DDCKEYCAPSFLAGS
lSVBFXCaps As CONST_DDFXCAPSFLAGS
lSVBRops (0 To 7) As Long
lSVCaps As CONST_DDSTEREOCAPSFLAGS
lVidMemFree As Long
lVidMemTotal As Long
lVSBCaps As CONST_DDCAPS1FLAGS
lVSBCKeyCaps As CONST_DDCKEYCAPSFLAGS
lVSBFXCaps As CONST_DDFXCAPSFLAGS
lVSRops (0 To 7) As Long
lZBufferBitDepths As Long
End Type
Members
- ddsCaps
- DDSCAPS2 type used for further capability descriptions.
- lAlignBoundaryDest
- Destination rectangle alignment for an overlay surface, in pixels.
- lAlignBoundarySrc
- Source rectangle alignment for an overlay surface, in pixels.
- lAlignSizeDest
- Destination rectangle size alignment for an overlay surface, in pixels. Overlay destination rectangles must have a pixel width that is a multiple of this value.
- lAlignSizeSrc
- Source rectangle size alignment for an overlay surface, in pixels. Overlay source rectangles must have a pixel width that is a multiple of this value.
- lAlignStrideAlign
- Stride alignment.
- lAlphaBltConstBitDepths
- DDBD_2, DDBD_4, or DDBD_8. (Indicates 2, 4, or 8 bits per pixel.)
- lAlphaBltPixelBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1, 2, 4, or 8 bits per pixel.)
- lAlphaBltSurfaceBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1, 2, 4, or 8 bits per pixel.)
- lAlphaOverlayConstBitDepths
- DDBD_2, DDBD_4, or DDBD_8. (Indicates 2, 4, or 8 bits per pixel.)
- lAlphaOverlayPixelBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1, 2, 4, or 8 bits per pixel.)
- lAlphaOverlaySurfaceBitDepths
- DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1, 2, 4, or 8 bits per pixel.)
- lCaps
- Constants of the CONST_DDCAPS1FLAGS enumeration describing driver-specific capabilities.
- lCaps2
- Constants of the CONST_DDCAPS2FLAGS enumeration describing more driver-specific capabilities.
- lCKeyCaps
- Constants of the CONST_DDCKEYCAPSFLAGS enumeration describing color-key capabilities.
- lCurrVideoPorts
- Current number of live video ports.
- lCurrVisibleOverlays
- Current number of visible overlays or overlay sprites.
- lFXCaps
- Constants of the CONST_DDFXCAPSFLAGS enumeration describing driver-specific stretching and effects capabilities.
- lMinHwCodecStretch and lMaxHwCodecStretch
- Obsolete; do not use.
- lMinLiveVideoStretch and lMaxLiveVideoStretch
- Obsolete; do not use.
- lMinOverlayStretch and lMaxOverlayStretch
- Minimum and maximum overlay stretch factors, multiplied by 1000. For example, 1.3 = 1300.
- lMaxVideoPorts
- Maximum number of live video ports.
- lMaxVisibleOverlays
- Maximum number of visible overlays or overlay sprites.
- lNLVBCaps
- Constants of the CONST_DDCAPS1FLAGS enumeration describing driver-specific capabilities for blits from nonlocal to local video memory. Valid flags are identical to the blit-related flags used with the lCaps member.
- lNLVBCaps2
- Constants of the CONST_DDCAPS2FLAGS enumeration describing more driver-specific capabilities for blits from nonlocal to local video memory. Valid flags are identical to the blit-related flags used with the lCaps2 member.
- lNLVBCKeyCaps
- Constants of the CONST_DDCKEYCAPSFLAGS enumeration describing driver color-key capabilities for blits from nonlocal to local video memory. Valid flags are identical to the blit-related flags used with for the lCKeyCaps member.
- lNLVBFXCaps
- Constants of the CONST_DDFXCAPSFLAGS enumeration describing driver FX capabilities for blits from nonlocal to local video memory. Valid flags are identical to the blit-related flags used with the lFXCaps member.
- lNLVBRops[0 to 7]
- Raster operations supported for blits from nonlocal to local video memory.
- lNumFourCCCodes
- Number of FourCC codes.
- lPalCaps
- Constants of the CONST_DDPCAPSFLAGS enumeration describing palette capabilities.
- lReserved1, lReserved2, lReserved3, and lReservedCaps
- Reserved for future use.
- lRops[0 To 7]
- Raster operations supported.
- lSSBCaps
- Constants of the CONST_DDCAPS1FLAGS enumeration describing driver-specific capabilities for blits from system memory to system memory. Valid flags are identical to the blit-related flags used with the lCaps member.
- lSSBCKeyCaps
- Constants of the CONST_DDCKEYCAPSFLAGS enumeration describing driver color-key capabilities for blits from system memory to system memory. Valid flags are identical to the blit-related flags used with the lCKeyCaps member.
- lSSBFXCaps
- Constants of the CONST_DDFXCAPSFLAGS enumeration describing driver FX capabilities for blits from system memory to system memory. Valid flags are identical to the blit-related flags used with the lFXCaps member.
- lSSBRops[0 To 7]
- Raster operations supported for blits from system memory to system memory.
- lSVBCaps
- Constants of the CONST_DDCAPS1FLAGS enumeration describing driver-specific capabilities for blits from system memory to display memory. Valid flags are identical to the blit-related flags used with the lCaps member.
- lSVBCaps2
- Constants of the CONST_DDCAPS2FLAGS enumeration describing more driver-specific capabilities for blits from system memory to video memory. Valid flags are identical to the blit-related flags used with the lCaps2 member.
- lSVBCKeyCaps
- Constants of the CONST_DDCKEYCAPSFLAGS enumeration describing driver color-key capabilities for blits from system memory to display memory. Valid flags are identical to the blit-related flags used with for the lCKeyCaps member.
- lSVBFXCaps
- Constants of the CONST_DDFXCAPSFLAGS enumeration describing driver FX capabilities for blits from system memory to display memory. Valid flags are identical to the blit-related flags used with the lFXCaps member.
- lSVBRops[0 To 7]
- Raster operations supported for blits from system memory to display memory.
- lSVCaps
- Constants of the CONST_DDSTEREOCAPSFLAGS enumeration describing stereo vision capabilities.
- lVidMemFree
- Amount of free display memory.
- lVidMemTotal
- Total amount of display memory.
- lVSBCaps
- Constants of the CONST_DDCAPS1FLAGS enumeration describing driver-specific capabilities for blits from display memory to system memory. Valid flags are identical to the blit-related flags used with the lCaps member.
- lVSBCKeyCaps
- Constants of the CONST_DDCKEYCAPSFLAGS enumeration describing driver color-key capabilities blits from for display memory to system-memory. Valid flags are identical to the blit-related flags used with for the lCKeyCaps member.
- lVSBFXCaps
- Constants of the CONST_DDFXCAPSFLAGS enumeration describing driver FX capabilities for blits from display memory to system memory. Valid flags are identical to the blit-related flags used with the lFXCaps member.
- lVSRops[0 To 7]
- Raster operations supported for blits from display memory to system-memory.
- lZBufferBitDepths
- DDBD_8, DDBD_16, or DDBD_24. (Indicates 8, 16, and 24 bits per pixel.) 32-bit z-buffers are not supported.