Share via


BP_ReadData

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function reads data from a partition.

Syntax

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 Value

TRUE indicates success. FALSE indicates failure.

Remarks

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

Requirements

Header bootpart.h
Library Bootpart.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Bootpart Functions

Concepts

BinFS and the Bootpart Library

Other Resources

Flash Drivers