Something like this might work, assuming you know the filename:
$processes = `tasklist /FI "IMAGENAME eq winamp.exe"`;
if($processes === NULL)
echo 'Winamp is not running!';
else
echo 'Winamp is running!';
EDIT: Only tested this on XP Media Center, not sure if it behaves differently on various Server OS's.