BP_SetDataPointer

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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