| Previous | Next |
| CRYPT_I_NEW_PROTECTION_REQUIRED | NS_S_CALLABORTED |
NS_S_CALLPENDING
Windows Media operation remains pending
NS_S_CALLPENDING is HRESULT 851968 (0x000D0000) from Windows Media. The documented description is “The requested operation is pending completion.” The severity bit indicates a nonfailure result, but the value carries a specific condition that must not be collapsed into plain S_OK.
In the legacy Windows Media pipeline or Player state, this result means that the requested operation is pending completion. Before reporting completion, the caller must reconcile the code-specific state transition and every usable output.
Where the status is encountered
- Windows Media Player SDK automation; log the exact method and object state instead of interpreting the constant outside that contract.
- Media graph, playlist, image, rights, or buffering state; log the exact method and object state instead of interpreting the constant outside that contract.
What must be true before accepting it
Verify that the caller keeps the operation state alive and waits for its asynchronous completion notification. Without that proof, it can mask a caller error even though HRESULT failure severity is not set.
Reconcile side effects associated with it before compensation or a second invocation is attempted.
Evidence to preserve
- Preserve operation and object identity.
- Preserve callback or event registration.
- Preserve current media URL.
- Preserve pending start time.
- Preserve final completion status.
Correct handling and recovery
Do not consume final outputs or issue conflicting calls. Track completion, cancellation, and timeout through the Windows Media object that initiated the operation.
An unchanged retry after it is useful only when the API explicitly advances through repeated calls.
Difference from nearby results
Correctly separating it from neighboring values selects the proper continuation and cleanup path.
Practical scenario
A network source open call returns pending. The player keeps the source object alive and enables playback controls only after the open-complete event.
References
- Microsoft: Windows Media Format SDK error codes — official Microsoft material relevant to this HRESULT.
- Microsoft: Windows Media Player SDK
- Microsoft: Windows Media Player buffering event
- Microsoft: HRESULT values
Looking for a different code? Search another status or error code.