From Winamp Developer Wiki
Tagz is the title formatting engine that powers the playlist titles. (See Winamp preferences->Titles->Advanced Title Formatting for more information). You can use this title formatting engine for your plugin's needs, optionally providing your own metadata for %artist%, etc.
Note that although Winamp's Tagz engine and the Tagz engine in Foobar2000 both come from a common source, they have diverged significantly and are not compatible for anything but the simplest of formats.
Include file: tagz/api_tagz.h
You can also use Tagz via WM_WA_IPC:
#define IPC_FORMAT_TITLE 297 #define IPC_FORMAT_TITLE_EXTENDED 298