mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:36:21 +00:00
- Verify that we got a handle to a file object
svn path=/trunk/; revision=42768
This commit is contained in:
parent
6af2bfe3c7
commit
38a3ccc3fd
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ static NTSTATUS TdiOpenDevice(
|
||||||
if (NT_SUCCESS(Status)) {
|
if (NT_SUCCESS(Status)) {
|
||||||
Status = ObReferenceObjectByHandle(*Handle, /* Handle to open file */
|
Status = ObReferenceObjectByHandle(*Handle, /* Handle to open file */
|
||||||
GENERIC_READ | GENERIC_WRITE | SYNCHRONIZE, /* Access mode */
|
GENERIC_READ | GENERIC_WRITE | SYNCHRONIZE, /* Access mode */
|
||||||
NULL, /* Object type */
|
IoFileObjectType, /* Object type */
|
||||||
KernelMode, /* Access mode */
|
KernelMode, /* Access mode */
|
||||||
(PVOID*)Object, /* Pointer to object */
|
(PVOID*)Object, /* Pointer to object */
|
||||||
NULL); /* Handle information */
|
NULL); /* Handle information */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue