Share via


CMediaEvent Class

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Aa930349.54251847-8e91-4072-a455-37298a446ed4(en-us,MSDN.10).gif

This class provides base class implementation of the IDispatch methods of the dual-interface IMediaEvent. It leaves as pure virtual the properties and methods of the IMediaEvent interface.

The CMediaEvent class also provides base class implementation of the IMediaEventEx interface which derives from IMediaEvent.

The CMediaEvent::GetIDsOfNames, CMediaEvent::GetTypeInfo, CMediaEvent::GetTypeInfoCount, and CMediaEvent::Invoke member functions are standard implementations of the IDispatch interface using the CBaseDispatch class (and a type library) to parse the commands and pass them to the pure virtual methods of the IMediaEvent interface.

Member Functions

Member function Description

CMediaEvent

Constructs a CMediaEvent object.

Implemented INonDelegatingUnknown Methods

Method Description

NonDelegatingQueryInterface

Returns a specified reference-counted interface.

Implemented IDispatch Methods

Method Description

GetIDsOfNames

Maps a single member and an optional set of parameters to a corresponding set of integer dispatch identifiers, which can be used during subsequent calls to the IDispatch::Invoke method.

GetTypeInfo

Retrieves a type-information object, which retrieves the type information for an interface.

GetTypeInfoCount

Retrieves the number of type-information interfaces provided by an object.

Invoke

Provides access to properties and methods exposed by an object.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment