Alrighty...so I'm trying to add files to the winamp playlist. Two questions. First, is there a message that will add a directory? I haven't seen one, so I'm assuming not.
Second, the FAQ says:
Here is some sample code to add a song to the playlist.
cds.dwData = IPC_PLAYFILE;
cds.cbData = lstrlen(filename) + 1;
cds.lpData = (void *) filename;
SendMessage(hwnd_winamp, WM_COPYDATA, (WPARAM)NULL, (LPARAM)&cds);
However, I can't find a value anywhere for IPC_PLAYFILE!
It's not in frontend.h. Anyone out there who can help?