| Previous | Next |
| NS_S_WMPCORE_PLAYLISTREMOVEITEMABORT | NS_S_WMPCORE_MEDIA_VALIDATION_PENDING |
NS_S_WMPCORE_PLAYLIST_CREATION_PENDING
Playlist generation is still pending
NS_S_WMPCORE_PLAYLIST_CREATION_PENDING is HRESULT 856322 (0x000D1102) from Windows Media. AllStat describes it as “Playlist is being generated asynchronously.” 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 playlist is being generated asynchronously. Handling of it is complete only after the caller verifies what work occurred and what remains outstanding.
What must be true before accepting it
Verify that the caller waits for playlist completion and does not enumerate an incomplete collection as final. Failure to prove the boundary can make this result look healthy while the intended operation remains unfinished.
Classify the operation phase reached at this result before releasing objects or issuing replacement work.
Where the status is encountered
- This result can be returned during Windows Media source, reader, writer, or renderer callbacks; log the exact method and object state instead of interpreting the constant outside that contract.
- It can be returned during Windows Media Player SDK automation; log the exact method and object state instead of interpreting the constant outside that contract.
- It can be returned during media graph, playlist, image, rights, or buffering state; log the exact method and object state instead of interpreting the constant outside that contract.
Because it is informational, a language binding may expose it as success and hide the symbolic distinction. Keep the original HRESULT available until the code-specific branch has run.
Evidence and telemetry
- preserve playlist query and generation ID.
- preserve library generation.
- preserve progress count.
- preserve completion callback.
- preserve cancellation state.
Also record ns_s_wmpcore_playlist_creation_pending_operation, ns_s_wmpcore_playlist_creation_pending_state_before, ns_s_wmpcore_playlist_creation_pending_state_after, UTC time, process and thread identifiers, component version, and a correlation ID. Keep it traces useful by recording object identity and timing while excluding authentication or content secrets.
Correct handling and recovery
Keep the generation object alive, show progress, and process completion or cancellation through its event path.
Retry it only when a documented input or state has changed. Only a meaningful state transition should cause a repeated request after it.
Practical scenario
A smart playlist based on the media library returns pending. The UI displays generation progress and enables playback only after final ordering is available.
A regression test should reproduce it, assert the relevant outputs and state, then change only the decisive condition and verify the expected neighboring result or ordinary completion.
Difference from nearby results
It must be distinguished from ordinary S_OK and from failure-severity values in the same API family; its documented state changes control the next action.
The semantic difference represented by it should be visible in both control flow and operational metrics.
References
- Microsoft: Windows Media Format SDK error codes — official Microsoft material used to interpret it.
- 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.