mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +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) return NULL;
|
||||||
if ( pGdiDevice < (PGDIDEVICE)MmSystemRangeStart) return NULL;
|
if ( pGdiDevice < (PGDIDEVICE)MmSystemRangeStart) return NULL;
|
||||||
pPDev = &PrimarySurface;
|
pPDev = &PrimarySurface;
|
||||||
KeEnterCriticalRegion();
|
IntGdiAcquireSemaphore(hsemDriverMgmt);
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (pGdiDevice == pPDev) break;
|
if (pGdiDevice == pPDev) break;
|
||||||
else
|
else
|
||||||
pPDev = pPDev->ppdevNext;
|
pPDev = pPDev->ppdevNext;
|
||||||
} while (pPDev != NULL);
|
} while (pPDev != NULL);
|
||||||
KeLeaveCriticalRegion();
|
IntGdiReleaseSemaphore(hsemDriverMgmt);
|
||||||
if (!pPDev) return NULL;
|
if (!pPDev) return NULL;
|
||||||
return pGdiDevice->hPDev;
|
return pGdiDevice->hPDev;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2894,15 +2894,14 @@ NtGdiUnloadPrinterDriver(
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
APIENTRY
|
APIENTRY
|
||||||
NtGdiUnmapMemFont(
|
NtGdiUnmapMemFont(
|
||||||
IN PVOID pvView)
|
IN PVOID pvView)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
return TRUE;
|
||||||
return FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue