ITypeInfo2::GetTypeKind method (oaidl.h)

Returns the TYPEKIND enumeration quickly, without doing any allocations.

Syntax

HRESULT GetTypeKind(
  [out] TYPEKIND *pTypeKind
);

Parameters

[out] pTypeKind

A TYPEKIND 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