BOOL DirectSoundEnumerate(
LPDSENUMCALLBACK lpDSEnumCallback, LPVOID lpContext);
Enumerates the DirectSound drivers installed in the system.
·Returns DS_OK if successful, or DSERR_INVALIDPARAM otherwise.
lpDSEnumCallback
Address of the DSEnumCallback function that will be called for each DirectSound object installed in the system.
lpContext
Address of the user-defined context passed to the enumeration callback function every time that function is called.