Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 1st September 2003, 22:28   #1
battersea
Junior Member
 
Join Date: Aug 2003
Location: Belgium
Posts: 1
What event does the winamp window receive when playback is paused and stopped?

Hey,

I want to act upon winamp status changes.

I learned on this forum that when playback starts, the winamp window recieves an event with a wParam = 42.

The following code convinced me of that fact, since every possible start of playback is always acted upon:

code:
LRESULT CALLBACK WinampWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
if (wParam == 42) {
// act upon start of playback
}
return CallWindowProc(lpOldWinampWndProc, hwnd, uMsg, wParam, lParam);
}



But what wParam should I check for to act upon pause of playback and stop of playback? I can't find it anywhere in the documentation.

Any help would be greatly appreciated.

battersea
battersea is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump