/*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 = PRDERRE.H
 *
 * DESCRIPTIVE NAME =
 *
 *
 * VERSION = V2.0
 *
 * DATE
 *
 * DESCRIPTION : Printer Device Driver Error Constants
 *
 * FUNCTIONS
 *
 *
 * NOTES       : Reference - Device Driver Interface Specification
 *                         - Device Driver Interface Specification
 *                         - Printer Device Driver Design Specification
 *
 * STRUCTURES
 *
 * EXTERNAL REFERENCES
 *
 * EXTERNAL FUNCTIONS
 *
*/



/*
**  Definition of Printer Device Driver Return and Error codes.
*/

#define OK                      1
#define WIN_OK                  1
#define ENG_OK                  0
#define DOS_OK                  0
#define ENG_CALL                0xFFFE

#define ERROR_NEG               -1
#define ERROR_MINUS_2           -2
#define ERROR_MINUS_4           -4
#define ERROR_ZERO              0

#define ERROR_NO_MEMORY         0x400
#define ERROR_INVALID_DC        0x401
#define ERROR_INVALID_PARM      0x402
#define ERR_NO_RASTER           0x403
#define ERROR_CONVERT_FAILED    0x404
#define ERR_NO_SOURCE           0x405
#define ERR_INVALID_SOURCE      0x406
#define ERR_INVALID_TARGET      0x407
#define ERR_WRONG_DC_DATA_TYPE  0x408                          /* KH SEA6 */
#define ERR_BANDING_NOT_ALLOWED 0x409                          /* KH SEA6 */

