ITypeInfo::GetTypeComp method

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

ppTComp [out]

The ITypeComp of the containing type library.

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

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

Requirements

IDL

OaIdl.idl

See also

ITypeInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft