Copyright © 2006-2018 MultiMedia Soft

WASAPI.MixerInputDeviceAttachedCountGet method

Previous pageReturn to chapter overviewNext page



Obtains the number of input devices previously attached to the WASAPI mixer through the WASAPI.MixerInputDeviceAttach method.


Information about a specific input device attached to the WASAPI mixer can be obtained through the WASAPI.MixerInputDeviceAttachedInfoGet method.


This method is only intended for usage with Windows Vista and later versions.

For further details about the use of WASAPI see the WASAPIMan class and the How to manage audio flow through WASAPI tutorial

Further information about management of audio devices in Windows Vista and later versions can be found inside the How to access settings of audio devices in Windows Vista and later versions tutorial.





[Visual Basic]

Public Function MixerInputDeviceAttachedCountGet (

ByRef nCount as Int32

) as enumErrorCodes



public enumErrorCodes MixerInputDeviceAttachedCountGet (

ref Int32 nCount




public: enumErrorCodes MixerInputDeviceAttachedCountGet (

Int32 __gc *nCount









Reference that, on return from the method call, will contain the number of attached input devices.



Return value






Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.