FSDMGR_ReadDisk

This function reads sectors from a disk.

At a Glance

Header file: Fsdmgr.h
Windows CE versions: 2.10 and later

Syntax

DWORD FSDMGR_ReadDisk ( HDSK hDsk, DWORD dwSector,
DWORD cSectors, PBYTE pBuffer, DWORD cbBuffer );

Parameters

hDsk

[in] Handle to the mounted disk; this is the same value that was passed to FSD_MountDisk. This handle is not a true Win32 handle.

dwSector

[in] Specifies the starting sector number.

cSectors

[in] Number of sectors to read.

pBuffer

[out] Pointer to a buffer to hold the information that is read.

cbBuffer

[in] Size of the buffer, in bytes.

Return Values

ERROR_SUCCESS indicates success. A standard WinAPI error code indicates failure.

See Also

FSD_MountDisk