coclass
In the Component Object Model (COM) and its Interface Description Language (MIDL), a coclass is a type library construct that represents a concrete class that can be instantiated and that implements one or more interfaces. A coclass provides a mapping from a class identifier (CLSIDs) to the interfaces the object supports, and it can specify which interface is the default for activation.
A coclass is declared within a type library or IDL file and is associated with a unique
Activation and usage follow a standard pattern: a client calls a function such as CoCreateInstance with the
In type libraries, coclasses enable designers to describe the capabilities of COM components in a language-