ntoskrnl.exe: Add ObRegisterCallbacks stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
210bb7ddb4
commit
6bc12302d9
|
@ -2306,6 +2306,18 @@ void WINAPI ObfDereferenceObject( void *obj )
|
|||
ObDereferenceObject( obj );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* ObRegisterCallbacks (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
NTSTATUS WINAPI ObRegisterCallbacks(POB_CALLBACK_REGISTRATION *callBack, void **handle)
|
||||
{
|
||||
FIXME( "stub: %p %p\n", callBack, handle );
|
||||
|
||||
if(handle)
|
||||
*handle = UlongToHandle(0xdeadbeaf);
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* IoGetAttachedDeviceReference (NTOSKRNL.EXE.@)
|
||||
|
|
|
@ -817,6 +817,7 @@
|
|||
@ stdcall ObReferenceObjectByName(ptr long ptr long ptr long ptr ptr)
|
||||
@ stdcall ObReferenceObjectByPointer(ptr long ptr long)
|
||||
@ stub ObReferenceSecurityDescriptor
|
||||
@ stdcall ObRegisterCallbacks(ptr ptr)
|
||||
@ stub ObReleaseObjectSecurity
|
||||
@ stub ObSetHandleAttributes
|
||||
@ stub ObSetSecurityDescriptorInfo
|
||||
|
|
|
@ -1429,6 +1429,7 @@ static inline void *MmGetSystemAddressForMdlSafe(MDL *mdl, ULONG priority)
|
|||
}
|
||||
|
||||
void WINAPI ObDereferenceObject(void*);
|
||||
NTSTATUS WINAPI ObRegisterCallbacks(POB_CALLBACK_REGISTRATION*, void**);
|
||||
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 ObReferenceObjectByPointer(void*,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE);
|
||||
|
|
Loading…
Reference in New Issue