ntoskrnl.exe: Implement ExReleaseResourceLite().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-04-08 22:30:16 -05:00 committed by Alexandre Julliard
parent 9dfa9f6b26
commit aeed70689c
3 changed files with 10 additions and 9 deletions

View File

@ -4224,14 +4224,6 @@ NTSTATUS WINAPI DbgQueryDebugFilterState(ULONG component, ULONG level)
return STATUS_NOT_IMPLEMENTED;
}
/*********************************************************************
* ExReleaseResourceLite (NTOSKRNL.@)
*/
void WINAPI ExReleaseResourceLite(PERESOURCE resource)
{
FIXME("stub: %p\n", resource);
}
/*********************************************************************
* PsGetProcessWow64Process (NTOSKRNL.@)
*/

View File

@ -9,7 +9,7 @@
@ stdcall -fastcall -arch=i386 ExInterlockedPushEntrySList (ptr ptr ptr) NTOSKRNL_ExInterlockedPushEntrySList
@ stub ExReInitializeRundownProtection
@ stdcall -fastcall ExReleaseFastMutexUnsafe(ptr)
@ stdcall ExReleaseResourceLite(ptr)
@ stdcall -fastcall ExReleaseResourceLite(ptr)
@ stub ExReleaseRundownProtection
@ stub ExReleaseRundownProtectionEx
@ stub ExRundownCompleted

View File

@ -1066,3 +1066,12 @@ void WINAPI ExReleaseResourceForThreadLite( ERESOURCE *resource, ERESOURCE_THREA
KeReleaseSpinLock( &resource->SpinLock, irql );
}
/***********************************************************************
* ExReleaseResourceLite (NTOSKRNL.EXE.@)
*/
DEFINE_FASTCALL1_WRAPPER( ExReleaseResourceLite )
void WINAPI ExReleaseResourceLite( ERESOURCE *resource )
{
ExReleaseResourceForThreadLite( resource, (ERESOURCE_THREAD)KeGetCurrentThread() );
}