最新消息:

刷新桌面和文件关联后强制刷新关联图标

nsis 永恒心锁 1887浏览 0评论
Name RefreshDesktopWindow
OutFile RefreshDesktopWindow.exe
SilentInstall silent
var ProgmanHwnd
var ShellHwnd
var DesktopHwnd
Section ""
; 256=WM_KEYDOWN
; 257=WM_KEYUP
; 116=VK_F5
System::Call 'Shell32::SHChangeNotify(i 0x8000000, i 0, i 0, i 0)'
SectionEnd
!define SHCNE_ASSOCCHANGED 0x08000000
!define SHCNF_IDLIST 0
Call RefreshShellIcons
Function RefreshShellIcons
 ; By jerome tremblay - april 2003
 System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v
 (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
FunctionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » 刷新桌面和文件关联后强制刷新关联图标

您必须 登录 才能发表评论!