ntoskrnl.exe: Add stub for ObReferenceObjectByPointer.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
80ec0bc4b2
commit
3a82fde6b5
|
@ -2257,6 +2257,19 @@ static void ObReferenceObject( void *obj )
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* ObReferenceObjectByPointer (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
NTSTATUS WINAPI ObReferenceObjectByPointer(void *obj, ACCESS_MASK access,
|
||||
POBJECT_TYPE type,
|
||||
KPROCESSOR_MODE mode)
|
||||
{
|
||||
FIXME("(%p, %x, %p, %d): stub\n", obj, access, type, mode);
|
||||
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* ObDereferenceObject (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
|
|
@ -815,7 +815,7 @@
|
|||
@ stub ObQueryObjectAuditingByHandle
|
||||
@ stdcall ObReferenceObjectByHandle(long long ptr long ptr ptr)
|
||||
@ stdcall ObReferenceObjectByName(ptr long ptr long ptr long ptr ptr)
|
||||
@ stub ObReferenceObjectByPointer
|
||||
@ stdcall ObReferenceObjectByPointer(ptr long ptr long)
|
||||
@ stub ObReferenceSecurityDescriptor
|
||||
@ stub ObReleaseObjectSecurity
|
||||
@ stub ObSetHandleAttributes
|
||||
|
|
|
@ -1336,6 +1336,7 @@ static inline void *MmGetSystemAddressForMdlSafe(MDL *mdl, ULONG priority)
|
|||
void WINAPI ObDereferenceObject(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);
|
||||
|
||||
POWER_STATE WINAPI PoSetPowerState(PDEVICE_OBJECT,POWER_STATE_TYPE,POWER_STATE);
|
||||
NTSTATUS WINAPI PsCreateSystemThread(PHANDLE,ULONG,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PKSTART_ROUTINE,PVOID);
|
||||
|
|
Loading…
Reference in New Issue