Skip to content

Revert minhook back to version 1.2.2#8456

Merged
michaelDCurran merged 4 commits into
nvaccess:masterfrom
BabbageCom:revertMinHook
Jun 28, 2018
Merged

Revert minhook back to version 1.2.2#8456
michaelDCurran merged 4 commits into
nvaccess:masterfrom
BabbageCom:revertMinHook

Conversation

@LeonarddeR

Copy link
Copy Markdown
Collaborator

Link to issue number:

Closes #8420
Reverts #8142

Summary of the issue:

Minhook 1.3.3 is causing issues for Windows 7 users.

Description of how this pull request fixes the issue:

This reverts Minhook back to version 1.2.2, while reapplying the hde source file name fix from #8410

Testing performed:

Made sure that NVDA builds and runs correctly.

Known issues with pull request:

None

Change log entry:

None, as this fixes a regression that is not yet in a release

Leonard de Ruijter added 4 commits June 27, 2018 16:06
@LeonarddeR

Copy link
Copy Markdown
Collaborator Author

Note that this does not revert anything in the readme as it turns out that I forgot to update the readme earlier.

@michaelDCurran

michaelDCurran commented Jun 28, 2018 via email

Copy link
Copy Markdown
Member

@michaelDCurran

Copy link
Copy Markdown
Member

This should go straight to master as this is just reverts?

@LeonarddeR

Copy link
Copy Markdown
Collaborator Author

Yes, I'm ok with that. Note that I didn't touch the changes file yet, do you want me to do that as part of this pr?

@michaelDCurran michaelDCurran merged commit c1a3b0b into nvaccess:master Jun 28, 2018
@nvaccessAuto nvaccessAuto added this to the 2018.3 milestone Jun 28, 2018
feerrenrut pushed a commit that referenced this pull request Jan 10, 2022
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Conflict minHook 1.3.3 with UAC on Windows 7

3 participants