Replace minhook with Microsoft Detours (PR #12964)
Related to #8420
Summary:
NVDA has been using minhook to hook several Windows APIs, particularly related to the display model.
However, the version of minhook currently in use is very old. An update was previously attempted but
failed and was reverted in #8456.
Microsoft always had their own hooking library, but it was closed source in the past.
Now it is open, it offers us the following benefits:
- Support for hooking on ARM64, which should make the display model work.
- Better documented and more widely used than Minhook
- More modern than Minhook
Description of change:
- Remove Minhook and replace with Detours