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 /* setupapi.h defines ERROR_NOT_INSTALLED with another meaning */ 11 #ifdef ERROR_NOT_INSTALLED 12 #undef ERROR_NOT_INSTALLED 13 #endif 14 15 typedef enum _ERROR_NUMBER 16 { 17 NOT_AN_ERROR = 0, // ERROR_SUCCESS, 18 ERROR_NOT_INSTALLED, 19 ERROR_NO_BUILD_PATH, 20 ERROR_SOURCE_PATH, 21 ERROR_SOURCE_DIR, 22 ERROR_NO_HDD, 23 ERROR_NO_SOURCE_DRIVE, 24 ERROR_LOAD_TXTSETUPSIF, 25 ERROR_CORRUPT_TXTSETUPSIF, 26 ERROR_SIGNATURE_TXTSETUPSIF, 27 ERROR_DRIVE_INFORMATION, 28 ERROR_WRITE_BOOT, 29 ERROR_LOAD_COMPUTER, 30 ERROR_LOAD_DISPLAY, 31 ERROR_LOAD_KEYBOARD, 32 ERROR_LOAD_KBLAYOUT, 33 ERROR_WARN_PARTITION, 34 ERROR_NEW_PARTITION, 35 ERROR_INSTALL_BOOTCODE, 36 ERROR_NO_FLOPPY, 37 ERROR_UPDATE_KBSETTINGS, 38 ERROR_UPDATE_DISPLAY_SETTINGS, 39 ERROR_IMPORT_HIVE, 40 ERROR_FIND_REGISTRY, 41 ERROR_CREATE_HIVE, 42 ERROR_INITIALIZE_REGISTRY, 43 ERROR_INVALID_CABINET_INF, 44 ERROR_CABINET_MISSING, 45 ERROR_CABINET_SCRIPT, 46 ERROR_COPY_QUEUE, 47 ERROR_CREATE_DIR, 48 ERROR_TXTSETUP_SECTION, 49 ERROR_CABINET_SECTION, 50 ERROR_CREATE_INSTALL_DIR, 51 ERROR_WRITE_PTABLE, 52 ERROR_ADDING_CODEPAGE, 53 ERROR_UPDATE_LOCALESETTINGS, 54 ERROR_ADDING_KBLAYOUTS, 55 ERROR_UPDATE_GEOID, 56 ERROR_DIRECTORY_NAME, 57 ERROR_INSUFFICIENT_PARTITION_SIZE, 58 ERROR_PARTITION_TABLE_FULL, 59 ERROR_ONLY_ONE_EXTENDED, 60 ERROR_FORMATTING_PARTITION, 61 62 ERROR_LAST_ERROR_CODE 63 } ERROR_NUMBER; 64 65 /* EOF */ 66