Exemplo n.º 1
0
        private void GetAudioEndpointVolume()
        {
            object result;

            deviceInterface.Activate(typeof(IAudioEndpointVolume).GUID, ClsCtx.ALL, IntPtr.Zero, out result);
            audioEndpointVolume = new AudioEndpointVolume(result as IAudioEndpointVolume);
        }
Exemplo n.º 2
0
 internal AudioEndpointVolumeCallback(AudioEndpointVolume parent)
 {
     this.parent = parent;
 }