|
|
@ -73,10 +73,10 @@
|
|
|
|
// ** 11 Enabled. zero if disabled, nonzero if enabled.
|
|
|
|
// ** 11 Enabled. zero if disabled, nonzero if enabled.
|
|
|
|
// ** 12 Autoload. zero if disabled, nonzero if enabled.
|
|
|
|
// ** 12 Autoload. zero if disabled, nonzero if enabled.
|
|
|
|
|
|
|
|
|
|
|
|
#define IPC_SETETQDATA 128
|
|
|
|
#define IPC_SETEQDATA 128
|
|
|
|
// ** SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETEQDATA);
|
|
|
|
// ** SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETEQDATA);
|
|
|
|
// ** SendMessage(hwnd_winamp,WM_WA_IPC,value,IPC_SETETQDATA);
|
|
|
|
// ** SendMessage(hwnd_winamp,WM_WA_IPC,value,IPC_SETEQDATA);
|
|
|
|
// ** IPC_SETETQDATA sets the value of the last position retrieved
|
|
|
|
// ** IPC_SETEQDATA sets the value of the last position retrieved
|
|
|
|
// ** by IPC_GETEQDATA. This is pretty lame, and we should provide
|
|
|
|
// ** by IPC_GETEQDATA. This is pretty lame, and we should provide
|
|
|
|
// ** an extended version that lets you do a MAKELPARAM(pos,value).
|
|
|
|
// ** an extended version that lets you do a MAKELPARAM(pos,value).
|
|
|
|
// ** someday...
|
|
|
|
// ** someday...
|
|
|
@ -502,7 +502,7 @@ bool KviWinampInterface::setEqData(int &iPos, int &iVal)
|
|
|
|
if(hWinamp)
|
|
|
|
if(hWinamp)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
SendMessage(hWinamp,WM_USER,iPos,IPC_GETEQDATA);
|
|
|
|
SendMessage(hWinamp,WM_USER,iPos,IPC_GETEQDATA);
|
|
|
|
SendMessage(hWinamp,WM_USER,iVal,IPC_SETETQDATA);
|
|
|
|
SendMessage(hWinamp,WM_USER,iVal,IPC_SETEQDATA);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|