Microsoft DirectX 8.1 (Visual Basic)

DirectSoundEnum8.GetDescription

The GetDescription method retrieves the friendly name of a device in the enumeration.

Syntax

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.