Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

Class ddCaps

public final class ddCaps {
  public int dwSize;
  public int dwCaps;
  public int dwCaps2;
  public int dwCKeyCaps;
  public int dwFXCaps;
  public int dwFXAlphaCaps;
  public int dwPalCaps;
  public int dwSVCaps;
  public int dwAlphaBltConstBitDepths;
  public int dwAlphaBltPixelBitDepths;
  public int dwAlphaBltSurfaceBitDepths;
  public int dwAlphaOverlayConstBitDepths;
  public int dwAlphaOverlayPixelBitDepths;
  public int dwAlphaOverlaySurfaceBitDepths;
  public int dwZBufferBitDepths;
  public int dwVidMemTotal;
  public int dwVidMemFree;
  public int dwMaxVisibleOverlays;
  public int dwCurrVisibleOverlays;
  public int dwNumFourCCCodes;
  public int dwAlignBoundarySrc;
  public int dwAlignSizeSrc;
  public int dwAlignBoundaryDest;
  public int dwAlignSizeDest;
  public int dwAlignStrideAlign;
  public int dwRops_1;
  public int dwRops_2;
  public int dwRops_3;
  public int dwRops_4;
  public int dwRops_5;
  public int dwRops_6;
  public int dwRops_7;
  public int dwRops_8;
  public int ddsCaps;
  public int dwMinOverlayStretch;
  public int dwMaxOverlayStretch;
  public int dwMinLiveVideoStretch;
  public int dwMaxLiveVideoStretch;
  public int dwMinHwCodecStretch;
  public int dwMaxHwCodecStretch;
  public int dwReserved1;
  public int dwReserved2;
  public int dwReserved3;
  public int dwSVBCaps;
  public int dwSVBCKeyCaps;
  public int dwSVBFXCaps;
  public int dwSVBRops_1;
  public int dwSVBRops_2;
  public int dwSVBRops_3;
  public int dwSVBRops_4;
  public int dwSVBRops_5;
  public int dwSVBRops_6;
  public int dwSVBRops_7;
  public int dwSVBRops_8;
  public int dwVSBCaps;
  public int dwVSBCKeyCaps;
  public int dwVSBFXCaps;
  public int dwVSBRops_1;
  public int dwVSBRops_2;
  public int dwVSBRops_3;
  public int dwVSBRops_4;
  public int dwVSBRops_5;
  public int dwVSBRops_6;
  public int dwVSBRops_7;
  public int dwVSBRops_8;
  public int dwSSBCaps;
  public int dwSSBCKeyCaps;
  public int dwSSBCFXCaps;
  public int dwSSBRops_1;
  public int dwSSBRops_2;
  public int dwSSBRops_3;
  public int dwSSBRops_4;
  public int dwSSBRops_5;
  public int dwSSBRops_6;
  public int dwSSBRops_7;
  public int dwSSBRops_8;
  public int dwReserved4;
  public int dwReserved5;
  public int dwReserved6;
}

Represents the capabilities of the hardware exposed through the DirectDraw object. This class contains the ddsCaps field that describes what kinds of DirectDrawSurface objects can be created. It may not be possible to simultaneously create all of the surfaces described by these capabilities. This class is used with the dDraw.GetCaps and ddPalette.GetCaps methods.

Fields

dwSize
Size of the class. This field must be initialized before the class is used.
dwCaps
One or more values of DDCAPS_ type, specifying driver-specific capabilities.
dwCaps2
One or more values of DDCAPS2_ type, specifying driver-specific capabilities.
dwCKeyCaps
One or more values of DDCKEYCAPS_ type, specifying color-key capabilities.
dwFXCaps
One or more values of DDFXCAPS_ type, specifying driver-specific stretching and effects capabilities.
dwFXAlphaCaps
One or more values of DDFXALPHACAPS_ type, specifying driver-specific alpha capabilities.
dwPalCaps
One or more values of DDPCAPS_ type, specifying palette capabilities.
dwSVCaps
One or more values of DDSVCAPS_ type, specifying stereo vision capabilities.
dwAlphaBltConstBitDepths
DDBD_2, DDBD_4, or DDBD_8. (Indicates 2-, 4-, or 8-bits per pixel.)
dwAlphaBltPixelBitDepths
DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
dwAlphaBltSurfaceBitDepths
DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
dwAlphaOverlayConstBitDepths
DDBD_2, DDBD_4, or DDBD_8. (Indicates 2-, 4-, or 8-bits per pixel.)
dwAlphaOverlayPixelBitDepths
DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
dwAlphaOverlaySurfaceBitDepths
DDBD_1, DDBD_2, DDBD_4, or DDBD_8. (Indicates 1-, 2-, 4-, or 8-bits per pixel.)
dwZBufferBitDepths
DDBD_8, DDBD_16, DDBD_24, or DDBD_32. (Indicates 8-, 16-, 24-, or 32-bits per pixel.)
dwVidMemTotal
Total amount of display memory.
dwVidMemFree
Amount of free display memory.
dwMaxVisibleOverlays
Maximum number of visible overlays.
dwCurrVisibleOverlays
Current number of visible overlays.
dwNumFourCCCodes
Number of FourCC codes.
dwAlignBoundarySrc
Source rectangle alignment.
dwAlignSizeSrc
Source rectangle byte size.
dwAlignBoundaryDest
Destination rectangle alignment.
dwAlignSizeDest
Destination rectangle byte size.
dwAlignStrideAlign
Stride alignment.
dwRops_1 thru dwRops_8
Raster operations supported.
ddsCaps
One or more values of DDSCAPS_ type, specifying general capabilities.
dwMinOverlayStretch and dwMaxOverlayStretch
Minimum and maximum overlay stretch factors multiplied by 1000. For example, 1.3 = 1300.
dwMinLiveVideoStretch and dwMaxLiveVideoStretch
Minimum and maximum live video stretch factors multiplied by 1000. For example, 1.3 = 1300.
dwMinHwCodecStretch and dwMaxHwCodecStretch
Minimum and maximum hardware codec stretch factors multiplied by 1000. For example 1.3 = 1300.
dwReserved1, dwReserved2, and dwReserved3
Reserved for future use.
dwSVBCaps
Driver-specific capabilities for system-memory-to-display-memory blits.
dwSVBCKeyCaps
Driver color-key capabilities for system-memory-to-display-memory blits.
dwSVBFXCaps
Driver FX capabilities for system-memory-to-display-memory blits.
dwSVBRops_1 through dwSVBRops_8
Raster operations supported for system-memory-to-display-memory blits.
dwVSBCaps
Driver-specific capabilities for display-memory-to-system-memory blits.
dwVSBCKeyCaps
Driver color-key capabilities for display-memory-to-system-memory blits.
dwVSBFXCaps
Driver FX capabilities for display-memory-to-system-memory blits.
dwVSBRops_1 through dwVSBRops_8
Supports raster operations for display-memory-to-system-memory blits.
dwSSBCaps
Driver-specific capabilities for system-memory-to-system-memory blits.
dwSSBCKeyCaps
Driver color-key capabilities for system-memory-to-system-memory blits.
dwSSBCFXCaps
Driver FX capabilities for system-memory-to-system-memory blits.
dwSSBRops_1 through dwSSBRops_8
Raster operations supported for system-memory-to-system-memory blits.
dwReserved4, dwReserved5, and dwReserved6
Reserved for future use.


Top© 1996 Microsoft Corporation. All rights reserved.