ITypeInfo2::GetTypeFlags method (oaidl.h)

Returns the type flags without any allocations. This returns a flag that expands the type flags without growing the TYPEATTR (type attribute).

Syntax

HRESULT GetTypeFlags(
  [out] ULONG *pTypeFlags
);

Parameters

[out] pTypeFlags

A TYPEFLAG value.

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

ITypeInfo2