Platform SDK: DirectX

DirectSoundEnum.GetGuid

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

object.GetGuid(index As Long) As String

Parameters

object
Object expression that resolves to a DirectSoundEnum 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