mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
NtDeviceIoControllFile() was not specifying IoFileObjectType as the object type when referencing the file handle
svn path=/trunk/; revision=1136
This commit is contained in:
parent
5fea099598
commit
0c4a5f1e06
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: ioctrl.c,v 1.8 1999/11/07 14:07:35 ekohl Exp $
|
||||
/* $Id: ioctrl.c,v 1.9 2000/04/24 04:17:55 phreak Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -16,7 +16,7 @@
|
|||
/* INCLUDES *****************************************************************/
|
||||
|
||||
#include <ddk/ntddk.h>
|
||||
|
||||
#include <internal/io.h>
|
||||
#define NDEBUG
|
||||
#include <internal/debug.h>
|
||||
|
||||
|
@ -62,7 +62,7 @@ NtDeviceIoControlFile (
|
|||
|
||||
Status = ObReferenceObjectByHandle(DeviceHandle,
|
||||
FILE_READ_DATA | FILE_WRITE_DATA,
|
||||
NULL,
|
||||
IoFileObjectType,
|
||||
KernelMode,
|
||||
(PVOID *) &FileObject,
|
||||
NULL);
|
||||
|
|
Loading…
Reference in a new issue