collection of the Microsoft Windows Native API definitions. all structures are template based for architecture bitness and have selection of the target SDK version either by including it or manually defining the required one. unfortunately, at the moment, it isn't possible to set target SDK version just for specific structures. the target platform doesn't necessary have to be Windows, there is also included minimal types definition of the basic WinAPI types.
just install and include the ntapi.h
.
to manually set the desired SDK version define Q_NT_VERSION
, either to one of the special values Q_NT_OLDEST
or Q_NT_LATEST
, or to one of the next possible values:
value | name | version |
---|---|---|
Q_NT_WINXP | Windows XP | 5.1 |
Q_NT_WINXP_SP1 | Windows XP SP1 | 5.1 |
Q_NT_WINXP_SP2 | Windows XP SP2 | 5.1 |
Q_NT_WINXP_SP3 | Windows XP SP3 | 5.1 |
Q_NT_WS03 | Windows Server 2003 | 5.2 |
Q_NT_WS03_SP1 | Windows Server 2003 SP1 | 5.2 |
Q_NT_WS03_SP2 | Windows Server 2003 SP2 | 5.2 |
Q_NT_VISTA | Windows Vista | 6.0 |
Q_NT_VISTA_SP1 | Windows Vista SP1 | 6.0 |
Q_NT_VISTA_SP2 | Windows Vista SP2 | 6.0 |
Q_NT_WIN7 | Windows 7 | 6.0 |
Q_NT_WIN7_SP1 | Windows 7 SP1 | 6.1 |
Q_NT_WIN8 | Windows 8 | 6.2 |
Q_NT_WINBLUE | Windows 8.1 | 6.3 |
Q_NT_WIN10 | Windows 10 Threshold 1 | 1507 |
Q_NT_WIN10_TH2 | Windows 10 Threshold 2 | 1511 |
Q_NT_WIN10_RS1 | Windows 10 Redstone 1 | 1607 |
Q_NT_WIN10_RS2 | Windows 10 Redstone 2 | 1703 |
Q_NT_WIN10_RS3 | Windows 10 Redstone 3 | 1709 |
Q_NT_WIN10_RS4 | Windows 10 Redstone 4 | 1803 |
Q_NT_WIN10_RS5 | Windows 10 Redstone 5 | 1809 |
Q_NT_WIN10_19H1 | Windows 10 Titanium | 1903 |
Q_NT_WIN10_19H2 | Windows 10 Vanadium | 1909 |
Q_NT_WIN10_20H1 | Windows 10 Vibranium | 2004 |
Q_NT_WIN10_20H2 | Windows 10 Manganese | 2011 |
Q_NT_WIN10_21H1 | Windows 10 Ferrum | 21H1 |
Q_NT_WIN10_21H2 | Windows 10 Cobalt | 21H2 |
Q_NT_WIN10_22H2 | Windows 10 Nickel | 22H2 |
Q_NT_WIN11 | Windows 11 Cobalt | 21H2 |
Q_NT_WIN11_22H2 | Windows 11 Nickel | 22H2 |
Q_NT_WIN11_23H2 | Windows 11 Zinc | 23H2 |
Q_NT_WIN11_24H2 | Windows 11 Germanium | 24H2 |
Q_NT_WIN11_25H2 | Windows 11 Selenium | 25H2 |
requires common library to be also installed. you can read about installation, contributing and look for other general information on the q-tee main page.