BP_Init (Windows Embedded CE 6.0)
1/6/2010
This function reads data from a partition.
Syntax
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 8.
- lpActiveReg
[in] Pointer to an active registry string. This value is used by the FMD_Init function to obtain device information from the registry. 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. 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. Set to NULL if not needed.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
This function calls FMD_Init to initialize the Flash hardware.
Requirements
Header | bootpart.h |
Library | Bootpart.lib |
Windows Embedded CE | Windows CE .NET 4.2 and later |
See Also
Reference
Concepts
BinFS and the Bootpart Library