mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 02:23:38 +00:00
Convert HKL to a void*.
This commit is contained in:
parent
1c4b5c40bf
commit
c018ef6b6b
|
@ -83,7 +83,7 @@ DECLARE_HANDLE(HHOOK);
|
|||
DECLARE_OLD_HANDLE(HICON);
|
||||
DECLARE_OLD_HANDLE(HINSTANCE);
|
||||
DECLARE_OLD_HANDLE(HKEY);
|
||||
DECLARE_OLD_HANDLE(HKL);
|
||||
DECLARE_HANDLE(HKL);
|
||||
DECLARE_OLD_HANDLE(HMENU);
|
||||
DECLARE_HANDLE(HMETAFILE);
|
||||
DECLARE_HANDLE(HMONITOR);
|
||||
|
|
|
@ -774,11 +774,11 @@ INT16 WINAPI GetKeyboardLayoutName16(LPSTR pwszKLID)
|
|||
*/
|
||||
HKL WINAPI GetKeyboardLayout(DWORD dwLayout)
|
||||
{
|
||||
HKL layout;
|
||||
UINT layout;
|
||||
layout = GetSystemDefaultLCID(); /* FIXME */
|
||||
layout |= (layout<<16); /* FIXME */
|
||||
TRACE_(keyboard)("returning %08x\n",layout);
|
||||
return layout;
|
||||
return (HKL)layout;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -1184,6 +1184,3 @@ TrackMouseEvent (TRACKMOUSEEVENT *ptme)
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue