Convert HENHMETAFILE 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 HENHMETAFILE 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.66
diff -u -r1.66 windef.h
--- include/windef.h	28 Jul 2002 17:42:05 -0000	1.66
+++ include/windef.h	28 Jul 2002 21:12:21 -0000
@@ -77,7 +77,7 @@
 DECLARE_HANDLE(HCOLORSPACE);
 DECLARE_OLD_HANDLE(HDC);
 DECLARE_HANDLE(HDESK);
-DECLARE_OLD_HANDLE(HENHMETAFILE);
+DECLARE_HANDLE(HENHMETAFILE);
 DECLARE_OLD_HANDLE(HFONT);
 DECLARE_HANDLE(HHOOK);
 DECLARE_OLD_HANDLE(HICON);
Index: dlls/oleaut32/olepicture.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/olepicture.c,v
retrieving revision 1.15
diff -u -r1.15 olepicture.c
--- dlls/oleaut32/olepicture.c	19 Jul 2002 00:30:16 -0000	1.15
+++ dlls/oleaut32/olepicture.c	28 Jul 2002 21:12:21 -0000
@@ -418,7 +418,7 @@
     *phandle = This->desc.u.icon.hicon;
     break;
   case PICTYPE_ENHMETAFILE:
-    *phandle = This->desc.u.emf.hemf;
+    *phandle = (OLE_HANDLE)This->desc.u.emf.hemf;
     break;
   default:
     FIXME("Unimplemented type %d\n", This->desc.picType);

Attachment: pgp00019.pgp
Description: PGP signature


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

  Powered by Linux