ALL
Get associated file icon with only extension name using C++ on Windows
I have searched on Google for a few examples on how to get associated file icon with only file extension name using C++ on Windows. There are some useful information provided on MSDN which explains the use of SHGetFileInfo() function.It also gives an example code, but it doesn't say how to do it with only the extension name. Here I give an example code on how to achieve this after I gathered and summarized some useful information from Internet. I have tested the code on my PC, it works fine./* * @method * getFileIcon() * @param * int : icon type--FILE_ICON_SMA...
14,446 0 WINDOWS C++ FILE ICON ASSOCIATION EXTENSION NAME