Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
697 B

  1. /**************************************************************************************************
  2. FILENAME: MFTDefrag.h
  3. COPYRIGHT 2001 Microsoft Corporation and Executive Software International, Inc.
  4. DESCRIPTION:
  5. Defrag the MFT.
  6. **************************************************************************************************/
  7. BOOL MFTDefrag(
  8. IN HANDLE hVolumeHandle,
  9. IN LONGLONG BitmapSize,
  10. IN LONGLONG BytesPerSector,
  11. IN LONGLONG TotalClusters,
  12. IN ULONGLONG MftZoneStart,
  13. IN ULONGLONG MftZoneEnd,
  14. IN TCHAR tDrive,
  15. IN LONGLONG ClustersPerFRS
  16. );
  17. ULONGLONG GetMFTSize(
  18. IN HANDLE hMFTHandle,
  19. OUT LONGLONG* lMFTFragments,
  20. OUT LONGLONG* lMFTStartingVcn
  21. );