ITypeLib::GetLibAttr

ITypeLib::GetLibAttr(lplptlibattr)
TLIBATTR FAR* FAR*
lplptlibattr

Retrieves the structure containing the library's attributes.

Parameter

lplptlibattr

Pointer to a structure containing the library's attributes.

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.
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 unsupported format.
TYPE_E_INVALIDSTATE
The type library could not be opened.

Comments

Use ITypeLib::ReleaseTLibAttr to free the memory occupied by the TLIBATTR structure.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples