Using the DMO Base Class (Windows CE 5.0)
The Microsoft DirectX for Windows 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
Overview of IMediaObjectImpl | Declaring the Derived Class | Implementing the DMO Methods | DMO Reference | DMO Base Class Reference
Send Feedback on this topic to the authors