This function is called by device drivers to register the audio sources and audio control node, which is used to control the audio flow path.
DWORD AAM_RegisterAudioCtrl( AAM_SRCCAP pSrc, BOOL bRegister );
Zero indicates success. AAM_ERR_ALREADYEXIST indicates that the source is already registered.
This function is a member of the audio source control API.
If an audio source is currently selected, deregistering the audio source automatically deselects the source.
This function is used by Plug and Play audio devices to register audio sources.
If the audio source is depending on another audio control node, the node’s identifier should be put in the m_dwInfo member of the AAM_SRCCAP structure.