Separated 32 bit functions to shellole.c.
[wine/multimedia.git] / include / cderr.h
blobb74706a08d1b4d6760532d251a424f9ff161d375
1 #ifndef __WINE_CDERR_H
2 #define __WINE_CDERR_H
4 /* General error codes */
5 #define CDERR_DIALOGFAILURE 0xFFFF
6 #define CDERR_GENERALCODES 0x0000
7 #define CDERR_STRUCTSIZE 0x0001
8 #define CDERR_INITIALIZATION 0x0002
9 #define CDERR_NOTEMPLATE 0x0003
10 #define CDERR_NOHINSTANCE 0x0004
11 #define CDERR_LOADSTRFAILURE 0x0005
12 #define CDERR_FINDRESFAILURE 0x0006
13 #define CDERR_LOADRESFAILURE 0x0007
14 #define CDERR_LOCKRESFAILURE 0x0008
15 #define CDERR_MEMALLOCFAILURE 0x0009
16 #define CDERR_MEMLOCKFAILURE 0x000A
17 #define CDERR_NOHOOK 0x000B
18 #define CDERR_REGISTERMSGFAIL 0x000C
20 /* Printer dialog error codes */
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
35 /* Chose font error codes */
36 #define CFERR_CHOOSEFONTCODES 0x2000
37 #define CFERR_NOFONTS 0x2001
38 #define CFERR_MAXLESSTHANMIN 0x2002
40 /* File{Open,Save} error codes */
41 #define FNERR_FILENAMECODES 0x3000
42 #define FNERR_SUBCLASSFAILURE 0x3001
43 #define FNERR_INVALIDFILENAME 0x3002
44 #define FNERR_BUFFERTOOSMALL 0x3003
46 /* Find/Replace error codes */
47 #define FRERR_FINDREPLACECODES 0x4000
48 #define FRERR_BUFFERLENGTHZERO 0x4001
50 /* Choose color error codes */
51 #define CCERR_CHOOSECOLORCODES 0x5000
53 #endif