Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 12th June 2002, 00:36   #1
N1UGL ham
Junior Member
 
Join Date: Feb 2002
Location: University of Massachussetts at Amherst
Posts: 14
Send a message via AIM to N1UGL ham
IPC_PLAYFILE & adding files to the playlist

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:
Quote:
Here is some sample code to add a song to the playlist.
COPYDATASTRUCT cds;
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?

Thanks,
Matt
N1UGL ham is offline   Reply With Quote
Old 12th June 2002, 07:10   #2
Gourou
Senior Member
 
Gourou's Avatar
 
Join Date: Feb 2002
Location: The backside of the universe on the trailing edge of eternity
Posts: 238
1.) no
2.) 100
Gourou is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump