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
7bc99ae1
Commit
7bc99ae1
authored
May 29, 2020
by
Paul Gofman
Committed by
Alexandre Julliard
May 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for ExRegisterCallback() function.
Signed-off-by:
Paul Gofman
<
pgofman@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1cad86fc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+9
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+2
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
7bc99ae1
...
...
@@ -2062,6 +2062,14 @@ NTSTATUS WINAPI ExCreateCallback(PCALLBACK_OBJECT *obj, POBJECT_ATTRIBUTES attr,
return
STATUS_SUCCESS
;
}
void
*
WINAPI
ExRegisterCallback
(
PCALLBACK_OBJECT
callback_object
,
PCALLBACK_FUNCTION
callback_function
,
void
*
callback_context
)
{
FIXME
(
"callback_object %p, callback_function %p, callback_context %p stub.
\n
"
,
callback_object
,
callback_function
,
callback_context
);
return
(
void
*
)
0xdeadbeef
;
}
/***********************************************************************
* ExFreePool (NTOSKRNL.EXE.@)
...
...
@@ -3046,6 +3054,7 @@ PVOID WINAPI MmGetSystemRoutineAddress(PUNICODE_STRING SystemRoutineName)
if
(
!
pFunc
)
{
hMod
=
GetModuleHandleW
(
halW
);
if
(
hMod
)
pFunc
=
GetProcAddress
(
hMod
,
routineNameA
.
Buffer
);
}
RtlFreeAnsiString
(
&
routineNameA
);
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
7bc99ae1
...
...
@@ -183,7 +183,7 @@
@ stub ExRaiseException
@ stub ExRaiseHardError
@ stub ExRaiseStatus
@ st
ub ExRegisterCallback
@ st
dcall ExRegisterCallback(ptr ptr ptr)
@ stub ExReinitializeResourceLite
@ stdcall ExReleaseResourceForThreadLite(ptr long)
@ extern ExSemaphoreObjectType
...
...
include/ddk/wdm.h
View file @
7bc99ae1
...
...
@@ -1356,6 +1356,7 @@ typedef void * (NTAPI *PALLOCATE_FUNCTION)(POOL_TYPE, SIZE_T, ULONG);
typedef
void
*
(
NTAPI
*
PALLOCATE_FUNCTION_EX
)(
POOL_TYPE
,
SIZE_T
,
ULONG
,
PLOOKASIDE_LIST_EX
);
typedef
void
(
NTAPI
*
PFREE_FUNCTION
)(
void
*
);
typedef
void
(
NTAPI
*
PFREE_FUNCTION_EX
)(
void
*
,
PLOOKASIDE_LIST_EX
);
typedef
void
(
NTAPI
*
PCALLBACK_FUNCTION
)(
void
*
,
void
*
,
void
*
);
#ifdef _WIN64
#define LOOKASIDE_ALIGN DECLSPEC_CACHEALIGN
...
...
@@ -1627,6 +1628,7 @@ PSLIST_ENTRY WINAPI ExInterlockedPushEntrySList(PSLIST_HEADER,PSLIST_ENTRY,PKSPI
LIST_ENTRY
*
WINAPI
ExInterlockedRemoveHeadList
(
LIST_ENTRY
*
,
KSPIN_LOCK
*
);
BOOLEAN
WINAPI
ExIsResourceAcquiredExclusiveLite
(
ERESOURCE
*
);
ULONG
WINAPI
ExIsResourceAcquiredSharedLite
(
ERESOURCE
*
);
void
*
WINAPI
ExRegisterCallback
(
PCALLBACK_OBJECT
,
PCALLBACK_FUNCTION
,
void
*
);
void
FASTCALL
ExReleaseFastMutexUnsafe
(
PFAST_MUTEX
);
void
WINAPI
ExReleaseResourceForThreadLite
(
ERESOURCE
*
,
ERESOURCE_THREAD
);
ULONG
WINAPI
ExSetTimerResolution
(
ULONG
,
BOOLEAN
);
...
...
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