-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Check EnableHexNumpad before enabling it #17954
Conversation
nullptr, | ||
&buffer[0], | ||
&size); | ||
return size == 4 && memcmp(&buffer[0], L"1", 4) == 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my gosh, it's actually a string? wild
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use any of the wil
registry helpers here? or is that just overhead.
things like wil::reg::try_get_value<string>
and co
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wouldn't. It's trivial code like this. I could replace the check with a wcsnlen
though...
This just adds a quick registry check for `EnableHexNumpad`. Depends on #17774 Closes #17762 (again) ## Validation Steps Performed * Alt + NumpadAdd + 221E doesn't do anything ✅ * Set the `EnableHexNumpad` registry key * Restart * Alt + NumpadAdd + 221E inserts ∞ ✅ (cherry picked from commit b520da2) Service-Card-Id: PVTI_lADOAF3p4s4AmhmszgTQsd8 Service-Version: 1.21
This just adds a quick registry check for `EnableHexNumpad`. Depends on #17774 Closes #17762 (again) ## Validation Steps Performed * Alt + NumpadAdd + 221E doesn't do anything ✅ * Set the `EnableHexNumpad` registry key * Restart * Alt + NumpadAdd + 221E inserts ∞ ✅ (cherry picked from commit b520da2) Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgTQseA Service-Version: 1.22
This just adds a quick registry check for
EnableHexNumpad
.Depends on #17774
Closes #17762 (again)
Validation Steps Performed
EnableHexNumpad
registry key