kernel32: Add GetQueuedCompletionStatusEx stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=43878 Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4a8a8bddda
commit
f1be5c7861
|
@ -3,5 +3,5 @@
|
|||
@ stdcall DeviceIoControl(long long ptr long ptr long ptr ptr) kernel32.DeviceIoControl
|
||||
@ stdcall GetOverlappedResult(long ptr ptr long) kernel32.GetOverlappedResult
|
||||
@ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long) kernel32.GetQueuedCompletionStatus
|
||||
@ stub GetQueuedCompletionStatusEx
|
||||
@ stdcall GetQueuedCompletionStatusEx(long ptr long ptr long long) kernel32.GetQueuedCompletionStatusEx
|
||||
@ stdcall PostQueuedCompletionStatus(long long ptr ptr) kernel32.PostQueuedCompletionStatus
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
@ stdcall GetOverlappedResult(long ptr ptr long) kernel32.GetOverlappedResult
|
||||
@ stub GetOverlappedResultEx
|
||||
@ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long) kernel32.GetQueuedCompletionStatus
|
||||
@ stub GetQueuedCompletionStatusEx
|
||||
@ stdcall GetQueuedCompletionStatusEx(long ptr long ptr long long) kernel32.GetQueuedCompletionStatusEx
|
||||
@ stdcall PostQueuedCompletionStatus(long long ptr ptr) kernel32.PostQueuedCompletionStatus
|
||||
|
|
|
@ -804,7 +804,7 @@
|
|||
@ stdcall GetProfileStringA(str str str ptr long)
|
||||
@ stdcall GetProfileStringW(wstr wstr wstr ptr long)
|
||||
@ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long)
|
||||
# @ stub GetQueuedCompletionStatusEx
|
||||
@ stdcall GetQueuedCompletionStatusEx(long ptr long ptr long long)
|
||||
@ stub -i386 GetSLCallbackTarget
|
||||
@ stub -i386 GetSLCallbackTemplate
|
||||
@ stdcall GetShortPathNameA(str ptr long)
|
||||
|
|
|
@ -2377,6 +2377,18 @@ BOOL WINAPI GetQueuedCompletionStatus( HANDLE CompletionPort, LPDWORD lpNumberOf
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* GetQueuedCompletionStatusEx (KERNEL32.@)
|
||||
*/
|
||||
BOOL WINAPI GetQueuedCompletionStatusEx(HANDLE completion_port, LPOVERLAPPED_ENTRY completion_port_entries,
|
||||
ULONG count, ULONG *num_entries_removed, DWORD milliseconds,
|
||||
BOOL alertable)
|
||||
{
|
||||
FIXME("(%p, %p, %d, %p, %d, %d) stub!\n",
|
||||
completion_port, completion_port_entries, count, num_entries_removed, milliseconds, alertable);
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* PostQueuedCompletionStatus (KERNEL32.@)
|
||||
|
|
|
@ -645,7 +645,7 @@
|
|||
# @ stub GetPublisherCacheFolder
|
||||
# @ stub GetPublisherRootFolder
|
||||
@ stdcall GetQueuedCompletionStatus(long ptr ptr ptr long) kernel32.GetQueuedCompletionStatus
|
||||
@ stub GetQueuedCompletionStatusEx
|
||||
@ stdcall GetQueuedCompletionStatusEx(long ptr long ptr long long) kernel32.GetQueuedCompletionStatusEx
|
||||
# @ stub GetRegistryExtensionFlags
|
||||
# @ stub GetRoamingLastObservedChangeTime
|
||||
@ stdcall GetSecurityDescriptorControl(ptr ptr ptr) advapi32.GetSecurityDescriptorControl
|
||||
|
|
|
@ -565,6 +565,13 @@ typedef struct _OVERLAPPED {
|
|||
HANDLE hEvent;
|
||||
} OVERLAPPED, *LPOVERLAPPED;
|
||||
|
||||
typedef struct _OVERLAPPED_ENTRY {
|
||||
ULONG_PTR lpCompletionKey;
|
||||
LPOVERLAPPED lpOverlapped;
|
||||
ULONG_PTR Internal;
|
||||
DWORD dwNumberOfBytesTransferred;
|
||||
} OVERLAPPED_ENTRY, *LPOVERLAPPED_ENTRY;
|
||||
|
||||
typedef VOID (CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED);
|
||||
|
||||
/* Process startup information.
|
||||
|
|
Loading…
Reference in New Issue