Platform SDK: DirectX

DirectSoundEnum.GetCount

The DirectSoundEnum.GetCount method retrieves the number of devices in the enumeration.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a DirectSoundEnum object.

Return Values

The method returns the number of entries in the enumeration.

Error Codes

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