ITypeInfo::GetTypeAttr method (oaidl.h)

Retrieves a TYPEATTR structure that contains the attributes of the type description.

Syntax

HRESULT GetTypeAttr(
  [out] TYPEATTR **ppTypeAttr
);

Parameters

[out] ppTypeAttr

The attributes of this type description.

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

To free the TYPEATTR structure, use ITypeInfo::ReleaseTypeAttr.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeInfo