Esme Povirk : slc: Return a non-zero handle from SLOpen.

Alexandre Julliard julliard at winehq.org
Mon May 10 15:44:04 CDT 2021


Module: wine
Branch: master
Commit: ab017a7c368c0c3cf51b0a27215433dd0f7685a4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ab017a7c368c0c3cf51b0a27215433dd0f7685a4

Author: Esme Povirk <esme at codeweavers.com>
Date:   Sat May  8 14:21:25 2021 -0500

slc: Return a non-zero handle from SLOpen.

Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/slc/slc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dlls/slc/slc.c b/dlls/slc/slc.c
index b246a7dfc1a..d36ce88c4fd 100644
--- a/dlls/slc/slc.c
+++ b/dlls/slc/slc.c
@@ -74,5 +74,10 @@ HRESULT WINAPI SLOpen(HSLC *handle)
 {
     FIXME("(%p) stub\n", handle );
 
+    if (!handle)
+        return E_INVALIDARG;
+
+    *handle = (HSLC)0xdeadbeef;
+
     return S_OK;
 }




More information about the wine-cvs mailing list