Important: The information in this document is obsolete and should not be used for new development.
GetEntryUsage
Returns the usage and tolerance fields of a palette entry.
pascal void GetEntryUsage( PaletteHandle srcPalette, short srcEntry, short *dstUsage, short *dstTolerance);
srcPalette
- A handle to the palette to be accessed.
srcEntry
- The palette entry whose usage and tolerance are desired.
dstUsage
- The usage value of the palette entry.
dstTolerance
- The tolerance value of the palette entry.
DISCUSSION
TheGetEntryUsage
function takes the usage and tolerance values of the entry specified by thesrcEntry
parameter and stores them in thedstUsage
anddstTolerance
parameters. You can modify the entry's usage and tolerance values by using theSetEntryUsage
function.