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

query.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         File Management IFS Utility functions
00004  * FILE:            reactos/dll/win32/fmifs/query.c
00005  * PURPOSE:         Query volume information
00006  *
00007  * PROGRAMMERS:     Hervé Poussineau (hpoussin@reactos.org)
00008  */
00009 
00010 #include "precomp.h"
00011 
00012 BOOLEAN NTAPI
00013 QueryAvailableFileSystemFormat(
00014     IN DWORD Index,
00015     IN OUT PWCHAR FileSystem, /* FIXME: Probably one minimal size is mandatory, but which one? */
00016     OUT UCHAR* Major,
00017     OUT UCHAR* Minor,
00018     OUT BOOLEAN* LastestVersion)
00019 {
00020     PLIST_ENTRY ListEntry;
00021     PIFS_PROVIDER Provider;
00022 
00023     if (!FileSystem || !Major ||!Minor ||!LastestVersion)
00024         return FALSE;
00025 
00026     ListEntry = ProviderListHead.Flink;
00027     while (TRUE)
00028     {
00029         if (ListEntry == &ProviderListHead)
00030             return FALSE;
00031         if (Index == 0)
00032             break;
00033         ListEntry = ListEntry->Flink;
00034         Index--;
00035     }
00036 
00037     Provider = CONTAINING_RECORD(ListEntry, IFS_PROVIDER, ListEntry);
00038     wcscpy(FileSystem, Provider->Name);
00039     *Major = 0; /* FIXME */
00040     *Minor = 0; /* FIXME */
00041     *LastestVersion = TRUE; /* FIXME */
00042 
00043     return TRUE;
00044 }

Generated on Sat May 26 2012 04:15:57 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.