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
5e2c9b12
Commit
5e2c9b12
authored
Jul 01, 2023
by
Andrey Gusev
Committed by
Alexandre Julliard
Jul 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add PsSetLoadImageNotifyRoutineEx semi-stub.
BattlEye says it's missing.
parent
93748f72
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+9
-1
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-0
ntddk.h
include/ddk/ntddk.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
5e2c9b12
...
...
@@ -3499,7 +3499,15 @@ NTSTATUS WINAPI IoWMIOpenBlock(LPCGUID guid, ULONG desired_access, PVOID *data_b
*/
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutine
(
PLOAD_IMAGE_NOTIFY_ROUTINE
routine
)
{
FIXME
(
"routine %p, semi-stub.
\n
"
,
routine
);
return
PsSetLoadImageNotifyRoutineEx
(
routine
,
0
);
}
/*****************************************************
* PsSetLoadImageNotifyRoutineEx (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutineEx
(
PLOAD_IMAGE_NOTIFY_ROUTINE
routine
,
ULONG_PTR
flags
)
{
FIXME
(
"routine %p, flags %Ix semi-stub.
\n
"
,
routine
,
flags
);
if
(
load_image_notify_routine_count
==
ARRAY_SIZE
(
load_image_notify_routines
))
return
STATUS_INSUFFICIENT_RESOURCES
;
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
5e2c9b12
...
...
@@ -967,6 +967,7 @@
@ stub PsSetJobUIRestrictionsClass
@ stub PsSetLegoNotifyRoutine
@ stdcall PsSetLoadImageNotifyRoutine(ptr)
@ stdcall PsSetLoadImageNotifyRoutineEx(ptr long)
@ stub PsSetProcessPriorityByClass
@ stub PsSetProcessPriorityClass
@ stub PsSetProcessSecurityPort
...
...
include/ddk/ntddk.h
View file @
5e2c9b12
...
...
@@ -265,6 +265,7 @@ NTSTATUS WINAPI PsSetCreateProcessNotifyRoutine(PCREATE_PROCESS_NOTIFY_ROUTINE,
NTSTATUS
WINAPI
PsSetCreateProcessNotifyRoutineEx
(
PCREATE_PROCESS_NOTIFY_ROUTINE_EX
,
BOOLEAN
);
NTSTATUS
WINAPI
PsSetCreateThreadNotifyRoutine
(
PCREATE_THREAD_NOTIFY_ROUTINE
);
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutine
(
PLOAD_IMAGE_NOTIFY_ROUTINE
);
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutineEx
(
PLOAD_IMAGE_NOTIFY_ROUTINE
,
ULONG_PTR
);
void
*
WINAPI
RtlGetElementGenericTable
(
PRTL_GENERIC_TABLE
,
ULONG
);
void
WINAPI
RtlInitializeGenericTable
(
PRTL_GENERIC_TABLE
,
PRTL_GENERIC_COMPARE_ROUTINE
,
PRTL_GENERIC_ALLOCATE_ROUTINE
,
PRTL_GENERIC_FREE_ROUTINE
,
void
*
);
void
WINAPI
RtlInitializeGenericTableAvl
(
PRTL_AVL_TABLE
,
PRTL_AVL_COMPARE_ROUTINE
,
PRTL_AVL_ALLOCATE_ROUTINE
,
PRTL_AVL_FREE_ROUTINE
,
void
*
);
...
...
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