Partager via


DMOEnum Sample

 
Microsoft DirectShow 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.

This sample is included with the Windows SDK. It is located under the following path: [SDK Root]\Samples\Multimedia\DirectShow\Misc\DMOEnum.

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.

See Also