Registry notification
-
Hi Cool guys of this messageboards suggested me to use RegNotifyChangeKeyValue() function in order to be informed/notified of registry modifications (what i'm looking at). It works but it only notifies me that something changed but i can't find how to figure exactly WHAT changed ? thanks :)
-
Hi Cool guys of this messageboards suggested me to use RegNotifyChangeKeyValue() function in order to be informed/notified of registry modifications (what i'm looking at). It works but it only notifies me that something changed but i can't find how to figure exactly WHAT changed ? thanks :)
RegNotifyChangeKeyValue()
will notify you of any changes that is made to the key that *you* pass the API as the first parameter,hKey
.Alexandre GRANVAUD wrote:
It works but it only notifies me that something changed but i can't find how to figure exactly WHAT changed ?
Use
RegQueryValueEx()
to get the modified value of the registry key. You could compare it to the old value, and you'd know what's changed.Shog on learning VB6: Ah, that would have been VB6. Kicked my ass anyway.
So easy to learn, just like falling down a flight of stairs... -
RegNotifyChangeKeyValue()
will notify you of any changes that is made to the key that *you* pass the API as the first parameter,hKey
.Alexandre GRANVAUD wrote:
It works but it only notifies me that something changed but i can't find how to figure exactly WHAT changed ?
Use
RegQueryValueEx()
to get the modified value of the registry key. You could compare it to the old value, and you'd know what's changed.Shog on learning VB6: Ah, that would have been VB6. Kicked my ass anyway.
So easy to learn, just like falling down a flight of stairs...yes but i need to know which subkeys are created in a large tree