Microsoft DirectX 8.1 (Visual Basic)

DirectSoundEnum8.GetGuid

The GetGuid method retrieves the unique identifier of a device in the enumeration.

Syntax

object.GetGuid(index As Long) As String

Parts

object

Resolves to a DirectSoundEnum8 object.

index

Index of the device in the enumeration.

Return Values

The method returns the GUID of the device in string form.

Error Codes

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