View Single Post
Old 20th March 2013, 23:40   #59
thinktink
Forum King
 
thinktink's Avatar
 
Join Date: May 2009
Location: On the streets of Kings County, CA.
Posts: 3,009
Send a message via Skype™ to thinktink
Quote:
Originally Posted by DrO View Post
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.

Last edited by thinktink; 20th March 2013 at 23:41. Reason: spelling
thinktink is offline   Reply With Quote