implmented EngQueryEMFInfo it always return FALSE

it is historic in Windows XP, But not in Windows 2000

svn path=/trunk/; revision=29194
This commit is contained in:
Magnus Olsen 2007-09-24 18:00:49 +00:00
parent f38baaaaa2
commit 9b2a7bf67c
3 changed files with 16 additions and 28 deletions

View file

@ -15,6 +15,17 @@
#include <ddrawgdi.h>
#include <ntgdi.h>
/*
* @implemented
*/
BOOL
STDCALL
EngQueryEMFInfo(HDEV hdev,
EMFINFO *pEMFInfo)
{
return FALSE;
}
/*
* @implemented
*/

View file

@ -2296,30 +2296,6 @@ EngGetDriverName(HDEV hdev)
return 0;
}
/*
* @unimplemented
* wrong info it is not Obsolete GDI Function as http://www.osronline.com/DDKx/graphics/gdioview_20tj.htm say
*/
BOOL STDCALL
EngQueryEMFInfo(HDEV hdev,EMFINFO *pEMFInfo)
{
#if 0
BOOL retValue = FALSE;
DHPDEV Dhpdev;
if ((!hdev) && (!pEMFInfo))
{
if ((Dhpdev = NtGdiGetDhpdev(hdev)))
{
/* FIXME check if it support or if it is pEMFInfo we got */
/* FIXME copy the data from Dhpdev to pEMFInfo */
}
}
return retValue;
#else
return FALSE;
#endif
}
/*

View file

@ -43,10 +43,11 @@ VOID
STDCALL
EngDeleteSemaphore ( IN HSEMAPHORE hsem )
{
if (!hsem) return;
RtlDeleteCriticalSection( (PRTL_CRITICAL_SECTION) hsem );
RtlFreeHeap( GetProcessHeap(), 0, hsem );
if (hsem)
{
RtlDeleteCriticalSection( (PRTL_CRITICAL_SECTION) hsem );
RtlFreeHeap( GetProcessHeap(), 0, hsem );
}
}
/*