Announcement: New Features for Registry Callbacks for Vista SP2
Microsoft developers have upgraded and improved the Registry Callback feature of the Windows Driver Model (WDM). They have added 6 enumerations and 3 structures to the kernel architecture that will give you more flexibility in working with registry keys for filter drivers. This new capability was added to Vista Service Pack 2 (SP2) at the last minute and was not covered in the original doc release. Now we can tell you about it because the updated header has just been made available on Microsoft Connect. We wanted to publish this special announcement, so you can make use of this new technology right away.
The 6 new enumerations are:
· RegNtPreRestoreKey
· RegNtPostRestoreKey
· RegNtPreSaveKey
· RegNtPostSaveKey
· RegNtPreReplaceKey
· RegNtPostReplaceKey
The 3 new structures are:
· REG_RESTORE_KEY_INFORMATION
· REG_SAVE_KEY_INFORMATION
· REG_REPLACE_KEY_INFORMATION
Detailed technical information can be found in the following WDK kernel reference topics:
· Registry Callback – the new enumerations are listed in this topic.
· REG_NOTIFY_CLASS – this topic defines the enumerations.
· The new structure topics are:
- REG_RESTORE_KEY_INFORMATION
- REG_SAVE_KEY_INFORMATION
- REG_REPLACE_KEY_INFORMATION
These new features are available in the WDK docs on MSDN.
— Seth McEvoy, [MSFT], WDK Programming Writer