WASAPI.MixerInputDeviceAttachedCountGet method |
|
Remarks
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.
Syntax
[Visual Basic] Public Function MixerInputDeviceAttachedCountGet ( ByRef nCount as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes MixerInputDeviceAttachedCountGet ( ref Int32 nCount ); |
[C++] public: enumErrorCodes MixerInputDeviceAttachedCountGet ( Int32 __gc *nCount ); |
Parameter |
Description |
|
|
nCount |
Reference that, on return from the method call, will contain the number of attached input devices. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |