IDispatch_Invoke(3w)

IDispatch_Invoke3w

Usage

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

Overview

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

Declared in "oaidl.h".

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

Debug channel "ole".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.