DDEnum Sample

Description

This sample shows how to enumerate the current DirectDraw devices and how to get information using the IDirectDraw4::GetDeviceIdentifier method.

Path

Source: (SDK root)\Samples\Multimedia\DDraw\Src\DDEnum

Executable: (SDK root)\Samples\Multimedia\DDraw\Bin

User's Guide

The user interface is a simple dialog box. Two buttons, Prev and Next, display information for the previous or next device that was enumerated. Click the Close button to exit the application.