private void GetAudioEndpointVolume() { object result; Marshal.ThrowExceptionForHR(_realDevice.Activate(ref _audioEndpointVolumeGuid, CLSCTX.ALL, IntPtr.Zero, out result)); _audioEndpointVolume = new AudioEndpointVolume(result as IAudioEndpointVolume); }
internal AudioEndpointVolumeCallback(AudioEndpointVolume parent) { _Parent = parent; }