C# Class flintlock.MediaControl

Wrapper for media control functionality.
显示文件 Open project: barometz/flintlock Class Usage Examples

Public Methods

Method Description
Next ( ) : void

Send a "Next track" keyboard event.

PlayPause ( ) : void

Send a "Play/Pause" keyboard event.

Prev ( ) : void

Send a "Previous track" keyboard event.

Private Methods

Method Description
SendInput ( uint nInputs, [ pInputs, int cbSize ) : uint
SendKey ( short keycode ) : void

Method Details

Next() public static method

Send a "Next track" keyboard event.
public static Next ( ) : void
return void

PlayPause() public static method

Send a "Play/Pause" keyboard event.
public static PlayPause ( ) : void
return void

Prev() public static method

Send a "Previous track" keyboard event.
public static Prev ( ) : void
return void