Vcl.OleCtrls.TOleControl.Invoke

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Invoke(DispID: Integer; const IID: TGUID; LocaleID: Integer;  Flags: Word; var Params; VarResult, ExcepInfo, ArgErr: Pointer): HResult; stdcall;

C++

HIDESBASE 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
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TOleControl

Description

Provides access to Automation properties and methods when the component wraps an Automation object.

Vcl.OleCtrls.TOleControl.Invoke inherits from System.Classes.TComponent.Invoke. All content below this line refers to System.Classes.TComponent.Invoke.

Provides access to Automation properties and methods when the component wraps an Automation object.

Invoke is the standard mechanism for accessing the exposed properties and methods of an Automation object. For components that wrap the IDispatch interface of an Automation object, Invoke calls the Invoke method for the interface supported by the component, passing it the parameters specified by the function.

See Also