Platform SDK: DirectX

DDEnum Sample

[Visual Basic]

This topic pertains only to application development in C and C++. See DirectDraw Visual Basic Samples.

[C++]

Description

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

Path

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

Executable: (SDK root)\Samples\Multimedia\DDraw\Bin\DDEnum.exe

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.