NVAPI#

In addition to the instructions in the Setup and Build Systems section, this chapter highlights NVAPI-specific differences.

Applications using the NVAPI SDK should include the main header file nvapi.h and link to the static library that matches the target architecture. The corresponding dynamic library is part of the NVIDIA driver.

The header file is the same for every target architecture. Only the library file’s name changes.

The following table summarizes these differences.

Target Architecture

Static library

Dynamic library

ARM64

nvapia64.lib

nvapia64.dll

ARM64EC

nvapia64ec.lib

nvapi64.dll

x86_64

nvapi64.lib

nvapi64.dll

x86

nvapi.lib

nvapi.dll

When you change the compiler target from x86_64 to ARM64 or ARM64EC, update the linker input to the matching static library.

The dynamic library nvapi64.dll in the ARM64 NVIDIA driver is an ARM64EC library. It is compatible with both ARM64EC applications and x86_64 applications running under emulation. ARM64EC applications load nvapi64.dll at runtime.