Search code examples
windowsiconswindows-explorer

I want to implement a File Explorer, How can I read file's icon and display them?


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.