ITypeLib::GetTypeInfoType

Prototypes

HRESULT ITypeLib::GetTypeInfoType(UINT Index, TYPEKIND *SorteType);

Description

Retrouve la sorte du type identifié par Index hébergé dans la bibliothèque.

Le résultat est rangé dans SorteType.

Exemple

#include <windows.h>
#include <winbase.h>
#include <ole2.h>

ITypeLib *pITypeLib;
UNIT Index;
TYPEKIND SorteType;

...
SorteType=(TYPEKIND)0;
if (pITypeLib->GetTypeInfo(Index, &SorteType)!=S_OK)
...

Avertissement

Le résultat est S_OK en cas de succès.

Voir aussi

Néant.