msi/tests: Remove duplicate service tests.
[wine.git] / include / cderr.h
blobea5ef05ce93d939d789ecde9b7a7bbce10acfa07
1 /*
2 * Copyright (C) 1999 Bertho Stultiens
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_CDERR_H
20 #define __WINE_CDERR_H
22 /* General error codes */
23 #define CDERR_DIALOGFAILURE 0xFFFF
24 #define CDERR_GENERALCODES 0x0000
25 #define CDERR_STRUCTSIZE 0x0001
26 #define CDERR_INITIALIZATION 0x0002
27 #define CDERR_NOTEMPLATE 0x0003
28 #define CDERR_NOHINSTANCE 0x0004
29 #define CDERR_LOADSTRFAILURE 0x0005
30 #define CDERR_FINDRESFAILURE 0x0006
31 #define CDERR_LOADRESFAILURE 0x0007
32 #define CDERR_LOCKRESFAILURE 0x0008
33 #define CDERR_MEMALLOCFAILURE 0x0009
34 #define CDERR_MEMLOCKFAILURE 0x000A
35 #define CDERR_NOHOOK 0x000B
36 #define CDERR_REGISTERMSGFAIL 0x000C
38 /* Printer dialog error codes */
39 #define PDERR_PRINTERCODES 0x1000
40 #define PDERR_SETUPFAILURE 0x1001
41 #define PDERR_PARSEFAILURE 0x1002
42 #define PDERR_RETDEFFAILURE 0x1003
43 #define PDERR_LOADDRVFAILURE 0x1004
44 #define PDERR_GETDEVMODEFAIL 0x1005
45 #define PDERR_INITFAILURE 0x1006
46 #define PDERR_NODEVICES 0x1007
47 #define PDERR_NODEFAULTPRN 0x1008
48 #define PDERR_DNDMMISMATCH 0x1009
49 #define PDERR_CREATEICFAILURE 0x100A
50 #define PDERR_PRINTERNOTFOUND 0x100B
51 #define PDERR_DEFAULTDIFFERENT 0x100C
53 /* Chose font error codes */
54 #define CFERR_CHOOSEFONTCODES 0x2000
55 #define CFERR_NOFONTS 0x2001
56 #define CFERR_MAXLESSTHANMIN 0x2002
58 /* File{Open,Save} error codes */
59 #define FNERR_FILENAMECODES 0x3000
60 #define FNERR_SUBCLASSFAILURE 0x3001
61 #define FNERR_INVALIDFILENAME 0x3002
62 #define FNERR_BUFFERTOOSMALL 0x3003
64 /* Find/Replace error codes */
65 #define FRERR_FINDREPLACECODES 0x4000
66 #define FRERR_BUFFERLENGTHZERO 0x4001
68 /* Choose color error codes */
69 #define CCERR_CHOOSECOLORCODES 0x5000
71 #endif