3.3. Upgrading Your Installation
To upgrade to a new version of WinDriver, follow the installation steps for your
target operating system, as outlined in the previous section [3.2]. You can either choose to overwrite the existing
installation or install to a separate directory.
After the installation, start DriverWizard and enter the new license string, if
you have received one. This completes the minimal upgrade steps.
To upgrade your source code —
Pass the new license string as a parameter to
WDC_DriverOpen() [B.3.2] (or to
WD_License() — see
the WinDriver PCI Low-Level API Reference — when using the low-level
WD_xxx API instead of the
WDC_xxx API [B.2].
Verify that the call to
WD_DriverName() [B.1] in your driver code (if
exists) uses the name of the new driver module —
windrvr1411 or your renamed version of this driver [15.2].
If you use the generated DriverWizard code or one of the samples from the
new WinDriver version, the code will already use the default driver name from
the new version. Also, if your code is based on generated/sample code from
an earlier version of WinDriver, rebuilding the code with
windrvr.h from the new version is
sufficient to update the code to use the new default driver-module name
(due to the use of the
If you elect to rename the WinDriver driver module [15.2],
ensure that your code calls
WD_DriverName() [B.1] with your custom
driver name. If you rename the driver from the new version to a name
already used in your old project, you do not need to modify your code.