netapi32: return an error for unimplemented levels in NetUserGetInfo

Robert Reif reif at earthlink.net
Fri Aug 4 18:00:58 CDT 2006


-------------- next part --------------
diff -p -u -r1.14 access.c
--- dlls/netapi32/access.c	23 May 2006 12:48:21 -0000	1.14
+++ dlls/netapi32/access.c	4 Aug 2006 22:58:46 -0000
@@ -294,7 +294,7 @@ NetUserGetInfo(LPCWSTR servername, LPCWS
     case 1053:
     {
         FIXME("Level %ld is not implemented\n", level);
-        break;
+        return NERR_InternalError;
     }
     default:
         ERR("Invalid level %ld is specified\n", level);


More information about the wine-patches mailing list