Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[out] ppTLib
The containing type library.
[out] pIndex
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | oaidl.h |