Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IMediaObjectImpl template is declared in the header with the following syntax.
template <class _DERIVED_,
int NUMBEROFINPUTS,
int NUMBEROFOUTPUTS>class IMediaObjectImpl : public IMediaObject
Parameters
- *_*DERIVED_
Derived class type. - NUMBEROFINPUTS
Number of input streams. - NUMBEROFOUTPUTS
Number of output streams.
Return Values
None.
Remarks
For example, to create a derived class named CMyDmoClass that supports one input stream and one output stream, you would declare it as follows.
class CMyDmoClass :
public IMediaObjectImpl<CMyDmoClass, 1, 1> // 1 input, 1 output
DMOs cannot dynamically create or destroy streams, so the stream numbers are constant.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Dmoimpl.h.
See Also
DMO Reference | DMO Base Class Reference | IMediaObjectImpl
Send Feedback on this topic to the authors