mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:05:40 +00:00
fix stupid bug
svn path=/trunk/; revision=7822
This commit is contained in:
parent
d808a08b91
commit
9f32fb18b9
1 changed files with 6 additions and 1 deletions
|
@ -210,6 +210,11 @@ NtOpenEvent(OUT PHANDLE UnsafeEventHandle,
|
||||||
NULL,
|
NULL,
|
||||||
&EventHandle);
|
&EventHandle);
|
||||||
|
|
||||||
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
return(Status);
|
||||||
|
}
|
||||||
|
|
||||||
Status = MmCopyToCaller(UnsafeEventHandle, &EventHandle, sizeof(HANDLE));
|
Status = MmCopyToCaller(UnsafeEventHandle, &EventHandle, sizeof(HANDLE));
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue