1 #ifndef _CDERR_H 2 #define _CDERR_H 3 4 #define CDERR_DIALOGFAILURE 0xFFFF 5 #define CDERR_GENERALCODES 0x0000 6 #define CDERR_STRUCTSIZE 0x0001 7 #define CDERR_INITIALIZATION 0x0002 8 #define CDERR_NOTEMPLATE 0x0003 9 #define CDERR_NOHINSTANCE 0x0004 10 #define CDERR_LOADSTRFAILURE 0x0005 11 #define CDERR_FINDRESFAILURE 0x0006 12 #define CDERR_LOADRESFAILURE 0x0007 13 #define CDERR_LOCKRESFAILURE 0x0008 14 #define CDERR_MEMALLOCFAILURE 0x0009 15 #define CDERR_MEMLOCKFAILURE 0x000A 16 #define CDERR_NOHOOK 0x000B 17 #define CDERR_REGISTERMSGFAIL 0x000C 18 #define PDERR_PRINTERCODES 0x1000 19 #define PDERR_SETUPFAILURE 0x1001 20 #define PDERR_PARSEFAILURE 0x1002 21 #define PDERR_RETDEFFAILURE 0x1003 22 #define PDERR_LOADDRVFAILURE 0x1004 23 #define PDERR_GETDEVMODEFAIL 0x1005 24 #define PDERR_INITFAILURE 0x1006 25 #define PDERR_NODEVICES 0x1007 26 #define PDERR_NODEFAULTPRN 0x1008 27 #define PDERR_DNDMMISMATCH 0x1009 28 #define PDERR_CREATEICFAILURE 0x100A 29 #define PDERR_PRINTERNOTFOUND 0x100B 30 #define PDERR_DEFAULTDIFFERENT 0x100C 31 #define CFERR_CHOOSEFONTCODES 0x2000 32 #define CFERR_NOFONTS 0x2001 33 #define CFERR_MAXLESSTHANMIN 0x2002 34 #define FNERR_FILENAMECODES 0x3000 35 #define FNERR_SUBCLASSFAILURE 0x3001 36 #define FNERR_INVALIDFILENAME 0x3002 37 #define FNERR_BUFFERTOOSMALL 0x3003 38 #define FRERR_FINDREPLACECODES 0x4000 39 #define FRERR_BUFFERLENGTHZERO 0x4001 40 #define CCERR_CHOOSECOLORCODES 0x5000 41 #endif 42