Microsoft DirectX 8.0 (Visual Basic)

DirectSoundEnum8.GetDescription

Retrieves the friendly name of a device in the enumeration.

object.GetDescription(index As Long) As String

Parts

object
Resolves to a DirectSoundEnum8 object.
index
Index of the device in the enumeration.

Return Values

Returns the description of the device supplied by the driver.

Error Codes

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