[ros-bugs] [Bug 4269] OO 2.2.1 crashes when using a Grayed Key Accelerator

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Sat May 23 01:15:29 CEST 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4269


jimtabor <jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from jimtabor <jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net>  2009-05-23 01:15:28 CET ---
Well, I don't know... I guess close it since the crash is gone...

I added a fixme to line 505 in input.c,
fixme:(dll/win32/user32/windows/input.c:505) VkKeyScanW -> 0x4090409

Looks funny,,,, read link. It's working but why is UserHklToKbl returning NULL?

>From link:

US English = 0x0409

Locale ID:      
            is Language ID + Sort Order (MAKELCID)

Language ID:
            is Sub Language ID and Primary Language ID: (MAKELANGID) LangID =
(WORD)((PriLangID & 0x3FF) + (SubLangID * 0x400)) e.g. US English = 0x0409;
PriLangID = 0x9, SubLangID = 0x1.

HKL,        A handle to a keyboard layout, DWORD.

HIWORD(HKL):
            0xExxx: indicates IME, search [keyboard layouts] to find.
            0xFxxx: alternate layout, layoutID = HIWORD(HKL) and 0x0FFF; 
search for layout ID in [keyboard layouts].
            else: indicates keyboard layout, loword in [keyboard layouts].

LOWORD(HKL):
            indicates language ID for installed keyboard.

Thanks,
James


http://scripts.sil.org/CMS/scripts/page.php?site_id=nrsi&item_id=Kbd_Registry


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Ros-bugs mailing list