Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UXTheme hook 1.0 #780

Merged
merged 1 commit into from
Jul 7, 2024
Merged

UXTheme hook 1.0 #780

merged 1 commit into from
Jul 7, 2024

Conversation

rounk-ctrl
Copy link
Contributor

uxtheme hooking mod

@m417z m417z merged commit 041ef1c into ramensoftware:main Jul 7, 2024
1 check passed
using SetSysColors_t = decltype(&SetSysColors);
SetSysColors_t SetSysColors_orig;

int SetSysColors_hook(int cElements, const INT *lpaElements, const COLORREF *lpaRgbValues)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rounk-ctrl missed this before merging:

Calling conventions are missing, which is likely to cause a crash for 32-bit targets. Please add calling conventions or, if the mod doesn't support 32-bit, limit it to 64-bit, which will also make compilation faster. See also:
https://github.com/ramensoftware/windhawk/wiki/Development-tips#hooks-and-calling-conventions

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.

2 participants