다음을 통해 공유


BP_Init (Windows CE 5.0)

Send Feedback

This function reads data from a partition.

BOOL BP_Init(LPBYTE pMemory, DWORD dwSize,LPCTSTR lpActiveReg,PPCI_REG_INFO pRegIn,PPCI_REG_INFO pRegOut);

Parameters

  • pMemory
    [in] Pointer to memory location for storing objects.
  • dwSize
    [in] Size of the memory. This value should be at least the size of one flash block plus one sector plus sectors divided by blocks multiplied by eight, or as expressed as a mathematical statement: block + sector + (sectors/block) * 8.
  • lpActiveReg
    [in] Pointer to an active registry string. This value is used by FMD_Init to obtain device information from the registry. This value should be set to NULL if not needed.
  • pRegIn
    [in] Pointer to a PCI_REG_INFO structure. This value is used by FMD_Init to find flash hardware on PCI hardware. This value should be set to NULL if not needed.
  • pRegOut
    [out] Pointer to a PCI_REG_INFO structure. This value is used by FMD_Init to return flash information. This value should be set to NULL if not needed.

Return Values

Returns TRUE on success. Returns FALSE on failure.

Remarks

This function calls FMD_Init to initialize the flash hardware.

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.