looking-glass/host
Quantum 56833edae7 [host] delay: directly link against ntdll.dll
There is no need to LoadLibrary and GetProcAddress to get pointers to
NtDelayExecution or NtSetTimerResolution. These functions don't have
prototypes in any SDK header, but they are exported in ntdll.dll and
we can simply declare the prototype and link ntdll.

There is also no chance that the functions do not exist: I checked an
old install of Windows NT 4.0 and both of these functions exist.

Also used NtSetTimerResolution instead of ZeSetTimerResolution for
consistency (they are the same).

Also changed system timer resolution log message units to μs with
one decimal digit for readability. This is the actual amount of
precision available to us.
2021-07-20 11:30:12 +10:00
..
cmake [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00
include/interface [host] capture: stop sending DPI information 2021-07-18 10:50:57 +10:00
platform [host] delay: directly link against ntdll.dll 2021-07-20 11:30:12 +10:00
src [host] capture: stop sending DPI information 2021-07-18 10:50:57 +10:00
.gitignore [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00
CMakeLists.txt [host] link resource directly to exe 2021-07-20 11:25:55 +10:00
toolchain-mingw64.cmake [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00