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
474e8e0d
Commit
474e8e0d
authored
Feb 01, 2023
by
Brendan Shanks
Committed by
Alexandre Julliard
Feb 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Implement QueryInterruptTime.
parent
f9631c36
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+1
-1
sync.c
dlls/kernelbase/sync.c
+17
-0
No files found.
dlls/kernelbase/kernelbase.spec
View file @
474e8e0d
...
...
@@ -1234,7 +1234,7 @@
@ stdcall QueryFullProcessImageNameW(ptr long ptr ptr)
# @ stub QueryIdleProcessorCycleTime
# @ stub QueryIdleProcessorCycleTimeEx
# @ stub QueryInterruptTime
@ stdcall QueryInterruptTime(ptr)
# @ stub QueryInterruptTimePrecise
@ stdcall QueryMemoryResourceNotification(ptr ptr)
# @ stub QueryOptionalDelayLoadedAPI
...
...
dlls/kernelbase/sync.c
View file @
474e8e0d
...
...
@@ -205,6 +205,23 @@ ULONGLONG WINAPI DECLSPEC_HOTPATCH GetTickCount64(void)
}
/******************************************************************************
* QueryInterruptTime (kernelbase.@)
*/
void
WINAPI
DECLSPEC_HOTPATCH
QueryInterruptTime
(
ULONGLONG
*
time
)
{
ULONG
high
,
low
;
do
{
high
=
user_shared_data
->
InterruptTime
.
High1Time
;
low
=
user_shared_data
->
InterruptTime
.
LowPart
;
}
while
(
high
!=
user_shared_data
->
InterruptTime
.
High2Time
);
*
time
=
(
ULONGLONG
)
high
<<
32
|
low
;
}
/***********************************************************************
* Waits
***********************************************************************/
...
...
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