Share via


FMD_Init (Compact 2013)

3/26/2014

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

See Also

Reference

Flash Media Driver Functions
Flash Media Driver Reference