Extract high resolution icon or thumbnail for file

前端 未结 2 1101
心在旅途
心在旅途 2020-12-15 11:00

I\'m trying to get a high resolution icon or thumbnail in Windows given a full path to that file. Doesn\'t need to be a thumbnail — a good looking Icon will be grea

2条回答
  •  没有蜡笔的小新
    2020-12-15 11:11

    Have you tried ExtractIconEx()?

    It has dedicated parameters to extract arrays of both small and large icons from executables, DLLs, or icon files. From there you can select the size best suited to your needs. The API call is available from Win2K onwards.

提交回复
热议问题