windows-nt/Source/XPSP1/NT/base/fs/utils/dfrg/inc/mftdefrag.h

30 lines
697 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/**************************************************************************************************
FILENAME: MFTDefrag.h
COPYRIGHT<EFBFBD> 2001 Microsoft Corporation and Executive Software International, Inc.
DESCRIPTION:
Defrag the MFT.
**************************************************************************************************/
BOOL MFTDefrag(
IN HANDLE hVolumeHandle,
IN LONGLONG BitmapSize,
IN LONGLONG BytesPerSector,
IN LONGLONG TotalClusters,
IN ULONGLONG MftZoneStart,
IN ULONGLONG MftZoneEnd,
IN TCHAR tDrive,
IN LONGLONG ClustersPerFRS
);
ULONGLONG GetMFTSize(
IN HANDLE hMFTHandle,
OUT LONGLONG* lMFTFragments,
OUT LONGLONG* lMFTStartingVcn
);