ReactOS
0.4.16-dev-975-g3b8cfa4
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
m
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
_
a
b
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
partlist.h
Go to the documentation of this file.
1
/*
2
* ReactOS kernel
3
* Copyright (C) 2002, 2003 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/partlist.h
23
* PURPOSE: Partition list functions
24
* PROGRAMMER:
25
*/
26
27
#pragma once
28
29
// #include "../lib/utils/partlist.h"
30
31
typedef
struct
_PARTLIST_UI
32
{
33
PPARTLIST
List
;
34
35
/*
36
* Selected partition.
37
*
38
* NOTE that when CurrentPartition != NULL, then CurrentPartition->DiskEntry
39
* must be the same as CurrentDisk. We should however keep the two members
40
* separated as we can have a selected disk without any partition.
41
*/
42
PDISKENTRY
CurrentDisk
;
43
PPARTENTRY
CurrentPartition
;
44
45
// PLIST_ENTRY FirstShown;
46
// PLIST_ENTRY LastShown;
47
48
SHORT
Left
;
49
SHORT
Top
;
50
SHORT
Right
;
51
SHORT
Bottom
;
52
53
SHORT
Line
;
54
SHORT
Offset
;
55
56
// BOOL Redraw;
57
}
PARTLIST_UI
, *
PPARTLIST_UI
;
58
59
60
VOID
61
GetPartitionTypeString
(
62
IN
PPARTENTRY
PartEntry,
63
OUT
PSTR
strBuffer,
64
IN
ULONG
cchBuffer
);
65
66
VOID
67
PartitionDescription
(
68
IN
PPARTENTRY
PartEntry,
69
OUT
PSTR
strBuffer,
70
IN
SIZE_T
cchBuffer
);
71
72
VOID
73
DiskDescription
(
74
IN
PDISKENTRY
DiskEntry,
75
OUT
PSTR
strBuffer,
76
IN
SIZE_T
cchBuffer
);
77
78
VOID
79
InitPartitionListUi
(
80
IN
OUT
PPARTLIST_UI
ListUi,
81
IN
PPARTLIST
List
,
82
IN
PPARTENTRY
CurrentEntry
OPTIONAL
,
83
IN
SHORT
Left,
84
IN
SHORT
Top
,
85
IN
SHORT
Right,
86
IN
SHORT
Bottom
);
87
88
VOID
89
DrawPartitionList
(
90
IN
PPARTLIST_UI
ListUi);
91
92
VOID
93
ScrollUpDownPartitionList
(
94
_In_
PPARTLIST_UI
ListUi,
95
_In_
BOOLEAN
Direction
);
96
97
/* EOF */
BOOLEAN
unsigned char BOOLEAN
Definition:
ProcessorBind.h:185
Bottom
static LPHIST_ENTRY Bottom
Definition:
history.c:54
Top
static LPHIST_ENTRY Top
Definition:
history.c:53
cchBuffer
static DWORD cchBuffer
Definition:
fusion.c:85
void
Definition:
nsiface.idl:2307
_In_
#define _In_
Definition:
no_sal2.h:158
SHORT
short SHORT
Definition:
pedump.c:59
OPTIONAL
PULONG MinorVersion OPTIONAL
Definition:
CrossNt.h:68
_DISKENTRY
Definition:
partlist.h:100
_PARTENTRY
Definition:
partlist.h:62
_PARTLIST_UI
Definition:
partlist.h:32
_PARTLIST_UI::Left
SHORT Left
Definition:
partlist.h:48
_PARTLIST_UI::Line
SHORT Line
Definition:
partlist.h:53
_PARTLIST_UI::Offset
SHORT Offset
Definition:
partlist.h:54
_PARTLIST_UI::Right
SHORT Right
Definition:
partlist.h:50
_PARTLIST_UI::Bottom
SHORT Bottom
Definition:
partlist.h:51
_PARTLIST_UI::List
PPARTLIST List
Definition:
partlist.h:33
_PARTLIST_UI::Top
SHORT Top
Definition:
partlist.h:49
_PARTLIST_UI::CurrentDisk
PDISKENTRY CurrentDisk
Definition:
partlist.h:42
_PARTLIST_UI::CurrentPartition
PPARTENTRY CurrentPartition
Definition:
partlist.h:43
_PARTLIST
Definition:
partlist.h:171
PSTR
char * PSTR
Definition:
typedefs.h:51
SIZE_T
ULONG_PTR SIZE_T
Definition:
typedefs.h:80
IN
#define IN
Definition:
typedefs.h:39
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
OUT
#define OUT
Definition:
typedefs.h:40
ScrollUpDownPartitionList
VOID ScrollUpDownPartitionList(_In_ PPARTLIST_UI ListUi, _In_ BOOLEAN Direction)
Definition:
partlist.c:819
PartitionDescription
VOID PartitionDescription(IN PPARTENTRY PartEntry, OUT PSTR strBuffer, IN SIZE_T cchBuffer)
Definition:
partlist.c:126
PPARTLIST_UI
struct _PARTLIST_UI * PPARTLIST_UI
DiskDescription
VOID DiskDescription(IN PDISKENTRY DiskEntry, OUT PSTR strBuffer, IN SIZE_T cchBuffer)
Definition:
partlist.c:279
GetPartitionTypeString
VOID GetPartitionTypeString(IN PPARTENTRY PartEntry, OUT PSTR strBuffer, IN ULONG cchBuffer)
Definition:
drivepage.c:881
DrawPartitionList
VOID DrawPartitionList(IN PPARTLIST_UI ListUi)
Definition:
partlist.c:560
PARTLIST_UI
struct _PARTLIST_UI PARTLIST_UI
InitPartitionListUi
VOID InitPartitionListUi(IN OUT PPARTLIST_UI ListUi, IN PPARTLIST List, IN PPARTENTRY CurrentEntry OPTIONAL, IN SHORT Left, IN SHORT Top, IN SHORT Right, IN SHORT Bottom)
Definition:
partlist.c:329
Direction
WDF_EXTERN_C_START typedef _In_ WDFDEVICE _In_ WDFCONTEXT _In_ WDF_DMA_DIRECTION Direction
Definition:
wdfdmatransaction.h:68
List
_Must_inspect_result_ _In_ WDFCMRESLIST List
Definition:
wdfresource.h:550
base
setup
usetup
partlist.h
Generated on Fri Apr 11 2025 06:02:36 for ReactOS by
1.9.6