I am writing an application to manage an existing WMP instance using C #.
My code currently looks something like this:
private const int WM_COMMAND = 0x111; private const int WMP9_PLAY = 0x4978; SendMessage(WMP.MainWindowHandle, WM_COMMAND, WMP9_PLAY, 0);
This is great for pausing the media player, but if the media player is paused or stopped, it continues to the next track. The command is called play, but I might have the wrong meaning for it. Does anyone have the best value for WMP9_PLAY, or the best way to get WMP to play?
source share