mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
- Verify that we got a handle to a file object
svn path=/trunk/; revision=42768
This commit is contained in:
@@ -130,7 +130,7 @@ static NTSTATUS TdiOpenDevice(
|
||||
if (NT_SUCCESS(Status)) {
|
||||
Status = ObReferenceObjectByHandle(*Handle, /* Handle to open file */
|
||||
GENERIC_READ | GENERIC_WRITE | SYNCHRONIZE, /* Access mode */
|
||||
NULL, /* Object type */
|
||||
IoFileObjectType, /* Object type */
|
||||
KernelMode, /* Access mode */
|
||||
(PVOID*)Object, /* Pointer to object */
|
||||
NULL); /* Handle information */
|
||||
|
||||
Reference in New Issue
Block a user