ISRAttributes::MicrophoneSet

HRESULT MicrophoneSet(TCHAR *pszMicrophone);

Sets the name of the current microphone for an audio source.

· Returns NOERROR if successful, or one of these error values:

E_INVALIDARG
E_OUTOFMEMORY
SRERR_NOTSUPPORTED
SRERR_VALUEOUTOFRANGE

pszMicrophone

[in] Address of a buffer that contains the name of the microphone to set. If the current microphone is unknown, pszMicrophone can be an empty string.