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_DELETE_SPACE, 36 ERROR_INSTALL_BOOTCODE, 37 ERROR_NO_FLOPPY, 38 ERROR_UPDATE_KBSETTINGS, 39 ERROR_UPDATE_DISPLAY_SETTINGS, 40 ERROR_IMPORT_HIVE, 41 ERROR_FIND_REGISTRY, 42 ERROR_CREATE_HIVE, 43 ERROR_INITIALIZE_REGISTRY, 44 ERROR_INVALID_CABINET_INF, 45 ERROR_CABINET_MISSING, 46 ERROR_CABINET_SCRIPT, 47 ERROR_COPY_QUEUE, 48 ERROR_CREATE_DIR, 49 ERROR_TXTSETUP_SECTION, 50 ERROR_CABINET_SECTION, 51 ERROR_CREATE_INSTALL_DIR, 52 ERROR_WRITE_PTABLE, 53 ERROR_ADDING_CODEPAGE, 54 ERROR_UPDATE_LOCALESETTINGS, 55 ERROR_ADDING_KBLAYOUTS, 56 ERROR_UPDATE_GEOID, 57 ERROR_DIRECTORY_NAME, 58 ERROR_INSUFFICIENT_PARTITION_SIZE, 59 ERROR_PARTITION_TABLE_FULL, 60 ERROR_ONLY_ONE_EXTENDED, 61 ERROR_FORMATTING_PARTITION, 62 63 ERROR_LAST_ERROR_CODE 64 } ERROR_NUMBER; 65 66 /* EOF */ 67