A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Magnus Olsen 4493c99327 fast implemet of NtGdiCloseEnhMetaFile
follow thing need be done before it is finish but it will slov leaked memory and filehandle from NtGdiCreateEnhMetaFile
for we have NtGdiCreateEnhMetaFile implement. NtGdiCloseEnhMetaFile is base on wine cvs 15/9-2006
Todo
1. Rewrite it to own api call IntGdiCloseEmhMetaFile
2. Use Zw and Int direcly so we do not need todo  context swith each call
3. Translate follow api to kernel api 
   // hMapping = CreateFileMappingW(Dc->hFile, NULL, PAGE_READONLY, 0, 0, NULL);
   // Dc->emh = MapViewOfFile(hMapping, FILE_MAP_READ, 0, 0, 0);
   // hmf = EMF_Create_HENHMETAFILE( Dc->emh, (Dc->hFile != 0) );


 

svn path=/trunk/; revision=24172
2006-09-17 15:47:29 +00:00
cis Handle access denied scenario 2005-12-13 18:56:49 +00:00
irc modified Resources/hresult.xml 2006-09-09 10:53:28 +00:00
msvc6 Initial revision 2004-02-06 08:21:52 +00:00
os2 OS/2: more changes to make it conform to rbuild. 2005-08-12 20:55:07 +00:00
reactos fast implemet of NtGdiCloseEnhMetaFile 2006-09-17 15:47:29 +00:00
rosapps Fix inconsistent formatting and other trails of GreatLord's fixing 2006-09-10 20:12:16 +00:00
rosky Make the 'rosky' optional module compile. 2005-08-12 13:46:36 +00:00
vms Modify to conform to the new CSR. 2005-10-02 19:31:30 +00:00