ITypeLib::GetLibAttr method

Retrieves the structure that contains the library's attributes.

Syntax


HRESULT GetLibAttr(
  [out] TLIBATTR **ppTLibAttr
);

Parameters

ppTLibAttr [out]

The library's attributes.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

One or more of the arguments is not valid.

E_OUTOFMEMORY

Insufficient memory to complete the operation.

 

Remarks

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

Requirements

IDL

OaIdl.idl

See also

ITypeLib

 

 

Show: