Share via


Registry API Test Module

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The registry API test module, S2_reg.dll, exercises the registry API. You can run this test module on the standard RAM-based object store registry or on the hive-based persistent registry on an external storage device. Each time the test module runs, the registry API test module randomly selects one of the registry subtrees HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, and HKEY_USERS. For each test iteration, the test module randomly performs one of the following operations:

  • Enumerates all keys and values using a depth-first search
  • Enumerates all keys and values using a breadth-first search
  • Creates and destroys a random key and value structure
  • Flushes the selected root key

The test module can run as many as three simultaneous threads and does not accept any command line options.

The registry API test module does not require a server.

See Also

Other Resources

Test Modules for the Windows Embedded CE Stress Tool