ntoskrnl.exe: Fix calling convention of ObfReferenceObject.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-02-13 09:22:52 +01:00 committed by Alexandre Julliard
parent be0e86c526
commit 2748d4b771
2 changed files with 19 additions and 11 deletions

View file

@ -1985,13 +1985,6 @@ VOID WINAPI MmUnmapIoSpace( PVOID BaseAddress, SIZE_T NumberOfBytes )
FIXME( "stub: %p, %lu\n", BaseAddress, NumberOfBytes );
}
/***********************************************************************
* ObfReferenceObject (NTOSKRNL.EXE.@)
*/
VOID WINAPI ObfReferenceObject(PVOID Object)
{
FIXME("(%p): stub\n", Object);
}
/***********************************************************************
* ObReferenceObjectByHandle (NTOSKRNL.EXE.@)
@ -2021,17 +2014,32 @@ NTSTATUS WINAPI ObReferenceObjectByName( UNICODE_STRING *ObjectName,
return STATUS_NOT_IMPLEMENTED;
}
/***********************************************************************
* ObfReferenceObject (NTOSKRNL.EXE.@)
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT( ObfReferenceObject )
void WINAPI __regs_ObfReferenceObject( void *obj )
#else
void WINAPI ObfReferenceObject( void *obj )
#endif
{
FIXME( "(%p): stub\n", obj );
}
/***********************************************************************
* ObfDereferenceObject (NTOSKRNL.EXE.@)
*/
#ifdef DEFINE_FASTCALL1_ENTRYPOINT
DEFINE_FASTCALL1_ENTRYPOINT( ObfDereferenceObject )
void WINAPI __regs_ObfDereferenceObject( VOID *obj )
void WINAPI __regs_ObfDereferenceObject( void *obj )
#else
void WINAPI ObfDereferenceObject( VOID *obj )
void WINAPI ObfDereferenceObject( void *obj )
#endif
{
FIXME( "stub: %p\n", obj );
FIXME( "(%p): stub\n", obj );
}

View file

@ -49,7 +49,7 @@
@ stub KiAcquireSpinLock
@ stub KiReleaseSpinLock
@ stdcall -norelay ObfDereferenceObject(ptr)
@ stdcall ObfReferenceObject(ptr)
@ stdcall -norelay ObfReferenceObject(ptr)
@ stub RtlPrefetchMemoryNonTemporal
@ cdecl -i386 -norelay RtlUlongByteSwap() ntdll.RtlUlongByteSwap
@ cdecl -ret64 RtlUlonglongByteSwap(int64) ntdll.RtlUlonglongByteSwap