WinDriver Sample Code


Sample Code (WinDriver)

The WinDriver Sample Code
The WinDriver toolkit contains numerous samples that demonstrate how to use the WinDriver API to access USB, PCI and ISA hardware and perform various tasks.

The samples include code in C, Delphi (Pascal), Visual Basic ("VB"), C# and VB.NET.
Each sample also has project/workspace/solution/make files for the prominent compilers and development environments used for the sample code language, such as MSDEV (Visual C++), MSDEV .NET, Borland C++ Builder, Borland Delphi, Microsoft eMbedded C++, Microsoft Platform Builder C++ and GCC.

Most of the samples are implemented as user-mode applications but there are also kernel-mode samples that demonstrate the use of WinDriver's Kernel PlugIn feature.

All samples are available from the WinDriver installation directory after you install the toolkit.

NOTE: The samples are also included as part of the full featured evaluation version of WinDriver. To try the samples, simply download and install WinDriver and then build and run the desired sample.

The C samples can be found under the WinDriver samples/ directory and under the vendor-specific WinDriver directories (e.g. cypress/, plx/, etc.).
The VB and Delphi samples can be found under the vb/ and Delphi/ WinDriver directories, respectively.
The .NET samples can be found under the vb.net/ (Visual Basic .NET) and csharp.net/ (C#) directories, as well as under the plx/dotnet directory.

The samples can be built using any compatible 32-bit or 64-bit compiler (depending on the sample and target OS).

The sample directories include readme.txt and/or files.txt files that describe each sample and explain how to build the sample code.

In addition to the generic WinDriver samples, you can also use WinDriver's DriverWizard utility to generate skeletal diagnostics driver code that demonstrates the use of WinDriver's API to communicate with your specific device, as explained in the WinDriver documentation.


Samples Overview

Following are brief descriptions of some of the WinDriver C samples:



Corporate Index   |   Connectivity Software Store   |  

device driver,device drivers,driver development,driver development toolkit,PCI,USB,ISA,DMA,DDK,NT driver,Linux driver,Solaris driver,CE driver,Windows driver,VxWorks driver,embedded,vxd,sys,USB driver,PCI driver,PnP driver,USB stack,USB NT,PLX,hotswap,high availability,CompactPCI,embedded systems,memory map,kernel mode,USB 2.0,PCI-X,3GIO,Express,NDIS,Network,Ethernet,Storage,9056,9030,cypress,ez-usb,altera,quicklogic,quickpci,atmel,national semiconductor