Skip to content
Branch: master
Find file History
Latest commit ad59950 Jul 15, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
exe [registry/regfltr/exe/common.h] Remove incorrect new line (#290) Sep 25, 2018
sys Update for samples portal (#358) Mar 12, 2019 Update README Jul 15, 2019
regfltr.sln Updated for "Windows 10 Anniversary Update" (Version 1607) Aug 11, 2016

page_type description languages products
Demonstrates how to write a registry filter driver.

RegFltr Sample Driver

The RegFltr sample shows how to write a registry filter driver.In addition to providing some basic examples, this sample demonstrates the following:

  • How to handle transactional registry operations.
  • How and when to capture input parameters.
  • Issues and workarounds for version 1.0 of registry filtering.
  • Changes in version 1.1 of registry filtering.
  • How to use version 1 of the REG_CREATE_KEY_INFORMATION and REG_OPEN_KEY_INFORMATION data structures.

The RegFltr sample contains several examples of user-mode and kernel-mode registry-filtering operations. Each example comes with its own corresponding registry callback routine, and performs the following steps:

  1. Does some setup work.
  2. Registers the callback routine.
  3. Performs one or more registry operations.
  4. Unregisters the callback routine.
  5. Verifies that the sample completed correctly.

The sample driver is a minimal driver that is not intended to be used on production systems. To keep the samples simple, the registry callback routines provided do not check for all possible situations and error conditions. This sample is designed to demonstrate typical scenarios and no other registry filtering driver is expected to be active.

You can’t perform that action at this time.