ITypeInfo::GetContainingTypeLib method
Retrieves the containing type library and the index of the type description within that type library.
Syntax
HRESULT GetContainingTypeLib( [out] ITypeLib **ppTLib, [out] UINT *pIndex );
Parameters
- ppTLib [out]
-
The containing type library.
- pIndex [out]
-
The index of the type description within the containing type library.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
One or more of the arguments is not valid. |
|
Insufficient memory to complete the operation. |
|
OLE could not find an implementation of one or more required interfaces. |
Requirements
|
IDL |
|
|---|
See also
Show: