NTSTATUS
SoundGetBusNumber(
IN OUT INTERFACE_TYPE InterfaceType,
OUT PULONG BusNumber
);
The SoundGetBusNumber function returns the number of the first bus of the specified bus type.
Returns STATUS_SUCCESS if successful. Otherwise returns STATUS_DEVICE_DOES_NOT_EXIST.