ITypeLib2::GetLibStatistics method (oaidl.h)

Returns statistics about a type library that are required for efficient sizing of hash tables.

Syntax

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

Parameters

[out] pcUniqueNames

A count of unique names. If the caller does not need this information, set to NULL.

[out] pcchUniqueNames

A change in the count of unique names.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
One or more of the arguments is not valid.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeLib2