System.Win.ObjComAuto.TObjectDispatch.GetTypeInfo
Delphi
function GetTypeInfo(Index: Integer; LocaleID: Integer; out TypeInfo): HRESULT; stdcall;
C++
HRESULT __stdcall GetTypeInfo(int Index, int LocaleID, /* out */ void *TypeInfo);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Win.ObjComAuto.pas System.Win.ObjComAuto.hpp |
System.Win.ObjComAuto | TObjectDispatch |
Description
Obtient les informations de type pour un objet spécifique.
La valeur d'index requise par cette fonction peut être obtenue à l'aide de GetTypeInfoCount.
Si l'élément information de type existe, le paramètre TTypeInfo est initialisé pour pointer sur l'information de type requise et la valeur de retour est S_OK. Sinon, la valeur de retour représente un code d'erreur.
Remarque : L'implémentation en cours de GetTypeInfo renvoie E_NOTIMPL.