Author: ekohl
Date: Mon Dec 24 11:50:59 2012
New Revision: 57991
URL:
http://svn.reactos.org/svn/reactos?rev=57991&view=rev
Log:
[SAMLIB]
Implement SamGetCompatibilityMode.
Modified:
trunk/reactos/dll/win32/samlib/samlib.c
trunk/reactos/dll/win32/samlib/samlib.spec
Modified: trunk/reactos/dll/win32/samlib/samlib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samlib/samlib.c?…
==============================================================================
--- trunk/reactos/dll/win32/samlib/samlib.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samlib/samlib.c [iso-8859-1] Mon Dec 24 11:50:59 2012
@@ -723,6 +723,22 @@
NTSTATUS
NTAPI
+SamGetCompatibilityMode(IN SAM_HANDLE ObjectHandle,
+ OUT PULONG Mode)
+{
+ TRACE("(%p %p)\n", ObjectHandle, Mode);
+
+ if (Mode == NULL)
+ return STATUS_INVALID_PARAMETER;
+
+ *Mode = SAM_SID_COMPATIBILITY_ALL;
+
+ return STATUS_SUCCESS;
+}
+
+
+NTSTATUS
+NTAPI
SamGetGroupsForUser(IN SAM_HANDLE UserHandle,
OUT PGROUP_MEMBERSHIP *Groups,
OUT PULONG MembershipCount)
Modified: trunk/reactos/dll/win32/samlib/samlib.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samlib/samlib.sp…
==============================================================================
--- trunk/reactos/dll/win32/samlib/samlib.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samlib/samlib.spec [iso-8859-1] Mon Dec 24 11:50:59 2012
@@ -20,7 +20,7 @@
@ stdcall SamEnumerateUsersInDomain(ptr ptr long ptr long ptr)
@ stdcall SamFreeMemory(ptr)
@ stdcall SamGetAliasMembership(ptr long ptr ptr ptr)
-@ stub SamGetCompatibilityMode
+@ stdcall SamGetCompatibilityMode(ptr ptr)
@ stub SamGetDisplayEnumerationIndex
@ stdcall SamGetGroupsForUser(ptr ptr ptr)
@ stdcall SamGetMembersInAlias(ptr ptr ptr)