Module: wine Branch: master Commit: 06562d16b3d50c063ead525e0307dae34fcf9ae1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=06562d16b3d50c063ead525e03...
Author: Hans Leidekker hans@codeweavers.com Date: Mon Jan 10 09:42:41 2011 +0100
kernel32: Add a stub implementation of GetThreadIOPendingFlag.
---
dlls/kernel32/kernel32.spec | 2 +- dlls/kernel32/thread.c | 10 ++++++++++ include/winbase.h | 1 + 3 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/kernel32.spec b/dlls/kernel32/kernel32.spec index 98e0fa0..c2f7bc2 100644 --- a/dlls/kernel32/kernel32.spec +++ b/dlls/kernel32/kernel32.spec @@ -649,7 +649,7 @@ @ stdcall GetThreadContext(long ptr) @ stdcall GetThreadErrorMode() @ stdcall GetThreadId(ptr) -# @ stub GetThreadIOPendingFlag +@ stdcall GetThreadIOPendingFlag(long ptr) @ stdcall GetThreadLocale() @ stdcall GetThreadPriority(long) @ stdcall GetThreadPriorityBoost(long ptr) diff --git a/dlls/kernel32/thread.c b/dlls/kernel32/thread.c index 691ef02..bddf37d 100644 --- a/dlls/kernel32/thread.c +++ b/dlls/kernel32/thread.c @@ -796,3 +796,13 @@ LANGID WINAPI GetThreadUILanguage( void ) FIXME(": stub, returning default language.\n"); return lang; } + +/*********************************************************************** + * GetThreadIOPendingFlag (KERNEL32.@) + */ +BOOL WINAPI GetThreadIOPendingFlag( HANDLE thread, PBOOL io_pending ) +{ + FIXME("%p, %p\n", thread, io_pending); + *io_pending = FALSE; + return TRUE; +} diff --git a/include/winbase.h b/include/winbase.h index a233a0a..1222bec 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1775,6 +1775,7 @@ WINBASEAPI DWORD WINAPI GetTempPathA(DWORD,LPSTR); WINBASEAPI DWORD WINAPI GetTempPathW(DWORD,LPWSTR); #define GetTempPath WINELIB_NAME_AW(GetTempPath) WINBASEAPI DWORD WINAPI GetThreadId(HANDLE); +WINBASEAPI BOOL WINAPI GetThreadIOPendingFlag(HANDLE,PBOOL); WINBASEAPI DWORD WINAPI GetTickCount(void); WINBASEAPI ULONGLONG WINAPI GetTickCount64(void); WINBASEAPI DWORD WINAPI GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);