Andrey Gusev : slc: Add SLOpen stub.

Alexandre Julliard julliard at winehq.org
Mon Nov 19 15:59:38 CST 2018


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

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Sat Nov 17 13:54:11 2018 +0200

slc: Add SLOpen stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46156
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/slc/slc.c     | 7 +++++++
 dlls/slc/slc.spec  | 2 +-
 include/slpublic.h | 4 +++-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/dlls/slc/slc.c b/dlls/slc/slc.c
index a0d8999..7b7a6c6 100644
--- a/dlls/slc/slc.c
+++ b/dlls/slc/slc.c
@@ -62,6 +62,13 @@ HRESULT WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwVa
     return status ? E_FAIL : S_OK;
 }
 
+HRESULT WINAPI SLOpen(HSLC *handle)
+{
+    FIXME("(%p) stub\n", handle );
+
+    return S_OK;
+}
+
 /***********************************************************************
  *             DllMain   (CLUSAPI.@)
  *
diff --git a/dlls/slc/slc.spec b/dlls/slc/slc.spec
index af5545c..e4289d3 100644
--- a/dlls/slc/slc.spec
+++ b/dlls/slc/slc.spec
@@ -30,7 +30,7 @@
 @ stub SLInstallLicense
 @ stub SLInstallProofOfPurchase
 @ stub SLInstallSAMLicense
-@ stub SLOpen
+@ stdcall SLOpen(ptr)
 @ stub SLReArmWindows
 @ stub SLRegisterEvent
 @ stub SLRegisterWindowsEvent
diff --git a/include/slpublic.h b/include/slpublic.h
index c8bb559..dc02f3c 100644
--- a/include/slpublic.h
+++ b/include/slpublic.h
@@ -29,6 +29,8 @@ extern "C" {
 #define SLCAPI DECLSPEC_IMPORT
 #endif
 
+typedef PVOID HSLC;
+
 typedef enum _tagSLDATATYPE
 {
     SL_DATA_NONE     = REG_NONE,
@@ -41,7 +43,7 @@ typedef enum _tagSLDATATYPE
 
 SLCAPI HRESULT WINAPI SLGetWindowsInformation(LPCWSTR, SLDATATYPE*, UINT*, LPBYTE*);
 SLCAPI HRESULT WINAPI SLGetWindowsInformationDWORD(LPCWSTR, LPDWORD);
-
+SLCAPI HRESULT WINAPI SLOpen(HSLC*);
 
 #ifdef __cplusplus
 }




More information about the wine-cvs mailing list