mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
ntoskrnl.exe: Add stub for ObReferenceObjectByHandle().
This commit is contained in:
parent
4f39948f7b
commit
410cb3e7f8
@ -778,6 +778,20 @@ void WINAPI MmResetDriverPaging(PVOID AddrInSection)
|
||||
TRACE("%p\n", AddrInSection);
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* ObReferenceObjectByHandle (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
NTSTATUS WINAPI ObReferenceObjectByHandle( HANDLE obj, ACCESS_MASK access,
|
||||
POBJECT_TYPE type,
|
||||
KPROCESSOR_MODE mode, PVOID* ptr,
|
||||
POBJECT_HANDLE_INFORMATION info)
|
||||
{
|
||||
FIXME( "stub: %p %x %p %d %p %p\n", obj, access, type, mode, ptr, info);
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* PsCreateSystemThread (NTOSKRNL.EXE.@)
|
||||
*/
|
||||
|
@ -809,7 +809,7 @@
|
||||
@ stub ObOpenObjectByPointer
|
||||
@ stub ObQueryNameString
|
||||
@ stub ObQueryObjectAuditingByHandle
|
||||
@ stub ObReferenceObjectByHandle
|
||||
@ stdcall ObReferenceObjectByHandle(long long ptr long ptr ptr)
|
||||
@ stub ObReferenceObjectByName
|
||||
@ stub ObReferenceObjectByPointer
|
||||
@ stub ObReferenceSecurityDescriptor
|
||||
|
@ -89,6 +89,8 @@ typedef struct _ETHREAD *PETHREAD;
|
||||
typedef struct _KTHREAD *PKTHREAD;
|
||||
typedef struct _EPROCESS *PEPROCESS;
|
||||
typedef struct _IO_WORKITEM *PIO_WORKITEM;
|
||||
typedef struct _OBJECT_TYPE *POBJECT_TYPE;
|
||||
typedef struct _OBJECT_HANDLE_INFORMATION *POBJECT_HANDLE_INFORMATION;
|
||||
|
||||
#define MAXIMUM_VOLUME_LABEL_LENGTH (32 * sizeof(WCHAR))
|
||||
|
||||
@ -953,6 +955,8 @@ ULONG WINAPI KeQueryTimeIncrement(void);
|
||||
PVOID WINAPI MmAllocateNonCachedMemory(SIZE_T);
|
||||
void WINAPI MmFreeNonCachedMemory(PVOID,SIZE_T);
|
||||
|
||||
NTSTATUS WINAPI ObReferenceObjectByHandle(HANDLE,ACCESS_MASK,POBJECT_TYPE,KPROCESSOR_MODE,PVOID*,POBJECT_HANDLE_INFORMATION);
|
||||
|
||||
NTSTATUS WINAPI PsCreateSystemThread(PHANDLE,ULONG,POBJECT_ATTRIBUTES,HANDLE,PCLIENT_ID,PKSTART_ROUTINE,PVOID);
|
||||
#define PsGetCurrentProcess() IoGetCurrentProcess()
|
||||
#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())
|
||||
|
Loading…
Reference in New Issue
Block a user