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
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 /* $Id: partlist.h,v 1.5 2002/11/28 19:20:37 ekohl Exp $
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS text-mode setup
22 * FILE: subsys/system/usetup/partlist.h
23 * PURPOSE: Partition list functions
24 * PROGRAMMER: Eric Kohl
27 #ifndef __PARTLIST_H__
28 #define __PARTLIST_H__
30 typedef struct _PARTDATA
44 UNICODE_STRING DriverName
;
45 } PARTDATA
, *PPARTDATA
;
48 typedef struct _PARTENTRY
56 CHAR FileSystemName
[9];
61 } PARTENTRY
, *PPARTENTRY
;
63 typedef struct _DISKENTRY
72 UNICODE_STRING DriverName
;
77 } DISKENTRY
, *PDISKENTRY
;
80 typedef struct _PARTLIST
93 ULONG CurrentPartition
;
98 } PARTLIST
, *PPARTLIST
;
104 CreatePartitionList(SHORT Left
,
110 DestroyPartitionList(PPARTLIST List
);
113 DrawPartitionList(PPARTLIST List
);
116 ScrollDownPartitionList(PPARTLIST List
);
119 ScrollUpPartitionList(PPARTLIST List
);
122 GetPartitionData(PPARTLIST List
,
125 #endif /* __PARTLIST_H__ */