by jhannes » Sat Jul 01, 2006 10:02 am
It seems like Winamp 5 introduced an API that will be used by many new plugins. This is a code example from the Winamp plug-in SDK (vis_test):
Code: Select all
HWND (*e)(embedWindowState *v);
// ...
*(void**)&e = (void *)SendMessage(this_mod->hwndParent,WM_WA_IPC,(LPARAM)0,IPC_GET_EMBEDIF);
if (!e)
{
MessageBox(this_mod->hwndParent,"This plugin requires Winamp 5.0+","blah",MB_OK);
return 1;
}
I have seen the "blah" message in some plugins, so this is clearly a problem.
MediaMonkey needs to support the WM_WA_IPC/IPC_GET_EMBEDIF message.
It seems like Winamp 5 introduced an API that will be used by many new plugins. This is a code example from the Winamp plug-in SDK (vis_test):
[code]
HWND (*e)(embedWindowState *v);
// ...
*(void**)&e = (void *)SendMessage(this_mod->hwndParent,WM_WA_IPC,(LPARAM)0,IPC_GET_EMBEDIF);
if (!e)
{
MessageBox(this_mod->hwndParent,"This plugin requires Winamp 5.0+","blah",MB_OK);
return 1;
}
[/code]
I have seen the "blah" message in some plugins, so this is clearly a problem.
MediaMonkey needs to support the WM_WA_IPC/IPC_GET_EMBEDIF message.