What does HRESULT 0x00030202 (STG_S_RETRYNOW) mean?

 
Previous Next
STG_S_BLOCK STG_S_MONITORING

STG_S_RETRYNOW

A scheduling result, not an unlimited retry policy

STG_S_RETRYNOW is used by asynchronous structured storage to tell the current operation that it can retry without entering a blocking wait. It commonly accompanies progress notification as downloaded byte ranges become available.

“Immediately” does not justify an unbounded tight loop. If the retried call consumes no new data and returns the same state repeatedly, the caller should yield to the producer or wait for a new progress event.

What to track

  • The byte range requested before and after each retry.
  • Whether the available extent actually advanced.
  • A bounded retry counter or progress invariant to detect a spinning implementation.
  • Cancellation and terminal download errors separately from this success code.

References

IProgressNotify::OnProgress · IFillLockBytes implementation · Microsoft COM storage HRESULTs


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