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

DDPCAPS_ Values

Use with the dwPalCaps field of the ddCaps class to specify the palette capabilities.

DDPCAPS_1BIT
Indicates that the index is 1 bit. There are two entries in the color table.
DDPCAPS_2BIT
Indicates that the index is 2 bits. There are four entries in the color table.
DDPCAPS_4BIT
Indicates that the index is 4 bits. There are 16 entries in the color table.
DDPCAPS_8BIT
Indicates that the index is 8 bits. There are 256 entries in the color table.
DDPCAPS_8BITENTRIES
Specifies an index to an 8-bit color index. This field is valid only when used with the DDPCAPS_1BIT, DDPCAPS_2BIT, or DDPCAPS_4BIT capability and when the target surface is in 8 bits per pixel (bpp). Each color entry is 1 byte long and is an index to an 8-bpp palette on the destination surface.
DDPCAPS_ALLOW256
Indicates that this palette can have all 256 entries defined.
DDPCAPS_INITIALIZE
Reserved.
DDPCAPS_PRIMARYSURFACE
Indicates that the palette is attached to the primary surface. Changing the palette has an immediate effect on the display unless the DDPCAPS_VSYNC capability is specified and supported.
DDPCAPS_PRIMARYSURFACELEFT
Indicates that the palette is attached to the primary surface on the left. Changing the palette has an immediate effect on the display unless the DDPCAPS_VSYNC capability is specified and supported.
DDPCAPS_VSYNC
Indicates that the palette can be modified synchronously with the monitor's refresh rate.


Top© 1996 Microsoft Corporation. All rights reserved.