ITypeLib::GetTypeInfoType method

Retrieves the type of a type description.

Syntax


HRESULT GetTypeInfoType(
  [in]  UINT     index,
  [out] TYPEKIND *pTKind
);

Parameters

index [in]

The index of the type description within the type library.

pTKind [out]

The TYPEKIND enumeration value for the type description.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

TYPE_E_ELEMENTNOTFOUND

The index parameter is outside the range of to GetTypeInfoCount - 1.

 

Requirements

IDL

OaIdl.idl

See also

ITypeLib

 

 

Show: