[CONSRV]: Add some DPRINT1 information.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 30 Aug 2013 11:36:22 +0000 (11:36 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 30 Aug 2013 11:36:22 +0000 (11:36 +0000)
svn path=/trunk/; revision=59901

reactos/win32ss/user/winsrv/consrv/init.c

index e2ee993..e33a0aa 100644 (file)
@@ -404,7 +404,11 @@ ConSrvConnect(IN PCSR_PROCESS CsrProcess,
          ConnectionInfoLength == NULL ||
         *ConnectionInfoLength != sizeof(CONSRV_API_CONNECTINFO) )
     {
-        DPRINT1("CONSRV: Connection failed\n");
+        DPRINT1("CONSRV: Connection failed - ConnectionInfo = 0x%p ; ConnectionInfoLength = 0x%p (%lu), wanted %lu\n",
+                ConnectionInfo,
+                ConnectionInfoLength,
+                ConnectionInfoLength ? *ConnectionInfoLength : (ULONG)-1,
+                sizeof(CONSRV_API_CONNECTINFO));
         return STATUS_UNSUCCESSFUL;
     }