ntoskrnl.exe: Implement IoInitializeRemoveLockEx().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47623 Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0aa6049c8d
commit
afe444f75a
|
@ -3050,17 +3050,6 @@ BOOLEAN WINAPI IoSetThreadHardErrorMode(BOOLEAN EnableHardErrors)
|
|||
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.@)
|
||||
*/
|
||||
|
|
|
@ -1195,3 +1195,17 @@ ULONG WINAPI ExIsResourceAcquiredSharedLite( ERESOURCE *resource )
|
|||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue