/*DDK*************************************************************************/
/*                                                                           */
/* COPYRIGHT (C) Microsoft 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.                                */
/*                                                                           */
/*****************************************************************************/
/**************************************************************************
 *
 * SOURCE FILE NAME = PRDCEXTF.H
 *
 * DESCRIPTIVE NAME =
 *
 *
 * VERSION = V2.0
 *
 * DATE
 *
 * DESCRIPTION : Printer Device Driver external files for Color routines
 *
 *
 * FUNCTIONS
 *
 *
 * NOTES       : Reference - Device Driver Interface Specification
 *
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 * EXTERNAL FUNCTIONS
 *
*/


#define N_SYSCOLORS	5	/* Number of system colors */
#define N_STDCOLORS    16	/* Number of standard colors */



LONG prdc_QueryLogColorTable(
	    HDC,
	    ULONG,		       /* Options		      */
	    LONG,		       /* Start 		      */
	    LONG,		       /* Count 		      */
	    ULONG *,		   /* Array			  */
	    PDDC,
	    ULONG);

ULONG prdc_CreateLogColorTable (
	    HDC,
	    ULONG,
	    ULONG,
	    LONG,
	    LONG,
	    LONG *,
	    PDDC,
	    ULONG);

ULONG  prdc_RealizeColorTable(HDC, PDDC, ULONG);
ULONG  prdc_UnrealizeColorTable (HDC, PDDC, ULONG);
ULONG  prdc_QueryRGBColor(HDC, ULONG, LONG, PDDC, ULONG);
ULONG  prdc_QueryColorData(HDC, LONG, ULONG FAR *, PDDC, ULONG);
ULONG  prdc_QueryNearestColor(HDC, ULONG, LONG, PDDC, ULONG);
LONG   prdc_QueryColorIndex(HDC, ULONG, LONG, PDDC, ULONG);
LONG   prdc_QueryRealColors(HDC, ULONG, LONG, LONG, ULONG FAR *, PDDC, ULONG);
LONG   prdc_GetColor(PDDC, LONG);
FIXED  prdc_RgbToGray(PDDC, LONG);
