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.7 2003/02/27 14:42:43 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
57 CHAR FileSystemName
[9];
62 } PARTENTRY
, *PPARTENTRY
;
64 typedef struct _DISKENTRY
73 UNICODE_STRING DriverName
;
78 } DISKENTRY
, *PDISKENTRY
;
81 typedef struct _PARTLIST
94 ULONG CurrentPartition
;
99 } PARTLIST
, *PPARTLIST
;
105 CreatePartitionList(SHORT Left
,
111 DestroyPartitionList(PPARTLIST List
);
114 DrawPartitionList(PPARTLIST List
);
117 ScrollDownPartitionList(PPARTLIST List
);
120 ScrollUpPartitionList(PPARTLIST List
);
123 GetSelectedPartition(PPARTLIST List
,
127 GetActiveBootPartition(PPARTLIST List
,
130 #endif /* __PARTLIST_H__ */