vista and speakersettings with MMDevice API ...
Posted: Fri Jan 12, 2007 1:38 pm
any hints ? :roll:
hr = CoCreateInstance(
CLSID_MMDeviceEnumerator, NULL,
CLSCTX_ALL, IID_IMMDeviceEnumerator,
(void**)&pEnumerator);
http://msdn2.microsoft.com/en-gb/library/ms679147.aspx
http://msdn2.microsoft.com/en-gb/library/aa964574.aspx
interesting are SetMasterVolumeLevel and SetMute ...
the "old" api with mixeropen doesn't work with mastervolumelevel .
hr = CoCreateInstance(
CLSID_MMDeviceEnumerator, NULL,
CLSCTX_ALL, IID_IMMDeviceEnumerator,
(void**)&pEnumerator);
http://msdn2.microsoft.com/en-gb/library/ms679147.aspx
http://msdn2.microsoft.com/en-gb/library/aa964574.aspx
interesting are SetMasterVolumeLevel and SetMute ...
the "old" api with mixeropen doesn't work with mastervolumelevel .