There may be times when you choose to write your driver directly, without using DriverWizard. In such cases, either follow the steps outlined in this section to create a new driver project, or use one of the WinDriver samples, which most closely resembles your target driver, and modify the sample to suit your specific requirements.
#include "wdu_lib.h"
You can also include the library's source files in your project instead of linking the project with the library. The C source files are located under the WinDriver/src/wdapi directory.
NOTE: When linking your project with the wdapi920
library/shared object, you will need to distribute the
wdapi920 DLL/shared object with your driver. For
Windows, get wdapi920.dll /
wdapi920_32.dll (for 32-bit applications targeted
at 64-bit platforms) from the WinDriver
redist or
WinDriver
redist_win98_compat directory.
For Linux, distribute
WinDriver/lib/libwdapi920.so. For details, refer to
the driver distribution instructions in Chapter 11.