| Previous | Next |
| NS_S_WMR_ALREADYRENDERED | NS_S_WMR_PINTYPEFULLMATCH |
NS_S_WMR_PINTYPEPARTIALMATCH
Windows Media pin type partially matches
NS_S_WMR_PINTYPEPARTIALMATCH is HRESULT 856160 (0x000D1060) from Windows Media. The documented description is “The specified type partially matches this pin type.” 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 specified type partially matches this pin type. Treat it as a distinct branch whose postcondition must be proven before subsequent operations begin.
What must be true before accepting it
Verify that the negotiated differences are understood and a compatible transform can safely bridge the remaining media-type fields. The caller should make the acceptance test explicit in code and telemetry.
Inspect the current generation of every affected object before deciding what happens next.
Where the status is encountered
- Windows Media source, reader, writer, or renderer callbacks; log the exact method and object state instead of interpreting the constant outside that contract.
- 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.
Evidence to preserve
- Preserve major type and subtype.
- Preserve format block differences.
- Preserve source and target pins.
- Preserve candidate transform.
- Preserve final negotiated media type.
Correct handling and recovery
Compare every media-type field, enumerate transforms, and connect only after validating the effective type. Do not assume a partial match is directly connectable.
Distinguish protocol continuation from retrying the entire high-level operation.
Practical scenario
A decoder output matches video major type and subtype but differs in format details. The graph inserts a converter and records the final negotiated type.
Difference from nearby results
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.
