IExpDispSupportXP::OnInvoke method (shdeprecated.h)

Not implemented.

Syntax

HRESULT OnInvoke(
        DISPID     dispidMember,
        REFIID     iid,
        LCID       lcid,
        WORD       wFlags,
  [in]  DISPPARAMS *pdispparams,
  [out] VARIANT    *pVarResult,
  [out] EXCEPINFO  *pexcepinfo,
  [out] UINT       *puArgErr
);

Parameters

dispidMember

Type: DISPID

Specifies a dispatch ID that identifies the member being invoked.

iid

Type: REFIID

Reserved. Must be IID_NULL.

lcid

Type: LCID

Specifies a locale ID providing a locale context in which to interpret arguments. Applications that do not support multiple national languages can ignore this parameter.

wFlags

Type: WORD

Specifies flags describing the context of the call.

[in] pdispparams

Type: DISPPARAMS*

Specifies a pointer to a DISPPARAMS structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.

[out] pVarResult

Type: VARIANT*

Receives a pointer to the location where the result is to be stored, or NULL if the calling application expects no result. This argument is ignored if DISPATCH_PROPERTYPUT or DISPATCH_PROPERTYPUTREF is specified.

[out] pexcepinfo

Type: EXCEPINFO*

Receives a pointer to a structure that contains exception information. This structure should be filled in if DISP_E_EXCEPTION is returned. Can be NULL.

[out] puArgErr

Type: UINT*

Receives the index within the rgvarg member of the DISPPARAMS structure of the first argument that has an error.

Return value

Type: HRESULT

Returns E_NOTIMPL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shdeprecated.h (include Shdeprecated.h)