Author: ekohl
Date: Wed May 29 20:21:42 2013
New Revision: 59109
URL:
http://svn.reactos.org/svn/reactos?rev=59109&view=rev
Log:
[SAMSRV]
Implement SamIFree_SAMPR_GET_GROUPS_BUFFER.
Modified:
trunk/reactos/dll/win32/samsrv/samsrv.c
trunk/reactos/dll/win32/samsrv/samsrv.spec
Modified: trunk/reactos/dll/win32/samsrv/samsrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samsrv.c?…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samsrv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samsrv.c [iso-8859-1] Wed May 29 20:21:42 2013
@@ -167,6 +167,20 @@
VOID
NTAPI
+SamIFree_SAMPR_GET_GROUPS_BUFFER(PSAMPR_GET_GROUPS_BUFFER Ptr)
+{
+ if (Ptr != NULL)
+ {
+ if (Ptr->Groups != NULL)
+ MIDL_user_free(Ptr->Groups);
+
+ MIDL_user_free(Ptr);
+ }
+}
+
+
+VOID
+NTAPI
SamIFree_SAMPR_PSID_ARRAY(PSAMPR_PSID_ARRAY Ptr)
{
if (Ptr != NULL)
Modified: trunk/reactos/dll/win32/samsrv/samsrv.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samsrv.sp…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samsrv.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samsrv.spec [iso-8859-1] Wed May 29 20:21:42 2013
@@ -21,7 +21,7 @@
@ stub SamIFree_SAMPR_DISPLAY_INFO_BUFFER
@ stub SamIFree_SAMPR_DOMAIN_INFO_BUFFER
@ stdcall SamIFree_SAMPR_ENUMERATION_BUFFER(ptr)
-@ stub SamIFree_SAMPR_GET_GROUPS_BUFFER
+@ stdcall SamIFree_SAMPR_GET_GROUPS_BUFFER(ptr)
@ stub SamIFree_SAMPR_GET_MEMBERS_BUFFER
@ stub SamIFree_SAMPR_GROUP_INFO_BUFFER
@ stdcall SamIFree_SAMPR_PSID_ARRAY(ptr)