Quote:
Originally Posted by DrO
no idea without re-checking (though i'd be working against the real method names not the dispatch id) which i'm not going to be able to do until tomorrow now (got too much official work that needs to be finished off tonight).
|
Actually, I would have used it's real method name if it was documented in the copy of the SDK I have.

Noticed it by accident during a debug session and saw that it was passing (const wchar_t * filename,const wchar_t * type,wchar_t **mimeType) and returning an int, sometimes 4,1, or 0 depending on what was available from the file.
HTML Code:
#ifndef NULLSOFT_WINAMP_API_ALBUMART_H
...SNIP...
API_ALBUMART_GETALBUMART = 10,
API_ALBUMART_GETALBUMARTTYPES = 20,
API_ALBUMART_GETVALIDALBUMARTTYPES = 30,
API_ALBUMART_SETALBUMART = 40,
API_ALBUMART_DELETEALBUMART = 50,
API_ALBUMART_COPYALBUMART = 60,
...SNIP...
After experimenting with it I think it's to let Winamp know what to display for the type of image that the file being referenced holds in the UFIP.