Share via


Test Your Driver by Using a Console Application (Compact 7)

3/12/2014

To quickly perform a unit test of a device driver that is under development, you can use a console application. This section provides the basic steps to:

  • Create a console test application
  • Use the proper call sequence to load and access the driver
  • Show the relationship between calls that are made from the console application to the driver itself

You can simplify your testing process by dynamically loading the device driver through the console application, instead of by permitting Device Manager to load the driver for you at boot time. By following this practice, you can simplify testing and debugging your driver, particularly with driver initialization. For more information about the registry settings that are required to manually load your driver, see Plan Your Device Driver.

Note

Testing with a console application was chosen here for simplicity. You can also test your driver by using other application types.

In This Section

See Also

Concepts

Test Your Device Driver