I want to implement a File Explorer, How can I read file's icon and display them?
-
05-09-2019 - |
Question
I want to implement a File Explorer, It is different from a normal file explorer, it first scan file system and store information into database, them read file system information from Database, and display them, I need to store the icons of the file, how can I do this? Is there any Windows APIs? Many thanks!
Solution
SHGetFileInfo can get a handle for the icon of a file.
OTHER TIPS
You need to use SHGetFileInfo. This looks like a pretty good example for .NET.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow