System.Win.ObjComAuto.TObjectDispatch.GetTypeInfo

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetTypeInfo(Index: Integer; LocaleID: Integer;
out TypeInfo): HRESULT; stdcall;

C++

HRESULT __stdcall GetTypeInfo(int Index, int LocaleID, /* out */ void *TypeInfo);

プロパティ

種類 可視性 ソース ユニット
function public
System.Win.ObjComAuto.pas
System.Win.ObjComAuto.hpp
System.Win.ObjComAuto TObjectDispatch

説明

特定のオブジェクトの型情報を取得します。

この関数で必要となるインデックス値は、GetTypeInfoCount を使用して取得できます。

型情報要素がすでに存在する場合、TTypeInfo パラメータは、要求されたかた情報を指すように設定され、戻り値として S_OK を返します。そうでない場合、戻り値はエラー コードを表します。

メモ: GetTypeInfo の現在の実装は、E_NOTIMPL を返します。

関連項目