ITypeLib::GetTypeInfoType

This method retrieves the type of a type description.

At a Glance

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

Syntax

HRESULT GetTypeInfoType( unsigned int index, TYPEKIND FAR* pTKind );

Parameters

index

Index of the type description within the type library.

pTKind

Pointer to the TYPEKIND enumeration for the type description.

Return Values

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

Value Description
S_OK Success.
TYPE_E_ELEMENTNOTFOUND Index is outside the range of 0 to GetTypeInfoCount –1.