Wine extracts icons using the windows API, which it also happens to implement. The code for this (based on windows libraries) is in winemenubuilder: http://source.winehq.org/source/programs/winemenubuilder/winemenubuilder.c
Wine extracts icons using the windows API, which it also happens to implement. The code for this (based on windows libraries) is in winemenubuilder: http://source.winehq.org/source/programs/winemenubuilder/winemenubuilder.c