Share via


BP_ReadData (Compact 2013)

3/26/2014

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

See Also

Reference

Bootpart Functions