kernel32: Add QueryProcessCycleTime stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2018-01-30 16:29:44 -06:00 committed by Alexandre Julliard
parent 3000ac56ed
commit db5a57c5f2
4 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,5 @@
@ stub QueryIdleProcessorCycleTime @ stub QueryIdleProcessorCycleTime
@ stub QueryIdleProcessorCycleTimeEx @ stub QueryIdleProcessorCycleTimeEx
@ stub QueryProcessCycleTime @ stdcall QueryProcessCycleTime(long ptr) kernel32.QueryProcessCycleTime
@ stdcall QueryThreadCycleTime(long ptr) kernel32.QueryThreadCycleTime @ stdcall QueryThreadCycleTime(long ptr) kernel32.QueryThreadCycleTime
@ stdcall QueryUnbiasedInterruptTime(ptr) kernel32.QueryUnbiasedInterruptTime @ stdcall QueryUnbiasedInterruptTime(ptr) kernel32.QueryUnbiasedInterruptTime

View File

@ -1171,7 +1171,7 @@
@ stdcall QueryPerformanceCounter(ptr) @ stdcall QueryPerformanceCounter(ptr)
@ stdcall QueryPerformanceFrequency(ptr) @ stdcall QueryPerformanceFrequency(ptr)
# @ stub QueryProcessAffinityUpdateMode # @ stub QueryProcessAffinityUpdateMode
# @ stub QueryProcessCycleTime @ stdcall QueryProcessCycleTime(long ptr)
@ stdcall QueryThreadCycleTime(long ptr) @ stdcall QueryThreadCycleTime(long ptr)
# @ stub QueryThreadProfiling # @ stub QueryThreadProfiling
# @ stub QueryThreadpoolStackInformation # @ stub QueryThreadpoolStackInformation

View File

@ -1407,6 +1407,18 @@ DWORD WINAPI GetDynamicTimeZoneInformation(DYNAMIC_TIME_ZONE_INFORMATION *tzinfo
return TIME_ZoneID( (TIME_ZONE_INFORMATION*)tzinfo ); return TIME_ZoneID( (TIME_ZONE_INFORMATION*)tzinfo );
} }
/***********************************************************************
* QueryProcessCycleTime (KERNEL32.@)
*/
BOOL WINAPI QueryProcessCycleTime(HANDLE process, PULONG64 cycle)
{
static int once;
if (!once++)
FIXME("(%p,%p): stub!\n", process, cycle);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
/*********************************************************************** /***********************************************************************
* QueryThreadCycleTime (KERNEL32.@) * QueryThreadCycleTime (KERNEL32.@)
*/ */

View File

@ -1206,7 +1206,7 @@
@ stdcall QueryPerformanceCounter(ptr) kernel32.QueryPerformanceCounter @ stdcall QueryPerformanceCounter(ptr) kernel32.QueryPerformanceCounter
@ stdcall QueryPerformanceFrequency(ptr) kernel32.QueryPerformanceFrequency @ stdcall QueryPerformanceFrequency(ptr) kernel32.QueryPerformanceFrequency
@ stub QueryProcessAffinityUpdateMode @ stub QueryProcessAffinityUpdateMode
# @ stub QueryProcessCycleTime @ stdcall QueryProcessCycleTime(long ptr) kernel32.QueryProcessCycleTime
# @ stub QueryProtectedPolicy # @ stub QueryProtectedPolicy
@ stub QuerySecurityAccessMask @ stub QuerySecurityAccessMask
# @ stub QueryStateAtomValueInfo # @ stub QueryStateAtomValueInfo