- Verify that we got a handle to a file object

svn path=/trunk/; revision=42768
This commit is contained in:
Cameron Gutman
2009-08-18 16:23:31 +00:00
parent 6af2bfe3c7
commit 38a3ccc3fd
+1 -1
View File
@@ -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 */