[3/4] user32: Set the vkey value to VK_PROCESSKEY when IME process key.

ByeongSik Jeon bsjeon at hanmail.net
Thu Apr 24 03:39:54 CDT 2008


When the MS Windows set the vkey value(MSG.wParam) to VK_PROCESSKEY?

I have tested following code:
----------------------------
while ( GetMessage(&msg, 0, 0, 0) ) {
    if ( msg.message == WM_KEYDOWN )
        printf("OLD: %x %x %x\n", msg.message, msg.wParam, msg.lParam);
    TranslateMessage( &msg );
    if ( msg.message == WM_KEYDOWN )
        printf("NEW: %x %x %x\n", msg.message, msg.wParam, msg.lParam);
    DispatchMessage( &msg );
}
-----------------------------
The result is:
-----------------------------
OLD: 100 e5 130001
NEW: 100 e5 130001
OLD: 100 e5 250001
NEW: 100 e5 250001
OLD: 100 e5 130001
NEW: 100 e5 130001
-----------------------------
e5 is VK_PROCESSKEY.
Before GetMessage, PeekMessage return, msg.wPram ahs seted to VK_PROCESSKEY.

---
 dlls/user32/message.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 735cb1d082ab605e03b01f8f89b7a1003bdf38b4.diff
Type: text/x-patch
Size: 1468 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080424/3bbcee53/attachment-0001.bin 


More information about the wine-patches mailing list