Copyright © 2005-2019 MultiMedia Soft

CoreAudioDevices.DisplaySoundApplet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Displays the sound applet of the Windows control panel.

 

This method is only intended for usage with Windows Vista and later versions: 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.

For further details about methods related to the management of core audio devices refer to the CoreAudioDevicesMan class.

 

 

Syntax

 

[Visual Basic]

Public Function DisplaySoundApplet (

strOptionalParams as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes DisplaySoundApplet (

string strOptionalParams

);


 

[C++]

public: enumErrorCodes DisplaySoundApplet (

string strOptionalParams

);


 

Parameter

Description

 

 

strOptionalParams

String containing optional command line parameters.

 

Tabs of the sound applet can be opened by specifying the tab to display through a string having the format ",,x" where "x" indicates the index of the tab to display; tabs are zero-based so, if for example you should need to display the first tab, usually the one containing playback devices, you should use the string ",,0" while for the second tab, usually the one containing recording devices, you should use the string ",,1".

 

When this string is left empty the first tab of the sound applet should be displayed, exactly as specifying the string ",,0".

 

 

 

Return value

 

None