Ignore:
Timestamp:
Mar 15, 2004, 3:00:12 PM (21 years ago)
Author:
sandervl
Message:

GetKeyboardLayoutNameA; use only the low word returned by GetKeyboardLayout to build the keyboard layout string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/winkeyboard.cpp

    r10190 r10517  
    1 /* $Id: winkeyboard.cpp,v 1.43 2003-07-31 15:56:48 sandervl Exp $ */
     1/* $Id: winkeyboard.cpp,v 1.44 2004-03-15 14:00:12 sandervl Exp $ */
    22/*
    33 * Win32 <-> PM key translation
     
    10921092INT WIN32API GetKeyboardLayoutNameA(LPSTR pwszKLID)
    10931093{
    1094    dprintf(("not correctly implemented"));
    1095 
    1096    sprintf(pwszKLID, "%08x",GetKeyboardLayout(0));
     1094   sprintf(pwszKLID, "%08x", LOWORD(GetKeyboardLayout(0)));
    10971095   return 1;
    10981096}
Note: See TracChangeset for help on using the changeset viewer.