SoundGetBusNumber

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.

Parameters

InterfaceType

Type of bus for which to search. INTERFACE_TYPE is defined in ntddk.h.

BusNumber

Address of location to receive the bus number, if found.

Return Value

Returns STATUS_SUCCESS if successful. Otherwise returns STATUS_DEVICE_DOES_NOT_EXIST.