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
b82b1306
Commit
b82b1306
authored
Apr 02, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added QueryUnbiasedInterruptTime().
parent
05aab53f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
0 deletions
+23
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
time.c
dlls/kernel32/time.c
+11
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-0
time.c
dlls/ntdll/time.c
+9
-0
winternl.h
include/winternl.h
+1
-0
No files found.
dlls/kernel32/kernel32.spec
View file @
b82b1306
...
...
@@ -940,6 +940,7 @@
@ stub QueryOldestEventLogRecord
@ stdcall QueryPerformanceCounter(ptr)
@ stdcall QueryPerformanceFrequency(ptr)
@ stdcall QueryUnbiasedInterruptTime(ptr)
@ stub QueryWin31IniFilesMappedToRegistry
@ stdcall QueueUserAPC(ptr long long)
@ stdcall QueueUserWorkItem(ptr ptr long)
...
...
dlls/kernel32/time.c
View file @
b82b1306
...
...
@@ -1103,3 +1103,14 @@ DWORD WINAPI GetDynamicTimeZoneInformation(PDYNAMIC_TIME_ZONE_INFORMATION info)
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
TIME_ZONE_ID_INVALID
;
}
/***********************************************************************
* QueryUnbiasedInterruptTime (KERNEL32.@)
*/
BOOL
WINAPI
QueryUnbiasedInterruptTime
(
ULONGLONG
*
time
)
{
TRACE
(
"(%p)
\n
"
,
time
);
if
(
!
time
)
return
FALSE
;
RtlQueryUnbiasedInterruptTime
(
time
);
return
TRUE
;
}
dlls/ntdll/ntdll.spec
View file @
b82b1306
...
...
@@ -797,6 +797,7 @@
@ stub RtlQuerySecurityObject
@ stub RtlQueryTagHeap
@ stdcall RtlQueryTimeZoneInformation(ptr)
@ stdcall RtlQueryUnbiasedInterruptTime(ptr)
@ stub RtlQueueApcWow64Thread
@ stdcall RtlQueueWorkItem(ptr ptr long)
@ stdcall -register RtlRaiseException(ptr)
...
...
dlls/ntdll/time.c
View file @
b82b1306
...
...
@@ -931,3 +931,12 @@ NTSTATUS WINAPI NtSetSystemTime(const LARGE_INTEGER *NewTime, LARGE_INTEGER *Old
return
STATUS_NOT_IMPLEMENTED
;
#endif
}
/***********************************************************************
* RtlQueryUnbiasedInterruptTime [NTDLL.@]
*/
NTSTATUS
WINAPI
RtlQueryUnbiasedInterruptTime
(
ULONGLONG
*
time
)
{
*
time
=
monotonic_counter
();
return
STATUS_SUCCESS
;
}
include/winternl.h
View file @
b82b1306
...
...
@@ -2469,6 +2469,7 @@ NTSYSAPI NTSTATUS WINAPI RtlQueryInformationActivationContext(ULONG,HANDLE,PVOI
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryProcessDebugInformation
(
ULONG
,
ULONG
,
PDEBUG_BUFFER
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryRegistryValues
(
ULONG
,
PCWSTR
,
PRTL_QUERY_REGISTRY_TABLE
,
PVOID
,
PVOID
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryTimeZoneInformation
(
RTL_TIME_ZONE_INFORMATION
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueryUnbiasedInterruptTime
(
ULONGLONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
RtlQueueWorkItem
(
PRTL_WORK_ITEM_ROUTINE
,
PVOID
,
ULONG
);
NTSYSAPI
void
WINAPI
RtlRaiseException
(
PEXCEPTION_RECORD
);
NTSYSAPI
void
WINAPI
RtlRaiseStatus
(
NTSTATUS
);
...
...
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