From 23b0c321ae1545d75371d49e956b24e3ffac163c Mon Sep 17 00:00:00 2001 From: Ruslan Kabatsayev Date: Sat, 27 Apr 2013 16:01:53 +0400 Subject: [PATCH] netapi32: Add stub for NetGetAnyDCName. --- dlls/netapi32/access.c | 14 ++++++++++++++ dlls/netapi32/netapi32.spec | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) 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)