Author: ekohl
Date: Sat Aug 13 17:15:04 2016
New Revision: 72216
URL:
http://svn.reactos.org/svn/reactos?rev=72216&view=rev
Log:
[LSASRV]
Implement LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER and fix a typo.
Modified:
trunk/reactos/dll/win32/lsasrv/lsasrv.c
trunk/reactos/dll/win32/lsasrv/lsasrv.spec
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] Sat Aug 13 17:15:04 2016
@@ -11,6 +11,28 @@
#include "lsasrv.h"
/* FUNCTIONS ***************************************************************/
+
+VOID
+NTAPI
+LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER(
+ IN PLSAPR_ACCOUNT_ENUM_BUFFER Ptr)
+{
+ ULONG i;
+
+ if (Ptr == NULL)
+ return;
+
+ if (Ptr->Information != NULL)
+ {
+ for (i = 0; i < Ptr->EntriesRead; i++)
+ midl_user_free(Ptr->Information[i].Sid);
+
+ midl_user_free(Ptr->Information);
+ }
+
+ midl_user_free(Ptr);
+}
+
VOID
NTAPI
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.sp…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] Sat Aug 13 17:15:04 2016
@@ -31,9 +31,9 @@
@ stub LsaIFreeReturnBuffer
@ stub LsaIFree_LSAI_PRIVATE_DATA #DATA
@ stub LsaIFree_LSAI_SECRET_ENUM_BUFFER
- @ stub LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER
+ @ stdcall LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER(ptr)
@ stub LsaIFree_LSAPR_CR_CIPHER_VALUE
- @ stub LsaIFree_LSAPR_POLICY_DOMIN_INFORMATION
+ @ stub LsaIFree_LSAPR_POLICY_DOMAIN_INFORMATION
@ stdcall LsaIFree_LSAPR_POLICY_INFORMATION(long ptr)
@ stub LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER
@ stdcall LsaIFree_LSAPR_PRIVILEGE_SET(ptr)