ADC Home > Reference Library > Technical Q&As > Legacy Documents > Hardware & Drivers >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Testing PCI drivers without any device


Q: Can I test my PCI driver without any device?

A: Yes. There is a way to test your driver code that doesn't directly read or write to your device. Make your driver a virtual driver instead of a real driver. A virtual driver is one that has no hardware associated with it, such as a RAM disk. Add your driver to the Name Registry in the Devices section. Use whatever properties you think will assist in your testing. Load your driver using the DLL and pass NIL as the RegEntryIDPtr.

[Jul 15 1995]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.