summaryrefslogtreecommitdiff
path: root/altosui/Instdrv/NSIS/Includes/refresh-sh.nsh
blob: 23d8e5e4fb33a60ea17047ac843696d6b00afb14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
!define SHCNE_ASSOCCHANGED 0x08000000
!define SHCNF_IDLIST 0
 
Function RefreshShellIcons
  ; By jerome tremblay - april 2003
  ${DisableX64FSRedirection}
  System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
FunctionEnd

Function un.RefreshShellIcons
  ; By jerome tremblay - april 2003
  ${DisableX64FSRedirection}
  System::Call 'shell32.dll::SHChangeNotify(i, i, i, i) v (${SHCNE_ASSOCCHANGED}, ${SHCNF_IDLIST}, 0, 0)'
FunctionEnd