Concerning "AudioAnalyzeFileW": I've changed the datatype (in the wrapper) from smallint to boolean, because it is more "native" to work with boolean than this "-1" stuff. This is also the case for some more functions that return simply "-1=true, 0=false.
Thought this would make it easier; if you don't like it, feel free to change the wrapper :-)
The other issues belong to Stefan, I think...
Best regards
Ulrich (I've coded the current version of the wrapper)
I think you forget, that the return value gives the type of Audiofile.