我正在寻找列出注册表项下可能条目的参考:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons
Run Code Online (Sandbox Code Playgroud)
此注册表项下的条目会覆盖 Windows UI 中用于各种目的的默认图标。到目前为止,我在网上查找了两个:
据推测,Microsoft 会在某个地方提供此列表,但到目前为止,我还没有找到 Windows 10 的综合参考。
我通过添加更多数字键并将每个键指向一个唯一图标进行了更多实验。这是我迄今为止发现的关联:
3 normal folder icon
8 fixed drive folder icon
11 removable drive folder icon
15 network drive icon in the explorer address bar
29 shortcut overlay icon
34 explorer navigation pane root icon labelled 'Desktop'
51 network folder icon
77 UAC (administrator) overlay icon
107 os drive folder icon
179 compressed file/folder overlay icon
Run Code Online (Sandbox Code Playgroud)