What does HRESULT 0xC0370103 (ERROR_VMCOMPUTE_OPERATION_PENDING) mean?

 
Previous Next
ERROR_VMCOMPUTE_HYPERV_NOT_INSTALLED ERROR_VMCOMPUTE_TOO_MANY_NOTIFICATIONS

ERROR_VMCOMPUTE_OPERATION_PENDING

HCS separates request submission from operation completion

ERROR_VMCOMPUTE_OPERATION_PENDING indicates that a Host Compute System operation continues in the background. HCS APIs use an HCS_OPERATION object so create, start, modify, property query and shutdown work can complete after the initiating function returns.

The final status and optional JSON result document come from the operation completion path. Closing handles, destroying caller-owned state or submitting a conflicting lifecycle command before that completion can turn a normal asynchronous result into a race or an invalid-state failure.

Evidence and corrective action

  • Associate each operation handle with exactly one outstanding request and retain its context until completion.
  • Use HcsWaitForOperationResult, HcsGetOperationResult or an operation callback to obtain the final HRESULT.
  • Apply a caller-side timeout without assuming that timeout cancels the HCS operation automatically.
  • Log both the submission result and the later operation result; they describe different stages.
  • Serialize lifecycle transitions when a second command would conflict with the pending one.

References


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