Classes.TComponent.Invoke

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Classes.pas

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


Unit: Classes

Type: method

Visibility: protected

Member Of: TComponent

C++ Information

From Classes.hpp

	long __fastcall Invoke(int DispID,
		const _GUID & IID,
		int LocaleID,
		unsigned short Flags,
		void * Params,
		void * VarResult,
		void * ExcepInfo,
		void * ArgErr);


Unit: Classes

Type: method

Visibility: protected

Member Of: TComponent

Description

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

Personal tools
Translations
Newest Version