System.Win.ObjComAuto.TObjectDispatch.GetTypeInfoCount

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function GetTypeInfoCount(out Count: Integer): HRESULT; stdcall;

C++

HRESULT __stdcall GetTypeInfoCount(/* out */ int &Count);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.Win.ObjComAuto.pas
System.Win.ObjComAuto.hpp
System.Win.ObjComAuto TObjectDispatch

Beschreibung

Gibt die Anzahl der Typinformationen-Interfaces zurück, die vom COM-Objekt unterstützt werden (1 oder 0).

Wenn Typinformationen vom COM-Objekt unterstützt werden, wird der Parameter Count auf 1 gesetzt (die Anzahl der Typinformationen-Interfaces) und der Rückgabewert ist S_OK.

Hinweis: Die aktuelle Implementierung von GetTypeInfoCount gibt E_NOTIMPL zurück.

Siehe auch