reportWriteProtection
Report whether the media is write-protected or not.
Declaration
virtual IOReturn reportWriteProtection(
bool *isWriteProtected) = 0;Parameters
- isWriteProtected:
Pointer to returned result. True indicates that the media is write-protected (it cannot be written); False indicates that the media is not write-protected (it is permissible to write).
See Also
Miscellaneous
doAsyncReadWritedoEjectMediadoFormatMediadoGetFormatCapacitiesdoSynchronizeCachedoUnmapgetAdditionalDeviceInfoStringgetProductStringgetRevisionStringgetVendorStringgetWriteCacheStateinitreportBlockSizereportEjectabilityreportMaxValidBlockreportMediaStatereportRemovabilityrequestIdlesetWriteCacheState