Partager via


Using the DMO Base Class (Windows Embedded CE 6.0)

1/6/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 Base Class Reference
DMO Reference

Concepts

Overview of IMediaObjectImpl
Declaring the Derived Class
Implementing the DMO Methods