상속: IDisposable
예제 #1
0
파일: COM.cs 프로젝트: ta0soft/STEAMp3
 internal AudioEndpointVolumeCallback(AudioEndpointVolume parent)
 {
     _Parent = parent;
 }
예제 #2
0
파일: COM.cs 프로젝트: ta0soft/STEAMp3
 private void GetAudioEndpointVolume()
 {
     object result;
     Marshal.ThrowExceptionForHR(_RealDevice.Activate(ref IID_IAudioEndpointVolume, CLSCTX.ALL, IntPtr.Zero, out result));
     _AudioEndpointVolume = new AudioEndpointVolume(result as IAudioEndpointVolume);
 }