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:
parent
3000ac56ed
commit
db5a57c5f2
|
@ -1,5 +1,5 @@
|
|||
@ stub QueryIdleProcessorCycleTime
|
||||
@ stub QueryIdleProcessorCycleTimeEx
|
||||
@ stub QueryProcessCycleTime
|
||||
@ stdcall QueryProcessCycleTime(long ptr) kernel32.QueryProcessCycleTime
|
||||
@ stdcall QueryThreadCycleTime(long ptr) kernel32.QueryThreadCycleTime
|
||||
@ stdcall QueryUnbiasedInterruptTime(ptr) kernel32.QueryUnbiasedInterruptTime
|
||||
|
|
|
@ -1171,7 +1171,7 @@
|
|||
@ stdcall QueryPerformanceCounter(ptr)
|
||||
@ stdcall QueryPerformanceFrequency(ptr)
|
||||
# @ stub QueryProcessAffinityUpdateMode
|
||||
# @ stub QueryProcessCycleTime
|
||||
@ stdcall QueryProcessCycleTime(long ptr)
|
||||
@ stdcall QueryThreadCycleTime(long ptr)
|
||||
# @ stub QueryThreadProfiling
|
||||
# @ stub QueryThreadpoolStackInformation
|
||||
|
|
|
@ -1407,6 +1407,18 @@ DWORD WINAPI GetDynamicTimeZoneInformation(DYNAMIC_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.@)
|
||||
*/
|
||||
|
|
|
@ -1206,7 +1206,7 @@
|
|||
@ stdcall QueryPerformanceCounter(ptr) kernel32.QueryPerformanceCounter
|
||||
@ stdcall QueryPerformanceFrequency(ptr) kernel32.QueryPerformanceFrequency
|
||||
@ stub QueryProcessAffinityUpdateMode
|
||||
# @ stub QueryProcessCycleTime
|
||||
@ stdcall QueryProcessCycleTime(long ptr) kernel32.QueryProcessCycleTime
|
||||
# @ stub QueryProtectedPolicy
|
||||
@ stub QuerySecurityAccessMask
|
||||
# @ stub QueryStateAtomValueInfo
|
||||
|
|
Loading…
Reference in New Issue