Share via


BP_SetDataPointer (Compact 2013)

3/26/2014

This function sets the data pointer of a specified partition. The data pointer stores the logical byte address where the next read or write operation will occur.

Syntax

BOOL BP_SetDataPointer(
  HANDLE hPartition, 
  DWORD dwAddress
);

Parameters

  • hPartition
    [in] Handle to the partition.
  • dwAddress
    [in] Data pointer address.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This function fails if the length of the request extends past the end of the partition.

Requirements

Header

bootpart.h

Library

Bootpart.lib

See Also

Reference

Bootpart Functions