LookingGlass/host/platform/Windows
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
..
capture [host] capture: stop sending DPI information 2021-07-18 10:50:57 +10:00
include/windows [host] delay: directly link against ntdll.dll 2021-07-20 11:30:12 +10:00
src [host] delay: directly link against ntdll.dll 2021-07-20 11:30:12 +10:00
app.manifest [host] set the program name/description in the app.manifest 2020-10-19 01:56:03 +11:00
CMakeLists.txt [host] delay: directly link against ntdll.dll 2021-07-20 11:30:12 +10:00
installer.nsi [host] installer: create start menu shortcut to log directory 2021-01-29 15:56:01 +11:00
resource.rc [c-host] renamed finall to just plain host 2020-05-25 13:42:43 +10:00