Share via


FMD_Init

This function initializes the flash memory of a device.

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 Values

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

OS Versions: Windows CE .NET 4.2 and later.
Header: Fmd.h.
Link Library: Developer implemented.

See Also

Flash Media Driver

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.