projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed calls to NtDuplicateObject
[reactos.git]
/
reactos
/
lib
/
kernel32
/
misc
/
handle.c
diff --git
a/reactos/lib/kernel32/misc/handle.c
b/reactos/lib/kernel32/misc/handle.c
index
f3dcba8
..
3ee219c
100644
(file)
--- a/
reactos/lib/kernel32/misc/handle.c
+++ b/
reactos/lib/kernel32/misc/handle.c
@@
-232,7
+232,7
@@
BOOL STDCALL DuplicateHandle(HANDLE hSourceProcessHandle,
hTargetProcessHandle,
lpTargetHandle,
dwDesiredAccess,
-
(BOOLEAN)bInheritHandle
,
+
bInheritHandle ? OBJ_INHERIT : 0
,
dwOptions);
if (!NT_SUCCESS(Status))
{