Using the DMO Base Class

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The Microsoft DirectX for Windows Embedded CE SDK includes a base-class template for creating DMOs, IMediaObjectImpl.

If DMO fully supports the IUnknown and IMediaObject interfaces, you do not need to use the class template when you create a DMO. However, the class template provided by Microsoft handles many bookkeeping tasks, such as validating input parameters.

By using the template, you can focus on the functionality that is specific to your DMO.

In addition, the template helps ensure that you create a robust implementation.

See Also

Reference

DMO Reference
DMO Base Class Reference

Concepts

Overview of IMediaObjectImpl
Declaring the Derived Class
Implementing the DMO Methods