- Show localized error messages
[reactos.git] / reactos / base / setup / usetup / errorcode.h
1 /*
2 * ReactOS kernel
3 * Copyright (C) 2003 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /* $Id: registry.h 21704 2006-04-22 13:55:01Z tretiakov $
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS text-mode setup
22 * FILE: subsys/system/usetup/errcode.h
23 * PURPOSE:
24 * PROGRAMMER:
25 */
26
27 #ifndef __ERROR_CODE_H__
28 #define __ERROR_CODE_H__
29
30 typedef enum
31 {
32 ERROR_NOT_INSTALLED = 0,
33 ERROR_NO_HDD,
34 ERROR_NO_SOURCE_DRIVE,
35 ERROR_LOAD_TXTSETUPSIF,
36 ERROR_CORRUPT_TXTSETUPSIF,
37 ERROR_SIGNATURE_TXTSETUPSIF,
38 ERROR_DRIVE_INFORMATION,
39 ERROR_WRITE_BOOT,
40 ERROR_LOAD_COMPUTER,
41 ERROR_LOAD_DISPLAY,
42 ERROR_LOAD_KEYBOARD,
43 ERROR_LOAD_KBLAYOUT,
44 ERROR_WARN_PARTITION,
45 ERROR_NEW_PARTITION,
46 ERROR_DELETE_SPACE,
47 ERROR_INSTALL_BOOTCODE,
48 ERROR_NO_FLOPPY,
49 ERROR_UPDATE_KBSETTINGS,
50 ERROR_UPDATE_DISPLAY_SETTINGS,
51 ERROR_IMPORT_HIVE,
52 ERROR_FIND_REGISTRY,
53 ERROR_CREATE_HIVE,
54 ERROR_INITIALIZE_REGISTRY,
55 ERROR_INVALID_CABINET_INF,
56 ERROR_CABINET_MISSING,
57 ERROR_CABINET_SCRIPT,
58 ERROR_COPY_QUEUE,
59 ERROR_CREATE_DIR,
60 ERROR_TXTSETUP_SECTION,
61 ERROR_CABINET_SECTION,
62 ERROR_CREATE_INSTALL_DIR,
63 ERROR_FIND_SETUPDATA,
64 ERROR_WRITE_PTABLE,
65
66 ERROR_LAST_ERROR_CODE
67 }ERROR_NUMBER;
68
69 #endif /* __ERROR_CODE_H__ */
70
71 /* EOF */
72