Remove wevtapi-EvtNext

fixed by aaf4e1d93d
This commit is contained in:
Zebediah Figura 2018-02-17 12:48:44 -06:00 committed by obsequiousnewt
parent c58d017024
commit 8c1c90df75
3 changed files with 0 additions and 73 deletions

View File

@ -413,7 +413,6 @@ patch_enable_all ()
enable_wbemprox_Printer="$1"
enable_wbemprox_Win32_OperatingSystem="$1"
enable_wbemprox_Win32_VideoController="$1"
enable_wevtapi_EvtNext="$1"
enable_widl_SLTG_Typelib_Support="$1"
enable_windowscodecs_32bppPRGBA="$1"
enable_windowscodecs_GIF_Encoder="$1"
@ -1502,9 +1501,6 @@ patch_enable ()
wbemprox-Win32_VideoController)
enable_wbemprox_Win32_VideoController="$2"
;;
wevtapi-EvtNext)
enable_wevtapi_EvtNext="$2"
;;
widl-SLTG_Typelib_Support)
enable_widl_SLTG_Typelib_Support="$2"
;;
@ -8876,21 +8872,6 @@ if test "$enable_wbemprox_Win32_VideoController" -eq 1; then
) >> "$patchlist"
fi
# Patchset wevtapi-EvtNext
# |
# | This patchset fixes the following Wine bugs:
# | * [#42170] Add stub for wevtapi.EvtNext
# |
# | Modified files:
# | * dlls/wevtapi/main.c, dlls/wevtapi/wevtapi.spec
# |
if test "$enable_wevtapi_EvtNext" -eq 1; then
patch_apply wevtapi-EvtNext/0001-wevtapi-Add-stub-for-EvtNext.patch
(
printf '%s\n' '+ { "Michael Müller", "wevtapi: Add stub for EvtNext.", 1 },';
) >> "$patchlist"
fi
# Patchset windowscodecs-Palette_Images
# |
# | Modified files:

View File

@ -1,53 +0,0 @@
From 31dab1225f9a417df6237c0f33a57128645af4d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
Date: Thu, 2 Feb 2017 20:06:04 +0100
Subject: wevtapi: Add stub for EvtNext.
---
dlls/wevtapi/main.c | 16 ++++++++++++++++
dlls/wevtapi/wevtapi.spec | 2 +-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/dlls/wevtapi/main.c b/dlls/wevtapi/main.c
index 0b88165abae..f0a8f729f24 100644
--- a/dlls/wevtapi/main.c
+++ b/dlls/wevtapi/main.c
@@ -80,6 +80,22 @@ EVT_HANDLE WINAPI EvtOpenChannelConfig(EVT_HANDLE Session, LPCWSTR ChannelPath,
return NULL;
}
+BOOL WINAPI EvtNext(EVT_HANDLE result, DWORD size, EVT_HANDLE *array, DWORD timeout,
+ DWORD flags, DWORD *ret_count)
+{
+ FIXME("(%p %u %p %u %u %p) stub\n", result, size, array, timeout, flags, ret_count);
+
+ if (timeout)
+ {
+ Sleep(timeout);
+ SetLastError(ERROR_TIMEOUT);
+ return FALSE;
+ }
+
+ SetLastError(ERROR_NO_MORE_ITEMS);
+ return FALSE;
+}
+
BOOL WINAPI EvtClose(EVT_HANDLE handle)
{
FIXME("(%p) stub\n", handle);
diff --git a/dlls/wevtapi/wevtapi.spec b/dlls/wevtapi/wevtapi.spec
index 328b0dbcd98..cf6002fa48d 100644
--- a/dlls/wevtapi/wevtapi.spec
+++ b/dlls/wevtapi/wevtapi.spec
@@ -25,7 +25,7 @@
@ stub EvtIntRetractConfig
@ stub EvtIntSysprepCleanup
@ stub EvtIntWriteXmlEventToLocalLogfile
-@ stub EvtNext
+@ stdcall EvtNext(ptr long ptr long long ptr)
@ stub EvtNextChannelPath
@ stub EvtNextEventMetadata
@ stub EvtNextPublisherId
--
2.11.0

View File

@ -1 +0,0 @@
Fixes: [42170] Add stub for wevtapi.EvtNext