Microsoft DirectX 8.0 (Visual Basic)

DirectSoundEnum8.GetName

Returns the name of a device driver in the enumeration.

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.