Imp NtGdiUnmapMemFont and fix NtGdiGetDhpdev.

svn path=/trunk/; revision=33810
This commit is contained in:
James Tabor 2008-06-01 15:22:25 +00:00
parent 0b090eef6a
commit 5047d04ffc
2 changed files with 4 additions and 5 deletions

View file

@ -3405,14 +3405,14 @@ NtGdiGetDhpdev(
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;
}

View file

@ -2894,15 +2894,14 @@ NtGdiUnloadPrinterDriver(
}
/*
* @unimplemented
* @implemented
*/
BOOL
APIENTRY
NtGdiUnmapMemFont(
IN PVOID pvView)
{
UNIMPLEMENTED;
return FALSE;
return TRUE;
}
BOOL