kernel32: Added QueryUnbiasedInterruptTime().
This commit is contained in:
parent
05aab53f38
commit
b82b1306a4
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue