private void GetAudioEndpointVolume()
        {
            object result;

            Marshal.ThrowExceptionForHR(_realDevice.Activate(ref _audioEndpointVolumeGuid, CLSCTX.ALL, IntPtr.Zero, out result));
            _audioEndpointVolume = new AudioEndpointVolume(result as IAudioEndpointVolume);
        }
Beispiel #2
0
 internal AudioEndpointVolumeCallback(AudioEndpointVolume parent)
 {
     _Parent = parent;
 }