[PATCH] Initial slc DLL

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Feb 19 07:17:08 CST 2008


---
 dlls/slc/Makefile.in |   15 +++++++++++++++
 dlls/slc/slc.c       |   44 ++++++++++++++++++++++++++++++++++++++++++++
 dlls/slc/slc.spec    |   42 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 101 insertions(+), 0 deletions(-)
 create mode 100644 dlls/slc/Makefile.in
 create mode 100644 dlls/slc/slc.c
 create mode 100644 dlls/slc/slc.spec

diff --git a/dlls/slc/Makefile.in b/dlls/slc/Makefile.in
new file mode 100644
index 0000000..20fec6f
--- /dev/null
+++ b/dlls/slc/Makefile.in
@@ -0,0 +1,15 @@
+EXTRADEFS = -D_SLC_
+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..cdf2124
--- /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..6c16806
--- /dev/null
+++ b/dlls/slc/slc.spec
@@ -0,0 +1,42 @@
+@ 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
+
-- 
1.5.4.1


--------------060209030902000105000608--




More information about the wine-patches mailing list