From: Peter Hater <7element@mail.bg> Date: Tue, 25 Oct 2016 09:23:40 +0000 (+0000) Subject: [WSHTCPIP] Don't return NO_ERROR in unimplemented WSHIoctl. It only confuses programs... X-Git-Tag: ReactOS-0.4.3~24 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=263afc07c36f88bb642f8f45ae770f26fdce4cdf [WSHTCPIP] Don't return NO_ERROR in unimplemented WSHIoctl. It only confuses programs. Return WSAEINVAL. CORE-12104 svn path=/trunk/; revision=73031 --- diff --git a/reactos/dll/win32/wshtcpip/wshtcpip.c b/reactos/dll/win32/wshtcpip/wshtcpip.c index 0aeab38d281..47423f17ffb 100644 --- a/reactos/dll/win32/wshtcpip/wshtcpip.c +++ b/reactos/dll/win32/wshtcpip/wshtcpip.c @@ -355,7 +355,7 @@ WSHIoctl( DPRINT1("Ioctl: Unknown IOCTL code: %d\n", IoControlCode); - return NO_ERROR; + return WSAEINVAL; }