DirectX SDK

DirectSoundEnum.GetName

The DirectSoundEnum.GetName returns the driver name of the specified DirectSound device.

object.GetName(index As Long) As String
object
Object expression that resolves to a DirectSoundEnum object.
index
The particular DirectDraw device in the DirectDrawEnum object.

Return Values

The driver name of the DirectSound device.

Error Codes

If the method fails, an error is raised and Err.Number will be set.