System.Win.ObjComAuto.TObjectDispatch.GetTypeInfoCount
Delphi
function GetTypeInfoCount(out Count: Integer): HRESULT; stdcall;
C++
HRESULT __stdcall GetTypeInfoCount(/* out */ int &Count);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Win.ObjComAuto.pas System.Win.ObjComAuto.hpp |
System.Win.ObjComAuto | TObjectDispatch |
説明
COM オブジェクトでサポートされている型情報インターフェイスの数を取得します(1 または 0)。
COM オブジェクトが型情報をサポートしている場合、Count
パラメータは 1 に設定され(型情報インターフェイスの数)、戻り値は S_OK となります。
メモ: GetTypeInfoCount の現在の実装は、E_NOTIMPL を返します。