I want to send a key to my winamp window without giving it focus, I can get the hWnd of the window, and send a key, but it does nothing ?

this is the code....

Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" (ByVal hwnd As Long, ByVal Msg As Long, wParam As Any, lParam As Any) As Long


Dim retVal
retVal = SendMessage(GetWinampHWnd(), WM_CHAR, Asc("b"), 0)


GetWinampHWnd() - returns the hWnd of winamp

retVal returns 0 but winamp doesnt go to the next track (keypress B)