ITypeLib::GetLibAttr Function

Retrieves the structure that contains the library's attributes.

HRESULT GetLibAttr(
  TLIBATTR FAR* FAR  *ppTLibAttrr
);

ppTLibAttrr

Pointer to a structure that contains the library's attributes.

The return value obtained from the returned HRESULT is one of the following:

Return value

Meaning

S_OK

Success.

E_OUTOFMEMORY

Out of memory.

E_INVALIDARG

One or more of the arguments is invalid.

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

Show: