Share via


FMD_Init (Windows Embedded CE 6.0)

1/6/2010

This function initializes the flash memory of a device.

Syntax

PVOID FMD_Init(
  LPCTSTR lpActiveReg,
  PPCI_REG_INFO pRegIn,
  PPCI_REG_INFO pRegOut
);

Parameters

  • lpActiveReg
    [in] Pointer to the active registry string used to find device information from the registry. Set to NULL if not needed.
  • pRegIn
    [in] Pointer to a PCI_REG_INFO structure. Used to find flash hardware on PCI hardware. Set to NULL if not needed.
  • pRegOut
    [out] Pointer to a PCI_REG_INFO structure. Used to return flash information. Set to NULL if not needed.

Return Value

A handle that can be used in a call to FMD_Deinit. It is the responsibility of the specific flash media driver (FMD) implementation to determine what this value represents. A value of zero (0) represents failure.

Requirements

Header fmd.h
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Flash Media Driver Functions

Other Resources

Flash Drivers
Flash Media Driver Reference