Reactos

[WIN32SS:NTUSER] Minor code cleanup in hotkey code (#8084) master

- Remove duplicated code in NtUserRegisterHotKey() and in NtUserUnregisterHotKey() by directly calling UserRegisterHotKey() and UserUnregisterHotKey() after the usual user-validation steps. - In UserRegisterHotKey(), ignore hotkeys with virtual key VK_PACKET since this is not a real keyboard input, but is instead used in conjunction with unicode characters to simulate keystrokes for non-keyboard input methods. - s/StartDebugHotKeys/SetDebugHotKeys/ - Remove duplicate code between NtUserCallMsgFilter() and IntCallMsgFilter().


+41 -97
4 changed files