projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Remove lpAddress check, this is broken trunk
[reactos.git]
/
reactos
/
dll
/
win32
/
kernel32
/
mem
/
virtual.c
diff --git
a/reactos/dll/win32/kernel32/mem/virtual.c
b/reactos/dll/win32/kernel32/mem/virtual.c
index
bb1a390
..
6143097
100644
(file)
--- a/
reactos/dll/win32/kernel32/mem/virtual.c
+++ b/
reactos/dll/win32/kernel32/mem/virtual.c
@@
-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,