| Previous | Next |
| NS_E_WMPBR_NOLISTENER | NS_E_WMPBR_RESTORECANCEL |
NS_E_WMPBR_BACKUPCANCEL
Diagnosing NS_E_WMPBR_BACKUPCANCEL during Windows Media rights backup or connectivity
NS_E_WMPBR_BACKUPCANCEL (0xC00D1131) is returned when a DRM license backup operation was canceled before it committed a complete backup set.
Preserve one asynchronous operation record containing the selected path, event listener, network resource and license-store status. This result identifies a narrower stage than the dialog text exposes, so preserve its operation before trying a workaround. In this case the rejected checkpoint is a DRM license backup operation was canceled before it committed a complete backup set.
Backup/restore boundary
AllStat already supplies the standard user-facing description for this HRESULT; this custom block instead isolates the additional technical boundary. Earlier success in file lookup, network connection, parser creation or graph construction does not prove that the later the operation is valid.
Case-specific checkpoint: cancel source, last WM_BACKUP_RESTORE_STATUS stage, destination path and files written before cancellation. The controlled comparison for this HRESULT is: run a backup to a new empty directory and allow the completion callback to arrive before closing the Player.
Closest distinction: NS_E_WMPBR_NAMECOLLISION concerns destination naming even though old UI text may also mention cancellation.
Preserve the operation record
| Capture | Why it matters for this HRESULT |
|---|---|
| Object or resource | cancel source, last WM_BACKUP_RESTORE_STATUS stage, destination path and files written before cancellation |
| State snapshot | Record the Player openState/playState or operation phase, object identity and exact timestamp when this result was returned. |
| First lower result | Keep the earliest Win32, Winsock, COM, parser, codec, DRM or device result that appears before this result. |
| Comparison record | Use one known-good case that follows the same API, protocol and component path while changing only the rejected precondition. |
Safe controlled retry
- Freeze the current object state and collect cancel source, last WM_BACKUP_RESTORE_STATUS stage, destination path and files written before cancellation.
- Reproduce this result once without automatic retries or fallback applications.
- Change only one precondition: run a backup to a new empty directory and allow the completion callback to arrive before closing the Player.
- compare the first nested status and next Player event with the failed run.
- After testing it, restore the original configuration if the change was diagnostic only.
Interpreting completion
| Retest outcome | Interpretation |
|---|---|
| Same it on the same object | The governing state or value is unchanged, or the caller is reusing an object created before the relevant change. |
| Fresh object succeeds | Lifetime, cached configuration or stale playlist/graph state contributed to it. |
| A later HRESULT appears | The rejected condition — a DRM license backup operation was canceled before it committed a complete backup set — was cleared for this HRESULT; diagnose the new code at its own layer. |
| Only one item or endpoint fails for this HRESULT | The evidence favors resource-specific data, rights, routing or device state rather than a global Player failure. |
Actions that obscure the cause
- reusing a partial backup directory as if it were complete.
- Do not discard the first occurrence by repeatedly invoking Play, open, save or retry; later events can replace its original state.
- do not publish credentials, private URLs, license material or complete protected-content headers; retain only redacted identifiers, lengths, hashes and protocol fields.
Technical references
- Backing up and restoring DRM licenses
- Backing up and restoring licenses
- Windows Media DRM client interfaces
- WM_BACKUP_RESTORE_STATUS
- Microsoft HRESULT registry
After it, a different downstream HRESULT is progress and should be recorded as a separate condition.
Looking for a different code? Search another status or error code.