Commit 2748d4b7 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

ntoskrnl.exe: Fix calling convention of ObfReferenceObject.

parent be0e86c5
......@@ -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 );
}
......
......@@ -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
......
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