kernel32: Added QueryUnbiasedInterruptTime().

This commit is contained in:
Nikolay Sivov 2014-04-02 16:43:50 +04:00 committed by Alexandre Julliard
parent 05aab53f38
commit b82b1306a4
5 changed files with 23 additions and 0 deletions

View File

@ -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)

View File

@ -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;
}

View File

@ -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)

View File

@ -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;
}

View File

@ -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);