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

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