flat assembler
Message board for the users of flat assembler.

Index > Windows > How-To: Make Windows Reload file associations from registry

Thread Post new topic Reply to topic

Joined: 22 Jul 2003
Posts: 59
eet_1024 08 Oct 2003, 21:44
I was doing some testing with the DefaultIcon subkey and needed a way to reflect those changes to the desktop.

The program is simply
   invoke   SHChangeNotify, SHCNE_ASSOCCHANGED, SHCNF_IDLIST, 0, 0

I made changes to the WIN32AX.INC and EQUATES\SHELL32.INC.
In WIN32AX.INC I commented out the format command.
In SHELL32.INC I added constants needed for SHChangeNotify.

The subkeys are located in:
; This is a virual HKEY that combines Software\Classes from HKCU and HKLM
; HKEY_CURRENT_USER\Software\Classes

P.S. Does anyone have any recommendation on import the lcc #defines from shlobj.inc?

Description: Includes updated EQUATESSHELL32.INC
Filename: Refress Icons.ZIP
Filesize: 1.16 KB
Downloaded: 660 Time(s)

Post 08 Oct 2003, 21:44
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.