migrate substitution keywords to SVN
[reactos.git] / reactos / subsys / system / usetup / fslist.h
1 /*
2 * ReactOS kernel
3 * Copyright (C) 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
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19 /* $Id$
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS text-mode setup
22 * FILE: subsys/system/usetup/fslist.h
23 * PURPOSE: Filesystem list functions
24 * PROGRAMMER: Eric Kohl
25 * Casper S. Hornstrup (chorns@users.sourceforge.net)
26 */
27
28 #ifndef __FSLIST_H__
29 #define __FSLIST_H__
30
31 typedef enum
32 {
33 FsFat = 0,
34 FsKeep = 1
35 } FILE_SYSTEM;
36
37 typedef struct _FILE_SYSTEM_LIST
38 {
39 SHORT Left;
40 SHORT Top;
41 BOOLEAN ForceFormat;
42 FILE_SYSTEM CurrentFileSystem;
43 ULONG FileSystemCount;
44 } FILE_SYSTEM_LIST, *PFILE_SYSTEM_LIST;
45
46
47 PFILE_SYSTEM_LIST
48 CreateFileSystemList (SHORT Left,
49 SHORT Top,
50 BOOLEAN ForceFormat,
51 FILE_SYSTEM ForceFileSystem);
52
53 VOID
54 DestroyFileSystemList (PFILE_SYSTEM_LIST List);
55
56 VOID
57 DrawFileSystemList (PFILE_SYSTEM_LIST List);
58
59 VOID
60 ScrollDownFileSystemList (PFILE_SYSTEM_LIST List);
61
62 VOID
63 ScrollUpFileSystemList (PFILE_SYSTEM_LIST List);
64
65 #endif /* __FSLIST_H__ */
66
67 /* EOF */