- Remove lpAddress check, this is broken trunk
authorDmitry Chapyshev <dmitry@reactos.org>
Mon, 29 Dec 2008 17:14:17 +0000 (17:14 +0000)
committerDmitry Chapyshev <dmitry@reactos.org>
Mon, 29 Dec 2008 17:14:17 +0000 (17:14 +0000)
svn path=/trunk/; revision=38458

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,