mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 19:58:08 +00:00
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:
parent
f38baaaaa2
commit
9b2a7bf67c
|
@ -15,6 +15,17 @@
|
|||
#include <ddrawgdi.h>
|
||||
#include <ntgdi.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
BOOL
|
||||
STDCALL
|
||||
EngQueryEMFInfo(HDEV hdev,
|
||||
EMFINFO *pEMFInfo)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue