3 * Copyright (C) 2002 ReactOS Team
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.
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.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS text-mode setup
22 * FILE: base/setup/usetup/usetup.h
23 * PURPOSE: Text-mode setup
35 #define WIN32_NO_STATUS
42 #define NTOS_MODE_USER
43 #include <ndk/cmfuncs.h>
44 #include <ndk/exfuncs.h>
45 #include <ndk/iofuncs.h>
46 #include <ndk/kefuncs.h>
47 #include <ndk/mmfuncs.h>
48 #include <ndk/obfuncs.h>
49 #include <ndk/psfuncs.h>
50 #include <ndk/rtlfuncs.h>
51 #include <ndk/setypes.h>
53 #include <ntstrsafe.h>
56 /* Setup library headers */
57 #include <reactos/rosioctl.h>
58 #include <../lib/setuplib.h>
59 // #include "errorcode.h"
61 /* Internal Headers */
65 #include "filequeue.h"
73 extern HANDLE ProcessHeap
;
74 extern BOOLEAN IsUnattendedSetup
;
75 extern PCWSTR SelectedLanguageId
;
77 typedef enum _PAGE_NUMBER
84 // SCSI_CONTROLLER_PAGE,
91 COMPUTER_SETTINGS_PAGE
,
92 DISPLAY_SETTINGS_PAGE
,
93 KEYBOARD_SETTINGS_PAGE
,
96 SELECT_PARTITION_PAGE
,
97 CREATE_PRIMARY_PARTITION_PAGE
,
98 CREATE_EXTENDED_PARTITION_PAGE
,
99 CREATE_LOGICAL_PARTITION_PAGE
,
100 CONFIRM_DELETE_SYSTEM_PARTITION_PAGE
,
101 DELETE_PARTITION_PAGE
,
103 SELECT_FILE_SYSTEM_PAGE
,
104 FORMAT_PARTITION_PAGE
,
105 CHECK_FILE_SYSTEM_PAGE
,
108 INSTALL_DIRECTORY_PAGE
,
112 BOOT_LOADER_FLOPPY_PAGE
,
113 BOOT_LOADER_HARDDISK_MBR_PAGE
,
114 BOOT_LOADER_HARDDISK_VBR_PAGE
,
119 REBOOT_PAGE
, /* Virtual page */
120 RECOVERY_PAGE
, /* Virtual page */
121 } PAGE_NUMBER
, *PPAGE_NUMBER
;
123 #define POPUP_WAIT_NONE 0
124 #define POPUP_WAIT_ANY_KEY 1
125 #define POPUP_WAIT_ENTER 2
128 PopupError(IN PCCH Text
,
133 #endif /* _USETUP_PCH_ */