Walter Oney Software USB Devices Driver

For windows driver development I can recommend this book by Oney. But I'd investigate the libusb option in preference to the driver development in both cases. I've written software to communicate with EZ-USB devices from Visual Basic 6 in the past. I wrote a small python driver with pyusb for a USB-LCD device. Written for advanced C/C programmers, Walter Oney's Programming the Microsoft Windows Driver Model is a technically astute and clearly presented guide to writing custom Windows 2000 device drivers. The author's command of the details of the new Windows Driver Model (WDM) standard is what makes this book such a clear success. This page of our website can help you to get files with particular pnpid (USBVID05D9&PIDC799) for Walter Oney ports. Pnp id is a term that indicates your Walter Oney device unique identification number. This unique address is assigned to any ports device which works under Windows Vista / XP operating system.

Applies to Your: Windows Operating System

  • Update all drivers in a single click
  • Driver updates directly from the manufacturers
  • Correct Drivers as per the model and make of PC
  • Automatic updates for outdated and missing drivers

Update Outdated & Missing Drivers
File Size: 7.5 MB Download Time: Under 1 minute

Walter oney software usb devices drivers






Error Read “USB device not recognized”, “Windows was unable to connect to this network”, or other similar issues were no sound from the laptop or the touchpad wasn’t responding the way as it is used to.

All of this could have happened due to missing or corrupted device drivers. Therefore, it is essential to keep all the drivers of your PC up-to-date so that it can run in flawless condition and crush all sorts of driver-related malfunctions such as system performance issues, BSOD errors (blue screen of death), corrupt operating system files, system crashes or unexpected shutdowns, etc.

To fix all those driver errors, the most straight and efficient solution is to download & install the latest Windows drivers that can help you bring your hardware back on track. However, if you don’t know how to update drivers for your Windows OS, see the Best Driver Updater Software (Comparative Analysis).

Now that we need a driver for our PCI card, there are two ways to get it.

The easy way

The easy way consists on having someone else doing the hard work for you!
Check out WinDriver.
That's a commercial toolkit that can build a PCI plug-and-play driver solution for you in minutes.Walter oney software usb devices drivers
Oney It works like that:
  • You run a wizard that detects your plug-and-play devices, including the PCI cards.
  • You select your card of interest, give a name to your device and create an '.inf' file.
  • That's enough for Windows to be able to recognize the hardware and convince him that it should use WinDriver's driver. You quit the wizard, and go through Window's plug-and-play hardware detection to install the driver.
  • Once the driver is installed, you run the wizard again, this time to build some example source code to access the PCI card.
WinDriver gives you 30 days to try it out.
Windriver may be nice, but at $2000, that's expensive if all you want to do is experiment with PCI plug-and-play mechanisms.

The hard way

Use Microsoft Windows DDK.

Installing Windows DDK
The latest Windows DDKs releases are not free, while earlier incarnations (98/2000) were free to download.
The DDKs are easy to install. For Win98 and Win2000 DDKs, first install Visual C++ 5.0 or 6.0, then the DDK itself. Then following the 'install.htm' instructions to build a few sample drivers using the 'build' command.
A minimum WDM Plug-and-Play driver
Here's the very minimum code required for Windows device manager to allocate the memory resource used by our PCI card.
Since it's a WDM driver, it works in WinXP/2000/98.
The entry point of a WDM driver is a 'DriverEntry' function (like the 'main' of a C program).
Its main purpose is to publish addresses of callback functions. Our minimum driver just needs 2.
DriverObject->DriverExtension->AddDevice = DevicePCI_AddDevice;
DriverObject->MajorFunction[IRP_MJ_PNP] = DevicePCI_PnP;

Usb Driver Device Manager

A WDM driver creates at least one 'device' (if your PC has multiple similar items, the same WDM driver may create multiple devices). Before the driver can create a device, we need a 'Device Extension' structure. The structure is used by each device to store information. We can make it as big as we want, and a typical device will store many fields in there. Our minimum device just needs one field.
typedef struct

What is this 'NextStackDevice' for? a WDM implementation detail...
WDM devices process IRPs ('I/O Request Packets', create/read/write/close...). WDM devices don't work alone but are assembled in logical 'stacks' of devices. IRP requests are sent along the stack and are processed on the way. Stacks are created from bottom to top (bottom=hardware layers, top=logical layers). When a stack is created, each device attaches itself to the device just below. A device typically stores the info about the device just below himself in the Device Extension, so that later, it can forward along IRP requests. A device doesn't really know where it is in the stack, it just processes or forwards requests as they are coming.
Anyway, now we can implement

Usb Device Driver Download

It creates a device object and attaches the device to the device stack.
// Create the device and allocate the 'Device Extension'
NTSTATUS status = IoCreateDevice(DriverObject, sizeof(DevicePCI_DEVICE_EXTENSION), NULL, FILE_DEVICE_UNKNOWN, 0, FALSE, &fdo);
if(!NT_SUCCESS(status)) return status;
// Attach to the driver below us
dx->NextStackDevice = IoAttachDeviceToDeviceStack(fdo, pdo);

Finally we can process the Plug-and-Play IRP requests.
Our minimum device processes only START_DEVICE and REMOVE_DEVICE requests.

Walter Oney Software Usb Devices Driver Windows 7

PIO_STACK_LOCATION IrpStack = IoGetCurrentIrpStackLocation(IRP);
ULONG MinorFunction = IrpStack->MinorFunction;
// we should check the allocated resource...
status = IRP_NotCompleted(fdo, IRP);
if(dx->NextStackDevice) IoDetachDevice(dx->NextStackDevice);
// call the device below us
return IoCallDriver(dx->NextStackDevice, IRP);

The START_DEVICE request is the one where we accept or refuse the memory resources. Here we don't do anything but forward the request down the stack, where it is always accepted.
Now, our device gets some memory resources, but doesn't do anything with them.
To be more useful, the driver would need to:
  • Check the memory resources before accepting them
  • Export a device name
  • Implement some 'DeviceIOcontrol' to communicate with a Win32 application
  • Handle more IO requests ('IRP')
  • ...
Get the code here. Your turn to experiment!

Walter Oney Software USB Devices Driver

You can get more sample code by studying the 'portio' project in the Windows 2000 DDK for example.


  • Jungo's WinDriver toolkit
  • Examples of NT4 style drivers: Kamel from ADP GmbH, DumpPCI from Microsoft
  • Programming the Microsoft Windows driver model book from Walter Oney