netapi32: Improve stub for NetUserModalsGet.
Tell the caller this host is not part of a domain.
This commit is contained in:
parent
d4774ba1c6
commit
b9709d805c
|
@ -554,6 +554,12 @@ NetGetDCName(LPCWSTR servername, LPCWSTR domainname, LPBYTE *bufptr)
|
||||||
NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR szServer, DWORD level, LPBYTE *pbuffer)
|
NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR szServer, DWORD level, LPBYTE *pbuffer)
|
||||||
{
|
{
|
||||||
FIXME("(%s %ld %p) stub!\n", debugstr_w(szServer), level, pbuffer);
|
FIXME("(%s %ld %p) stub!\n", debugstr_w(szServer), level, pbuffer);
|
||||||
|
|
||||||
|
if (level == 2)
|
||||||
|
{
|
||||||
|
*pbuffer = NULL;
|
||||||
|
return NERR_Success;
|
||||||
|
}
|
||||||
return NERR_InternalError;
|
return NERR_InternalError;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue