Commit 88362a07 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

kernel32: Add a stub for QueryThreadCycleTime.

parent 9ec6fd85
......@@ -1167,7 +1167,7 @@
@ stdcall QueryPerformanceFrequency(ptr)
# @ stub QueryProcessAffinityUpdateMode
# @ stub QueryProcessCycleTime
# @ stub QueryThreadCycleTime
@ stdcall QueryThreadCycleTime(long ptr)
# @ stub QueryThreadProfiling
# @ stub QueryThreadpoolStackInformation
# @ stub -arch=x86_64 QueryUmsThreadInformation
......
......@@ -1105,6 +1105,18 @@ DWORD WINAPI GetDynamicTimeZoneInformation(PDYNAMIC_TIME_ZONE_INFORMATION info)
}
/***********************************************************************
* QueryThreadCycleTime (KERNEL32.@)
*/
BOOL WINAPI QueryThreadCycleTime(HANDLE thread, PULONG64 cycle)
{
static int once;
if (!once++)
FIXME("(%p,%p,): stub!\n", thread, cycle);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/***********************************************************************
* QueryUnbiasedInterruptTime (KERNEL32.@)
*/
BOOL WINAPI QueryUnbiasedInterruptTime(ULONGLONG *time)
......
......@@ -2294,6 +2294,7 @@ WINBASEAPI BOOL WINAPI QueryInformationJobObject(HANDLE,JOBOBJECTINFOCLAS
WINBASEAPI BOOL WINAPI QueryMemoryResourceNotification(HANDLE,PBOOL);
WINBASEAPI BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER*);
WINBASEAPI BOOL WINAPI QueryPerformanceFrequency(LARGE_INTEGER*);
WINBASEAPI BOOL WINAPI QueryThreadCycleTime(HANDLE,PULONG64);
WINBASEAPI DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR);
WINBASEAPI BOOL WINAPI QueueUserWorkItem(LPTHREAD_START_ROUTINE,PVOID,ULONG);
WINBASEAPI void WINAPI RaiseException(DWORD,DWORD,DWORD,const ULONG_PTR *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment