ITypeInfo::GetRefTypeInfo method (oaidl.h)
If a type description references other type descriptions, it retrieves the referenced type descriptions.
HRESULT GetRefTypeInfo( [in] HREFTYPE hRefType, [out] ITypeInfo **ppTInfo );
A handle to the referenced type description to return.
The referenced type description.
This method can return one of these values.
||One or more of the arguments is not valid.|
||Insufficient memory to complete the operation.|
On return, the second parameter contains a pointer to a pointer to a type description that is referenced by this type description. A type description must have a reference to each type description that occurs as the type of any of its variables, function parameters, or function return types. For example, if the type of a data member is a record type, the type description for that data member contains the hRefType of a referenced type description. To get a pointer to the type description, the reference is passed to GetRefTypeInfo.