Author: ekohl
Date: Sun Jul 14 14:22:30 2013
New Revision: 59484
URL:
http://svn.reactos.org/svn/reactos?rev=59484&view=rev
Log:
[SAMSRV]
Implement SamIFree_SAMPR_GET_MEMBERS_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] Sun Jul 14 14:22:30 2013
@@ -181,6 +181,23 @@
VOID
NTAPI
+SamIFree_SAMPR_GET_MEMBERS_BUFFER(PSAMPR_GET_MEMBERS_BUFFER Ptr)
+{
+ if (Ptr != NULL)
+ {
+ if (Ptr->Members != NULL)
+ MIDL_user_free(Ptr->Members);
+
+ if (Ptr->Attributes != NULL)
+ MIDL_user_free(Ptr->Attributes);
+
+ 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] Sun Jul 14 14:22:30 2013
@@ -22,7 +22,7 @@
@ stub SamIFree_SAMPR_DOMAIN_INFO_BUFFER
@ stdcall SamIFree_SAMPR_ENUMERATION_BUFFER(ptr)
@ stdcall SamIFree_SAMPR_GET_GROUPS_BUFFER(ptr)
-@ stub SamIFree_SAMPR_GET_MEMBERS_BUFFER
+@ stdcall SamIFree_SAMPR_GET_MEMBERS_BUFFER(ptr)
@ stub SamIFree_SAMPR_GROUP_INFO_BUFFER
@ stdcall SamIFree_SAMPR_PSID_ARRAY(ptr)
@ stdcall SamIFree_SAMPR_RETURNED_USTRING_ARRAY(ptr)