Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9566c50a
Commit
9566c50a
authored
Mar 01, 2018
by
Austin English
Committed by
Alexandre Julliard
Mar 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add PsSetCreateProcessNotifyRoutineEx stub.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aa16304c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+11
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-0
ntddk.h
include/ddk/ntddk.h
+18
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
9566c50a
...
...
@@ -68,6 +68,7 @@ typedef struct _KSERVICE_TABLE_DESCRIPTOR
KSERVICE_TABLE_DESCRIPTOR
KeServiceDescriptorTable
[
4
]
=
{
{
0
}
};
typedef
void
(
WINAPI
*
PCREATE_PROCESS_NOTIFY_ROUTINE
)(
HANDLE
,
HANDLE
,
BOOLEAN
);
typedef
void
(
WINAPI
*
PCREATE_PROCESS_NOTIFY_ROUTINE_EX
)(
PEPROCESS
,
HANDLE
,
PPS_CREATE_NOTIFY_INFO
);
typedef
void
(
WINAPI
*
PCREATE_THREAD_NOTIFY_ROUTINE
)(
HANDLE
,
HANDLE
,
BOOLEAN
);
static
const
WCHAR
servicesW
[]
=
{
'\\'
,
'R'
,
'e'
,
'g'
,
'i'
,
's'
,
't'
,
'r'
,
'y'
,
...
...
@@ -2389,6 +2390,16 @@ NTSTATUS WINAPI PsSetCreateProcessNotifyRoutine( PCREATE_PROCESS_NOTIFY_ROUTINE
/***********************************************************************
* PsSetCreateProcessNotifyRoutineEx (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
PsSetCreateProcessNotifyRoutineEx
(
PCREATE_PROCESS_NOTIFY_ROUTINE_EX
callback
,
BOOLEAN
remove
)
{
FIXME
(
"stub: %p %d
\n
"
,
callback
,
remove
);
return
STATUS_SUCCESS
;
}
/***********************************************************************
* PsSetCreateThreadNotifyRoutine (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
PsSetCreateThreadNotifyRoutine
(
PCREATE_THREAD_NOTIFY_ROUTINE
NotifyRoutine
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
9566c50a
...
...
@@ -912,6 +912,7 @@
@ stub PsRevertToSelf
@ stub PsSetContextThread
@ stdcall PsSetCreateProcessNotifyRoutine(ptr long)
@ stdcall PsSetCreateProcessNotifyRoutineEx(ptr long)
@ stdcall PsSetCreateThreadNotifyRoutine(ptr)
@ stub PsSetJobUIRestrictionsClass
@ stub PsSetLegoNotifyRoutine
...
...
include/ddk/ntddk.h
View file @
9566c50a
...
...
@@ -186,6 +186,24 @@ typedef struct _RTL_AVL_TABLE {
void
*
TableContext
;
}
RTL_AVL_TABLE
,
*
PRTL_AVL_TABLE
;
typedef
struct
_PS_CREATE_NOTIFY_INFO
{
SIZE_T
Size
;
union
{
ULONG
Flags
;
struct
{
ULONG
FileOpenNameAvailable
:
1
;
ULONG
IsSubsystemProcess
:
1
;
ULONG
Reserved
:
30
;
}
DUMMYSTRUCTNAME
;
}
DUMMYUNIONNAME
;
HANDLE
ParentProcessId
;
CLIENT_ID
CreatingThreadId
;
struct
_FILE_OBJECT
*
FileObject
;
PCUNICODE_STRING
ImageFileName
;
PCUNICODE_STRING
CommandLine
;
NTSTATUS
CreationStatus
;
}
PS_CREATE_NOTIFY_INFO
,
*
PPS_CREATE_NOTIFY_INFO
;
typedef
VOID
(
WINAPI
*
PDRIVER_NOTIFICATION_CALLBACK_ROUTINE
)(
PVOID
,
PVOID
);
typedef
VOID
(
WINAPI
*
PDRIVER_REINITIALIZE
)(
PDRIVER_OBJECT
,
PVOID
,
ULONG
);
typedef
VOID
(
WINAPI
*
PLOAD_IMAGE_NOTIFY_ROUTINE
)(
PUNICODE_STRING
,
HANDLE
,
PIMAGE_INFO
);
...
...
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