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;
}