From b9709d805cc3d18987a785da830074a7e3c52c1d Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Mon, 13 Feb 2006 13:22:11 +0100 Subject: [PATCH] netapi32: Improve stub for NetUserModalsGet. Tell the caller this host is not part of a domain. --- dlls/netapi32/access.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c index e3e0a36a74d..614e2a4dba3 100644 --- a/dlls/netapi32/access.c +++ b/dlls/netapi32/access.c @@ -554,6 +554,12 @@ NetGetDCName(LPCWSTR servername, LPCWSTR domainname, LPBYTE *bufptr) NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR szServer, DWORD level, LPBYTE *pbuffer) { FIXME("(%s %ld %p) stub!\n", debugstr_w(szServer), level, pbuffer); + + if (level == 2) + { + *pbuffer = NULL; + return NERR_Success; + } return NERR_InternalError; }