That's not entirely true... when
win=0, BASS uses the handle of the current foreground window, not the desktop
If your app has just been launched, it's main window is likely to be the foreground window, but to be sure, you should use the handle.
win=0 is only really intended for use in console apps.