System.Win.ComObj.TAutoObject.Invoke
Delphi
function Invoke(DispID: Integer; const IID: TGUID; LocaleID: Integer;
Flags: Word; var Params; VarResult, ExcepInfo, ArgErr: Pointer): HResult; virtual; stdcall;
C++
virtual HRESULT __stdcall Invoke(int DispID, const GUID &IID, int LocaleID, System::Word Flags, void *Params, void * VarResult, void * ExcepInfo, void * ArgErr);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Win.ComObj.pas System.Win.ComObj.hpp |
System.Win.ComObj | TAutoObject |
Description
Provides access to Automation properties and methods exposed by an object that supports the IDispatch interface.
Invoke implements the IDispatch interface Invoke method. Invoke is the standard mechanism for accessing the exposed properties and methods of an Automation object. Invoke calls the Invoke method for the interface represented by the TAutoObject, passing it the parameters specified by the function.