| Previous | Next |
| TYPE_E_DLLFUNCTIONNOTFOUND | TYPE_E_SIZETOOBIG |
TYPE_E_BADMODULEKIND
TYPE_E_BADMODULEKIND: the Automation operation is not valid for this module kind
TYPE_E_BADMODULEKIND (0x800288BD) identifies a specific boundary: the Automation operation is not valid for this module kind. Keep it separate from neighboring errors that may occur in the same product but represent a different lookup, state, trust, or transport decision.
Evidence to capture
Record TYPEKIND/module flags, the exact ITypeInfo/ITypeLib operation, source language/toolchain, and library version. A valid type library can still expose a module kind that does not support the requested operation.
Corrective test
Use the API appropriate for that module kind or correct the producer metadata, then repeat the same operation against the rebuilt library. Preserve the original identifiers while testing; if another HRESULT appears after this boundary is fixed, treat that value as the next-stage result.
Technical references
Looking for a different code? Search another status or error code.