Microsoft DirectX 8.1 (Visual Basic)

DirectSoundEnum8.GetName

The GetName method retrieves the name of a device driver in the enumeration.

Syntax

object.GetName(index As Long) As String

object

Resolves to a DirectSoundEnum8 object.

index

Index of the device in the enumeration.

Return Values

Returns the name of the device driver. This is not the friendly name of the device, which is returned by DirectSoundEnum8.GetDescription.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.