Düzenle

Aracılığıyla paylaş


ITypeLib::GetTypeInfoType method (oaidl.h)

Retrieves the type of a type description.

Syntax

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

Parameters

[in] index

The index of the type description within the type library.

[out] pTKind

The TYPEKIND enumeration value for the type description.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
TYPE_E_ELEMENTNOTFOUND
The index parameter is outside the range of to GetTypeInfoCount - 1.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h

See also

ITypeLib