Commit 7fb89b12 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

ntoskrnl.exe: Add missing ObReferenceObject call to ObReferenceObjectByName.

parent d01cd45b
...@@ -283,6 +283,12 @@ static void dereference_kernel_object( void *obj ) ...@@ -283,6 +283,12 @@ static void dereference_kernel_object( void *obj )
header->type->release( obj ); header->type->release( obj );
} }
static void ObReferenceObject( void *obj )
{
TRACE( "(%p): stub\n", obj );
}
static const WCHAR file_type_name[] = {'F','i','l','e',0}; static const WCHAR file_type_name[] = {'F','i','l','e',0};
static struct _OBJECT_TYPE file_type = { static struct _OBJECT_TYPE file_type = {
...@@ -2631,17 +2637,11 @@ NTSTATUS WINAPI ObReferenceObjectByName( UNICODE_STRING *ObjectName, ...@@ -2631,17 +2637,11 @@ NTSTATUS WINAPI ObReferenceObjectByName( UNICODE_STRING *ObjectName,
} }
driver = WINE_RB_ENTRY_VALUE(entry, struct wine_driver, entry); driver = WINE_RB_ENTRY_VALUE(entry, struct wine_driver, entry);
*Object = &driver->driver_obj; ObReferenceObject( *Object = &driver->driver_obj );
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
static void ObReferenceObject( void *obj )
{
TRACE( "(%p): stub\n", obj );
}
/*********************************************************************** /***********************************************************************
* ObReferenceObjectByPointer (NTOSKRNL.EXE.@) * ObReferenceObjectByPointer (NTOSKRNL.EXE.@)
*/ */
......
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