diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c index 09b5b6336c2..b77da79b809 100644 --- a/dlls/netapi32/access.c +++ b/dlls/netapi32/access.c @@ -728,6 +728,20 @@ 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) for a + * domain that is directly trusted by the specified server + */ + +NET_API_STATUS WINAPI NetGetAnyDCName(LPCWSTR servername, LPCWSTR domainname, LPBYTE *bufptr) +{ + FIXME("(%s, %s, %p) stub!\n", debugstr_w(servername), + debugstr_w(domainname), bufptr); + return ERROR_NO_SUCH_DOMAIN; +} + /************************************************************ * NetGroupEnum (NETAPI32.@) * diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec index 50e7b0ef975..8e0f3eae84e 100644 --- a/dlls/netapi32/netapi32.spec +++ b/dlls/netapi32/netapi32.spec @@ -90,7 +90,7 @@ @ stub NetFileClose @ stdcall NetFileEnum(wstr wstr wstr long ptr long ptr ptr ptr) @ stub NetFileGetInfo -@ stub NetGetAnyDCName +@ stdcall NetGetAnyDCName(wstr wstr ptr) @ stdcall NetGetDCName(wstr wstr ptr) @ stub NetGetDisplayInformationIndex @ stdcall NetGetJoinInformation(wstr ptr ptr)