What does HRESULT 0x80AA0904 (E_IMAPI_ERASE_MEDIA_IS_NOT_ERASABLE) mean?

 
Previous Next
E_IMAPI_ERASE_MODE_PAGE_2A_TOO_SMALL E_IMAPI_ERASE_DRIVE_FAILED_ERASE_COMMAND

E_IMAPI_ERASE_MEDIA_IS_NOT_ERASABLE

E_IMAPI_ERASE_MEDIA_IS_NOT_ERASABLE means the drive reported that the current medium cannot be erased. This should be distinguished from an unsupported recorder or unsupported media-format combination: the device was queried, but the medium itself is not erasable in its current reported state.

Verify the physical media type before starting erase

  • Record CurrentPhysicalMediaType and the result of IsCurrentMediaSupported.
  • Confirm that the user inserted rewritable/erasable media appropriate for the drive rather than write-once media.
  • Do not loop on EraseMedia; changing FullErase does not make non-erasable media erasable.

FullErase chooses between a whole-medium overwrite and a faster erase of directory tracks; it does not change media capabilities. If the UI offers an Erase action, gate that action on format/media support and show the detected physical media type. That prevents a device-side capability result from being misreported as a permissions or filesystem error.

IDiscFormat2Erase · FullErase · IsCurrentMediaSupported


Looking for a different code? Search another status or error code.