Author: jimtabor
Date: Sun Jun 1 10:22:25 2008
New Revision: 33810
URL:
http://svn.reactos.org/svn/reactos?rev=33810&view=rev
Log:
Imp NtGdiUnmapMemFont and fix NtGdiGetDhpdev.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dc.c
trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dc.c [iso-8859-1] Sun Jun 1 10:22:25
2008
@@ -3405,14 +3405,14 @@
if (!pGdiDevice) return NULL;
if ( pGdiDevice < (PGDIDEVICE)MmSystemRangeStart) return NULL;
pPDev = &PrimarySurface;
- KeEnterCriticalRegion();
+ IntGdiAcquireSemaphore(hsemDriverMgmt);
do
{
if (pGdiDevice == pPDev) break;
else
pPDev = pPDev->ppdevNext;
} while (pPDev != NULL);
- KeLeaveCriticalRegion();
+ IntGdiReleaseSemaphore(hsemDriverMgmt);
if (!pPDev) return NULL;
return pGdiDevice->hPDev;
}
Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/st…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/stubs/stubs.c [iso-8859-1] Sun Jun 1 10:22:25
2008
@@ -2894,15 +2894,14 @@
}
/*
- * @unimplemented
+ * @implemented
*/
BOOL
APIENTRY
NtGdiUnmapMemFont(
IN PVOID pvView)
{
- UNIMPLEMENTED;
- return FALSE;
+ return TRUE;
}
BOOL