BP_WriteData (Windows CE 5.0)

Send Feedback

This function writes data to the partition.

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 Values

Returns TRUE on success. Returns FALSE on failure.

Remarks

This function will fail if the length of the write request extends past the end of the partition.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Bootpart.h
Link Library: Bootpart.lib

See Also

BinFS and the Bootpart Library | Flash Media Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.