Creating Virtual Devices

You create a virtual device either by modifying a sample device or by writing a device from scratch. You can write virtual devices in assembly language, and you may be able to write some portions of your virtual device in a high-level language such as the C language.

To create a virtual device, you need to:

  1. Read the section in this documentation that describes the virtual device for your type of hardware device.
  2. Write the required control procedures, virtual device services, and API functions.
  3. Create a module-definition file that identifies the appropriate module name for your virtual device, and exports the required device description block.
  4. Assemble and link your device.
  5. Test your virtual device using the debugging version of Windows 95. For information about debugging virtual devices, see .
  6. Create an installation file (*.INF) for your virtual device and related files. You install a virtual device by specifying settings for the registry and copying files to the Windows SYSTEM or related directories.
  7. Create your final distribution disk or disks.