Remarks
Retrieves the number of output devices (sound cards) currently installed on the system.
The friendly name of each output device can be obtained using the GetOutputDeviceDesc method.
IMPORTANT NOTE ABOUT THE WINDOWS VERSION: This method is only intended for usage when the operating system is Windows XP or older versions; for Windows Vista and higher versions it's recommended using methods exposed by the CoreAudioDevicesMan class.
|
Syntax
[Visual Basic]
Public Function GetOutputDevicesCount (
) as Int16
|
|
[C#]
public Int16 GetOutputDevicesCount (
);
|
|
[C++]
public: Int16 GetOutputDevicesCount (
);
|
|
Return value
The number of output devices currently installed on the system.
|