Microsoft DirectX 8.0 (Visual Basic)

DirectSoundEnum8.GetGuid

Retrieves the unique identifier of a device in the enumeration.

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.

See Also

Using GUIDs