PATCH: Convert HKL to a void*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

License: LGPL, X11
Changelog:
    Michael Stefaniuc <mstefani@redhat.com>
    - Convert HKL to a void*

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani@redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
Index: include/windef.h
===================================================================
RCS file: /home/wine/wine/include/windef.h,v
retrieving revision 1.68
diff -u -r1.68 windef.h
--- include/windef.h	29 Jul 2002 00:14:59 -0000	1.68
+++ include/windef.h	15 Aug 2002 23:06:05 -0000
@@ -83,7 +83,7 @@
 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);
Index: windows/input.c
===================================================================
RCS file: /home/wine/wine/windows/input.c,v
retrieving revision 1.75
diff -u -r1.75 input.c
--- windows/input.c	31 May 2002 23:06:54 -0000	1.75
+++ windows/input.c	15 Aug 2002 23:06:09 -0000
@@ -774,11 +774,11 @@
  */
 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;
 }
 
 /****************************************************************************

Attachment: pgp00035.pgp
Description: PGP signature


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux