Quote Originally Posted by dilettante View Post
CreateIconFromResourceEx() is supported all the way back to Windows 95 and NT 4.0. However its actual behavior has been modified to support PNG icon images, and that didn't happen until Vista.

That scheme's sort of a hack that wraps the PNG with an ICO header
I think we can consider this thing documented - see, for instance, the corresponding section in the ICO (file format) article on Wikipedia.

It's a little bit bad that it starts to work only from Vista, but I think we can live with that.