mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user