Add Wine defines for disk and memory meta files.

svn path=/trunk/; revision=24907
This commit is contained in:
James Tabor 2006-11-28 07:47:07 +00:00
parent c468138553
commit 7df718a150
2 changed files with 5 additions and 2 deletions

View file

@ -26,6 +26,9 @@ typedef INT
#define HANDLE_LIST_INC 20
#define METAFILE_MEMORY 1
#define METAFILE_DISK 2
/* TYPES *********************************************************************/
// Based on wmfapi.h and Wine. This is the DC_ATTR for a MetaDC file.

View file

@ -254,10 +254,10 @@ HDC WINAPI CreateEnhMetaFileW(
return NULL;
}
EmfDC.hFile = hFile;
EmfDC.iType = 2;
EmfDC.iType = METAFILE_DISK;
}
else
EmfDC.iType = 1;
EmfDC.iType = METAFILE_MEMORY;
return mDC;
}