Author: jimtabor
Date: Tue Nov 28 10:47:07 2006
New Revision: 24907
URL:
http://svn.reactos.org/svn/reactos?rev=24907&view=rev
Log:
Add Wine defines for disk and memory meta files.
Modified:
trunk/reactos/dll/win32/gdi32/include/gdi32p.h
trunk/reactos/dll/win32/gdi32/objects/metafile.c
Modified: trunk/reactos/dll/win32/gdi32/include/gdi32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/include/gd…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/include/gdi32p.h (original)
+++ trunk/reactos/dll/win32/gdi32/include/gdi32p.h Tue Nov 28 10:47:07 2006
@@ -25,6 +25,9 @@
/* DEFINES *******************************************************************/
#define HANDLE_LIST_INC 20
+
+#define METAFILE_MEMORY 1
+#define METAFILE_DISK 2
/* TYPES *********************************************************************/
Modified: trunk/reactos/dll/win32/gdi32/objects/metafile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/me…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/metafile.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/metafile.c Tue Nov 28 10:47:07 2006
@@ -254,10 +254,10 @@
return NULL;
}
EmfDC.hFile = hFile;
- EmfDC.iType = 2;
+ EmfDC.iType = METAFILE_DISK;
}
else
- EmfDC.iType = 1;
+ EmfDC.iType = METAFILE_MEMORY;
return mDC;
}