Exemplo n.º 1
0
 public override void PlayOrPauseTrack()
 {
     UnsafeNativeMethods.SendMessage(this.Handle, (uint)Globals.WindowMessage.AppCommand, IntPtr.Zero, new IntPtr((long)Globals.MediaCommand.PlayPauseTrack));
 }
Exemplo n.º 2
0
 public override void ChangeToPreviousTrack()
 {
     UnsafeNativeMethods.SendMessage(this.Handle, (uint)Globals.WindowMessage.AppCommand, IntPtr.Zero, new IntPtr((long)Globals.MediaCommand.PreviousTrack));
 }
Exemplo n.º 3
0
 public override void DecreasePlayerVolume()
 {
     UnsafeNativeMethods.SendMessage(this.Handle, (uint)Globals.WindowMessage.AppCommand, IntPtr.Zero, new IntPtr((long)Globals.MediaCommand.VolumeDown));
 }