[][src]Crate nt_version

Queries the major, minor and build version of Windows (NT) efficiently with usage of undocumented NTDLL functions. This crate is no_std.

It only has one function: get, and it's recommended you use it explicitly like nt_version::get() because of this.

Build Error?

If building fails with a linker error, you're missing ntdll.lib from your system. It doesn't come on older versions of Windows with the SDK and you need to install the DDK.

You can alternatively enable the fallback feature which queries the function pointer at runtime.

Functions

get

Queries the (major, minor, build) version of the Windows NT system. The versions correspond to this table (transcribed from here):