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 wdapi1411 DLL/shared object:
WinDriver\redist\wdapi1411.dll (Windows) / WinDriver/lib/libwdapi1411.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].