Partager via


BP_WriteData (Windows Embedded CE 6.0)

1/6/2010

This function writes data to the partition.

Syntax

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

Parameters

  • hPartition
    [in] Handle to the partition to be written to.
  • pbBuffer
    [in] Pointer to the buffer of data to be written.
  • dwLength
    [in] Number of bytes to write.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This function fails if the length of the write 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