Convert HKL to a void*.

This commit is contained in:
Michael Stefaniuc 2002-08-16 01:34:19 +00:00 committed by Alexandre Julliard
parent 1c4b5c40bf
commit c018ef6b6b
2 changed files with 3 additions and 6 deletions

View File

@ -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);

View File

@ -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;
}