IDispatch_Invoke.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

IDispatch_Invoke (OLEAUT32.@)

SYNOPSIS

static HRESULT IDispatch_Invoke
 (
  LPDISPATCH  iface,
  DISPID      dispIdMember,
  REFIID      riid,
  LCID        lcid,
  WORD        wFlags,
  DISPPARAMS* pDispParams,
  VARIANT*    pVarResult,
  EXCEPINFO*  pExcepInfo,
  UINT*       puArgErr
 )

DESCRIPTION

Call an object method.

PARAMS

iface [In] IDispatch interface.

dispIdMember [In] DISPID of the method (from GetIDsOfNames(3w)).

riid [In] Reserved, set to IID_NULL.

lcid [In] Locale of the type information to convert parameters with.

wFlags, [In] Kind of method call (DISPATCH_ flags from "oaidl.h").

pDispParams [In] Array of method arguments.

pVarResult [Out] Destination for the result of the call.

pExcepInfo [Out] Destination for exception information.

puArgErr [Out] Destination for bad argument.

RETURNS

Success: S_OK.

Failure: See DispInvoke(3w) for failure cases.

NOTES

See DispInvoke(3w) and IDispatch(3w).

IMPLEMENTATION

Defined in "oaidl.h".

Implemented in "dlls/oleaut32/dispatch.c".

Debug channel "ole".