typedef long ( *F_GETSTATUS )( F_DRIVER * pxDriver );
This function is only required for removable media. The implementation must return the status of the media.
Parameters:
| pxDriver |
A pointer to the F_DRIVER structure returned by the call
to F_DRIVERINIT() originally
used to initialise the drive being queried.
|
| 0 |
The drive can be used.
|
||||||||
| Any other value |
The implementation can return one of the following status
codes:
|
Example usage:
A worked example is provided in the RAM disk driver available from this web site.