Microsoft Windows CE 3.0  

CMediaEvent Class

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The CMediaEventclass provides base class implementation of the IDispatchmethods of the dual-interface IMediaEvent. It leaves as pure virtual the properties and methods of the IMediaEventinterface.

The CMediaEventclass also provides base class implementation of the IMediaEventExinterface which derives from IMediaEvent.

The CMediaEvent::GetIDsOfNames, CMediaEvent::GetTypeInfo, CMediaEvent::GetTypeInfoCount, and CMediaEvent::Invokemember functions are standard implementations of the IDispatchinterface using the CBaseDispatchclass (and a type library) to parse the commands and pass them to the pure virtual methods of the IMediaEventinterface.

Member Functions

CMediaEvent Constructs a CMediaEventobject.

Implemented INonDelegatingUnknown Methods

NonDelegatingQueryInterface Returns a specified reference-counted interface.

Implemented IDispatch Methods

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::Invokemethod.
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.