Commit afe444f7 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntoskrnl.exe: Implement IoInitializeRemoveLockEx().

parent 0aa6049c
...@@ -3050,17 +3050,6 @@ BOOLEAN WINAPI IoSetThreadHardErrorMode(BOOLEAN EnableHardErrors) ...@@ -3050,17 +3050,6 @@ BOOLEAN WINAPI IoSetThreadHardErrorMode(BOOLEAN EnableHardErrors)
return FALSE; return FALSE;
} }
/*****************************************************
* IoInitializeRemoveLockEx (NTOSKRNL.EXE.@)
*/
VOID WINAPI IoInitializeRemoveLockEx(PIO_REMOVE_LOCK lock, ULONG tag,
ULONG maxmin, ULONG high, ULONG size)
{
FIXME("(%p %u %u %u %u) stub\n", lock, tag, maxmin, high, size);
}
/***************************************************** /*****************************************************
* IoAcquireRemoveLockEx (NTOSKRNL.EXE.@) * IoAcquireRemoveLockEx (NTOSKRNL.EXE.@)
*/ */
......
...@@ -1195,3 +1195,17 @@ ULONG WINAPI ExIsResourceAcquiredSharedLite( ERESOURCE *resource ) ...@@ -1195,3 +1195,17 @@ ULONG WINAPI ExIsResourceAcquiredSharedLite( ERESOURCE *resource )
return ret; return ret;
} }
/***********************************************************************
* IoInitializeRemoveLockEx (NTOSKRNL.EXE.@)
*/
void WINAPI IoInitializeRemoveLockEx( IO_REMOVE_LOCK *lock, ULONG tag,
ULONG max_minutes, ULONG max_count, ULONG size )
{
TRACE("lock %p, tag %#x, max_minutes %u, max_count %u, size %u.\n",
lock, tag, max_minutes, max_count, size);
KeInitializeEvent( &lock->Common.RemoveEvent, SynchronizationEvent, FALSE );
lock->Common.Removed = FALSE;
lock->Common.IoCount = 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment