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

/**************************************************************************************************
FILENAME: DasdRead.h
COPYRIGHT© 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
);