Use the RegNotifyChangeKeyValue API for Receiving Notification Messages
Windows applications generally use the registry for storing configuration information. Sometimes, it can be essential to allow users to change the registry key/value and the same needs to be reflected