DirectX SDK

DirectSoundEnum.GetCount

The DirectSoundEnum.GetCount method returns the number of entries in the enumeration object.

object.GetCount() As Long

Parameters

object
Object expression that resolves to a DirectSoundEnum object.

Return Values

The number of entries in the enumeration object.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following error codes:

DSERR_INVALIDPARAM
DSERR_PRIOLEVELNEEDED