source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/cderr.h@ 1186

Last change on this file since 1186 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.5 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _INC_CDERR
7#define _INC_CDERR
8
9#define CDERR_DIALOGFAILURE 0xFFFF
10
11#define CDERR_GENERALCODES 0x0000
12#define CDERR_STRUCTSIZE 0x0001
13#define CDERR_INITIALIZATION 0x0002
14#define CDERR_NOTEMPLATE 0x0003
15#define CDERR_NOHINSTANCE 0x0004
16#define CDERR_LOADSTRFAILURE 0x0005
17#define CDERR_FINDRESFAILURE 0x0006
18#define CDERR_LOADRESFAILURE 0x0007
19#define CDERR_LOCKRESFAILURE 0x0008
20#define CDERR_MEMALLOCFAILURE 0x0009
21#define CDERR_MEMLOCKFAILURE 0x000A
22#define CDERR_NOHOOK 0x000B
23#define CDERR_REGISTERMSGFAIL 0x000C
24
25#define PDERR_PRINTERCODES 0x1000
26#define PDERR_SETUPFAILURE 0x1001
27#define PDERR_PARSEFAILURE 0x1002
28#define PDERR_RETDEFFAILURE 0x1003
29#define PDERR_LOADDRVFAILURE 0x1004
30#define PDERR_GETDEVMODEFAIL 0x1005
31#define PDERR_INITFAILURE 0x1006
32#define PDERR_NODEVICES 0x1007
33#define PDERR_NODEFAULTPRN 0x1008
34#define PDERR_DNDMMISMATCH 0x1009
35#define PDERR_CREATEICFAILURE 0x100A
36#define PDERR_PRINTERNOTFOUND 0x100B
37#define PDERR_DEFAULTDIFFERENT 0x100C
38
39#define CFERR_CHOOSEFONTCODES 0x2000
40#define CFERR_NOFONTS 0x2001
41#define CFERR_MAXLESSTHANMIN 0x2002
42
43#define FNERR_FILENAMECODES 0x3000
44#define FNERR_SUBCLASSFAILURE 0x3001
45#define FNERR_INVALIDFILENAME 0x3002
46#define FNERR_BUFFERTOOSMALL 0x3003
47
48#define FRERR_FINDREPLACECODES 0x4000
49#define FRERR_BUFFERLENGTHZERO 0x4001
50
51#define CCERR_CHOOSECOLORCODES 0x5000
52#endif
Note: See TracBrowser for help on using the repository browser.