[WSHTCPIP] Don't return NO_ERROR in unimplemented WSHIoctl. It only confuses programs...
authorPeter Hater <7element@mail.bg>
Tue, 25 Oct 2016 09:23:40 +0000 (09:23 +0000)
committerPeter Hater <7element@mail.bg>
Tue, 25 Oct 2016 09:23:40 +0000 (09:23 +0000)
svn path=/trunk/; revision=73031

reactos/dll/win32/wshtcpip/wshtcpip.c

index 0aeab38..47423f1 100644 (file)
@@ -355,7 +355,7 @@ WSHIoctl(
 
     DPRINT1("Ioctl: Unknown IOCTL code: %d\n", IoControlCode);
 
-    return NO_ERROR;
+    return WSAEINVAL;
 }