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

            Marshal.ThrowExceptionForHR(_RealDevice.Activate(ref IID_IAudioEndpointVolume, CLSCTX.ALL, IntPtr.Zero, out result));
            _AudioEndpointVolume = new AudioEndpointVolume(result as IAudioEndpointVolume);
        }
Exemplo n.º 2
0
 internal AudioEndpointVolumeCallback(AudioEndpointVolume parent)
 {
     _Parent = parent;
 }