From 41f1cd4bdacfd92c825910126a9d940423272218 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Mon, 23 Sep 2002 19:20:34 +0000 Subject: [PATCH] Added some stubbs for the WINE kernel32 regression test svn path=/trunk/; revision=3534 --- reactos/lib/kernel32/kernel32.def | 3 +++ reactos/lib/kernel32/kernel32.edf | 5 ++++- reactos/lib/kernel32/misc/stubs.c | 27 ++++++++++++++++++++++++++- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/kernel32.def b/reactos/lib/kernel32/kernel32.def index 205916208c3..7b85830bb0a 100644 --- a/reactos/lib/kernel32/kernel32.def +++ b/reactos/lib/kernel32/kernel32.def @@ -344,6 +344,7 @@ GetTempPathW@8 GetThreadContext@8 GetThreadLocale@0 GetThreadPriority@4 +GetThreadPriorityBoost@8 GetThreadSelectorEntry@12 GetThreadTimes@20 GetTickCount@0 @@ -574,8 +575,10 @@ SetTapeParameters@12 SetTapePosition@24 SetThreadAffinityMask@8 SetThreadContext@8 +SetThreadIdealProcessor@8 SetThreadLocale@4 SetThreadPriority@8 +SetThreadPriorityBoost@8 SetTimeZoneInformation@4 SetUnhandledExceptionFilter@4 SetVDMCurrentDirectories@8 diff --git a/reactos/lib/kernel32/kernel32.edf b/reactos/lib/kernel32/kernel32.edf index 8c430196713..9e94185156a 100644 --- a/reactos/lib/kernel32/kernel32.edf +++ b/reactos/lib/kernel32/kernel32.edf @@ -1,4 +1,4 @@ -; $Id: kernel32.edf,v 1.13 2002/09/08 10:22:41 chorns Exp $ +; $Id: kernel32.edf,v 1.14 2002/09/23 19:20:34 sedwards Exp $ ; ; kernel32.edf ; @@ -348,6 +348,7 @@ GetTempPathW=GetTempPathW@8 GetThreadContext=GetThreadContext@8 GetThreadLocale=GetThreadLocale@0 GetThreadPriority=GetThreadPriority@4 +GetThreadPriorityBoost=GetThreadPriorityBoost@8 GetThreadSelectorEntry=GetThreadSelectorEntry@12 GetThreadTimes=GetThreadTimes@20 GetTickCount=GetTickCount@0 @@ -578,8 +579,10 @@ SetTapeParameters=SetTapeParameters@12 SetTapePosition=SetTapePosition@24 SetThreadAffinityMask=SetThreadAffinityMask@8 SetThreadContext=SetThreadContext@8 +SetThreadIdealProcessor=SetThreadIdealProcessor@8 SetThreadLocale=SetThreadLocale@4 SetThreadPriority=SetThreadPriority@8 +SetThreadPriorityBoost=SetThreadPriorityBoost@8 SetTimeZoneInformation=SetTimeZoneInformation@4 SetUnhandledExceptionFilter=SetUnhandledExceptionFilter@4 SetVDMCurrentDirectories=SetVDMCurrentDirectories@8 diff --git a/reactos/lib/kernel32/misc/stubs.c b/reactos/lib/kernel32/misc/stubs.c index 4ecd6c85c4f..2335995673d 100644 --- a/reactos/lib/kernel32/misc/stubs.c +++ b/reactos/lib/kernel32/misc/stubs.c @@ -1,4 +1,4 @@ -/* $Id: stubs.c,v 1.32 2002/09/08 10:22:45 chorns Exp $ +/* $Id: stubs.c,v 1.33 2002/09/23 19:20:34 sedwards Exp $ * * KERNEL32.DLL stubs (unimplemented functions) * Remove from this file, if you implement them. @@ -679,6 +679,17 @@ GetThreadLocale (VOID) ); } +WINBOOL +STDCALL +GetThreadPriorityBoost ( + HANDLE hThread, + DWORD dwSelector, + LPLDT_ENTRY lpSelectorEntry + ) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +} WINBOOL STDCALL @@ -1196,6 +1207,13 @@ SetSystemPowerState ( return FALSE; } +WINBOOL +STDCALL +SetThreadIdealProcessor(VOID) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} WINBOOL STDCALL @@ -1207,6 +1225,13 @@ SetThreadLocale ( return FALSE; } +WINBOOL +STDCALL +SetThreadPriorityBoost(VOID) +{ + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} WINBOOL STDCALL