Share via


BP_WriteData (Compact 2013)

3/26/2014

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

See Also

Reference

Bootpart Functions