次の方法で共有


Using the DMO Base Class (Compact 2013)

3/26/2014

The Microsoft DirectX for Windows Embedded Compact 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
Overview of IMediaObjectImpl
Declaring the Derived Class
Implementing the DMO Methods
DirectX Media Objects Reference