B.5.WDS Library Overview

The "WinDriver Shared"WDS — API provides convenient user-mode wrappers to the basic WinDriver Shared WD_xxx API, which is described in the WinDriver PCI Low-Level API Reference.

The WDS wrappers are designed to simplify the usage of WinDriver. While you can still use the basic WD_xxx WinDriver API from your code, we recommend that you refrain from doing so and use the high-level WDS API instead.

NOTE: Some of the WDS API can be used both from the user mode and from the kernel mode (from a Kernel PlugIn driver[11]).

The pci_diag sample utilize the WDS API, it also uses it through the high-level diagnostics code (wds_diag_lib/.c/.h).

The WDS API is part of wdapi1230 DLL/shared object:
WinDriver\redist\WINCE\<TARGET_CPU>\wdapi1230.dll (Windows CE) / WinDriver/lib/libwdapi1230.so (Linux).
The source code for the WDS API is found in the WinDriver/src/wdapi directory.

The WDS interface is provided in the wds_lib.h (found under the WinDriver/includes directory).

The following sections describe the WDS high-level[B.6].