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:
Magnus Olsen 2008-04-23 05:21:59 +00:00
parent 15d071da9a
commit 0d59c944b1

View file

@ -161,6 +161,7 @@ DdHmgLock( HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
pEntry = (PDD_ENTRY)((PBYTE)gpentDdHmgr + (sizeof(DD_ENTRY) * Index));
if ( VerifyObjectOwner(pEntry) )
{
/* FIXME
if ( (pEntry->Objt == ObjectType ) &&
(pEntry->FullUnique == (((DWORD)DdHandle >> 21) & 0x7FF) ) &&
(pEntry->pobj->cExclusiveLock == 0) &&
@ -170,6 +171,7 @@ DdHmgLock( HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
pEntry->pobj->Tid = PsGetCurrentThread();
Object = pEntry->pobj;
}
*/
}
}