3.11.4.5 ITypeLib::GetLibAttr (Opnum 7)

The GetLibAttr method retrieves a structure that contains the attributes declared with the Type library.

 HRESULT GetLibAttr(
   [out] LPTLIBATTR* ppTLibAttr,
   [out] DWORD* pReserved
 );

ppTLibAttr: MUST be set to a TLIBATTR (section 2.2.45) structure that specifies the attributes declared with the Type library.

pReserved: MUST be set to 0 and ignored on receipt.

Return Values: The method MUST return information in an HRESULT data structure, defined in [MS-ERREF] section 2.1. The severity bit in the structure identifies the following conditions:

  • If the severity bit is set to 0, the method completed successfully.

  • If the severity bit is set to 1, the method failed and encountered a fatal error.