mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
Imp NtGdiUnmapMemFont and fix NtGdiGetDhpdev.
svn path=/trunk/; revision=33810
This commit is contained in:
parent
0b090eef6a
commit
5047d04ffc
2 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -2894,15 +2894,14 @@ NtGdiUnloadPrinterDriver(
|
|||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
BOOL
|
||||
APIENTRY
|
||||
NtGdiUnmapMemFont(
|
||||
IN PVOID pvView)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
|
|
Loading…
Reference in a new issue