ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

fslist.h
Go to the documentation of this file.
00001 /*
00002  *  ReactOS kernel
00003  *  Copyright (C) 2003 ReactOS Team
00004  *
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU General Public License along
00016  *  with this program; if not, write to the Free Software Foundation, Inc.,
00017  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00018  */
00019 /* COPYRIGHT:       See COPYING in the top level directory
00020  * PROJECT:         ReactOS text-mode setup
00021  * FILE:            subsys/system/usetup/fslist.h
00022  * PURPOSE:         Filesystem list functions
00023  * PROGRAMMER:      Eric Kohl
00024  *                  Casper S. Hornstrup (chorns@users.sourceforge.net)
00025  */
00026 
00027 #pragma once
00028 
00029 #include <fmifs/fmifs.h>
00030 
00031 typedef struct _FILE_SYSTEM_ITEM
00032 {
00033     LIST_ENTRY ListEntry;
00034     LPCWSTR FileSystem; /* Not owned by the item */
00035     FORMATEX FormatFunc;
00036     CHKDSKEX ChkdskFunc;
00037     BOOLEAN QuickFormat;
00038 } FILE_SYSTEM_ITEM, *PFILE_SYSTEM_ITEM;
00039 
00040 typedef struct _FILE_SYSTEM_LIST
00041 {
00042     SHORT Left;
00043     SHORT Top;
00044     PFILE_SYSTEM_ITEM Selected;
00045     LIST_ENTRY ListHead; /* List of FILE_SYSTEM_ITEM */
00046 } FILE_SYSTEM_LIST, *PFILE_SYSTEM_LIST;
00047 
00048 VOID
00049 FS_AddProvider(
00050     IN OUT PFILE_SYSTEM_LIST List,
00051     IN LPCWSTR FileSystem,
00052     IN FORMATEX FormatFunc,
00053     IN CHKDSKEX ChkdskFunc);
00054 
00055 PFILE_SYSTEM_LIST
00056 CreateFileSystemList(
00057     IN SHORT Left,
00058     IN SHORT Top,
00059     IN BOOLEAN ForceFormat,
00060     IN LPCWSTR ForceFileSystem);
00061 
00062 VOID
00063 DestroyFileSystemList(
00064     IN PFILE_SYSTEM_LIST List);
00065 
00066 VOID
00067 DrawFileSystemList(
00068     IN PFILE_SYSTEM_LIST List);
00069 
00070 VOID
00071 ScrollDownFileSystemList(
00072     IN PFILE_SYSTEM_LIST List);
00073 
00074 VOID
00075 ScrollUpFileSystemList(
00076     IN PFILE_SYSTEM_LIST List);
00077 
00078 /* EOF */

Generated on Fri May 25 2012 04:16:08 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.