If anyone is interested in the code for the winamp plugin thing it's right here. It's crap code and made me facepalm when I was done, but I was messing around just to see what you could do. I'll probably make it again in C# since Voided is doing some pretty cool stuff in that.
int winampticker = 0;
HSteamPipe hSteamPipe = steamClient->CreateSteamPipe();
HSteamUser hSteamUser = steamClient->ConnectToGlobalUser(hSteamPipe);
ISteamFriends002 *steamFriends = (ISteamFriends002 *)steamClient->GetISteamFriends( hSteamUser, hSteamPipe, STEAMFRIENDS_INTERFACE_VERSION_002 );
const std::string friendsName(steamFriends->GetPersonaName());
std::string myName = "DefaultName";
while(winampticker <= 2000)
{
if(winampticker == 1000)
{
//WINAMP AREA
HWND hwndWinamp = FindWindow("Winamp v1.x",NULL); //Finding window
int retainer=SendMessage(hwndWinamp,WM_USER, 0, 104);
char winamp[2048],*p;
GetWindowText(hwndWinamp,winamp,sizeof(winamp));
p = winamp+strlen(winamp)-8;
while (p >= winamp)
{
if (!strnicmp(p,"- Winamp",8)) break;
p--;
}
if (p >= winamp) p--;
while (p >= winamp && *p == ' ') p--;
*++p=0;
if(retainer == 3)
{
myName = friendsName;
myName += " - ";
myName += "Winamp Paused";
steamFriends->SetPersonaName(myName.c_str());
winampticker = 0;
}
else if(retainer == 1)
{
myName = friendsName;
myName += " - ";
myName += winamp;
steamFriends->SetPersonaName(myName.c_str());
winampticker = 0;
}
}
Sleep(3);
winampticker++;
}