View Single Post
Old 21st September 2004, 13:08   #84
saivert
Banned
 
saivert's Avatar
 
Join Date: Jan 2001
Location: Norway
Posts: 927
You mean through this:
code:

These are reverse engineered, so may not be supported
too well or entirely accurate.


long libhwndipc = (LONG)SendMessage(hwndWinamp,
WM_WA_IPC, (WPARAM)"LibraryGetWnd",
IPC_REGISTER_WINAMP_IPCMESSAGE);



And then using the standard ML_IPC_* like:
code:

/* pass a winampMediaLibraryPlugin *.
Will not call plugin's init() func.
YOU MUST set winampMediaLibraryPlugin->hDllInstance to NULL,
and version to MLHDR_VER
*
#define ML_IPC_ADD_PLUGIN 0x0750
#define ML_IPC_REMOVE_PLUGIN 0x0751 /* winampMediaLibraryPlugin *
of plugin to remove. Will not call plugin's quit() func */

saivert is offline   Reply With Quote