HRESULT GetTypeComp(
ITypeComp FAR* FAR* ppTComp
);
Retrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members.
The return value obtained from the returned HRESULT is one of the following:
Return value | Meaning |
---|---|
S_OK | Success. |
E_OUTOFMEMORY | Out of memory. |
E_INVALIDARG | One or more of the arguments is invalid. |
TYPE_E_IOERROR | The function could not read from the file. |
TYPE_E_INVDATAREAD | Invalid data. |
TYPE_E_UNSUPFORMAT | The type library has an older format. |
TYPE_E_INVALIDSTATE | The type library could not be opened. |
TYPE_E_WRONGTYPEKIND | Type mismatch. |
A client compiler can use the ITypeComp interface to bind to members of the type.