| Previous | Next |
| VDS_S_VOLUME_COMPRESS_FAILED | VDS_S_IA64_BOOT_MIRRORED_TO_MBR |
VDS_S_IN_PROGRESS
VDS_S_IN_PROGRESS is an intermediate asynchronous state. VDS methods that start long operations return an IVdsAsync object; the caller can wait, query progress, or cancel where supported. The eventual operation HRESULT is separate from the COM call status used to inspect the async object, so an “in progress” result must not be logged as the final storage outcome.
Why this state matters
IVdsAsync::QueryStatus returns the operation HRESULT through pHrResult and a percentage value. While the operation is active, progress can be 0 through 99; a zero percentage can also mean that progress cannot be estimated. Correct code keeps the async object alive and observes the final result rather than starting a duplicate operation because a single poll did not show movement.
Diagnostic focus
- Keep the original
IVdsAsyncobject and associate it with the storage object and operation that created it. - Record both the status-query call HRESULT and the operation HRESULT returned through the output parameter.
- Treat 0 percent as potentially “progress unknown,” not proof that the operation is hung.
- Use
Waitor continued status queries to obtain the terminal HRESULT before changing topology or retrying.
Technical references
IVdsAsync · IVdsAsync::QueryStatus · IVdsAsync::Wait · VDS_ASYNC_OUTPUT · MS-VDS error codes
Looking for a different code? Search another status or error code.
