* Build: Catch incorrect format specifiers with /we4777 and fix issues.
Most of these are using %d for a DWORD when it should be %ld.
* More compilation fixes
* Build: Fix of traceapi on Windows SDK >= 10.0.19041.0
In the 10.0.19041.0 SDK, the definitions for GetThreadLocale
and SetThreadLocale were moved under a #if(WINVER >= 0x0500)
check, where there was no such check before.
Adjust the detours build to have the same check, to avoid
consuming undeclared functions
* Build: Suppress logo (/nologo) in places where it was missed
* CI: Add initial CI workflow for Detours project
Add a simple workflow that builds x86 and x64 build architecture on push to master,
or to validate pull requests before merge.
* CI: Add codeql analysis to the build