Technical Document #16

Technical Document #16
Can WinDriver handle multiple devices, of different or similar types, at the same time?

Yes. Each device receives a unique handle when calling WD_CardRegister() (for PCI/PCMCIA/ISA) or WDU_Init() (for USB with v6.0 of WinDriver) / WD_UsbDeviceRegister() (for USB with v5.2.2 and earlier of WinDriver).

This enables different devices to be handled from a single device driver application.

This also enables device drivers written with WinDriver for different devices, to coexist simultaneously on the same machine.

Starting from WinDriver 6.2.0, the usb_diag sample and the generated DriverWizard code have basic support for multiple devices.