ITypeInfo::GetTypeComp method (oaidl.h)

Retrieves the ITypeComp interface for the type description, which enables a client compiler to bind to the type description's members.

Syntax

HRESULT GetTypeComp(
  [out] ITypeComp **ppTComp
);

Parameters

[out] ppTComp

The ITypeComp of the containing type library.

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.

Remarks

A client compiler can use the ITypeComp interface to bind to members of the type.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeInfo