| Previous | Next |
| STG_E_NOMOREFILES | STG_E_SEEKERROR |
STG_E_DISKISWRITEPROTECTED
STG_E_DISKISWRITEPROTECTED: diagnose the owning boundary
STG_E_DISKISWRITEPROTECTED (0x80030013) is documented as Disk is write-protected. Treat that wording as the specific structured-storage write access boundary; it is more useful than a generic “component failed” label.
Evidence that matters
Record storage path/device, open mode, media write-protection state and first Win32 storage error. Remove the write-protection condition or use a writable target before retrying.
Interpretation and verification
Keep the affected object and caller identity stable while changing only the rejected prerequisite. The correction is proven when the original operation crosses this boundary with the intended state or output. If a different HRESULT appears afterward, preserve it as a separate later-stage result rather than folding it back into STG_E_DISKISWRITEPROTECTED.
Technical references
Looking for a different code? Search another status or error code.