public int Activate() { return(ComObject.Activate()); }
public AudioSessionManager GetSessionManager() { Marshal.ThrowExceptionForHR(ComObject.Activate(typeof(IAudioSessionManager2).GUID, 0, IntPtr.Zero, out var sessionManager)); return(new AudioSessionManager((IAudioSessionManager2)sessionManager)); }