Implement GetProcessPriorityBoost

Lionel Ulmer lionel.ulmer at free.fr
Sun May 25 09:09:18 CDT 2003


Changelog:
 - implement a semi-stub for GetProcessPriorityBoost

-- 
		 Lionel Ulmer - http://www.bbrox.org/
-------------- next part --------------
Index: dlls/kernel/kernel32.spec
===================================================================
RCS file: /home/wine/wine/dlls/kernel/kernel32.spec,v
retrieving revision 1.100
diff -u -r1.100 kernel32.spec
--- dlls/kernel/kernel32.spec	4 May 2003 02:23:38 -0000	1.100
+++ dlls/kernel/kernel32.spec	25 May 2003 14:08:11 -0000
@@ -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 )
Index: scheduler/process.c
===================================================================
RCS file: /home/wine/wine/scheduler/process.c,v
retrieving revision 1.213
diff -u -r1.213 process.c
--- scheduler/process.c	27 Apr 2003 00:47:58 -0000	1.213
+++ scheduler/process.c	25 May 2003 14:08:12 -0000
@@ -1816,6 +1816,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)


More information about the wine-patches mailing list