Microsoft DirectX 8.1 (C++)

Finding DMOs with the System Device Enumerator

The System Device Enumerator includes DMOs when it enumerates certain DirectShow device categories. It maps the DMO categories listed in the following table to their DirectShow equivalents.

DMO Category DirectShow Equivalent
DMOCATEGORY_AUDIO_ENCODER CLSID_AudioCompressorCategory
DMOCATEGORY_AUDIO_DECODER CLSID_LegacyAmFilterCategory
DMOCATEGORY_VIDEO_ENCODER CLSID_VideoCompressorCategory
DMOCATEGORY_VIDEO_DECODER CLSID_LegacyAmFilterCategory

In addition, you can use the system device enumerator to enumerate any DMO categories, including DMOCATEGORY_AUDIO_EFFECT and DMOCATEGORY_VIDEO_EFFECT. For more information on using the system device enumerator, see Using the System Device Enumerator. The IMoniker::BindToObject method automatically wraps the DMO in the DMO Wrapper filter.