SetMixerState
Previous  Top  Next


   SHORT error = SetMixerState (
            [in] STRING newState
            )

Description

This method sets controls in the currently-selected mixer to values previously retrieved using the GetMixerState, GetDestState, GetSourceState or GetControlState methods.

The method fails if the mixer driver, or driver version number, is different to the driver used when the Get___State method was used. Thus, this method cannot for example be used to transfer settings between mixers.

Parameters

newStateis a plain text string containing the control values to set in encoded form (as previously retrieved using the Get____State methods).  
 
Return value

The return value is MSSMERR_NOERROR (0) if all controls specified in newState were reset, otherwise the value returned indicates an error.