ITypeInfo::GetContainingTypeLib

lplptlib, lpindex)
ITypeLib FAR* FAR* lplptlib
unsigned int FAR* lpindex

Retrieves the containing type library and the index of the type description within that type library.

Parameters

lplptlib

Upon return, points to a pointer to the containing type library.

lpindex

Upon return, points to the index of the type description within the containing type library.

Return Value

The SCODE obtained from the returned HRESULT is one of the following:

SCODE
Meaning
S_OK
Success.
E_OUTOFMEMORY
Out of memory.
E_INVALIDARG
One or more of the arguments is invalid.
E_NOINTERFACE
OLE could not find an implementation of one or more required interfaces.
TYPE_E_IOERROR
The function could not write to the file.
TYPE_E_INVDATAREAD
The function could not read from the file.
TYPE_E_UNSUPFORMAT
The type library has an old format.
TYPE_E_INVALIDSTATE
The type library could not be opened.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database