3 * Copyright (C) 2003 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 /* COPYRIGHT: See COPYING in the top level directory
20 * PROJECT: ReactOS text-mode setup
21 * FILE: subsys/system/usetup/fslist.h
22 * PURPOSE: Filesystem list functions
23 * PROGRAMMER: Eric Kohl
24 * Casper S. Hornstrup (chorns@users.sourceforge.net)
30 #include <fmifs/fmifs.h>
32 typedef struct _FILE_SYSTEM_ITEM
35 LPCWSTR FileSystem
; /* Not owned by the item */
39 } FILE_SYSTEM_ITEM
, *PFILE_SYSTEM_ITEM
;
41 typedef struct _FILE_SYSTEM_LIST
45 PFILE_SYSTEM_ITEM Selected
;
46 LIST_ENTRY ListHead
; /* List of FILE_SYSTEM_ITEM */
47 } FILE_SYSTEM_LIST
, *PFILE_SYSTEM_LIST
;
51 IN OUT PFILE_SYSTEM_LIST List
,
52 IN LPCWSTR FileSystem
,
53 IN FORMATEX FormatFunc
,
54 IN CHKDSKEX ChkdskFunc
);
60 IN BOOLEAN ForceFormat
,
61 IN LPCWSTR ForceFileSystem
);
64 DestroyFileSystemList(
65 IN PFILE_SYSTEM_LIST List
);
69 IN PFILE_SYSTEM_LIST List
);
72 ScrollDownFileSystemList(
73 IN PFILE_SYSTEM_LIST List
);
76 ScrollUpFileSystemList(
77 IN PFILE_SYSTEM_LIST List
);
79 #endif /* __FSLIST_H__ */