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.

49 lines
1.2 KiB

  1. /**************************************************************************************************
  2. FILENAME: DasdRead.h
  3. COPYRIGHT 2001 Microsoft Corporation and Executive Software International, Inc.
  4. DESCRIPTION:
  5. Direct-disk read routines.
  6. **************************************************************************************************/
  7. //Allocate memory and read sectors directly from disk into that memory.
  8. HANDLE
  9. DasdLoadSectors(
  10. IN HANDLE hVolume,
  11. IN LONGLONG Sector,
  12. IN LONGLONG Sectors,
  13. IN LONGLONG BytesPerSector
  14. );
  15. BOOL
  16. DasdStoreSectors(
  17. IN HANDLE hVolume,
  18. IN LONGLONG Sector,
  19. IN LONGLONG Sectors,
  20. IN LONGLONG BytesPerSector,
  21. IN LPBYTE pBuffer
  22. );
  23. //Read clusters directly from disk.
  24. BOOL
  25. DasdReadClusters(
  26. IN HANDLE hVolume,
  27. IN LONGLONG Cluster,
  28. IN LONGLONG Clusters,
  29. IN PVOID pBuffer,
  30. IN LONGLONG BytesPerSector,
  31. IN LONGLONG BytesPerCluster
  32. );
  33. BOOL
  34. DasdWriteClusters(
  35. IN HANDLE hVolume,
  36. IN LONGLONG Cluster,
  37. IN LONGLONG Clusters,
  38. IN PVOID pBuffer,
  39. IN LONGLONG BytesPerSector,
  40. IN LONGLONG BytesPerCluster
  41. );