Share via


BP_SetDataPointer (Windows Embedded CE 6.0)

1/6/2010

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
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