/*DDK*************************************************************************/
/*                                                                           */
/* COPYRIGHT (C) Lexmark Corporation, 1989                                   */
/* COPYRIGHT    Copyright (C) 1995 IBM Corporation                           */
/*                                                                           */
/*    The following IBM OS/2 WARP source code is provided to you solely for  */
/*    the purpose of assisting you in your development of OS/2 WARP device   */
/*    drivers. You may use this code in accordance with the IBM License      */
/*    Agreement provided in the IBM Device Driver Source Kit for OS/2. This  */
/*    Copyright statement may not be removed.                                */
/*                                                                           */
/*****************************************************************************/
/**************************************************************************
 *                            Lexmark Confidential
 *
 * SOURCE FILE NAME = PRDCEXTF
 *
 * DESCRIPTIVE NAME = Printer Device Driver external files for
 *                    Color routines
 *
 *
 * VERSION
 *
 * DATE
 *
 * DESCRIPTION
 *
 * FUNCTIONS
 *
 * ENTRY POINTS:
 *
 * DEPENDENCIES:
 *
 * NOTES
 *
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 * EXTERNAL FUNCTIONS
 *
*/
ULONG prdc_QueryColorData (
            hanDC,
            ULONG,                     /* Count                       */
            PULONG,                    /* Array                       */
            lpDCI,
            ULONG);

ULONG prdc_QueryLogColorTable (
            hanDC,
            ULONG,                     /* Options                     */
            ULONG,                     /* Start                       */
            ULONG,                     /* Count                       */
            PULONG,                    /* Array                       */
            lpDCI,
            ULONG);

ULONG EXPENTRY prdc_CreateLogColorTable (
            hanDC,
            ULONG,                     /* Options                     */
            ULONG,                     /* Format                      */
            ULONG,                     /* Start                       */
            ULONG,                     /* Count                       */
            PULONG,                    /* Data                        */
            lpDCI,
            ULONG);

ULONG EXPENTRY prdc_RealizeColorTable (
            hanDC,
            lpDCI,
            ULONG);

ULONG EXPENTRY prdc_UnRealizeColorTable (
            hanDC,
            lpDCI,
            ULONG);

ULONG prdc_QueryRealColors (
            hanDC,
            ULONG,                     /* Options                     */
            ULONG,                     /* Start                       */
            ULONG,                     /* Count                       */
            PULONG,                    /* Array                       */
            lpDCI,
            ULONG);

ULONG prdc_QueryNearestColor (
            hanDC,
            ULONG,                     /* Options                     */
            ULONG,                     /* RgbColorIn                  */
            lpDCI,
            ULONG);

ULONG prdc_QueryColorIndex (
            hanDC,
            ULONG,                     /* Options                     */
            ULONG,                     /* RgbColor                    */
            lpDCI,
            ULONG);

ULONG prdc_QueryRGBColor (
            hanDC,
            ULONG,                     /* Options                     */
            ULONG,                     /* Color                       */
            lpDCI,
            ULONG);

ULONG prdc_ColorDifference (
            ULONG,
            ULONG);

ULONG prdc_RGBToPhysIndex (
            ULONG,
            lpDCI);

BYTE prdc_RGBToColIndex(
            RGB2 *);                  /* CON3201 - GRE change */

ULONG prdc_RGBColorDiff (
            RGB2 *,                   /* CON3201 - GRE change */
            RGB2 *);                  /* CON3201 - GRE change */

BYTE prdc_RGBColorToPelBits (
            ULONG,
            lpDVTColorTable);

BYTE prdc_PhysRGBColorToPelBits (
            ULONG,
            lpDVTColorTable);

BYTE prdc_ColorToPelBits (
            ULONG,
            lpDCI,
            lpDVTColorTable);

BYTE prdc_NegColorToPelBits (
            LONG,
            lpDCI,
            lpDVTColorTable);

LONG prdc_InterpretDfltColor (
            LONG,
            lpDCI);

LONG prdc_GetSystemColor (
            LONG,
            lpDCI);

ULONG prdc_ColorToRGBValue(
            ULONG,
            lpDCI);

ULONG prdc_RGBToCLRIndex(
            RGB2 *,                   /* CON3201 - GRE change */
            lpDCI);

BYTE  prdc_GreyColorToPelBits(
            ULONG,
            lpDCI,
            lpDVTColorTable);
