ITypeInfo2::GetTypeKind

This method returns the TYPEKIND enumeration quickly, without doing any allocations.

At a Glance

Header file: Oaidl.h
Windows CE versions: 2.0 and later

Syntax

HRESULT GetTypeKind( TYPEKIND *pTypeKind );

Parameters

pTypeKind

Pointer to a TYPEKIND enumeration.

Return Values

One of the values described in the following table is returned.

Value Description
S_OK Success.
E_OUTOFMEMORY Out of memory.
E_INVALIDARG One or more of the parameters is invalid.

Example

HRESULT ITypeInfo2::GetTypeKind(TYPEKIND * ptypekind)