BP_WriteData

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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