[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

IVCLComObject.Invoke

The IDispatch:Invoke call for automation servers.

Declaration

Source position: classesh.inc line 1708

function IVCLComObject.Invoke(

  DispID: Integer;

  const IID: TGuid;

  LocaleID: Integer;

  Flags: Word;

  var Params;

  VarResult: Pointer;

  ExcepInfo: Pointer;

  ArgErr: Pointer

):HRESULT;

Description

Invoke must invoke the method designated by DispID. IID can be ignored. LocaleID is used by the caller to indicate the locale it is using. The Flags argument describes the context in which Invoke is called: a method, or property getter/setter. The Params argument contains the parameters to the call. The result should be in VarResult. On error, ExcepInfo and ArgError should be filled.

The function should return 0 (S_OK) if all went well.

See also

IVCLComObject.GetIDsOfNames

  

The IDispatch:GetIDsOfNames call for automation servers.


Documentation generated on: Nov 16 2015