Partager via


FMDInterface (Compact 2013)

3/26/2014

This structure stores a list of the FMD functions and is passed to the FAL.

Syntax

typedef struct _FMDInterface {
  DWORD cbSize;
  PFN_INIT pInit;
  PFN_DEINIT pDeInit;
  PFN_GETINFO pGetInfo;
  PFN_GETBLOCKSTATUS pGetBlockStatus;
  PFN_SETBLOCKSTATUS pSetBlockStatus;
  PFN_READSECTOR pReadSector;
  PFN_WRITESECTOR pWriteSector;
  PFN_ERASEBLOCK pEraseBlock;
  PFN_POWERUP pPowerUp;
  PFN_POWERDON pPowerDown
  PFN_GETPHYSSECTORADDR pGetPhysSectorAddr;
  PFN_GETINFOEX pGetInfoEx;
  PFN_OEMIOCONTROL pOEMIoControl;
} FMDInterface, *PFMDInterface;

Members

  • cbSize
    Size of the structure.
  • pInit
    Pointer to an FMD_Init function.
  • pGetPhysSectorAddr
    Function pointer.
  • pGetInfoEx
    Function pointer.

Requirements

Header

fmd.h

See Also

Reference

Flash Media Driver Structures
Flash Media Driver Reference