- Remove lpAddress check, this is broken trunk
[reactos.git] / reactos / dll / win32 / kernel32 / mem / virtual.c
index bb1a390..6143097 100644 (file)
@@ -28,12 +28,6 @@ VirtualAllocEx(IN HANDLE hProcess,
 {
     NTSTATUS Status;
 
-    if (lpAddress != NULL)
-    {
-        SetLastErrorByStatus(STATUS_INVALID_PARAMETER);
-        return NULL;
-    }
-
     /* Allocate the memory */
     Status = NtAllocateVirtualMemory(hProcess,
                                      (PVOID *)&lpAddress,