VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/cderr.h@ 41283

Last change on this file since 41283 was 33656, checked in by vboxsync, 14 years ago

*: rebrand Sun (L)GPL disclaimers

  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
1/*
2 * Copyright (C) 1999 Bertho Stultiens
3 *
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.
8 *
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.
13 *
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
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_CDERR_H
29#define __WINE_CDERR_H
30
31/* General error codes */
32#define CDERR_DIALOGFAILURE 0xFFFF
33#define CDERR_GENERALCODES 0x0000
34#define CDERR_STRUCTSIZE 0x0001
35#define CDERR_INITIALIZATION 0x0002
36#define CDERR_NOTEMPLATE 0x0003
37#define CDERR_NOHINSTANCE 0x0004
38#define CDERR_LOADSTRFAILURE 0x0005
39#define CDERR_FINDRESFAILURE 0x0006
40#define CDERR_LOADRESFAILURE 0x0007
41#define CDERR_LOCKRESFAILURE 0x0008
42#define CDERR_MEMALLOCFAILURE 0x0009
43#define CDERR_MEMLOCKFAILURE 0x000A
44#define CDERR_NOHOOK 0x000B
45#define CDERR_REGISTERMSGFAIL 0x000C
46
47/* Printer dialog error codes */
48#define PDERR_PRINTERCODES 0x1000
49#define PDERR_SETUPFAILURE 0x1001
50#define PDERR_PARSEFAILURE 0x1002
51#define PDERR_RETDEFFAILURE 0x1003
52#define PDERR_LOADDRVFAILURE 0x1004
53#define PDERR_GETDEVMODEFAIL 0x1005
54#define PDERR_INITFAILURE 0x1006
55#define PDERR_NODEVICES 0x1007
56#define PDERR_NODEFAULTPRN 0x1008
57#define PDERR_DNDMMISMATCH 0x1009
58#define PDERR_CREATEICFAILURE 0x100A
59#define PDERR_PRINTERNOTFOUND 0x100B
60#define PDERR_DEFAULTDIFFERENT 0x100C
61
62/* Chose font error codes */
63#define CFERR_CHOOSEFONTCODES 0x2000
64#define CFERR_NOFONTS 0x2001
65#define CFERR_MAXLESSTHANMIN 0x2002
66
67/* File{Open,Save} error codes */
68#define FNERR_FILENAMECODES 0x3000
69#define FNERR_SUBCLASSFAILURE 0x3001
70#define FNERR_INVALIDFILENAME 0x3002
71#define FNERR_BUFFERTOOSMALL 0x3003
72
73/* Find/Replace error codes */
74#define FRERR_FINDREPLACECODES 0x4000
75#define FRERR_BUFFERLENGTHZERO 0x4001
76
77/* Choose color error codes */
78#define CCERR_CHOOSECOLORCODES 0x5000
79
80#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette