Windows Shell Functions
问题 So I was following this tutorial: https://msdn.microsoft.com/en-us/library/windows/desktop/hh127427(v=vs.85).aspx when I cam across the sentence that casually says "Call the SHChangeNotify function". How do I do this? It is not recognized by powershell. Do I have to import some library in c++ and call it from a c++ program? I am on windows 10. 回答1: I used the following to call a refresh on the desktop from powershell by using C# code: $code = @' [System.Runtime.InteropServices.DllImport(