次の方法で共有


CBaseDispatch Class (Compact 2013)

3/26/2014

IDispatch

**     CBaseDispatch**

This class is a base class that implements the IDispatch interface for use in a dual interface. A dual interface provides Automation and custom interface access to an interface.

CMediaControl and CMediaPosition (and other dual-interface support classes) are derived from this class or have members that are instances of this class.

For more information about the IDispatch methods, see the COM documentation included with the Microsoft Platform Software Development Kit (SDK).

Member Functions

Member function

Description

CBaseDispatch

Constructs a CBaseDispatch object.

Implemented IDispatch Methods

Method

Description

GetIDsOfNames

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

GetTypeInfo

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

GetTypeInfoCount

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

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

DirectShow Classes