## Printer Device Driver

[prev][next][parent][TOC]

### GplGammaCreateTable

Description

This function creates an RGB (K) gamma table based on input gammas and bias .

Format

    APIRET APIENTRY GplGammaCreateTable( PBYTE  pbGamma,

                                         LONG   lRgamma,

                                         LONG   lGgamma,

                                         LONG   lBgamma,

                                         LONG   lbias );

Parameters

pbGamma (PBYTE) A byte pointer to a 768-byte buffer.

pbGamma can be used as a PRGB2 instead of a PBYTE.

lRgamma (LONG) Red. Gamma multiplied by 10, with a range of 1 to 99.

lGgamma (LONG) Green. Gamma multiplied by 10, with a range of 1 to 99.

lBgamma (LONG) Blue. Gamma multiplied by 10, with a range of 1 to 99.

lbias (LONG) Offset, normally zero, generally for printers over 600 dpi.

Returns

Success 0
Failure INVALID_PARAMETER