2003-08-09 16:32:26 +00:00
|
|
|
/*
|
|
|
|
* ReactOS kernel
|
|
|
|
* Copyright (C) 2003 ReactOS Team
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2009-10-27 10:34:16 +00:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2003-08-09 16:32:26 +00:00
|
|
|
*/
|
2019-02-24 16:52:33 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
2003-08-09 16:32:26 +00:00
|
|
|
* PROJECT: ReactOS text-mode setup
|
2015-09-13 16:40:36 +00:00
|
|
|
* FILE: base/setup/usetup/fslist.h
|
2003-08-09 16:32:26 +00:00
|
|
|
* PURPOSE: Filesystem list functions
|
2018-05-27 19:33:07 +00:00
|
|
|
* PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
|
2003-08-09 16:32:26 +00:00
|
|
|
*/
|
|
|
|
|
2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2003-08-09 16:32:26 +00:00
|
|
|
|
2006-11-10 21:00:24 +00:00
|
|
|
#include <fmifs/fmifs.h>
|
|
|
|
|
2006-09-07 22:42:28 +00:00
|
|
|
typedef struct _FILE_SYSTEM_ITEM
|
2003-08-09 16:32:26 +00:00
|
|
|
{
|
2014-05-12 14:17:37 +00:00
|
|
|
LIST_ENTRY ListEntry;
|
2019-02-24 16:52:33 +00:00
|
|
|
PCWSTR FileSystem;
|
2014-05-12 14:17:37 +00:00
|
|
|
BOOLEAN QuickFormat;
|
2006-09-07 22:42:28 +00:00
|
|
|
} FILE_SYSTEM_ITEM, *PFILE_SYSTEM_ITEM;
|
2003-08-09 16:32:26 +00:00
|
|
|
|
|
|
|
typedef struct _FILE_SYSTEM_LIST
|
|
|
|
{
|
2014-05-12 14:17:37 +00:00
|
|
|
SHORT Left;
|
|
|
|
SHORT Top;
|
|
|
|
PFILE_SYSTEM_ITEM Selected;
|
|
|
|
LIST_ENTRY ListHead; /* List of FILE_SYSTEM_ITEM */
|
2003-08-09 16:32:26 +00:00
|
|
|
} FILE_SYSTEM_LIST, *PFILE_SYSTEM_LIST;
|
|
|
|
|
|
|
|
PFILE_SYSTEM_LIST
|
2006-09-07 20:15:45 +00:00
|
|
|
CreateFileSystemList(
|
2014-05-12 14:17:37 +00:00
|
|
|
IN SHORT Left,
|
|
|
|
IN SHORT Top,
|
|
|
|
IN BOOLEAN ForceFormat,
|
2017-05-13 16:20:10 +00:00
|
|
|
IN PCWSTR SelectFileSystem);
|
2003-08-09 16:32:26 +00:00
|
|
|
|
|
|
|
VOID
|
2006-09-07 20:15:45 +00:00
|
|
|
DestroyFileSystemList(
|
|
|
|
IN PFILE_SYSTEM_LIST List);
|
2003-08-09 16:32:26 +00:00
|
|
|
|
|
|
|
VOID
|
2006-09-07 20:15:45 +00:00
|
|
|
DrawFileSystemList(
|
|
|
|
IN PFILE_SYSTEM_LIST List);
|
2003-08-09 16:32:26 +00:00
|
|
|
|
|
|
|
VOID
|
2006-09-07 20:15:45 +00:00
|
|
|
ScrollDownFileSystemList(
|
|
|
|
IN PFILE_SYSTEM_LIST List);
|
2003-08-09 16:32:26 +00:00
|
|
|
|
|
|
|
VOID
|
2006-09-07 20:15:45 +00:00
|
|
|
ScrollUpFileSystemList(
|
|
|
|
IN PFILE_SYSTEM_LIST List);
|
2003-08-09 16:32:26 +00:00
|
|
|
|
|
|
|
/* EOF */
|