ReactOS
0.4.16-dev-340-g0540c21
usetup.h
Go to the documentation of this file.
1
/*
2
* ReactOS kernel
3
* Copyright (C) 2002 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 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.
18
*/
19
/*
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
24
* PROGRAMMER:
25
*/
26
27
#ifndef _USETUP_PCH_
28
#define _USETUP_PCH_
29
30
/* C Headers */
31
#include <stdio.h>
32
#include <stdlib.h>
33
34
/* PSDK/NDK */
35
#define WIN32_NO_STATUS
36
#include <
windef.h
>
37
#include <
winbase.h
>
38
#include <
winreg.h
>
39
#include <
winuser.h
>
40
#include <
wincon.h
>
41
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
>
52
53
#include <
ntstrsafe.h
>
54
55
56
/* Setup library headers */
57
#include <
reactos/rosioctl.h
>
58
#include <../lib/setuplib.h>
59
60
/* Internal Headers */
61
#include "
consup.h
"
62
#include "
progress.h
"
63
#include "
fslist.h
"
64
#include "
partlist.h
"
65
#include "
genlist.h
"
66
#include "
mui.h
"
67
68
#include "
spapisup/inffile.h
"
69
#include "
spapisup/cabinet.h
"
70
71
72
extern
HANDLE
ProcessHeap
;
73
extern
PCWSTR
SelectedLanguageId
;
74
75
typedef
enum
_PAGE_NUMBER
76
{
77
SETUP_INIT_PAGE
,
/* Virtual page */
78
LANGUAGE_PAGE
,
79
WELCOME_PAGE
,
80
LICENSE_PAGE
,
81
INSTALL_INTRO_PAGE
,
82
83
// SCSI_CONTROLLER_PAGE,
84
// OEM_DRIVER_PAGE,
85
86
REPAIR_INTRO_PAGE
,
87
UPGRADE_REPAIR_PAGE
,
88
89
DEVICE_SETTINGS_PAGE
,
90
COMPUTER_SETTINGS_PAGE
,
91
DISPLAY_SETTINGS_PAGE
,
92
KEYBOARD_SETTINGS_PAGE
,
93
LAYOUT_SETTINGS_PAGE
,
94
95
SELECT_PARTITION_PAGE
,
96
CREATE_PARTITION_PAGE
,
97
CHANGE_SYSTEM_PARTITION
,
98
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE
,
99
DELETE_PARTITION_PAGE
,
100
101
START_PARTITION_OPERATIONS_PAGE
,
/* Virtual page */
102
SELECT_FILE_SYSTEM_PAGE
,
/* Virtual page */
103
FORMAT_PARTITION_PAGE
,
/* Virtual page */
104
CHECK_FILE_SYSTEM_PAGE
,
105
BOOTLOADER_SELECT_PAGE
,
106
107
PREPARE_COPY_PAGE
,
108
INSTALL_DIRECTORY_PAGE
,
109
FILE_COPY_PAGE
,
110
REGISTRY_PAGE
,
111
BOOTLOADER_INSTALL_PAGE
,
112
BOOTLOADER_REMOVABLE_DISK_PAGE
,
113
114
SUCCESS_PAGE
,
115
QUIT_PAGE
,
116
FLUSH_PAGE
,
117
REBOOT_PAGE
,
/* Virtual page */
118
RECOVERY_PAGE
,
/* Virtual page */
119
}
PAGE_NUMBER
, *
PPAGE_NUMBER
;
120
121
#define POPUP_WAIT_NONE 0
122
#define POPUP_WAIT_ANY_KEY 1
123
#define POPUP_WAIT_ENTER 2
124
125
VOID
126
PopupError
(
IN
PCCH
Text
,
127
IN
PCCH
Status
,
128
IN
PINPUT_RECORD
Ir,
129
IN
ULONG
WaitEvent);
130
131
#endif
/* _USETUP_PCH_ */
cabinet.h
inffile.h
Text
char * Text
Definition:
combotst.c:136
consup.h
fslist.h
Status
Status
Definition:
gdiplustypes.h:25
void
Definition:
nsiface.idl:2307
progress.h
cmfuncs.h
exfuncs.h
iofuncs.h
kefuncs.h
mmfuncs.h
obfuncs.h
psfuncs.h
rtlfuncs.h
setypes.h
PCCH
CONST CHAR * PCCH
Definition:
ntbasedef.h:400
ntstrsafe.h
rosioctl.h
_INPUT_RECORD
Definition:
wincon.h:272
PCWSTR
const uint16_t * PCWSTR
Definition:
typedefs.h:57
IN
#define IN
Definition:
typedefs.h:39
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
genlist.h
mui.h
partlist.h
PPAGE_NUMBER
enum _PAGE_NUMBER * PPAGE_NUMBER
_PAGE_NUMBER
_PAGE_NUMBER
Definition:
usetup.h:76
BOOTLOADER_SELECT_PAGE
@ BOOTLOADER_SELECT_PAGE
Definition:
usetup.h:105
SELECT_FILE_SYSTEM_PAGE
@ SELECT_FILE_SYSTEM_PAGE
Definition:
usetup.h:102
SUCCESS_PAGE
@ SUCCESS_PAGE
Definition:
usetup.h:114
LAYOUT_SETTINGS_PAGE
@ LAYOUT_SETTINGS_PAGE
Definition:
usetup.h:93
COMPUTER_SETTINGS_PAGE
@ COMPUTER_SETTINGS_PAGE
Definition:
usetup.h:90
CHECK_FILE_SYSTEM_PAGE
@ CHECK_FILE_SYSTEM_PAGE
Definition:
usetup.h:104
LICENSE_PAGE
@ LICENSE_PAGE
Definition:
usetup.h:80
DELETE_PARTITION_PAGE
@ DELETE_PARTITION_PAGE
Definition:
usetup.h:99
SELECT_PARTITION_PAGE
@ SELECT_PARTITION_PAGE
Definition:
usetup.h:95
WELCOME_PAGE
@ WELCOME_PAGE
Definition:
usetup.h:79
UPGRADE_REPAIR_PAGE
@ UPGRADE_REPAIR_PAGE
Definition:
usetup.h:87
START_PARTITION_OPERATIONS_PAGE
@ START_PARTITION_OPERATIONS_PAGE
Definition:
usetup.h:101
DEVICE_SETTINGS_PAGE
@ DEVICE_SETTINGS_PAGE
Definition:
usetup.h:89
FLUSH_PAGE
@ FLUSH_PAGE
Definition:
usetup.h:116
PREPARE_COPY_PAGE
@ PREPARE_COPY_PAGE
Definition:
usetup.h:107
CONFIRM_DELETE_SYSTEM_PARTITION_PAGE
@ CONFIRM_DELETE_SYSTEM_PARTITION_PAGE
Definition:
usetup.h:98
FILE_COPY_PAGE
@ FILE_COPY_PAGE
Definition:
usetup.h:109
REGISTRY_PAGE
@ REGISTRY_PAGE
Definition:
usetup.h:110
REBOOT_PAGE
@ REBOOT_PAGE
Definition:
usetup.h:117
CHANGE_SYSTEM_PARTITION
@ CHANGE_SYSTEM_PARTITION
Definition:
usetup.h:97
QUIT_PAGE
@ QUIT_PAGE
Definition:
usetup.h:115
FORMAT_PARTITION_PAGE
@ FORMAT_PARTITION_PAGE
Definition:
usetup.h:103
SETUP_INIT_PAGE
@ SETUP_INIT_PAGE
Definition:
usetup.h:77
CREATE_PARTITION_PAGE
@ CREATE_PARTITION_PAGE
Definition:
usetup.h:96
INSTALL_DIRECTORY_PAGE
@ INSTALL_DIRECTORY_PAGE
Definition:
usetup.h:108
DISPLAY_SETTINGS_PAGE
@ DISPLAY_SETTINGS_PAGE
Definition:
usetup.h:91
LANGUAGE_PAGE
@ LANGUAGE_PAGE
Definition:
usetup.h:78
KEYBOARD_SETTINGS_PAGE
@ KEYBOARD_SETTINGS_PAGE
Definition:
usetup.h:92
BOOTLOADER_INSTALL_PAGE
@ BOOTLOADER_INSTALL_PAGE
Definition:
usetup.h:111
REPAIR_INTRO_PAGE
@ REPAIR_INTRO_PAGE
Definition:
usetup.h:86
INSTALL_INTRO_PAGE
@ INSTALL_INTRO_PAGE
Definition:
usetup.h:81
RECOVERY_PAGE
@ RECOVERY_PAGE
Definition:
usetup.h:118
BOOTLOADER_REMOVABLE_DISK_PAGE
@ BOOTLOADER_REMOVABLE_DISK_PAGE
Definition:
usetup.h:112
PopupError
VOID PopupError(IN PCCH Text, IN PCCH Status, IN PINPUT_RECORD Ir, IN ULONG WaitEvent)
ProcessHeap
HANDLE ProcessHeap
Definition:
servman.c:15
PAGE_NUMBER
enum _PAGE_NUMBER PAGE_NUMBER
SelectedLanguageId
PCWSTR SelectedLanguageId
Definition:
usetup.c:67
winbase.h
wincon.h
windef.h
winreg.h
winuser.h
base
setup
usetup
usetup.h
Generated on Thu Dec 12 2024 06:02:26 for ReactOS by
1.9.6