Hans Leidekker : netapi32: Improve stub for NetUserModalsGet.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 13 07:03:22 CST 2006
Module: wine
Branch: refs/heads/master
Commit: b9709d805cc3d18987a785da830074a7e3c52c1d
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b9709d805cc3d18987a785da830074a7e3c52c1d
Author: Hans Leidekker <hans at it.vu.nl>
Date: Mon Feb 13 13:22:11 2006 +0100
netapi32: Improve stub for NetUserModalsGet.
Tell the caller this host is not part of a domain.
---
dlls/netapi32/access.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/netapi32/access.c b/dlls/netapi32/access.c
index e3e0a36..614e2a4 100644
--- a/dlls/netapi32/access.c
+++ b/dlls/netapi32/access.c
@@ -554,6 +554,12 @@ NetGetDCName(LPCWSTR servername, LPCWSTR
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;
}
More information about the wine-cvs
mailing list