ALL
Get the 48×48 or 256×256 icon of a file on Windows
Getting the 16×16 and 32×32 icons on Windows is relatively easy and is often as simple as one call to ExtractIconEx.However, getting the extra large (48×48) and jumbo (256×256) icons introduced respectively by XP and Vista is slighly more complex. This is normally done by:Getting the file information, in particular the icon index, for the given file using SHGetFileInfoRetrieving the system image list where all the icons are storedCasting the image list to an IImageList interface and getting the icon from thereBelow is the code I’m using in Appetizer to retrieve the extra...
9,953 0 WINDOWS FILE ICON FILE EXTENSION ASSOCIATION LARGE ICON