Author: ekohl
Date: Thu Mar 31 21:12:46 2016
New Revision: 71085
URL:
http://svn.reactos.org/svn/reactos?rev=71085&view=rev
Log:
[NETAPI32]
DsEnumerateDomainTrustsW missing in netapi32.dll.
Patch by Jared Smudde.
CORE-11056 #resolve #comment Thanks a lot!
Modified:
trunk/reactos/dll/win32/netapi32/ds.c
trunk/reactos/dll/win32/netapi32/netapi32.spec
Modified: trunk/reactos/dll/win32/netapi32/ds.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/ds.c?re…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/ds.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/ds.c [iso-8859-1] Thu Mar 31 21:12:46 2016
@@ -65,3 +65,23 @@
TRACE("(%p)\n", Buffer);
HeapFree(GetProcessHeap(), 0, Buffer);
}
+
+/************************************************************
+ * DsEnumerateDomainTrustsA (NETAPI32.@)
+ */
+
+DWORD WINAPI DsEnumerateDomainTrustsA(LPSTR ServerName, ULONG Flags, PDS_DOMAIN_TRUSTSA*
Domains, PULONG DomainCount)
+{
+ FIXME("(%s, %x, %p, %p): stub\n", ServerName, Flags, Domains,
DomainCount);
+ return ERROR_NO_LOGON_SERVERS;
+}
+
+/************************************************************
+ * DsEnumerateDomainTrustsW (NETAPI32.@)
+ */
+
+DWORD WINAPI DsEnumerateDomainTrustsW(LPWSTR ServerName, ULONG Flags, PDS_DOMAIN_TRUSTSW*
Domains, PULONG DomainCount)
+{
+ FIXME("(%s, %x, %p, %p): stub\n", ServerName, Flags, Domains,
DomainCount);
+ return ERROR_NO_LOGON_SERVERS;
+}
Modified: trunk/reactos/dll/win32/netapi32/netapi32.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/netapi3…
==============================================================================
--- trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] Thu Mar 31 21:12:46 2016
@@ -5,8 +5,8 @@
@ stub DsAddressToSiteNamesW
@ stub DsDeregisterDnsHostRecordsA
@ stub DsDeregisterDnsHostRecordsW
-@ stub DsEnumerateDomainTrustsA
-@ stub DsEnumerateDomainTrustsW
+8 stdcall DsEnumerateDomainTrustsA(wstr long ptr ptr)
+9 stdcall DsEnumerateDomainTrustsW(wstr long ptr ptr)
@ stub DsGetDcCloseW
@ stdcall DsGetDcNameA(str str ptr str long ptr)
@ stdcall DsGetDcNameW(wstr wstr ptr wstr long ptr)