| 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. The documented description is “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 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.
Evidence to preserve
- Preserve playlist query and generation ID.
- Preserve library generation.
- Preserve progress count.
- Preserve completion callback.
- Preserve cancellation state.
Correct handling and recovery
Keep the generation object alive, show progress, and process completion or cancellation through its event path.
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.
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.
