Implemented a semi-stub for GetProcessPriorityBoost.
diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index c38dc44..c572e9d 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 c8cc632..35fdb05 100644 --- a/scheduler/process.c +++ b/scheduler/process.c
@@ -1719,6 +1719,19 @@ /*********************************************************************** + * 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.@) */ BOOL WINAPI SetProcessPriorityBoost(HANDLE hprocess,BOOL disableboost)