TWinampApi can be used for controlling open instances of winamp. It features methods and properties for controlling most aspects of winamp. This can then be used for remote control of winamp running on a seperate machine (e.g. a server running as a stereo).
An instance of the class is created using one parameter - the path to winamp, which is used for writing out the current playlist. This class works with Winamp 2.x, and may work with Winamp 3.x (update: not without a plugin) unless Nullsoft have changed their API. Winamp can be downloaded from
winamp.com.