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

50 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/**************************************************************************************************
FILENAME: DasdRead.h
COPYRIGHT<EFBFBD> 2001 Microsoft Corporation and Executive Software International, Inc.
DESCRIPTION:
Direct-disk read routines.
**************************************************************************************************/
//Allocate memory and read sectors directly from disk into that memory.
HANDLE
DasdLoadSectors(
IN HANDLE hVolume,
IN LONGLONG Sector,
IN LONGLONG Sectors,
IN LONGLONG BytesPerSector
);
BOOL
DasdStoreSectors(
IN HANDLE hVolume,
IN LONGLONG Sector,
IN LONGLONG Sectors,
IN LONGLONG BytesPerSector,
IN LPBYTE pBuffer
);
//Read clusters directly from disk.
BOOL
DasdReadClusters(
IN HANDLE hVolume,
IN LONGLONG Cluster,
IN LONGLONG Clusters,
IN PVOID pBuffer,
IN LONGLONG BytesPerSector,
IN LONGLONG BytesPerCluster
);
BOOL
DasdWriteClusters(
IN HANDLE hVolume,
IN LONGLONG Cluster,
IN LONGLONG Clusters,
IN PVOID pBuffer,
IN LONGLONG BytesPerSector,
IN LONGLONG BytesPerCluster
);