[KERNEL32][BASESRV]
[reactos.git] / dll / win32 / kernel32 / client / vdm.c
index 07f65a3..c37a3cf 100644 (file)
@@ -401,17 +401,8 @@ BaseCheckVDM(IN ULONG BinaryType,
                                  CSR_CREATE_API_NUMBER(BASESRV_SERVERDLL_INDEX, BasepCheckVDM),
                                  sizeof(BASE_CHECK_VDM));
 
-    /* Check if there is no console */
-    if (CheckVdm->ConsoleHandle == NULL)
-    {
-        /* Write back the task ID */
-        *iTask = CheckVdm->iTask;
-    }
-    else
-    {
-        /* Otherwise, iTask should be zero */
-        *iTask = 0;
-    }
+    /* Write back the task ID */
+    *iTask = CheckVdm->iTask;
 
 Cleanup: