diff --git a/phlib/native.c b/phlib/native.c index a34adb3d01a2..bc6bb73c7451 100644 --- a/phlib/native.c +++ b/phlib/native.c @@ -5618,7 +5618,7 @@ NTSTATUS PhOpenDriverByBaseAddress( InitializeObjectAttributes( &objectAttributes, &objectDirectoryName, - OBJ_EXCLUSIVE, + 0, NULL, NULL ); @@ -5669,7 +5669,7 @@ NTSTATUS PhOpenDriver( InitializeObjectAttributes( &objectAttributes, &objectName, - OBJ_EXCLUSIVE | OBJ_CASE_INSENSITIVE, + OBJ_CASE_INSENSITIVE, RootDirectory, NULL );