formatMedia
Declaration
virtual IOReturn formatMedia(
UInt64byteCapacity);Parameters
- byteCapacity:
Number of bytes to format media to.
Return Value
An IOReturn code.
Overview
Format the media with the specified byte capacity. The driver is responsible for tearing down the media object and recreating it.
See Also
Miscellaneous
acceptNewMediaaddToBytesTransferredallocateContextbreakUpRequestcheckForMediaconstrainByteCountcopyPhysicalExtentdeblockRequestdecommissionMediadeleteContextejectMediaexecuteRequestgetDeviceTypeNamegetFormatCapacitiesgetMediaBlockSizegetMediaStategetStatisticgetStatisticshandleClosehandleIsOpenhandleOpenhandleStartincrementErrorsincrementRetriesinitMediaStateinstantiateDesiredMediaObjectinstantiateMediaObjectisMediaEjectableisMediaRemovableisMediaWritablelockPhysicalExtentsmediaStateHasChangedprepareRequestreadrecordMediaParametersrejectMediarequestIdlesynchronizeCacheunlockPhysicalExtentsunmapvalidateNewMediawrite