|
Mac OS 9
|
#include <DriverGestalt.h>
Data Fields | |
| UInt32 | numberBlocks |
| UInt32 | blockSize |
| SInt16 | mediaType |
The DriverGestaltMediaInfoResponse is returned by a disk driver in response to a kdgMediaInfo DriverGestalt request. This allows a disk driver to tell callers the physical block size, the number of blocks that are of that size, and the media type for a given device.
A disk driver must look at the ioVRefNum field of the DriverGestaltParam to determine what disk drive this call is for. This is a per-drive call, not a per-driver call.
On drives that support ejectable media, the response can change depending on what media is currently in the drive.