mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Fixed typos.
svn path=/trunk/; revision=6583
This commit is contained in:
parent
58f655bf69
commit
ea9701d69d
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: rw.c,v 1.47 2003/11/08 16:43:02 ekohl Exp $
|
||||
/* $Id: rw.c,v 1.48 2003/11/08 16:48:36 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -160,7 +160,7 @@ NtReadFile (IN HANDLE FileHandle,
|
|||
*/
|
||||
NTSTATUS STDCALL
|
||||
NtWriteFile (IN HANDLE FileHandle,
|
||||
IN HANDLE EventHandle OPTIONAL,
|
||||
IN HANDLE Event OPTIONAL,
|
||||
IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
|
||||
IN PVOID ApcContext OPTIONAL,
|
||||
OUT PIO_STATUS_BLOCK IoStatusBlock,
|
||||
|
@ -198,9 +198,9 @@ NtWriteFile (IN HANDLE FileHandle,
|
|||
ByteOffset = &FileObject->CurrentByteOffset;
|
||||
}
|
||||
|
||||
if (EventHandle != NULL)
|
||||
if (Event != NULL)
|
||||
{
|
||||
Status = ObReferenceObjectByHandle(EventHandle,
|
||||
Status = ObReferenceObjectByHandle(Event,
|
||||
SYNCHRONIZE,
|
||||
ExEventObjectType,
|
||||
UserMode,
|
||||
|
|
Loading…
Reference in a new issue