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.

48 lines
1.0 KiB

  1. /****************************************************************************************************************
  2. FILENAME: Extents.h
  3. COPYRIGHT 2001 Microsoft Corporation and Executive Software International, Inc.
  4. DESCRIPTION:
  5. File system extent handling prototypes.
  6. ***************************************************************************************************************/
  7. #include "stdafx.h"
  8. //Creates the extent buffer.
  9. BOOL
  10. CreateExtentBuffer(
  11. );
  12. //Purges the buffer and then destroys it.
  13. BOOL
  14. DestroyExtentBuffer(
  15. );
  16. //Adds extents to the extent buffer.
  17. BOOL
  18. AddExtents(
  19. BYTE Color
  20. );
  21. BOOL
  22. AddExtentsStream(
  23. BYTE Color,
  24. STREAM_EXTENT_HEADER* pStreamExtentHeader
  25. );
  26. //Adds one chunk to the extent buffer (Called by AddExtents)
  27. BOOL
  28. AddExtentChunk(
  29. BYTE Color,
  30. EXTENT_LIST* pExtentList,
  31. LONGLONG ExtentsAdded,
  32. LONGLONG lExtentCount
  33. );
  34. //Sends all the data in the extent buffer to DiskView and zeroes the buffer out so more extents can be added.
  35. BOOL
  36. PurgeExtentBuffer(
  37. );