diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index 8201bca9ef9..51a4e8e3de4 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -429,7 +429,7 @@ debug_channels (comm debugstr dll int resource stress thunk toolhelp win32) @ stdcall GetProfileSectionW(wstr ptr long) GetProfileSectionW @ stdcall GetProfileStringA(str str str ptr long) GetProfileStringA @ stdcall GetProfileStringW(wstr wstr wstr ptr long) GetProfileStringW -@ stub GetQueuedCompletionStatus +@ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long) GetQueuedCompletionStatus @ stub GetSLCallbackTarget @ stub GetSLCallbackTemplate @ stdcall GetShortPathNameA(str ptr long) GetShortPathNameA diff --git a/win32/newfns.c b/win32/newfns.c index 3d5a9919e6c..d12c43166c1 100644 --- a/win32/newfns.c +++ b/win32/newfns.c @@ -298,3 +298,15 @@ DWORD dwNumberOfConcurrentThreads) FIXME("(%04x, %04x, %08lx, %08lx): stub.\n", hFileHandle, hExistingCompletionPort, dwCompletionKey, dwNumberOfConcurrentThreads); return (HANDLE)NULL; } + +/****************************************************************************** + * GetQueuedCompletionStatus (KERNEL32.@) + */ +BOOL WINAPI GetQueuedCompletionStatus( + HANDLE CompletionPort, LPDWORD lpNumberOfBytesTransferred, + LPDWORD lpCompletionKey, LPOVERLAPPED *lpOverlapped, DWORD dwMilliseconds +) { + FIXME("(%x,%p,%p,%p,%ld), stub!\n",CompletionPort,lpNumberOfBytesTransferred,lpCompletionKey,lpOverlapped,dwMilliseconds); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}