Platform SDK: DirectX |
This topic pertains only to application development in C and C++. See DirectDraw Visual Basic Samples.
This sample shows how to enumerate the current DirectDraw devices and how to get information using the IDirectDraw7::GetDeviceIdentifier method.
Source: (SDK root)\Samples\Multimedia\DDraw\Src\DDEnum
Executable: (SDK root)\Samples\Multimedia\DDraw\Bin\DDEnum.exe
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.