Partager via


BP_ReadData (Windows CE 5.0)

Send Feedback

This function reads data from a partition.

BOOL BP_ReadData(HANDLE hPartition, LPBYTE pbBuffer,DWORD dwLength);

Parameters

  • hPartition
    [in] Handle to the partition to be read.
  • pbBuffer
    [in] Pointer to the buffer that receives the read data.
  • dwLength
    [in] Number of bytes to be read.

Return Values

Returns TRUE on success. Returns FALSE on failure.

Remarks

This function will fail if the length of the read request extends past the end of the partition.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Bootpart.h
Link Library: Bootpart.lib

See Also

BinFS and the Bootpart Library | Flash Media Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.