Microsoft DirectX 9.0

DMOEnum Sample


This sample application enumerates all of the Microsoft® DirectX® Media Objects (DMOs) registered in the user's system, and displays information about them.


Source: (SDK root)\Samples\C++\DirectShow\Misc\DMOEnum

Executable: (SDK root)\Samples\C++\DirectShow\Bin\DMOEnum.exe

User's Guide

When the application launches, it enumerates all of the installed DMOs. If you select a specific DMO category, the application displays only the DMOs in that category. To view information about a DMO, select the DMO from the list. The application displays the number of streams, the preferred media types, the DLL server for that DMO, and other information about the DMO. To include or exclude keyed DMOs, toggle the Include Keyed DMOs? checkbox.

The application uses the DMOEnum function and the IEnumDMO interface to enumerate the DMOs. It uses the IMediaObject interface and other DMO interfaces to retrieve information about each DMO.