Partager via


BP_ReadData (Windows Embedded CE 6.0)

1/6/2010

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