kernel32: Added QueryUnbiasedInterruptTime().
This commit is contained in:
parent
05aab53f38
commit
b82b1306a4
|
@ -940,6 +940,7 @@
|
||||||
@ stub QueryOldestEventLogRecord
|
@ stub QueryOldestEventLogRecord
|
||||||
@ stdcall QueryPerformanceCounter(ptr)
|
@ stdcall QueryPerformanceCounter(ptr)
|
||||||
@ stdcall QueryPerformanceFrequency(ptr)
|
@ stdcall QueryPerformanceFrequency(ptr)
|
||||||
|
@ stdcall QueryUnbiasedInterruptTime(ptr)
|
||||||
@ stub QueryWin31IniFilesMappedToRegistry
|
@ stub QueryWin31IniFilesMappedToRegistry
|
||||||
@ stdcall QueueUserAPC(ptr long long)
|
@ stdcall QueueUserAPC(ptr long long)
|
||||||
@ stdcall QueueUserWorkItem(ptr ptr long)
|
@ stdcall QueueUserWorkItem(ptr ptr long)
|
||||||
|
|
|
@ -1103,3 +1103,14 @@ DWORD WINAPI GetDynamicTimeZoneInformation(PDYNAMIC_TIME_ZONE_INFORMATION info)
|
||||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||||
return TIME_ZONE_ID_INVALID;
|
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 RtlQuerySecurityObject
|
||||||
@ stub RtlQueryTagHeap
|
@ stub RtlQueryTagHeap
|
||||||
@ stdcall RtlQueryTimeZoneInformation(ptr)
|
@ stdcall RtlQueryTimeZoneInformation(ptr)
|
||||||
|
@ stdcall RtlQueryUnbiasedInterruptTime(ptr)
|
||||||
@ stub RtlQueueApcWow64Thread
|
@ stub RtlQueueApcWow64Thread
|
||||||
@ stdcall RtlQueueWorkItem(ptr ptr long)
|
@ stdcall RtlQueueWorkItem(ptr ptr long)
|
||||||
@ stdcall -register RtlRaiseException(ptr)
|
@ stdcall -register RtlRaiseException(ptr)
|
||||||
|
|
|
@ -931,3 +931,12 @@ NTSTATUS WINAPI NtSetSystemTime(const LARGE_INTEGER *NewTime, LARGE_INTEGER *Old
|
||||||
return STATUS_NOT_IMPLEMENTED;
|
return STATUS_NOT_IMPLEMENTED;
|
||||||
#endif
|
#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 RtlQueryProcessDebugInformation(ULONG,ULONG,PDEBUG_BUFFER);
|
||||||
NTSYSAPI NTSTATUS WINAPI RtlQueryRegistryValues(ULONG, PCWSTR, PRTL_QUERY_REGISTRY_TABLE, PVOID, PVOID);
|
NTSYSAPI NTSTATUS WINAPI RtlQueryRegistryValues(ULONG, PCWSTR, PRTL_QUERY_REGISTRY_TABLE, PVOID, PVOID);
|
||||||
NTSYSAPI NTSTATUS WINAPI RtlQueryTimeZoneInformation(RTL_TIME_ZONE_INFORMATION*);
|
NTSYSAPI NTSTATUS WINAPI RtlQueryTimeZoneInformation(RTL_TIME_ZONE_INFORMATION*);
|
||||||
|
NTSYSAPI NTSTATUS WINAPI RtlQueryUnbiasedInterruptTime(ULONGLONG*);
|
||||||
NTSYSAPI NTSTATUS WINAPI RtlQueueWorkItem(PRTL_WORK_ITEM_ROUTINE,PVOID,ULONG);
|
NTSYSAPI NTSTATUS WINAPI RtlQueueWorkItem(PRTL_WORK_ITEM_ROUTINE,PVOID,ULONG);
|
||||||
NTSYSAPI void WINAPI RtlRaiseException(PEXCEPTION_RECORD);
|
NTSYSAPI void WINAPI RtlRaiseException(PEXCEPTION_RECORD);
|
||||||
NTSYSAPI void WINAPI RtlRaiseStatus(NTSTATUS);
|
NTSYSAPI void WINAPI RtlRaiseStatus(NTSTATUS);
|
||||||
|
|
Loading…
Reference in New Issue