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

vfatxlib.h
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:   See COPYING in the top level directory
00003  * PROJECT:     ReactOS VFAT filesystem library
00004  * FILE:        vfatxlib.h
00005  */
00006 #define WIN32_NO_STATUS
00007 #include <windows.h>
00008 #define NTOS_MODE_USER
00009 #include <ndk/iofuncs.h>
00010 #include <ndk/kefuncs.h>
00011 #include <ndk/obfuncs.h>
00012 #include <ndk/rtlfuncs.h>
00013 #include <fmifs/fmifs.h>
00014 
00015 #include <pshpack1.h>
00016 typedef struct _FATX_BOOT_SECTOR
00017 {
00018    unsigned char SysType[4];        // 0
00019    unsigned long VolumeID;          // 4
00020    unsigned long SectorsPerCluster; // 8
00021    unsigned short FATCount;         // 12
00022    unsigned long Unknown;           // 14
00023    unsigned char Unused[4078];      // 18
00024 } FATX_BOOT_SECTOR, *PFATX_BOOT_SECTOR;
00025 #include <poppack.h>
00026 
00027 typedef struct _FORMAT_CONTEXT
00028 {
00029   PFMIFSCALLBACK Callback;
00030   ULONG TotalSectorCount;
00031   ULONG CurrentSectorCount;
00032   BOOLEAN Success;
00033   ULONG Percent;
00034 } FORMAT_CONTEXT, *PFORMAT_CONTEXT;
00035 
00036 
00037 
00038 NTSTATUS
00039 FatxFormat (HANDLE FileHandle,
00040         PPARTITION_INFORMATION PartitionInfo,
00041         PDISK_GEOMETRY DiskGeometry,
00042         BOOLEAN QuickFormat,
00043         PFORMAT_CONTEXT Context);
00044 
00045 VOID
00046 VfatxUpdateProgress (PFORMAT_CONTEXT Context,
00047              ULONG Increment);
00048 
00049 /* EOF */

Generated on Sun May 27 2012 04:33:11 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.