Exemple #1
0
        private void GetAudioStreamVolume()
        {
            object result;

            Marshal.ThrowExceptionForHR(_RealClient.GetService(ref IID_IAudioStreamVolume, out result));
            _audioStreamVolume = new AudioStreamVolume(result as IAudioStreamVolume);
        }
Exemple #2
0
 private void GetAudioStreamVolume()
 {
     object result;
     Marshal.ThrowExceptionForHR(_RealClient.GetService(ref IID_IAudioStreamVolume, out result));
     _audioStreamVolume = new AudioStreamVolume(result as IAudioStreamVolume);
 }