There are several places that talk about how to get an icon from a file extension such as this one and this other one. After several hours of playing around with this kind of pr
You cannot make ShGetFileInfo return ExtraLarge and Jumbo icons.
Instead,
1) Call ShGetFileInfo with the SysIconIndex ( 0x000004000) flag
2) Get the System Imagelist with the proper size using ShGetImageList
3) Get the HICON using ImageList_GetIcon and the .iIcon value from SHFILEINFO.