F_DRIVER *( *F_DRIVERINIT )( unsigned long ulDriverParameter );
The implementation must initialise the interface between the FAT file system and the media driver.
The initialisation function must return a pointer to an allocated or static F_DRIVER structure that has been populated with all the driver entry points and other data as required.
Parameters:
| ulDriverParameter |
Available for the implementer of the interface to use
for any purpose.
|
| NULL |
The driver was not initialised.
|
| Any other value |
A pointer to a populated driver descriptor structure.
|
Example usage:
A worked example is provided in the RAM disk driver available from this web site.