Author: ekohl
Date: Sat Jan 26 13:03:33 2013
New Revision: 58222
URL:
http://svn.reactos.org/svn/reactos?rev=58222&view=rev
Log:
[SAMSRV]
Implement SamrQueryDisplayInformation2, SamrGetDisplayEnumerationIndex2 and
SamrQueryDisplayInformation3.
Modified:
trunk/reactos/dll/win32/samsrv/samrpc.c
Modified: trunk/reactos/dll/win32/samsrv/samrpc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samrpc.c?…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samrpc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samrpc.c [iso-8859-1] Sat Jan 26 13:03:33 2013
@@ -7000,9 +7000,21 @@
OUT unsigned long *TotalReturned,
OUT PSAMPR_DISPLAY_INFO_BUFFER Buffer)
{
- UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
-}
+ TRACE("%p %lu %lu %lu %lu %p %p %p\n",
+ DomainHandle, DisplayInformationClass, Index,
+ EntryCount, PreferredMaximumLength, TotalAvailable,
+ TotalReturned, Buffer);
+
+ return SamrQueryDisplayInformation(DomainHandle,
+ DisplayInformationClass,
+ Index,
+ EntryCount,
+ PreferredMaximumLength,
+ TotalAvailable,
+ TotalReturned,
+ Buffer);
+}
+
/* Function 49 */
NTSTATUS
@@ -7012,8 +7024,13 @@
IN PRPC_UNICODE_STRING Prefix,
OUT unsigned long *Index)
{
- UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
+ TRACE("(%p %lu %p %p)\n",
+ DomainHandle, DisplayInformationClass, Prefix, Index);
+
+ return SamrGetDisplayEnumerationIndex(DomainHandle,
+ DisplayInformationClass,
+ Prefix,
+ Index);
}
@@ -7302,8 +7319,19 @@
OUT unsigned long *TotalReturned,
OUT PSAMPR_DISPLAY_INFO_BUFFER Buffer)
{
- UNIMPLEMENTED;
- return STATUS_NOT_IMPLEMENTED;
+ TRACE("%p %lu %lu %lu %lu %p %p %p\n",
+ DomainHandle, DisplayInformationClass, Index,
+ EntryCount, PreferredMaximumLength, TotalAvailable,
+ TotalReturned, Buffer);
+
+ return SamrQueryDisplayInformation(DomainHandle,
+ DisplayInformationClass,
+ Index,
+ EntryCount,
+ PreferredMaximumLength,
+ TotalAvailable,
+ TotalReturned,
+ Buffer);
}