Site icon EfmSoft

What does HRESULT 0x80042458 (VDS_E_REVERT_ON_CLOSE) mean?

 
Previous Next
VDS_E_NO_DRIVELETTER_FLAG VDS_E_REVERT_ON_CLOSE_SET

VDS_E_REVERT_ON_CLOSE

IVdsVolume::SetFlags can mark selected volume attributes to be reverted when the volume interface is closed. Microsoft limits this behavior to a specific group of flags such as hidden, read-only, no-default-drive-letter, or shadow-copy attributes. This HRESULT means the caller requested bRevertOnClose without a compatible flag combination.

Why this state matters

Revert-on-close is a lifecycle contract, not a generic transaction around arbitrary volume settings. The temporary flag state is tied to the VDS interface lifetime, and on an MBR basic disk some attributes are disk-scoped. The fix is to validate the requested mask and ownership of the interface rather than adding an unrelated flag merely to satisfy the call.

Diagnostic focus

Technical references

IVdsVolume::SetFlags · IVdsVolume::ClearFlags · VDS_VOLUME_FLAG · VDS common return codes · MS-VDS error codes


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

Exit mobile version