mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +00:00
take offline some code, this file should be take code from win32k.
it is same as gdi handle alloc doing it. svn path=/trunk/; revision=33122
This commit is contained in:
parent
15d071da9a
commit
0d59c944b1
1 changed files with 2 additions and 0 deletions
|
@ -161,6 +161,7 @@ DdHmgLock( HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
|
||||||
pEntry = (PDD_ENTRY)((PBYTE)gpentDdHmgr + (sizeof(DD_ENTRY) * Index));
|
pEntry = (PDD_ENTRY)((PBYTE)gpentDdHmgr + (sizeof(DD_ENTRY) * Index));
|
||||||
if ( VerifyObjectOwner(pEntry) )
|
if ( VerifyObjectOwner(pEntry) )
|
||||||
{
|
{
|
||||||
|
/* FIXME
|
||||||
if ( (pEntry->Objt == ObjectType ) &&
|
if ( (pEntry->Objt == ObjectType ) &&
|
||||||
(pEntry->FullUnique == (((DWORD)DdHandle >> 21) & 0x7FF) ) &&
|
(pEntry->FullUnique == (((DWORD)DdHandle >> 21) & 0x7FF) ) &&
|
||||||
(pEntry->pobj->cExclusiveLock == 0) &&
|
(pEntry->pobj->cExclusiveLock == 0) &&
|
||||||
|
@ -170,6 +171,7 @@ DdHmgLock( HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
|
||||||
pEntry->pobj->Tid = PsGetCurrentThread();
|
pEntry->pobj->Tid = PsGetCurrentThread();
|
||||||
Object = pEntry->pobj;
|
Object = pEntry->pobj;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue