| Previous | Next |
| NS_E_INVALID_NUM_PASSES | NS_E_ATTRIBUTE_NOT_ALLOWED |
NS_E_ATTRIBUTE_READ_ONLY
NS_E_ATTRIBUTE_READ_ONLY: diagnosis and verification
NS_E_ATTRIBUTE_READ_ONLY (0xC00D0BD6) means the caller attempted to modify an attribute whose value is owned or computed by the SDK.
Profile and sample evidence
| Capture | Why it matters |
|---|---|
| Owning call | Record the API method, object identity, thread or callback and timestamp for the attribute read only media-format check. |
| Values to record | object interface, attribute or property identifier, stream number, data type, mutability flags and the operation used to set or retrieve it. |
| Comparison case | Use one known-good resource that exercises the same attribute read only media-format check while changing only the rejected precondition. |
Failure anatomy
The attribute read only media-format check is reached when the caller attempted to modify an attribute whose value is owned or computed by the SDK. The caller must not assume that the next filter, packet, session or metadata state exists after it.
Nearby results are not interchangeable
Main distinction: read-only means the attribute exists but cannot be changed; not-allowed means that attribute is illegal in this context.
| Nearby HRESULT | How to compare it |
|---|---|
NS_E_SDK_BUFFERTOOSMALL | the caller-provided output buffer is smaller than the size reported by the SDK. |
NS_E_INVALID_NUM_PASSES | the application used a preprocessing-pass sequence incompatible with the output mode. |
NS_E_ATTRIBUTE_NOT_ALLOWED | the attribute is valid in the SDK but not legal for the selected media type or object. |
A controlled media-format test
- Log
0xC00D0BD6, the exact operation and the first failure time. - Perform one isolated test: query the object capability and existing attribute type first, then perform the same operation on one documented writable property.
- Repeat through the same API and protocol path; a different player or local-copy test is useful only as a comparison, not as proof that the attribute read only media-format check is fixed.
Misleading actions
- changing several profile and codec settings at once, which hides the first incompatible field.
- Record redacted identifiers, lengths, hashes and protocol fields needed to reproduce the attribute read only media-format check.
Technical references
- Windows Media Format SDK overview
- Input, stream and output formats
- Profiles
- Windows Media SDK objects
- Microsoft HRESULT registry
Treat it as resolved only when the same API path succeeds at this stage; success through a different player or cached copy is merely supporting evidence.
Looking for a different code? Search another status or error code.
