[NETAPI32]
[reactos.git] / reactos / dll / win32 / netapi32 / access.c
index 7ba2fa5..3b89b24 100644 (file)
@@ -261,9 +261,30 @@ NetGetDCName(LPCWSTR servername, LPCWSTR domainname, LPBYTE *bufptr)
   return NERR_DCNotFound; /* say we can't find a domain controller */  
 }
 
+/************************************************************
+ *                NetGetAnyDCName  (NETAPI32.@)
+ *
+ *  Return the name of any domain controller (DC)
+ */
+NET_API_STATUS WINAPI
+NetGetAnyDCName(
+    _In_  LPCWSTR servername,
+    _In_  LPCWSTR domainname,
+    _Out_ LPBYTE *bufptr)
+{
+    FIXME("NetGetAnyDCName(%s, %s, %p) stub!\n", debugstr_w(servername),
+          debugstr_w(domainname), bufptr);
+    return ERROR_NO_LOGON_SERVERS;
+}
 
-NET_API_STATUS WINAPI NetUseAdd(LMSTR servername, DWORD level, LPBYTE bufptr, LPDWORD parm_err)
+/************************************************************
+ *                NetEnumerateTrustedDomains  (NETAPI32.@)
+ *
+ * On success, *DomainNames is a multi-sz allocated using NetApiBufferAllocate
+ */
+NTSTATUS WINAPI
+NetEnumerateTrustedDomains(LPWSTR ServerName, LPWSTR *DomainNames)
 {
-    FIXME("%s %d %p %p stub\n", debugstr_w(servername), level, bufptr, parm_err);
-    return NERR_Success;
+    FIXME("(%s, %p) stub!\n", debugstr_w(ServerName), DomainNames);
+    return STATUS_NOT_IMPLEMENTED;
 }