Home |
Function ShutDown |
Function ShutDownMTD driver function ShutDown is called by RTFiles-32 at program shutdown through API function RTFShutDown: int RTFAPI ShutDown(void * DriveData); ParametersDriveDataPointer to the DeviceData found in the MTDData member of the RTFDrvFlashData structure of the flash device. return valueThis function should always return RTF_NO_ERROR. ShutDown should bring the system into the state it had before any devices were mounted (e.g., restore interrupt handlers). Please note that ShutDown will be called unconditionally for all devices in the reverse order they appear in the device list, even for devices that were never mounted.
|