From 47fbe2ee3b166b9f991eee4b2899417a9c832316 Mon Sep 17 00:00:00 2001 From: Mike Battista <13860912+mikebattista@users.noreply.github.com> Date: Fri, 16 Aug 2024 16:50:06 -0700 Subject: [PATCH] WSASetEvent and WSAResetEvent should take a WSAEVENT instead of a HANDLE. Fixed #1960. --- generation/WinSDK/emitter.settings.rsp | 2 ++ scripts/ChangesSinceLastRelease.txt | 3 +++ 2 files changed, 5 insertions(+) diff --git a/generation/WinSDK/emitter.settings.rsp b/generation/WinSDK/emitter.settings.rsp index e73fa307..42d754a3 100644 --- a/generation/WinSDK/emitter.settings.rsp +++ b/generation/WinSDK/emitter.settings.rsp @@ -1852,6 +1852,8 @@ WSACloseEvent::hEvent=WSAEVENT WSACreateEvent::return=WSAEVENT WSAEnumNetworkEvents::hEventObject=WSAEVENT WSAEventSelect::hEventObject=WSAEVENT +WSAResetEvent::hEvent=WSAEVENT +WSASetEvent::hEvent=WSAEVENT ScriptStringAnalyse::piDx=[-NativeArrayInfo] LoadIconMetric::hinst=[In][Optional] LoadIconWithScaleDown::hinst=[In][Optional] diff --git a/scripts/ChangesSinceLastRelease.txt b/scripts/ChangesSinceLastRelease.txt index adfbb7cd..851872f1 100644 --- a/scripts/ChangesSinceLastRelease.txt +++ b/scripts/ChangesSinceLastRelease.txt @@ -1217,3 +1217,6 @@ Windows.Win32.Globalization.Apis.utrans_transIncremental : [DllImport(icu.dll,Ca Windows.Win32.Globalization.Apis.utrans_transIncrementalUChars : [DllImport(icu.dll,CallingConvention=2,ExactSpelling=True,PreserveSig=False)] => [DllImport(icuin.dll,CallingConvention=2,ExactSpelling=True,PreserveSig=False)] Windows.Win32.Globalization.Apis.utrans_transUChars : [DllImport(icu.dll,CallingConvention=2,ExactSpelling=True,PreserveSig=False)] => [DllImport(icuin.dll,CallingConvention=2,ExactSpelling=True,PreserveSig=False)] Windows.Win32.Globalization.Apis.utrans_unregisterID : [DllImport(icu.dll,CallingConvention=2,ExactSpelling=True,PreserveSig=False)] => [DllImport(icuin.dll,CallingConvention=2,ExactSpelling=True,PreserveSig=False)] ++# Fixed #1960. ++Windows.Win32.Networking.WinSock.Apis.WSAResetEvent : hEvent...HANDLE => WSAEVENT ++Windows.Win32.Networking.WinSock.Apis.WSASetEvent : hEvent...HANDLE => WSAEVENT