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
21782897
Commit
21782897
authored
Dec 21, 2009
by
Stefan Leichter
Committed by
Alexandre Julliard
Dec 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for KeInitializeSemaphore.
parent
075a1e0e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-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
+5
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
21782897
...
...
@@ -999,6 +999,15 @@ void WINAPI KeInitializeMutex(PRKMUTEX Mutex, ULONG Level)
/***********************************************************************
* KeInitializeSemaphore (NTOSKRNL.EXE.@)
*/
void
WINAPI
KeInitializeSemaphore
(
PRKSEMAPHORE
Semaphore
,
LONG
Count
,
LONG
Limit
)
{
FIXME
(
"(%p %d %d) stub
\n
"
,
Semaphore
,
Count
,
Limit
);
}
/***********************************************************************
* KeInitializeSpinLock (NTOSKRNL.EXE.@)
*/
void
WINAPI
KeInitializeSpinLock
(
PKSPIN_LOCK
SpinLock
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
21782897
...
...
@@ -551,7 +551,7 @@
@ stub KeInitializeMutant
@ stdcall KeInitializeMutex(ptr long)
@ stub KeInitializeQueue
@ st
ub KeInitializeSemaphore
@ st
dcall KeInitializeSemaphore(ptr long long)
@ stdcall KeInitializeSpinLock(ptr)
@ stdcall KeInitializeTimer(ptr)
@ stdcall KeInitializeTimerEx(ptr long)
...
...
include/ddk/wdm.h
View file @
21782897
...
...
@@ -59,6 +59,11 @@ typedef struct _KEVENT {
DISPATCHER_HEADER
Header
;
}
KEVENT
,
*
PKEVENT
,
*
RESTRICTED_POINTER
PRKEVENT
;
typedef
struct
_KSEMAPHORE
{
DISPATCHER_HEADER
Header
;
LONG
Limit
;
}
KSEMAPHORE
,
*
PKSEMAPHORE
,
*
PRKSEMAPHORE
;
typedef
struct
_KDPC
{
CSHORT
Type
;
UCHAR
Number
;
...
...
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