ifndef _CDERR_
define _CDERR_

CDERR_DIALOGFAILURE	equ 0xFFFF

CDERR_GENERALCODES	equ 0x0000
CDERR_STRUCTSIZE	equ 0x0001
CDERR_INITIALIZATION	equ 0x0002
CDERR_NOTEMPLATE	equ 0x0003
CDERR_NOHINSTANCE	equ 0x0004
CDERR_LOADSTRFAILURE	equ 0x0005
CDERR_FINDRESFAILURE	equ 0x0006
CDERR_LOADRESFAILURE	equ 0x0007
CDERR_LOCKRESFAILURE	equ 0x0008
CDERR_MEMALLOCFAILURE	equ 0x0009
CDERR_MEMLOCKFAILURE	equ 0x000A
CDERR_NOHOOK		equ 0x000B
CDERR_REGISTERMSGFAIL	equ 0x000C

PDERR_PRINTERCODES	equ 0x1000
PDERR_SETUPFAILURE	equ 0x1001
PDERR_PARSEFAILURE	equ 0x1002
PDERR_RETDEFFAILURE	equ 0x1003
PDERR_LOADDRVFAILURE	equ 0x1004
PDERR_GETDEVMODEFAIL	equ 0x1005
PDERR_INITFAILURE	equ 0x1006
PDERR_NODEVICES		equ 0x1007
PDERR_NODEFAULTPRN	equ 0x1008
PDERR_DNDMMISMATCH	equ 0x1009
PDERR_CREATEICFAILURE	equ 0x100A
PDERR_PRINTERNOTFOUND	equ 0x100B
PDERR_DEFAULTDIFFERENT	equ 0x100C

CFERR_CHOOSEFONTCODES	equ 0x2000
CFERR_NOFONTS		equ 0x2001
CFERR_MAXLESSTHANMIN	equ 0x2002

FNERR_FILENAMECODES	equ 0x3000
FNERR_SUBCLASSFAILURE	equ 0x3001
FNERR_INVALIDFILENAME	equ 0x3002
FNERR_BUFFERTOOSMALL	equ 0x3003

FRERR_FINDREPLACECODES	equ 0x4000
FRERR_BUFFERLENGTHZERO	equ 0x4001

CCERR_CHOOSECOLORCODES	equ 0x5000

endif
