Microsoft DirectX 8.1 (Visual Basic)

DirectSoundEnum8.GetCount

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

Syntax

object.GetCount() As Long

Parts

object

Resolves to a DirectSoundEnum8 object.

Return Values

Returns the number of entries in the enumeration.

Error Codes

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