LONG HT_Get8BPPFormatPalette(
LPPALETTEENTRY pPaletteEntry, | |
USHORT RedGamma, | |
USHORT GreenGamma, | |
USHORT BlueGamma | |
); |
HT_Get8BPPFormatPalette returns a halftone palette for use on standard 8-bits per pixel device types.
If pPaletteEntry is not null, the return value is the number of PALETTEENTRY structures written to the memory location pointed to by pPaletteEntry. If pPaletteEntry is null, the return value is the total count of PALETTEENTRY structures required to store the 8-bits per pixel halftone palette.
HT_Get8BPPFormatPalette is a halftone-related GDI service that drivers can use to acquire the system’s standard 8-bits per pixel halftone palette.