| Previous | Next |
| VDS_E_LDM_TIMEOUT | VDS_E_RETRY |
VDS_E_REVERT_ON_CLOSE_MISMATCH
This HRESULT is returned by the clear side of the temporary-volume-flag contract. When flags were set with bRevertOnClose=TRUE, VDS expects the same relevant combination to be supplied when explicitly clearing that state. A different mask breaks the pairing and VDS rejects the request rather than guessing which subset the caller intends to restore.
Why this state matters
The failure usually indicates lost client state, mask reconstruction from current properties, or two components trying to manage the same volume flags. Preserve the original requested mask as operation state. Current volume properties are not a safe replacement because the scope and visible flag set can differ by basic/dynamic model and MBR/GPT style.
Diagnostic focus
- Compare the exact original revert-on-close flag mask with the mask supplied to
ClearFlags. - Check whether multiple components share the same VDS volume interface or modify flags concurrently.
- Do not derive the clear mask by filtering current volume properties after other storage events.
- Resolve ownership of the temporary flag lifecycle before retrying with a reconstructed mask.
Technical references
IVdsVolume::ClearFlags · IVdsVolume::SetFlags · VDS_VOLUME_FLAG · VDS common return codes · MS-VDS error codes
Looking for a different code? Search another status or error code.