ReactOS 0.4.16-dev-736-g28b802b
|
#include <stdio.h>
#include <tchar.h>
#include <windef.h>
#include <winbase.h>
#include <conutils.h>
#include <ndk/rtlfuncs.h>
#include <fmifs/fmifs.h>
#include "resource.h"
Go to the source code of this file.
Classes | |
struct | SIZEDEFINITION |
Macros | |
#define | WIN32_NO_STATUS |
#define | NTOS_MODE_USER |
#define | FMIFS_IMPORT_DLL |
Typedefs | |
typedef struct SIZEDEFINITION * | PSIZEDEFINITION |
Functions | |
static VOID | PrintWin32Error (LPWSTR Message, DWORD ErrorCode) |
static int | ParseCommandLine (int argc, WCHAR *argv[]) |
BOOLEAN WINAPI | FormatExCallback (CALLBACKCOMMAND Command, ULONG Modifier, PVOID Argument) |
static VOID | Usage (LPWSTR ProgramName) |
int | wmain (int argc, WCHAR *argv[]) |
Variables | |
BOOL | Error = FALSE |
BOOL | QuickFormat = FALSE |
DWORD | ClusterSize = 0 |
BOOL | CompressDrive = FALSE |
BOOL | GotALabel = FALSE |
PWCHAR | Label = L"" |
PWCHAR | Drive = NULL |
PWCHAR | FileSystem = L"FAT" |
WCHAR | RootDirectory [MAX_PATH] |
WCHAR | LabelString [12] |
SIZEDEFINITION | LegalSizes [] |
typedef struct SIZEDEFINITION * PSIZEDEFINITION |
BOOLEAN WINAPI FormatExCallback | ( | CALLBACKCOMMAND | Command, |
ULONG | Modifier, | ||
PVOID | Argument | ||
) |
Definition at line 215 of file format.c.
Referenced by wmain().
Definition at line 133 of file format.c.
Referenced by wmain().
Definition at line 117 of file format.c.
Referenced by wmain().
Definition at line 315 of file format.c.
Definition at line 360 of file format.c.
DWORD ClusterSize = 0 |
Definition at line 67 of file format.c.
Referenced by _Function_class_(), CheckAgainstNTFS(), CmpOpenHiveFiles(), RecycleBin5::DeleteFile(), Ext2Format(), Fat12Format(), Fat16Format(), Fat32Format(), FatExamineFatEntries(), FormatDrive(), FormatEx(), FormatFileSystem(), FormatFileSystem_UStr(), FormatPartition(), FormatVolume(), GetDefaultClusterSize(), InsertDefaultClusterSizeForFs(), MiReleaseSystemPtes(), MiReserveAlignedSystemPtes(), NtfsHasFileSystem(), ParseCommandLine(), UpdateFileSize(), VfatFormat(), VfatSetAllocationSizeInformation(), and wmain().
Definition at line 68 of file format.c.
Referenced by ParseCommandLine(), and wmain().
Definition at line 71 of file format.c.
Referenced by ParseCommandLine(), and wmain().
Definition at line 63 of file format.c.
Referenced by FormatExCallback(), and wmain().
PWCHAR FileSystem = L"FAT" |
Definition at line 72 of file format.c.
Referenced by AddProvider(), BlImgStartBootApplication(), CheckVolume(), ChkdskFileSystem_UStr(), FileIoOpen(), FileSystemToMBRPartitionType(), FormatDlgProcWorker(), FormatFileSystem_UStr(), GetProvider(), InstallBootManagerAndBootEntries(), InstallBootManagerAndBootEntriesWorker(), OpenVolume(), ParseCommandLine(), PrintVolumeInfo(), QueryAvailableFileSystemFormat(), VolumeInfoMain(), and wmain().
Definition at line 69 of file format.c.
Referenced by ParseCommandLine(), and wmain().
PWCHAR Label = L"" |
Definition at line 70 of file format.c.
Referenced by DisplayStatus(), CDFParser::DoDiskLabel(), Ext2Format(), Ext2InitializeLabel(), Fat12Format(), Fat16Format(), Fat32Format(), FatConstructLabelDirent(), Format(), FormatEx(), FormatEx2(), FormatFileSystem(), FormatFileSystem_UStr(), FormatPartition(), FormatVolume(), JustForCheckClearInterrupt(), LISTVIEW_GetItemMetrics(), main(), CDFParser::OnDiskLabel(), ParseCommandLine(), ReportTimes(), VfatFormat(), and wmain().
SIZEDEFINITION LegalSizes[] |
Definition at line 95 of file format.c.
Referenced by ParseCommandLine().
Definition at line 66 of file format.c.
Referenced by Ext2Format(), Fat12Format(), Fat16Format(), Fat32Format(), FatxFormat(), Format(), FormatDrive(), FormatEx(), FormatFileSystem(), FormatFileSystem_UStr(), FormatPartition(), FormatVolume(), ParseCommandLine(), VfatFormat(), VfatxFormat(), and wmain().
Definition at line 74 of file format.c.
Referenced by BaseFormatObjectAttributes(), CheckForValidPEAndVendor(), CmpLinkHiveToMaster(), ConnectRegistry(), CreateRegistryFile(), DoesPathExist(), DoesPathExist_UStr(), FatBufferDirectory(), FltGetDestinationFileNameInformation(), MyDeleteFile(), ObpLookupObjectName(), OpenAndMapFile(), OpenDirectoryByHandleOrPath(), QueryVolumeName(), RtlInitializeRXact(), RXactInitializeContext(), RXactpOpenTargetKey(), TestObRootSecurity(), and wmain().