| Previous | Next |
| WINCODEC_ERR_UNSUPPORTEDOPERATION | WINCODEC_ERR_COMPONENTINITIALIZEFAILURE |
WINCODEC_ERR_INVALIDREGISTRATION
Component discovery succeeded, but the registration contract did not
WINCODEC_ERR_INVALIDREGISTRATION points to WIC component registration rather than image bytes. WIC discovers codecs and metadata handlers through COM and category-specific registry data that describes CLSIDs, container formats, MIME types, file extensions, pixel formats, signing, and other capabilities. A stale CLSID, missing server, malformed value, or inconsistent capability record can make the component undiscoverable or unusable.
The problem is often machine-specific because installer repair, 32-bit versus 64-bit registration, or side-by-side codec versions affect the registry view seen by the process. Testing only whether the DLL exists is insufficient; WIC must be able to enumerate the component and instantiate the registered COM class in the caller’s architecture.
Registration evidence
- Enumerate WIC components and record the failing CLSID, component type, vendor, and architecture.
- Compare the relevant registry view with the component registration documentation.
- Confirm that COM activation of the registered class succeeds under the same process identity.
- Repair or reinstall the codec instead of copying its DLL without its registration data.
References
- Microsoft: WIC component registration
- Microsoft: reading WIC component information
- Microsoft: WIC codec discovery model
Looking for a different code? Search another status or error code.
