Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
410cb3e7
Commit
410cb3e7
authored
Aug 28, 2008
by
Jim Cameron
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for ObReferenceObjectByHandle().
parent
4f39948f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+14
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+4
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
410cb3e7
...
@@ -778,6 +778,20 @@ void WINAPI MmResetDriverPaging(PVOID AddrInSection)
...
@@ -778,6 +778,20 @@ void WINAPI MmResetDriverPaging(PVOID AddrInSection)
TRACE
(
"%p
\n
"
,
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.@)
* PsCreateSystemThread (NTOSKRNL.EXE.@)
*/
*/
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
410cb3e7
...
@@ -809,7 +809,7 @@
...
@@ -809,7 +809,7 @@
@ stub ObOpenObjectByPointer
@ stub ObOpenObjectByPointer
@ stub ObQueryNameString
@ stub ObQueryNameString
@ stub ObQueryObjectAuditingByHandle
@ stub ObQueryObjectAuditingByHandle
@ st
ub ObReferenceObjectByHandle
@ st
dcall ObReferenceObjectByHandle(long long ptr long ptr ptr)
@ stub ObReferenceObjectByName
@ stub ObReferenceObjectByName
@ stub ObReferenceObjectByPointer
@ stub ObReferenceObjectByPointer
@ stub ObReferenceSecurityDescriptor
@ stub ObReferenceSecurityDescriptor
...
...
include/ddk/wdm.h
View file @
410cb3e7
...
@@ -89,6 +89,8 @@ typedef struct _ETHREAD *PETHREAD;
...
@@ -89,6 +89,8 @@ typedef struct _ETHREAD *PETHREAD;
typedef
struct
_KTHREAD
*
PKTHREAD
;
typedef
struct
_KTHREAD
*
PKTHREAD
;
typedef
struct
_EPROCESS
*
PEPROCESS
;
typedef
struct
_EPROCESS
*
PEPROCESS
;
typedef
struct
_IO_WORKITEM
*
PIO_WORKITEM
;
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))
#define MAXIMUM_VOLUME_LABEL_LENGTH (32 * sizeof(WCHAR))
...
@@ -953,6 +955,8 @@ ULONG WINAPI KeQueryTimeIncrement(void);
...
@@ -953,6 +955,8 @@ ULONG WINAPI KeQueryTimeIncrement(void);
PVOID
WINAPI
MmAllocateNonCachedMemory
(
SIZE_T
);
PVOID
WINAPI
MmAllocateNonCachedMemory
(
SIZE_T
);
void
WINAPI
MmFreeNonCachedMemory
(
PVOID
,
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
);
NTSTATUS
WINAPI
PsCreateSystemThread
(
PHANDLE
,
ULONG
,
POBJECT_ATTRIBUTES
,
HANDLE
,
PCLIENT_ID
,
PKSTART_ROUTINE
,
PVOID
);
#define PsGetCurrentProcess() IoGetCurrentProcess()
#define PsGetCurrentProcess() IoGetCurrentProcess()
#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())
#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment