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
fc230cd4
Commit
fc230cd4
authored
Nov 27, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Implement KeCancelTimer().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
55778f4d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
sync.c
dlls/ntoskrnl.exe/sync.c
+16
-0
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
fc230cd4
...
...
@@ -517,7 +517,7 @@
@ stub KeAttachProcess
@ stub KeBugCheck
@ stub KeBugCheckEx
@ st
ub KeCancelTimer
@ st
dcall KeCancelTimer(ptr)
@ stub KeCapturePersistentThreadState
@ stdcall KeClearEvent(ptr)
@ stub KeConnectInterrupt
...
...
dlls/ntoskrnl.exe/sync.c
View file @
fc230cd4
...
...
@@ -348,3 +348,19 @@ BOOLEAN WINAPI KeSetTimerEx( KTIMER *timer, LARGE_INTEGER duetime, LONG period,
return
ret
;
}
BOOLEAN
WINAPI
KeCancelTimer
(
KTIMER
*
timer
)
{
BOOL
ret
;
TRACE
(
"timer %p.
\n
"
,
timer
);
EnterCriticalSection
(
&
sync_cs
);
ret
=
timer
->
Header
.
Inserted
;
timer
->
Header
.
Inserted
=
FALSE
;
CloseHandle
(
timer
->
Header
.
WaitListHead
.
Blink
);
timer
->
Header
.
WaitListHead
.
Blink
=
NULL
;
LeaveCriticalSection
(
&
sync_cs
);
return
ret
;
}
include/ddk/wdm.h
View file @
fc230cd4
...
...
@@ -1419,6 +1419,7 @@ void WINAPI IoReleaseCancelSpinLock(KIRQL);
NTSTATUS
WINAPI
IoSetDeviceInterfaceState
(
UNICODE_STRING
*
,
BOOLEAN
);
NTSTATUS
WINAPI
IoWMIRegistrationControl
(
PDEVICE_OBJECT
,
ULONG
);
BOOLEAN
WINAPI
KeCancelTimer
(
KTIMER
*
);
void
WINAPI
KeClearEvent
(
PRKEVENT
);
PKTHREAD
WINAPI
KeGetCurrentThread
(
void
);
void
WINAPI
KeInitializeEvent
(
PRKEVENT
,
EVENT_TYPE
,
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