Thread: Winamp 5.55 SDK
View Single Post
Old 22nd November 2009, 18:10   #98
DrO
 
Join Date: Sep 2003
Posts: 27,873
not seeing proper code for a plugin confused me.

correct it is the responsibility of the plugin to correctly subclass Winamp but that has always been the case ever since plugins appeared. the only change is that with more recent (ie clients released in the last 3-4 years) need to factor in unicode support and with all recent 5.5+ clients only runnning on unicode supporting OSes, really everyone should just use SetWindowLongPtrW(..).

and as noted previously, it's the SetWindowLongPtrA/W call that dictates how compatible a plugin will be with allowing unicode data to be passed around the player still instead of having to mess around with CallWindowProcA/W switches (seeing as the OS handles that anyway especially with the ansi/unicode layering which has been in place with the NT based OSes.

-daz
DrO is offline   Reply With Quote