Platform SDK: DirectX

EnumDevices Sample

[Visual Basic]

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

[C++]

Description

The EnumDevices program shows how to enumerate DirectSound and DirectSoundCapture devices.

Path

Source: (SDK root)\Samples\Multimedia\DSound\Src\EnumDevices

Executable: (SDK root)\Samples\Multimedia\DSound\Bin\EnumDevices.exe

User's Guide

Select playback and capture devices from the dropdown lists and click Create.

Programming Notes

The sample code demonstrates the use of the DirectSoundEnumerate, DirectSoundCreate, DirectSoundCaptureEnumerate, and DirectSoundCaptureCreate functions.