ntoskrnl.exe: Add stub for ObDereferenceObject.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexander Morozov 2016-08-08 15:35:18 +02:00 committed by Alexandre Julliard
parent c75751ed54
commit 2898df50e6
3 changed files with 12 additions and 2 deletions

View File

@ -2140,6 +2140,15 @@ NTSTATUS WINAPI ObReferenceObjectByName( UNICODE_STRING *ObjectName,
} }
/***********************************************************************
* ObDereferenceObject (NTOSKRNL.EXE.@)
*/
void WINAPI ObDereferenceObject( void *obj )
{
TRACE( "(%p): stub\n", obj );
}
/*********************************************************************** /***********************************************************************
* ObfReferenceObject (NTOSKRNL.EXE.@) * ObfReferenceObject (NTOSKRNL.EXE.@)
*/ */
@ -2164,7 +2173,7 @@ void WINAPI __regs_ObfDereferenceObject( void *obj )
void WINAPI ObfDereferenceObject( void *obj ) void WINAPI ObfDereferenceObject( void *obj )
#endif #endif
{ {
FIXME( "(%p): stub\n", obj ); ObDereferenceObject( obj );
} }

View File

@ -798,7 +798,7 @@
@ stub ObCloseHandle @ stub ObCloseHandle
@ stub ObCreateObject @ stub ObCreateObject
@ stub ObCreateObjectType @ stub ObCreateObjectType
@ stub ObDereferenceObject @ stdcall ObDereferenceObject(ptr)
@ stub ObDereferenceSecurityDescriptor @ stub ObDereferenceSecurityDescriptor
@ stub ObFindHandleForObject @ stub ObFindHandleForObject
@ stub ObGetObjectSecurity @ stub ObGetObjectSecurity

View File

@ -1251,6 +1251,7 @@ PMDL WINAPI MmAllocatePagesForMdl(PHYSICAL_ADDRESS,PHYSICAL_ADDRESS,PHYSICA
void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T); void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T);
MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void); MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);
void WINAPI ObDereferenceObject(void*);
NTSTATUS WINAPI ObReferenceObjectByHandle(HANDLE,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,PVOID*,POBJECT_HANDLE_INFORMATION); NTSTATUS WINAPI ObReferenceObjectByHandle(HANDLE,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,PVOID*,POBJECT_HANDLE_INFORMATION);
NTSTATUS WINAPI ObReferenceObjectByName(UNICODE_STRING*,ULONG,ACCESS_STATE*,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,void*,void**); NTSTATUS WINAPI ObReferenceObjectByName(UNICODE_STRING*,ULONG,ACCESS_STATE*,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,void*,void**);