slc: Initial stub DLL.

This commit is contained in:
Alistair Leslie-Hughes 2008-02-20 00:17:08 +11:00 committed by Alexandre Julliard
parent 5b3f53baf9
commit ea563709ef
8 changed files with 111 additions and 0 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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

3
configure vendored
View File

@ -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" ;;

View File

@ -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])

View File

@ -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)

14
dlls/slc/Makefile.in Normal file
View File

@ -0,0 +1,14 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = slc.dll
IMPORTLIB = libslc.$(IMPLIBEXT)
IMPORTS = kernel32
C_SRCS = \
slc.c
@MAKE_DLL_RULES@
@DEPENDENCIES@ # everything below this line is overwritten by make depend

44
dlls/slc/slc.c Normal file
View File

@ -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;
}

41
dlls/slc/slc.spec Normal file
View File

@ -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