#include <stdio.h>
#include <stdlib.h>
#include <windef.h>
#include <winbase.h>
#include <ndk/iofuncs.h>
#include <ndk/kefuncs.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
#include <fmifs/fmifs.h>
#include "check/dosfsck.h"
#include <pshpack1.h>
#include <poppack.h>
#include "common.h"
Go to the source code of this file.
|
NTSTATUS | Fat12Format (HANDLE FileHandle, PPARTITION_INFORMATION PartitionInfo, PDISK_GEOMETRY DiskGeometry, PUNICODE_STRING Label, BOOLEAN QuickFormat, ULONG ClusterSize, PFORMAT_CONTEXT Context) |
|
NTSTATUS | Fat16Format (HANDLE FileHandle, PPARTITION_INFORMATION PartitionInfo, PDISK_GEOMETRY DiskGeometry, PUNICODE_STRING Label, BOOLEAN QuickFormat, ULONG ClusterSize, PFORMAT_CONTEXT Context) |
|
NTSTATUS | Fat32Format (HANDLE FileHandle, PPARTITION_INFORMATION PartitionInfo, PDISK_GEOMETRY DiskGeometry, PUNICODE_STRING Label, BOOLEAN QuickFormat, ULONG ClusterSize, PFORMAT_CONTEXT Context) |
|
VOID | UpdateProgress (PFORMAT_CONTEXT Context, ULONG Increment) |
|
VOID | VfatPrintV (PCHAR Format, va_list args) |
|
VOID | VfatPrint (PCHAR Format,...) |
|
◆ _INC_WINDOWS
◆ COM_NO_WINDOWS_H
◆ FSINFO_SECTOR_BEGIN_SIGNATURE
#define FSINFO_SECTOR_BEGIN_SIGNATURE 0x41615252 |
◆ FSINFO_SECTOR_END_SIGNATURE
#define FSINFO_SECTOR_END_SIGNATURE 0xAA550000 |
◆ FSINFO_SIGNATURE
#define FSINFO_SIGNATURE 0x61417272 |
◆ NTOS_MODE_USER
◆ WIN32_NO_STATUS
◆ FAT16_BOOT_SECTOR
◆ FAT32_BOOT_SECTOR
◆ FAT32_FSINFO
◆ FORMAT_CONTEXT
◆ PFAT16_BOOT_SECTOR
◆ PFAT32_BOOT_SECTOR
◆ PFAT32_FSINFO
◆ PFORMAT_CONTEXT
◆ Fat12Format()
◆ Fat16Format()
◆ Fat32Format()
◆ UpdateProgress()
Definition at line 321 of file vfatlib.c.
323{
325
327
328 NewPercent = (
Context->CurrentSectorCount * 100ULL) /
Context->TotalSectorCount;
329
331 {
334 {
336 }
337 }
338}
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG Increment
Referenced by Fat12WriteBootSector(), Fat12WriteFAT(), Fat12WriteRootDirectory(), Fat16WriteBootSector(), Fat16WriteFAT(), Fat16WriteRootDirectory(), Fat32WriteBootSector(), Fat32WriteFAT(), Fat32WriteFsInfo(), Fat32WriteRootDirectory(), and FatWipeSectors().
◆ VfatPrint()
◆ VfatPrintV()