3.13.4.2 ITypeLib2::GetLibStatistics (Opnum 14)

The GetLibStatistics method returns statistics about the unique names in the automation type library.

 HRESULT GetLibStatistics(
   [out] ULONG* pcUniqueNames,
   [out] ULONG* pcchUniqueNames
 );

pcUniqueNames: MUST be set to the number of unique names in the Type library.

pcchUniqueNames: MUST be set to the total length, in characters, of the unique names in the library.

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.