[SETUPLIB][USETUP] Introduce a 'SetupLib' library. CORE-13544
[reactos.git] / base / setup / lib / errorcode.h
1 /*
2 * PROJECT: ReactOS Setup Library
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: Setup error codes
5 * COPYRIGHT: Copyright 2007-2018 Johannes Anderwald <johannes.anderwald@reactos.org>
6 */
7
8 #pragma once
9
10 typedef enum
11 {
12 NOT_AN_ERROR = 0, // ERROR_SUCCESS,
13 ERROR_NOT_INSTALLED,
14 ERROR_NO_HDD,
15 ERROR_NO_SOURCE_DRIVE,
16 ERROR_LOAD_TXTSETUPSIF,
17 ERROR_CORRUPT_TXTSETUPSIF,
18 ERROR_SIGNATURE_TXTSETUPSIF,
19 ERROR_DRIVE_INFORMATION,
20 ERROR_WRITE_BOOT,
21 ERROR_LOAD_COMPUTER,
22 ERROR_LOAD_DISPLAY,
23 ERROR_LOAD_KEYBOARD,
24 ERROR_LOAD_KBLAYOUT,
25 ERROR_WARN_PARTITION,
26 ERROR_NEW_PARTITION,
27 ERROR_DELETE_SPACE,
28 ERROR_INSTALL_BOOTCODE,
29 ERROR_NO_FLOPPY,
30 ERROR_UPDATE_KBSETTINGS,
31 ERROR_UPDATE_DISPLAY_SETTINGS,
32 ERROR_IMPORT_HIVE,
33 ERROR_FIND_REGISTRY,
34 ERROR_CREATE_HIVE,
35 ERROR_INITIALIZE_REGISTRY,
36 ERROR_INVALID_CABINET_INF,
37 ERROR_CABINET_MISSING,
38 ERROR_CABINET_SCRIPT,
39 ERROR_COPY_QUEUE,
40 ERROR_CREATE_DIR,
41 ERROR_TXTSETUP_SECTION,
42 ERROR_CABINET_SECTION,
43 ERROR_CREATE_INSTALL_DIR,
44 ERROR_FIND_SETUPDATA,
45 ERROR_WRITE_PTABLE,
46 ERROR_ADDING_CODEPAGE,
47 ERROR_UPDATE_LOCALESETTINGS,
48 ERROR_ADDING_KBLAYOUTS,
49 ERROR_UPDATE_GEOID,
50 ERROR_DIRECTORY_NAME,
51 ERROR_INSUFFICIENT_PARTITION_SIZE,
52 ERROR_PARTITION_TABLE_FULL,
53 ERROR_ONLY_ONE_EXTENDED,
54 ERROR_FORMATTING_PARTITION,
55
56 ERROR_LAST_ERROR_CODE
57 } ERROR_NUMBER;
58
59 /* EOF */