Re: unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel
- From: "Mark Yudkin" <DoNotContactMe@xxxxxxxxxxxxxx>
- Date: Mon, 10 Sep 2007 19:58:38 +0200
VB6 is COM is VB6. I suggest you start with some elementary documentation on
VB6 to read up on what COM and VB6 are.
Mixer APIs will set Mixer properties and hence are local alterations. I said
use an MCI command.
"Jens Müller" <jens_0.no.-spam@xxxxxxxxxxx> wrote in message
news:%23wpOCCw8HHA.4584@xxxxxxxxxxxxxxxxxxxxxxx
Mark Yudkin wrote:
Don't have Vista here, but since IAudioEndpointVolume is a COM
interface, can't you just set a reference to the object and code it
using normal VB6. Note Ixxx classes are actually interfaces - you'll
need an implemention.
I am a COM beginner, how is this done?
BTW, If all you want to do is change the system volume level, then
IAudioEndpointVolume is overkill. Just send an MCI command as you
would have done under previous Windows versions.
Are you sure?
With the method I use until now (MixerOpen...) in Vista it only changes
the volume level corresponding to my application, not the system wide
level.
Jens
.
- References:
- unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel
- From: Jens Müller
- Re: unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel
- From: Mark Yudkin
- Re: unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel
- From: Jens Müller
- unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel
- Prev by Date: Re: Loadlibrary returns err.lastdellerror 127
- Next by Date: Re: Loadlibrary returns err.lastdellerror 127
- Previous by thread: Re: unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel
- Next by thread: Re: unmanaged use of IAudioEndpointVolume::SetMasterVolumeLevel
- Index(es):
Relevant Pages
|