InfoTdiQueryInformationEx should return failure if no entity was found.
Modified: trunk/reactos/drivers/net/tcpip/tcpip/info.c

Modified: trunk/reactos/drivers/net/tcpip/tcpip/info.c
--- trunk/reactos/drivers/net/tcpip/tcpip/info.c	2005-09-22 19:46:36 UTC (rev 17983)
+++ trunk/reactos/drivers/net/tcpip/tcpip/info.c	2005-09-22 20:17:55 UTC (rev 17984)
@@ -136,7 +136,7 @@
     KIRQL OldIrql;
     UINT i;
     PVOID context = NULL;
-    NTSTATUS Status = STATUS_SUCCESS;
+    NTSTATUS Status = TDI_INVALID_PARAMETER;
     BOOL FoundEntity = FALSE;
     InfoRequest_f InfoRequest = NULL;