source: Daodan/MinGW/include/cderr.h@ 1133

Last change on this file since 1133 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

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