http://bugs.winehq.org/show_bug.cgi?id=16281
--- Comment #21 from Erich Hoover ehoover@mines.edu 2010-01-06 15:41:51 --- Created an attachment (id=25577) --> (http://bugs.winehq.org/attachment.cgi?id=25577) Snippet converting icons 32->16 w/o internal functions
(In reply to comment #19)
... want that done. It seems that with this approach we will either have to duplicate some code or make a 32->16 conversion function so that we can use eg. 32-bit LoadImageA() to implement the 16-bit loading functions. Of course, with this idea, conversion will only need to happen once.
I've attached a routine for building a 16-bit icon from a 32-bit icon without the use of internal functions. Can you think of any simplier way to do this?