Microsoft SDK for Java

getEntries

This method of the DirectDrawPalette Class queries palette values from a DirectDrawPalette object.

Syntax

public void getEntries(int flags, int start, int count, byte[] val);

Parameters

flags Reserved; the value must be 0.
start The beginning of the entries that should be sequentially retrieved.
count Number of palette entries that can fit in the object-specified val. The colors of each palette entry are returned in sequence, from the value of the start parameter through the value of the count parameter minus 1.
val The array variable that receives the palette entries. The palette entries are 1 byte each if the DDPCAPS_8BITENTRIES flag is set; otherwise, entries are 4 bytes each. Each entry is a color description.

See Also

setEntries

© 1999 Microsoft Corporation. All rights reserved. Terms of use.