mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
- Add samsrv.dll stub.
- Install cfgmgr32.dll, lsasrv.dll and samsrv.dll. svn path=/trunk/; revision=18492
This commit is contained in:
parent
fd7c8f26a8
commit
85acbb6eec
6 changed files with 150 additions and 0 deletions
|
@ -72,6 +72,7 @@ lib\cpl\main\main.cpl 1
|
||||||
lib\cpl\ncpa\ncpa.cpl 1
|
lib\cpl\ncpa\ncpa.cpl 1
|
||||||
lib\cpl\sysdm\sysdm.cpl 1
|
lib\cpl\sysdm\sysdm.cpl 1
|
||||||
lib\cpl\timedate\timedate.cpl 1
|
lib\cpl\timedate\timedate.cpl 1
|
||||||
|
lib\cfgmgr32\cfgmgr32.dll 1
|
||||||
lib\comctl32\comctl32.dll 1
|
lib\comctl32\comctl32.dll 1
|
||||||
lib\comdlg32\comdlg32.dll 1
|
lib\comdlg32\comdlg32.dll 1
|
||||||
lib\crtdll\crtdll.dll 1
|
lib\crtdll\crtdll.dll 1
|
||||||
|
@ -104,6 +105,7 @@ lib\keyboard\kbdsg\kbdsg.dll 1
|
||||||
lib\keyboard\kbduk\kbduk.dll 1
|
lib\keyboard\kbduk\kbduk.dll 1
|
||||||
lib\keyboard\kbdus\kbdus.dll 1
|
lib\keyboard\kbdus\kbdus.dll 1
|
||||||
lib\kernel32\kernel32.dll 1
|
lib\kernel32\kernel32.dll 1
|
||||||
|
lib\lsasrv\lsasrv.dll 1
|
||||||
lib\lzexpand\lz32.dll 1
|
lib\lzexpand\lz32.dll 1
|
||||||
lib\mesa32\mesa32.dll 1
|
lib\mesa32\mesa32.dll 1
|
||||||
lib\winmm\midimap\midimap.dll 1
|
lib\winmm\midimap\midimap.dll 1
|
||||||
|
@ -134,6 +136,7 @@ lib\riched20\riched20.dll 1
|
||||||
lib\richedit\riched32.dll 1
|
lib\richedit\riched32.dll 1
|
||||||
lib\rpcrt4\rpcrt4.dll 1
|
lib\rpcrt4\rpcrt4.dll 1
|
||||||
lib\samlib\samlib.dll 1
|
lib\samlib\samlib.dll 1
|
||||||
|
lib\samsrv\samsrv.dll 1
|
||||||
lib\secur32\secur32.dll 1
|
lib\secur32\secur32.dll 1
|
||||||
lib\serialui\serialui.dll 1
|
lib\serialui\serialui.dll 1
|
||||||
lib\setupapi\setupapi.dll 1
|
lib\setupapi\setupapi.dll 1
|
||||||
|
|
|
@ -224,6 +224,9 @@
|
||||||
<directory name="samlib">
|
<directory name="samlib">
|
||||||
<xi:include href="samlib/samlib.xml" />
|
<xi:include href="samlib/samlib.xml" />
|
||||||
</directory>
|
</directory>
|
||||||
|
<directory name="samsrv">
|
||||||
|
<xi:include href="samsrv/samsrv.xml" />
|
||||||
|
</directory>
|
||||||
<directory name="secur32">
|
<directory name="secur32">
|
||||||
<xi:include href="secur32/secur32.xml" />
|
<xi:include href="secur32/secur32.xml" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
51
reactos/lib/samsrv/samsrv.c
Normal file
51
reactos/lib/samsrv/samsrv.c
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
/*
|
||||||
|
* SAM Server DLL
|
||||||
|
* Copyright (C) 2005 Eric Kohl
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program 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 General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES *****************************************************************/
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
#define NTOS_MODE_USER
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
//#include <samsrv.h>
|
||||||
|
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
|
|
||||||
|
/* FUNCTIONS ****************************************************************/
|
||||||
|
|
||||||
|
NTSTATUS STDCALL
|
||||||
|
SamIInitialize(VOID)
|
||||||
|
{
|
||||||
|
DPRINT1("SamIInitialize() called\n");
|
||||||
|
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NTSTATUS STDCALL
|
||||||
|
SampInitializeRegistry(VOID)
|
||||||
|
{
|
||||||
|
DPRINT1("SampInitializeRegistry() called\n");
|
||||||
|
|
||||||
|
return STATUS_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* EOF */
|
75
reactos/lib/samsrv/samsrv.def
Normal file
75
reactos/lib/samsrv/samsrv.def
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
LIBRARY samsrv
|
||||||
|
EXPORTS
|
||||||
|
;SamIAccountRestrictions
|
||||||
|
;SamIConnect
|
||||||
|
;SamICreateAccountByRid
|
||||||
|
;SamIEnumerateAccountRids
|
||||||
|
;SamIFree_SAMPR_ALIAS_INFO_BUFFER
|
||||||
|
;SamIFree_SAMPR_DISPLAY_INFO_BUFFER
|
||||||
|
;SamIFree_SAMPR_DOMAIN_INFO_BUFFER
|
||||||
|
;SamIFree_SAMPR_ENUMERATION_BUFFER
|
||||||
|
;SamIFree_SAMPR_GET_GROUPS_BUFFER
|
||||||
|
;SamIFree_SAMPR_GET_MEMBERS_BUFFER
|
||||||
|
;SamIFree_SAMPR_GROUP_INFO_BUFFER
|
||||||
|
;SamIFree_SAMPR_PSID_ARRAY
|
||||||
|
;SamIFree_SAMPR_RETURNED_USTRING_ARRAY
|
||||||
|
;SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR
|
||||||
|
;SamIFree_SAMPR_ULONG_ARRAY
|
||||||
|
;SamIFree_SAMPR_USER_INFO_BUFFER
|
||||||
|
;SamIGetPrivateData
|
||||||
|
;SamIGetSerialNumberDomain
|
||||||
|
SamIInitialize@0
|
||||||
|
;SamINotifyDelta
|
||||||
|
;SamISetAuditingInformation
|
||||||
|
;SamISetPrivateData
|
||||||
|
;SamISetSerialNumberDomain
|
||||||
|
SampInitializeRegistry@0
|
||||||
|
;SampRtlConvertUlongToUnicodeString
|
||||||
|
;SamrAddMemberToAlias
|
||||||
|
;SamrAddMemberToGroup
|
||||||
|
;SamrAddMultipleMemberstoAlias
|
||||||
|
;SamrChangePasswordUser
|
||||||
|
;SamrCloseHandle
|
||||||
|
;SamrConnect
|
||||||
|
;SamrCreateAliasInDomain
|
||||||
|
;SamrCreateGroupInDomain
|
||||||
|
;SamrCreateUserInDomain
|
||||||
|
;SamrDeleteAlias
|
||||||
|
;SamrDeleteGroup
|
||||||
|
;SamrDeleteUser
|
||||||
|
;SamrEnumerateAliasesInDomain
|
||||||
|
;SamrEnumerateDomainsInSamServer
|
||||||
|
;SamrEnumerateGroupsInDomain
|
||||||
|
;SamrEnumerateUsersInDomain
|
||||||
|
;SamrGetAliasMembership
|
||||||
|
;SamrGetGroupsForUser
|
||||||
|
;SamrGetMembersInAlias
|
||||||
|
;SamrGetMembersInGroup
|
||||||
|
;SamrGetUserDomainPasswordInformation
|
||||||
|
;SamrLookupDomainInSamServer
|
||||||
|
;SamrLookupIdsInDomain
|
||||||
|
;SamrLookupNamesInDomain
|
||||||
|
;SamrOpenAlias
|
||||||
|
;SamrOpenDomain
|
||||||
|
;SamrOpenGroup
|
||||||
|
;SamrOpenUser
|
||||||
|
;SamrQueryDisplayInformation
|
||||||
|
;SamrQueryInformationAlias
|
||||||
|
;SamrQueryInformationDomain
|
||||||
|
;SamrQueryInformationGroup
|
||||||
|
;SamrQueryInformationUser
|
||||||
|
;SamrQuerySecurityObject
|
||||||
|
;SamrRemoveMemberFromAlias
|
||||||
|
;SamrRemoveMemberFromForeignDomain
|
||||||
|
;SamrRemoveMemberFromGroup
|
||||||
|
;SamrRemoveMultipleMembersFromAlias
|
||||||
|
;SamrSetInformationAlias
|
||||||
|
;SamrSetInformationDomain
|
||||||
|
;SamrSetInformationGroup
|
||||||
|
;SamrSetInformationUser
|
||||||
|
;SamrSetMemberAttributesOfGroup
|
||||||
|
;SamrSetSecurityObject
|
||||||
|
;SamrShutdownSamServer
|
||||||
|
;SamrTestPrivateFunctionsDomain
|
||||||
|
;SamrTestPrivateFunctionsUser
|
||||||
|
; EOF
|
5
reactos/lib/samsrv/samsrv.rc
Normal file
5
reactos/lib/samsrv/samsrv.rc
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#define REACTOS_VERSION_DLL
|
||||||
|
#define REACTOS_STR_FILE_DESCRIPTION "SAM server DLL\0"
|
||||||
|
#define REACTOS_STR_INTERNAL_NAME "samsrv\0"
|
||||||
|
#define REACTOS_STR_ORIGINAL_FILENAME "samsrv.dll\0"
|
||||||
|
#include <reactos/version.rc>
|
13
reactos/lib/samsrv/samsrv.xml
Normal file
13
reactos/lib/samsrv/samsrv.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<module name="samsrv" type="win32dll" baseaddress="${BASEADDRESS_SAMSRV}" entrypoint="0" installbase="system32" installname="samsrv.dll">
|
||||||
|
<importlibrary definition="samsrv.def" />
|
||||||
|
<include base="samsrv">.</include>
|
||||||
|
<define name="UNICODE" />
|
||||||
|
<define name="_UNICODE" />
|
||||||
|
<define name="__USE_W32API" />
|
||||||
|
<linkerflag>-nostartfiles</linkerflag>
|
||||||
|
<linkerflag>-nostdlib</linkerflag>
|
||||||
|
<library>ntdll</library>
|
||||||
|
<library>kernel32</library>
|
||||||
|
<file>samsrv.c</file>
|
||||||
|
<file>samsrv.rc</file>
|
||||||
|
</module>
|
Loading…
Reference in a new issue