From 370db5b47c7cbece35bc771c7ff8ea0c2d031e83 Mon Sep 17 00:00:00 2001 From: Lionel Ulmer Date: Wed, 4 Jun 2003 20:17:00 +0000 Subject: [PATCH] Implemented a semi-stub for GetProcessPriorityBoost. --- dlls/kernel/kernel32.spec | 2 +- scheduler/process.c | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index c38dc44be6e..c572e9d814c 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -1002,7 +1002,7 @@ @ stdcall GetDiskFreeSpaceExW (wstr ptr ptr ptr) @ stdcall GetFileAttributesExA(str long ptr) @ stdcall GetFileAttributesExW(wstr long ptr) -@ stub GetProcessPriorityBoost +@ stdcall GetProcessPriorityBoost(long ptr) @ stdcall GetThreadPriorityBoost(long ptr) @ stdcall InterlockedCompareExchange (ptr long long) @ stdcall InterlockedExchangeAdd (ptr long ) diff --git a/scheduler/process.c b/scheduler/process.c index c8cc6324066..35fdb056148 100644 --- a/scheduler/process.c +++ b/scheduler/process.c @@ -1718,6 +1718,19 @@ BOOL WINAPI GetProcessShutdownParameters( LPDWORD lpdwLevel, LPDWORD lpdwFlags ) } +/*********************************************************************** + * GetProcessPriorityBoost (KERNEL32.@) + */ +BOOL WINAPI GetProcessPriorityBoost(HANDLE hprocess,PBOOL pDisablePriorityBoost) +{ + FIXME("(%p,%p): semi-stub\n", hprocess, pDisablePriorityBoost); + + /* Report that no boost is present.. */ + *pDisablePriorityBoost = FALSE; + + return TRUE; +} + /*********************************************************************** * SetProcessPriorityBoost (KERNEL32.@) */