mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 12:20:07 +00:00
samlib: Add stubbed samlib.dll.
This commit is contained in:
parent
1765829b78
commit
1ae673f8de
1
configure
vendored
1
configure
vendored
@ -14620,6 +14620,7 @@ wine_fn_config_dll rsabase enable_rsabase
|
||||
wine_fn_config_dll rsaenh enable_rsaenh rsaenh
|
||||
wine_fn_config_test dlls/rsaenh/tests rsaenh_test
|
||||
wine_fn_config_dll rtutils enable_rtutils rtutils
|
||||
wine_fn_config_dll samlib enable_samlib
|
||||
wine_fn_config_dll sane.ds enable_sane_ds
|
||||
wine_fn_config_dll sccbase enable_sccbase
|
||||
wine_fn_config_dll schannel enable_schannel
|
||||
|
@ -2550,6 +2550,7 @@ WINE_CONFIG_DLL(rsabase)
|
||||
WINE_CONFIG_DLL(rsaenh,,[rsaenh])
|
||||
WINE_CONFIG_TEST(dlls/rsaenh/tests)
|
||||
WINE_CONFIG_DLL(rtutils,,[rtutils])
|
||||
WINE_CONFIG_DLL(samlib)
|
||||
WINE_CONFIG_DLL(sane.ds)
|
||||
WINE_CONFIG_DLL(sccbase)
|
||||
WINE_CONFIG_DLL(schannel)
|
||||
|
11
dlls/samlib/Makefile.in
Normal file
11
dlls/samlib/Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = samlib.dll
|
||||
IMPORTS = kernel32
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
48
dlls/samlib/main.c
Normal file
48
dlls/samlib/main.c
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2010 Louis Lenders
|
||||
*
|
||||
* 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 "config.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(samlib);
|
||||
|
||||
/*****************************************************
|
||||
* DllMain
|
||||
*/
|
||||
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||
{
|
||||
TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
|
||||
|
||||
switch(reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(hinst);
|
||||
break;
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
65
dlls/samlib/samlib.spec
Normal file
65
dlls/samlib/samlib.spec
Normal file
@ -0,0 +1,65 @@
|
||||
@ stub SamAddMemberToAlias
|
||||
@ stub SamAddMemberToGroup
|
||||
@ stub SamAddMultipleMembersToAlias
|
||||
@ stub SamChangePasswordUser2
|
||||
@ stub SamChangePasswordUser3
|
||||
@ stub SamChangePasswordUser
|
||||
@ stub SamCloseHandle
|
||||
@ stub SamConnect
|
||||
@ stub SamConnectWithCreds
|
||||
@ stub SamCreateAliasInDomain
|
||||
@ stub SamCreateGroupInDomain
|
||||
@ stub SamCreateUser2InDomain
|
||||
@ stub SamCreateUserInDomain
|
||||
@ stub SamDeleteAlias
|
||||
@ stub SamDeleteGroup
|
||||
@ stub SamDeleteUser
|
||||
@ stub SamEnumerateAliasesInDomain
|
||||
@ stub SamEnumerateDomainsInSamServer
|
||||
@ stub SamEnumerateGroupsInDomain
|
||||
@ stub SamEnumerateUsersInDomain
|
||||
@ stub SamFreeMemory
|
||||
@ stub SamGetAliasMembership
|
||||
@ stub SamGetCompatibilityMode
|
||||
@ stub SamGetDisplayEnumerationIndex
|
||||
@ stub SamGetGroupsForUser
|
||||
@ stub SamGetMembersInAlias
|
||||
@ stub SamGetMembersInGroup
|
||||
@ stub SamLookupDomainInSamServer
|
||||
@ stub SamLookupIdsInDomain
|
||||
@ stub SamLookupNamesInDomain
|
||||
@ stub SamOpenAlias
|
||||
@ stub SamOpenDomain
|
||||
@ stub SamOpenGroup
|
||||
@ stub SamOpenUser
|
||||
@ stub SamQueryDisplayInformation
|
||||
@ stub SamQueryInformationAlias
|
||||
@ stub SamQueryInformationDomain
|
||||
@ stub SamQueryInformationGroup
|
||||
@ stub SamQueryInformationUser
|
||||
@ stub SamQuerySecurityObject
|
||||
@ stub SamRemoveMemberFromAlias
|
||||
@ stub SamRemoveMemberFromForeignDomain
|
||||
@ stub SamRemoveMemberFromGroup
|
||||
@ stub SamRemoveMultipleMembersFromAlias
|
||||
@ stub SamRidToSid
|
||||
@ stub SamSetInformationAlias
|
||||
@ stub SamSetInformationDomain
|
||||
@ stub SamSetInformationGroup
|
||||
@ stub SamSetInformationUser
|
||||
@ stub SamSetMemberAttributesOfGroup
|
||||
@ stub SamSetSecurityObject
|
||||
@ stub SamShutdownSamServer
|
||||
@ stub SamTestPrivateFunctionsDomain
|
||||
@ stub SamTestPrivateFunctionsUser
|
||||
@ stub SamiChangeKeys
|
||||
@ stub SamiChangePasswordUser2
|
||||
@ stub SamiChangePasswordUser3
|
||||
@ stub SamiChangePasswordUser
|
||||
@ stub SamiEncryptPasswords
|
||||
@ stub SamiGetBootKeyInformation
|
||||
@ stub SamiLmChangePasswordUser
|
||||
@ stub SamiOemChangePasswordUser2
|
||||
@ stub SamiSetBootKeyInformation
|
||||
@ stub SamiSetDSRMPassword
|
||||
@ stub SamiSetDSRMPasswordOWF
|
Loading…
Reference in New Issue
Block a user