CMediaEvent::Invoke (Windows CE 5.0)

Send Feedback

Provides access to properties and methods exposed by an object.

HRESULTInvoke(DISPIDdispidMember,REFIIDriid,LCIDlcid,WORDwFlags,DISPPARAMS* pdispparams,VARIANT* pvarResult,EXCEPINFO* pexcepinfo,UINT* puArgErr);

Parameters

  • dispidMember
    Identifier of the member. Use CMediaEvent::GetIDsOfNames or the object's documentation to obtain the dispatch identifier.
  • riid
    Reserved for future use. Must be IID_NULL.
  • lcid
    Locale context in which to interpret arguments.
  • wFlags
    Flags describing the context of the CMediaEvent::Invoke call.
  • pdispparams
    Pointer to a structure containing an array of arguments, an array of argument dispatch IDs for named arguments, and counts for the number of elements in the arrays.
  • pvarResult
    Pointer to where the result is to be stored, or NULL if the caller expects no result.
  • pexcepinfo
    Pointer to a structure containing exception information.
  • puArgErr
    Index of the first argument, within the rgvarg array, that has an error.

Return Values

Returns DISP_E_UNKNOWNINTERFACE if riid is not IID_NULL.

Returns one of the error codes from CMediaEvent::GetTypeInfo if the call fails.

Otherwise, returns the HRESULT from the call to IDispatch::Invoke.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.