netapi32: Add stub for NetGetAnyDCName.

This commit is contained in:
Ruslan Kabatsayev 2013-04-27 16:01:53 +04:00 committed by Alexandre Julliard
parent d8c92b6294
commit 23b0c321ae
2 changed files with 15 additions and 1 deletions

View File

@ -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.@)
*

View File

@ -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)