Alistair Leslie-Hughes : slc: Initial stub DLL.

Alexandre Julliard julliard at winehq.org
Wed Feb 20 06:46:56 CST 2008


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Feb 20 00:17:08 2008 +1100

slc: Initial stub DLL.

---

 .gitignore           |    1 +
 Makefile.in          |    2 ++
 configure            |    3 +++
 configure.ac         |    1 +
 dlls/Makefile.in     |    5 +++++
 dlls/slc/Makefile.in |   14 ++++++++++++++
 dlls/slc/slc.c       |   44 ++++++++++++++++++++++++++++++++++++++++++++
 dlls/slc/slc.spec    |   41 +++++++++++++++++++++++++++++++++++++++++
 8 files changed, 111 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9702e70..c3b6cca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -479,6 +479,7 @@ dlls/shlwapi/shlwapi.res
 dlls/shlwapi/tests/*.ok
 dlls/shlwapi/tests/shlwapi_crosstest.exe
 dlls/shlwapi/tests/testlist.c
+dlls/slc/libslc.def
 dlls/snmpapi/libsnmpapi.def
 dlls/snmpapi/tests/*.ok
 dlls/snmpapi/tests/snmpapi_crosstest.exe
diff --git a/Makefile.in b/Makefile.in
index e650d0c..2edfc8d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -423,6 +423,7 @@ ALL_MAKEFILES = \
 	dlls/shlwapi/Makefile \
 	dlls/shlwapi/tests/Makefile \
 	dlls/slbcsp/Makefile \
+	dlls/slc/Makefile \
 	dlls/snmpapi/Makefile \
 	dlls/snmpapi/tests/Makefile \
 	dlls/softpub/Makefile \
@@ -837,6 +838,7 @@ dlls/shfolder/Makefile: dlls/shfolder/Makefile.in dlls/Makedll.rules
 dlls/shlwapi/Makefile: dlls/shlwapi/Makefile.in dlls/Makedll.rules
 dlls/shlwapi/tests/Makefile: dlls/shlwapi/tests/Makefile.in dlls/Maketest.rules
 dlls/slbcsp/Makefile: dlls/slbcsp/Makefile.in dlls/Makedll.rules
+dlls/slc/Makefile: dlls/slc/Makefile.in dlls/Makedll.rules
 dlls/snmpapi/Makefile: dlls/snmpapi/Makefile.in dlls/Makedll.rules
 dlls/snmpapi/tests/Makefile: dlls/snmpapi/tests/Makefile.in dlls/Maketest.rules
 dlls/softpub/Makefile: dlls/softpub/Makefile.in dlls/Makedll.rules
diff --git a/configure b/configure
index 66622a1..87b658c 100755
--- a/configure
+++ b/configure
@@ -21697,6 +21697,8 @@ ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
 
 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
 
+ac_config_files="$ac_config_files dlls/slc/Makefile"
+
 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
 
 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
@@ -22796,6 +22798,7 @@ do
     "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
     "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
     "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
+    "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
     "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
     "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
     "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
diff --git a/configure.ac b/configure.ac
index ba0355a..f1071de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1922,6 +1922,7 @@ AC_CONFIG_FILES([dlls/shfolder/Makefile])
 AC_CONFIG_FILES([dlls/shlwapi/Makefile])
 AC_CONFIG_FILES([dlls/shlwapi/tests/Makefile])
 AC_CONFIG_FILES([dlls/slbcsp/Makefile])
+AC_CONFIG_FILES([dlls/slc/Makefile])
 AC_CONFIG_FILES([dlls/snmpapi/Makefile])
 AC_CONFIG_FILES([dlls/snmpapi/tests/Makefile])
 AC_CONFIG_FILES([dlls/softpub/Makefile])
diff --git a/dlls/Makefile.in b/dlls/Makefile.in
index 6885d2a..e2680c9 100644
--- a/dlls/Makefile.in
+++ b/dlls/Makefile.in
@@ -212,6 +212,7 @@ BASEDIRS = \
 	shfolder \
 	shlwapi \
 	slbcsp \
+	slc \
 	snmpapi \
 	softpub \
 	spoolss \
@@ -627,6 +628,7 @@ IMPORT_LIBS = \
 	shell32/libshell32.$(IMPLIBEXT) \
 	shfolder/libshfolder.$(IMPLIBEXT) \
 	shlwapi/libshlwapi.$(IMPLIBEXT) \
+	slc/libslc.$(IMPLIBEXT) \
 	snmpapi/libsnmpapi.$(IMPLIBEXT) \
 	spoolss/libspoolss.$(IMPLIBEXT) \
 	sti/libsti.$(IMPLIBEXT) \
@@ -968,6 +970,9 @@ shfolder/libshfolder.$(IMPLIBEXT): shfolder/shfolder.spec $(WINEBUILD)
 shlwapi/libshlwapi.$(IMPLIBEXT): shlwapi/shlwapi.spec $(WINEBUILD)
 	@cd shlwapi && $(MAKE) libshlwapi.$(IMPLIBEXT)
 
+slc/libslc.$(IMPLIBEXT): slc/slc.spec $(WINEBUILD)
+	@cd slc && $(MAKE) libslc.$(IMPLIBEXT)
+
 snmpapi/libsnmpapi.$(IMPLIBEXT): snmpapi/snmpapi.spec $(WINEBUILD)
 	@cd snmpapi && $(MAKE) libsnmpapi.$(IMPLIBEXT)
 
diff --git a/dlls/slc/Makefile.in b/dlls/slc/Makefile.in
new file mode 100644
index 0000000..2097ca2
--- /dev/null
+++ b/dlls/slc/Makefile.in
@@ -0,0 +1,14 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = slc.dll
+IMPORTLIB = libslc.$(IMPLIBEXT)
+IMPORTS   = kernel32
+
+C_SRCS = \
+	slc.c
+
+ at MAKE_DLL_RULES@
+
+ at DEPENDENCIES@  # everything below this line is overwritten by make depend
diff --git a/dlls/slc/slc.c b/dlls/slc/slc.c
new file mode 100644
index 0000000..40c5287
--- /dev/null
+++ b/dlls/slc/slc.c
@@ -0,0 +1,44 @@
+/*
+ *
+ * Copyright 2008 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(slc);
+
+
+/***********************************************************************
+ *             DllMain   (CLUSAPI.@)
+ *
+ */
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+    switch(fdwReason)
+    {
+    case DLL_WINE_PREATTACH:
+        return FALSE;  /* prefer native version */
+    case DLL_PROCESS_ATTACH:
+        DisableThreadLibraryCalls( hinstDLL );
+        break;
+    }
+    return TRUE;
+}
diff --git a/dlls/slc/slc.spec b/dlls/slc/slc.spec
new file mode 100644
index 0000000..e946247
--- /dev/null
+++ b/dlls/slc/slc.spec
@@ -0,0 +1,41 @@
+@ stub SLpAuthenticateGenuineTicketResponse
+@ stub SLpBeginGenuineTicketTransaction
+@ stub SLpCheckProductKey
+@ stub SLpGetGenuineBlob
+@ stub SLpGetGenuineLocal
+@ stub SLpGetLicenseAcquisitionInfo
+@ stub SLpGetMachineUGUID
+@ stub SLpVLActivateProduct
+@ stub SLClose
+@ stub SLConsumeRight
+@ stub SLConsumeWindowsRight
+@ stub SLDepositOfflineConfirmationId
+@ stub SLFireEvent
+@ stub SLGenerateOfflineInstallationId
+@ stub SLGetInstalledSAMLicenseApplications
+@ stub SLGetLicense
+@ stub SLGetLicenseFileId
+@ stub SLGetLicenseInformation
+@ stub SLGetLicensingStatusInformation
+@ stub SLGetPKeyId
+@ stub SLGetPKeyInformation
+@ stub SLGetPolicyInformation
+@ stub SLGetPolicyInformationDWORD
+@ stub SLGetProductSkuInformation
+@ stub SLGetSAMLicense
+@ stub SLGetSLIDList
+@ stub SLGetServiceInformation
+@ stub SLGetWindowsInformation
+@ stub SLGetWindowsInformationDWORD
+@ stub SLInstallLicense
+@ stub SLInstallProofOfPurchase
+@ stub SLInstallSAMLicense
+@ stub SLOpen
+@ stub SLReArmWindows
+@ stub SLRegisterEvent
+@ stub SLRegisterWindowsEvent
+@ stub SLUninstallLicense
+@ stub SLUninstallProofOfPurchase
+@ stub SLUninstallSAMLicense
+@ stub SLUnregisterEvent
+@ stub SLUnregisterWindowsEvent




More information about the wine-cvs mailing list