ReactOS
0.4.16-dev-297-gc569aee
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
bootmgr.h
Go to the documentation of this file.
1
/*
2
* COPYRIGHT: See COPYING.ARM in the top level directory
3
* PROJECT: ReactOS UEFI Boot Manager
4
* FILE: boot/environ/app/bootmgr/bootmgr.h
5
* PURPOSE: Main Boot Manager Header
6
* PROGRAMMER: Alex Ionescu (alex.ionescu@reactos.org)
7
*/
8
9
#ifndef _BOOTMGR_H
10
#define _BOOTMGR_H
11
12
/* INCLUDES ******************************************************************/
13
14
/* C Headers */
15
#include <stdlib.h>
16
#include <stdio.h>
17
#include <wchar.h>
18
19
/* NT Base Headers */
20
#include <
initguid.h
>
21
#include <ntifs.h>
22
23
/* UEFI Headers */
24
#include <
Uefi.h
>
25
26
/* Boot Library Headers */
27
#include <
bl.h
>
28
29
/* BCD Headers */
30
#include <
bcd.h
>
31
32
/* Message Header */
33
#include <bootmsg.h>
34
35
/* STRUCTURES ****************************************************************/
36
37
typedef
struct
_BL_BOOT_ERROR
38
{
39
ULONG
ErrorCode
;
40
NTSTATUS
ErrorStatus
;
41
ULONG
Unknown1
;
42
PWCHAR
ErrorString
;
43
PWCHAR
FileName
;
44
ULONG
HelpMsgId
;
45
ULONG
Unknown2
;
46
}
BL_BOOT_ERROR
, *
PBL_BOOT_ERROR
;
47
48
typedef
struct
_BL_PACKED_BOOT_ERROR
49
{
50
PBL_BOOT_ERROR
BootError
;
51
ULONG
Unknown
;
52
ULONG
Size
;
53
}
BL_PACKED_BOOT_ERROR
, *
PBL_PACKED_BOOT_ERROR
;
54
55
#define BL_FATAL_ERROR_BCD_READ 0x01
56
#define BL_FATAL_ERROR_APP_LOAD 0x02
57
#define BL_FATAL_ERROR_BCD_ENTRIES 0x03
58
#define BL_FATAL_ERROR_GENERIC 0x04
59
#define BL_FATAL_ERROR_BCD_PARSE 0x07
60
#define BL_FATAL_ERROR_NO_PAE 0x0B
61
62
/* FUNCTIONS *****************************************************************/
63
64
NTSTATUS
65
NTAPI
66
BmMain
(
67
_In_
PBOOT_APPLICATION_PARAMETER_BLOCK
BootParameters
68
);
69
70
NTSTATUS
71
BmpLaunchBootEntry
(
72
_In_
PBL_LOADED_APPLICATION_ENTRY
BootEntry,
73
_Out_
PULONG
EntryIndex,
74
_In_
ULONG
LaunchCode,
75
_In_
BOOLEAN
LaunchWinRe
76
);
77
78
#endif
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
Uefi.h
NTSTATUS
LONG NTSTATUS
Definition:
precomp.h:26
bcd.h
bl.h
BmMain
NTSTATUS NTAPI BmMain(_In_ PBOOT_APPLICATION_PARAMETER_BLOCK BootParameters)
Definition:
bootmgr.c:2736
PBL_PACKED_BOOT_ERROR
struct _BL_PACKED_BOOT_ERROR * PBL_PACKED_BOOT_ERROR
BL_BOOT_ERROR
struct _BL_BOOT_ERROR BL_BOOT_ERROR
BmpLaunchBootEntry
NTSTATUS BmpLaunchBootEntry(_In_ PBL_LOADED_APPLICATION_ENTRY BootEntry, _Out_ PULONG EntryIndex, _In_ ULONG LaunchCode, _In_ BOOLEAN LaunchWinRe)
Definition:
bootmgr.c:2426
BL_PACKED_BOOT_ERROR
struct _BL_PACKED_BOOT_ERROR BL_PACKED_BOOT_ERROR
PBL_BOOT_ERROR
struct _BL_BOOT_ERROR * PBL_BOOT_ERROR
initguid.h
_Out_
#define _Out_
Definition:
no_sal2.h:160
_In_
#define _In_
Definition:
no_sal2.h:158
_BL_BOOT_ERROR
Definition:
bootmgr.h:38
_BL_BOOT_ERROR::HelpMsgId
ULONG HelpMsgId
Definition:
bootmgr.h:44
_BL_BOOT_ERROR::Unknown1
ULONG Unknown1
Definition:
bootmgr.h:41
_BL_BOOT_ERROR::ErrorStatus
NTSTATUS ErrorStatus
Definition:
bootmgr.h:40
_BL_BOOT_ERROR::ErrorCode
ULONG ErrorCode
Definition:
bootmgr.h:39
_BL_BOOT_ERROR::Unknown2
ULONG Unknown2
Definition:
bootmgr.h:45
_BL_BOOT_ERROR::ErrorString
PWCHAR ErrorString
Definition:
bootmgr.h:42
_BL_BOOT_ERROR::FileName
PWCHAR FileName
Definition:
bootmgr.h:43
_BL_LOADED_APPLICATION_ENTRY
Definition:
bl.h:864
_BL_PACKED_BOOT_ERROR
Definition:
bootmgr.h:49
_BL_PACKED_BOOT_ERROR::Size
ULONG Size
Definition:
bootmgr.h:52
_BL_PACKED_BOOT_ERROR::Unknown
ULONG Unknown
Definition:
bootmgr.h:51
_BL_PACKED_BOOT_ERROR::BootError
PBL_BOOT_ERROR BootError
Definition:
bootmgr.h:50
_BOOT_APPLICATION_PARAMETER_BLOCK
Definition:
bl.h:769
PULONG
uint32_t * PULONG
Definition:
typedefs.h:59
NTAPI
#define NTAPI
Definition:
typedefs.h:36
PWCHAR
uint16_t * PWCHAR
Definition:
typedefs.h:56
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
boot
environ
app
bootmgr
bootmgr.h
Generated on Wed Nov 27 2024 06:02:37 for ReactOS by
1.9.6