开发者

How can I make windows explorer immediately notice that deleting desktop.ini?

开发者 https://www.devze.com 2023-03-31 07:21 出处:网络
I\'m using SHGetSetFolderCustomSettings function to customize a folder icon. This function give me a proper result. However, I never find a way to turn customized folder to 开发者_如何学编程normal fol

I'm using SHGetSetFolderCustomSettings function to customize a folder icon. This function give me a proper result. However, I never find a way to turn customized folder to 开发者_如何学编程normal folder who has not desktop.ini. When I deleted it, expected result did not come. I probably guess that explorer's cache. So, I tried to flush private profile cache on explorer by calling WritePrivateProfileString(NULL, NULL, NULL, L"desktop.ini"). Unfortunately, I got failed.

How should I do to solve that?

0

精彩评论

暂无评论...
验证码 换一张
取 消