[NETAPI32]
[reactos.git] / reactos / dll / win32 / netapi32 / access.c
index 4940cb1..3b89b24 100644 (file)
@@ -261,6 +261,22 @@ 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;
+}
+
 /************************************************************
  *                NetEnumerateTrustedDomains  (NETAPI32.@)
  *